Set Negative Limit

Text Language Definition

procedure TNAxis.SetNegativeLimit(LimitPosition:double);

Description

Set Negative Limit establishes a negative-direction boundary for movement. If the commanded position on the axis falls beyond this boundary, a Position Limit Escape Code will occur and the move will not commence. Jogging is not subject to software limits since jogging is used for ongoing motion. Note that the parameter is a signed value. A common mistake when a machine has the origin in the middle is to set the Positive Limit and Negative Limit to the same value. However, the limits are a software boundary measured with an offset from the origin; assigning them the same value places them in the same location which makes all other commanded locations out of range. Negative limits have negative numeric parameters unless the desired range of motion is exclusively positive from the origin. 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

The Set Negative Limit command does not generate any escapes

Examples

Related Topics

Positive Limit
Negative Limit
Set Positive Limit
Position Limit EscapeCode