9/13/2005
Programming the SMLC
78
CoDeSys - The Jog Axis function block
•
The JogAxis function
block is written in
Ladder logic
•
We use a Select block
to set the direction.
•
We use an
MC_MoveVelocity
block to jog the motor
•
We use an MC_Stop
block to stop the
motion when a jog
input is released.
•
Note that we don’t clear
the jogging output until
the motion has
stopped.