Totaliser_pulse
Can any one help me in getting code for totaliser pulse in 800xA. I am using it in loss in Weight feeder. Were m getting pulse output. I need to totalize the coal consumption .
Present Totaliser is not showing previous day, previous month value.
Answers
you need to build a function that pulls Systems Date and Time converts to Calendar Struct and gets the date & time. There is a block for this. Build some logic to determine when midnight rolls over.
At midnight (or when report is due) you pulse your TOTAL block.
You will need two TOTAL blocks to do "Day/Previous Day" and "Month/Previous Month". If you are doing week you will need 3 in total.
We built a block that puts out the daily, weekly and it works out the Financial month end and pulses the month on the correct day.
At midnight (or when report is due) you pulse your TOTAL block.
You will need two TOTAL blocks to do "Day/Previous Day" and "Month/Previous Month". If you are doing week you will need 3 in total.
We built a block that puts out the daily, weekly and it works out the Financial month end and pulses the month on the correct day.
Add new comment