144 Epsilon EP-P Drive Reference Manual
www.controltechniques.com Revision: A4
Endif
Loop
Jog.Stop ‘Stop jogging when the Jog+ input goes off.
Endif
If (DriveInput.4=ON) Then ‘Jog- if the Jog- input is on
Jog.0.MinusInitiate ‘Vel=0.1in/s
Do While (DriveInput.4=ON)
If (DriveInput.5=ON) Then ‘DriveInput.5 = “Jog Fast”
Jog.0.Vel = 1.0 ‘in/s
Else
Jog.0.Vel = 0.1 ‘in/s
Endif
Loop
Jog.Stop ‘Stop jogging when the Jog+ input goes off.
Endif
Loop
Playback Program (Program 2)
Home.0.Initiate ‘Sensor,Offset=0.000in,Vel=-10in/s
Do While (TRUE) ‘Repeat until the program is halted
Index.1.Initiate ‘Absolute,Posn=1.000in,Vel=5in/s
Wait For InPosn
DriveOutput.1=ON ‘Turn on DriveOutput.1 for 1 second
Wait For Time 1.000 ‘seconds
DriveOutput.1=OFF
Index.2.Initiate ‘Absolute,Posn=20.000in,Vel=7in/s
Wait For InPosn
DriveOutput.1=ON ‘Turn on DriveOutput.1 for 1 second
Wait For Time 1.000 ‘seconds
DriveOutput.1=OFF
Index.3.Initiate ‘Absolute,Posn=5.250in,Vel=10in/s
Wait For InPosn
DriveOutput.1=ON ‘Turn on DriveOutput.1 for 1 second
Wait For Time 1.000 ‘seconds
DriveOutput.1=OFF
Loop