Hello All,
I need to display total gallons pumped on a remote display. i am using a flow meter with 4-20 output scaled in GPM. The analog value is stored in D0760 of my Idec Pentra PLC.
I divided D0760 by 60 to get the gallons per second and stored the value to D0000. A one second timer updates D0000 every second.
How do I add up the updated D0000 values to get the total gallons?
I need to display total gallons pumped on a remote display. i am using a flow meter with 4-20 output scaled in GPM. The analog value is stored in D0760 of my Idec Pentra PLC.
I divided D0760 by 60 to get the gallons per second and stored the value to D0000. A one second timer updates D0000 every second.
How do I add up the updated D0000 values to get the total gallons?