Positive Limit

C Definition

douible dms_PositiveLimit(long NodeNumber, long AxisNumber)

Pascal Definition

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

Description

Positive Limit returns the current positive limit setting for a single axis. The positive limit establishes the most positive legal value for a move destination. If a move is requested that would produce a motor position greater than the positive limit, a Position Limit Escape Code is produced and no motion is performed. Note that position limits are not checked 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

Positive 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

Negative Limit
Begin Move By
Begin Move To
Set Positive Limit
Set Negative Limit
Position Limit EscapeCode