Set Coordinate Inversion

C Definition

void dms_SetCoordinateInversion(long NodeNumber, long AxisNumber, int Param)

Pascal Definition

procedure dms_SetCoordinateInversion(NodeNumber:longint; AxisNumber:longint; Param:boolean);

Description

Set Coordinate Inversion is used to change the direction a motor or encoder regards as positive. Axis direction is influenced by mechanical transmission reversals, encoder phase definition, and wiring conventions. If the motor does not move in the direction regarded as positive this command may be used to invert the direction by calling with a non-zero parameter. This command operates in an incremental manner by inverting the coordinate frame about the current Actual Position rather than 0. The best time to use this command is during initial setup before homing has been performed. This is not intended to be used after initialization as it can relocate the origin.

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

Escapes

Set Coordinate Inversion does not generate any escapes.

Examples

Related Topics

Jog.htm
Motor On