Commanded Position

Modbus Motion Interface

Read_Double(<AxisOrAxisGroupPagey>_+_CommandedPosition_d);

Description

Commanded Position returns the intended or desired position of the motor as calculated by the built-in motion profiler or an application program performing motion profiling. During the course of a profiled motion this number will smoothly change to represent the trajectory of the motor. Set Actual Position is different from Commanded Position. For a servo motor the Actual Position is the position reported by the encoder and will be different than Commanded Position because of servo error. For a stepper motor the Actual Position is the number of electrical pulses that have been sent out from the controller. For multidimensional axis groups the Commanded Position is the vector path length into the move relative to the beginning of the move. This can be used to perform actions at milestones along along a multidimensional trajectory. Commanded position is most often used during data collection studies to examine an intended motion path or when using virtual axes to create specialized motion effects.

Escapes

Reading the Commanded Position register does not produce any escapes.

Examples

This operation reads the commanded position of axis 1:

Position:=Read_Double(Axis1_+_CommandedPosition);

Related Topics

Actual Position
Destination Position