141
Programming
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
ModuleOutput.1=ON ‘Turn on ModuleOutput.1 for 1 second
Wait For Time 1.000 ‘seconds
ModuleOutput.1=OFF
Index.2.Initiate ‘Absolute,Posn=20.000in,Vel=7in/s
Wait For InPosn
ModuleOutput.1=ON ‘Turn on ModuleOutput.1 for 1 second
Wait For Time 1.000 ‘seconds
ModuleOutput.1=OFF
Index.3.Initiate ‘Absolute,Posn=5.250in,Vel=10in/s
Wait For InPosn
ModuleOutput.1=ON ‘Turn on ModuleOutput.1 for 1 second
Wait For Time 1.000 ‘seconds
ModuleOutput.1=OFF
Loop