input totaliser program required

You will need to provide more information about what you want to do.
Perhaps you want to count pulses from a turbine meter to provide both instantaneous flow rate and say hourly and daily consumption totals.
I have provided such information on systems in your country in Pondicherry, Kolcata and somewhere.
 
For the benefit of others your PM to me was as follows:

first of all thanks for your kind response sir
actually i totalising the current input from vortex flow meter
4ma 0ltrs
20ma 300ltrs
and unit is min.
whenever iam starting a batch i need to show the instantaneous flow rate which i can show directly by reading the current but when am trying to caluclate the volume say in litres dispensed after an hour
the same am not able to show so please suggest me i ll be very thankful to you




I would set up to run a program every second and sum the instantaneous readings then every minute I would take that sum divided by 60 and save it as Litres per minute. Every minute I would sum the Litres per minute.
Every hour I would transfer the sum of the Litres per minute and save as Litres per Hour.
Similarly you could sum these for 8 hours for Litres per shift or 24 hours for litres per day.

To trigger the programs I typically set up interupts for
One second.
One minute.
One hour. and in the one hour interupt some simple code to call the shift and day routines.

Additionally I use a 20mSec Cyclic interrupt to count pulses from
turbine meters or product counting proximity switches.
 

Similar Topics

I've noticed this about various power supplies and I genuinely feel dumb why I cant wrap my head around, as an example the part number is...
8
Replies
212
Views
I’m sure this is a simple question for most of you, but I’m hoping to get an answer for it. I need to setup the input up on this power monitor as...
10
Replies
452
Views
hi, I'm new to view studio ME, v14. On a panelview plus 7 standard can I access the local and/or input tags on the PLC? For example I have a...
0
Replies
133
Views
Hi everyone, One of my customers has a DH+ network with several SLC 500 PLCs, several PanelView 550 terminals, and an iFIX SCADA system. After...
2
Replies
149
Views
I have Recipe display with control list selector, hmi_Recipe_Number is tag assigned to value connection. All of the labels for the different...
3
Replies
298
Views
Top