Commanded Position

C Definition

double dms_CommandedPosition(long NodeNumber, long GroupNumber)

Pascal Definition

function dms_CommandedPosition(NodeNumber:longint; GroupNumber:longint):double;

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

Note that the EscapeResult parameter must be preset to 0 before making the call or the routine will not run

Related Topics

Set Commanded Position
Actual Position
Error Position
Destination Position
Capture Position