Host Engineering Forum
General Category => Do-more CPUs and Do-more Designer Software => Topic started by: timk5000 on November 26, 2015, 11:09:13 AM
-
I have attached a PDF showing some sample code that latches a air cylinder waits 2 seconds and latches another one. The codes works on the SIM but the Timer keeps running. How should this be coded so that the timer stops while leaving both cylinders latched until CutterInPB is on.
Thanks
-
Sorry last sentence should be - How should this be coded so that the timer stops while leaving both cylinders latched until CutterOutPB is on.
-
Change the timer to TMRDOWN. You'll probably also need to add CutterOutPB to the LockCylRetract path of rung 2.
-
That makes sense
Thanks
-
The timer continuing to run does not hurt anything. To get your desired outcome simply delete all the contacts from rung 2 except for the timer.done bit.