irondesk40
Member
have a machine that has the following code in one of our plants in dominican republic to control a hydraulic pump.
If the master run control is true, and if the output for a clock wise or counter clockwise hydraulic valve turn on, the hydraulic pump turns on, then if for some reason either of the valves turn off then if there is no other valve activity for a time period the pump turns off.
Here is my question.
If one of the valves turn off, the pump turns off after a time period as it should. If for some reason the master run control goes false then the output for the pump turns off as well, but if for some reason the master run control goes back true before the timer has completed timing then the output comes on as well.
What would be the best approach to take in order to stop the timer from timing and reset it if the master run control bit goes false?
I simulated the code on the bench and have posted a screen shot.
Thanks
If the master run control is true, and if the output for a clock wise or counter clockwise hydraulic valve turn on, the hydraulic pump turns on, then if for some reason either of the valves turn off then if there is no other valve activity for a time period the pump turns off.
Here is my question.
If one of the valves turn off, the pump turns off after a time period as it should. If for some reason the master run control goes false then the output for the pump turns off as well, but if for some reason the master run control goes back true before the timer has completed timing then the output comes on as well.
What would be the best approach to take in order to stop the timer from timing and reset it if the master run control bit goes false?
I simulated the code on the bench and have posted a screen shot.
Thanks