Triggering jog mode
In jog mode, the drive system travels the specified distance in the specified direction with start/stop frequency. The motion is stopped once the system has travelled the specified distance or has reached an end position.
- Prerequisite
- Configure the stepper motor modul.
- Enable the motor driver. in_enabled is TRUE.
- Set out_operation_mode to 0 (jog mode).
- Set the appropriate variable to specify the direction:
- out_jog_cw: TRUE sets jogging direction to clockwise.
- out_jog_ccw: TRUE sets jogging direction to counter-clockwise.
- Set out_target_pos to the relative distance.
- To initiate jogging, set out_start to TRUE.