christopher Posted May 24 Report Share Posted May 24 Hi, I'm working on a program for hydraulic controls, there are 6 valves with manual control (12 states). Whenever a switch is operated it set the control valve and start the pump (common for all valves). I have one ladder net for each valve and call a subroutine to start the pump, open main valve etc. This seems to work and using the subroutine code it is easy to fix and read. However I don't find a good solution to delay the pump stop when the manual switch is released. Haven't worked with PLC in many years, so I need a few tips. The pseudo code is something like: Push and hold Button1->Open valveA, open Valve1 and start pump Release Button1 -> Close valveA, close Valve1 and delay 10sec stop pump Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.