Reply To: Totalizer function

#20347
NSEKWilsonNSEKWilson
Participant
Karma: 18
Rank: Padawan

Create your own integrating totalizer in a periodic task.  Example; you can create a periodic task and set your periodic task to execute every 100 ms. In a routine under your periodic task, use a (ladder) divide instruction to take your instantaneous analog flow signal (assuming GPM) and divide it by 600 to give you the flow total for that 100 ms. period, and add that time slice amount (each execution of routine) to a flow total tag.  You can use the flow total tag where needed for process operations, and reset the flow total tag as/when needed.