Hey guys,
Background: I am using RSLogix 5000 function block diagrams to time how long a pump is running. When the pump is running, the timer gets enabled and when the timer is running for 60 seconds it increments a counter to keep track of minutes. The timer ACC represents seconds.
The problem: When the pump stops, the ACC goes back to 0. So if the timer ACC is 45 (representing 45 seconds) when the pump enable signal goes low, the ACC goes back to zero.
The Question: Does anyone know how to store the timer ACC value when the timer enable goes to zero?
Any sugguestions would be extremely appreciated.
-Ken
Background: I am using RSLogix 5000 function block diagrams to time how long a pump is running. When the pump is running, the timer gets enabled and when the timer is running for 60 seconds it increments a counter to keep track of minutes. The timer ACC represents seconds.
The problem: When the pump stops, the ACC goes back to 0. So if the timer ACC is 45 (representing 45 seconds) when the pump enable signal goes low, the ACC goes back to zero.
The Question: Does anyone know how to store the timer ACC value when the timer enable goes to zero?
Any sugguestions would be extremely appreciated.
-Ken