Actual Position

C Definition

double dms_ActualPosition(long NodeNumber, long AxisNumber)

Pascal Definition

function dms_ActualPosition(NodeNumber:longint; AxisNumber:longint):double;

Description

Actual Position returns the current position in User Units along an axis. On axes that are encoders this is the sensed position while for stepper motors this is the number of electrical pulses that have been emitted from the controller. Closed loop stepper motor outputs may differ from the Actual Position because of rotor deflecton. To know the position of a closed loop motor it is best to reference the actual position of the encoder on the motor. Actual Position is different from Commanded Position. Commanded Position is the calculated desired value of an axis coming from the motion profiler or other calculations that are directing motion. The value returned is in User Units.

Escapes

The Actual Position command does not generate any escapes.

Related Topics

Commanded Position
Error Position
Destination Position
Capture Position