# 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.

1. Prerequisite
2. Configure the stepper motor modul.
3. Enable the motor driver. in_enabled is TRUE.

1. Set out_operation_mode to 0 (jog mode).
2. Set the appropriate variable to specify the direction:
3. out_jog_cw: TRUE sets jogging direction to clockwise.
4. out_jog_ccw: TRUE sets jogging direction to counter-clockwise.
5. Set out_target_pos to the relative distance.
6. To initiate jogging, set out_start to TRUE.

Configuring the stepper motor module

Channels of the stepper motor module