Negative Limit

C Definition

double dms_NegativeLimit(long NodeNumber, long AxisNumber)

Pascal Definition

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

Description

Negative Limit returns the current negative limit setting for a single axis. The negative limit establishes the most negative legal value for a move destination. If a move is requested that would produce a motor position more negative than the negative limit, a Position Limit Escape Code is produced and no motion is performed. Note that position limits are not used when performing a jog since jogs are indefinite moves. Software limits are always active but can be effectively disabled by being set with large values.

When designing homing routines it is usually necessary to widen the software limits until the coordinate system is established to afford freedom to search for the home sensor. Once the origin of the coordinate system is found the limits can be re-established.

Escapes

Negative Limit does not generate any escapes.

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

Related Topics

Positive Limit
Begin Move By
Begin Move To
Set Positive Limit
Set Negative Limit
Position Limit Escape Code