Set Max Current

Description

Positive Limit reports 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 used when performing a jog. Jogs are by nature 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

The Positive Limit block 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

Examples

Related Topics

Set Run Current To Percentage
Set Reduction Current To Percentage
Position Limit Escape Code