129
Programming
Jog.Stop
This program instruction is used to halt jogging using the deceleration ramp setup for the
currently operating jog.
Examples:
Wait For ModuleInput.2=ON ‘Wait for “Jog –“ input to turn on
Jog.0.MinusInitiate ‘Vel=27.2in/s
Wait For ModuleInput.2=OFF ‘Wait for “Jog –“ input to turn off
Jog.Stop ‘Decelerate to a stop
Do While(TRUE) ‘Repeat until the program is halted
If (ModuleInput.2=ON) Then ‘Jog+ when ModuleInput.2=ON
Jog.0.PlusInitiate‘Vel=20in/s
Wait For ModuleInput.2=OFF‘Stop when the
input goes OFF
Jog.Stop‘Decelerate to a stop
Endif
If (ModuleInput.3=ON) Then ‘Jog- when ModuleInput.3=ON
Jog.0.MinusInitiate‘Vel=20in/s
Wait For ModuleInput.3=OFF‘Stop when the
input goes OFF
Jog.Stop‘Decelerate to a stop
Endif
Loop
Jog.PlusInitiate
This program instruction is used to initiate jogging in the positive direction. The Jog.Stop
instruction is used to stop jogging motion.
A comment is automatically inserted after the Jog.PlusInitiate instruction which shows key
data about the particular jog. The comment starts with the apostrophe ‘ character.
Examples:
Jog.0.PlusInitiate ‘Vel=27.2in/s
Jog.1.PlusInitiate ‘Sync,Vel=1.000in/in
Jog.MinusInitiate
This program instruction is used to initiate jogging in the negative direction. The Jog.Stop
instruction is used to stop jogging motion.
A comment is automatically inserted after the Jog.MinusInitiate instruction which shows key
data about the particular jog. The comment starts with the apostrophe ‘ character.
Examples:
Jog.0.MinusInitiate ‘Vel=27.2in/s