Absolute positioning

When positioning absolutely, the drive system moves at the specified velocity from the current position to the absolute position in the traversing range.

  1. Prerequisite
  2. Configure the stepper motor modul.
  3. Enable the motor driver. in_enabled is TRUE.
  4. Execute a successful reference run. in_referenced is TRUE.
  1. Set out_operation_mode to 2 (absolute positioning).
  2. Set out_target_pos to the target position.
  3. Set out_target_velocity to the target velocity.
  4. Set out_target_accel to the target acceleration.
  5. Set out_accel_mode to the desired acceleration type.
  6. To initiate positioning, set out_start to TRUE.
  1. The drive system travels to the target position.
  2. After a successful run, in_state_target_pos changes to TRUE.

Performing a reference run

Configuring the stepper motor module

Channels of the stepper motor module