Positive Limit

Text Language Definition

function TNAxis.PositiveLimit: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.

Examples

The following two procedures arrest current movement and cause a positive movement along the axis up to the software limit while the button is pressed.



Related Topics

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