Counts Per User Unit

C Definition

double dms_CountsPerUserUnit(long NodeNumber, long AxisNumber)

Pascal Definition

function dms_CountsPerUserUnit(AxisIndex:longint; var EscapeResult:integer):double;

Description

The Counts Per User Unit command allows motion to be described in convenient units of rotations, degrees, or millimeters instead of motor steps. An explanation of how to identify the proper value for Counts Per User Unit is described in the Introduction topic User Units. User Units can be set on the Setup page of SnapTrack or explicitly set by this command. The current value of the Counts Per User Unit can be read with this command.

Escapes

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

Related Topics

Set Counts Per User Unit
Move By