Sub Routines

N

Thread Starter

Norman

I would like to know how to put a repetitive command into my program using a sub routine.
I use GX Developer.

I have a hydraulic press with 4 rams on and I want to the delay the ram at end of stroke for say a second before it returns,there's got to be a better way than creating a list of timers for each ram.

Can I not just call one subroutine each time?
If so where do you write the sub and how do you call it?

Grateful of any suggestions

Norman
 
Top