Software Limit

The software limit defines the limits of the positions that the axis can move to. If the command position of the axis becomes greater than the positive software limit or less than the negative software limit, the action that is specified by the Soft Limit Type parameter is executed.

Because the position of an axis is only accurate after homing the axis, the software limit will have no effect while homing has not been completed yet and the Home Done status is false.

Setting the Software Limit

The software limit positions must be manually measured by moving the axis after homing and recording the positions at which the limits should be set. When parameters that affect the axis position are changed, the software limit positions must also be changed. For example, the software limit positions must be remeasured after changing the Gear Ratio Numerator or the Gear Ratio Denominator of the axis.

Software limits can be set for the positive direction, the negative direction, or both. To not set the software limit for a particular direction, set Soft Limit Positive Pos or Soft Limit Negative Pos to 0 to disable the software limit for that direction. A software limit cannot be set at position 0.

Reading the State

The current state of the software limit can be obtained with the GetStatus function.

The state of the positive software limit is contained in positiveSoftLimit and the state of the negative software limit is contained in negativeSoftLimit.

For additional information, also see Positive Soft Limit and Negative Soft Limit.

Relevant Parameters

The limit parameters that affect the software limit are listed below.

Parameter Name

Variable Name

Soft Limit Type

softLimitType

Positive Soft Limit Type

positiveSoftLimitType

Negative Soft Limit Type

negativeSoftLimitType

Soft Limit Positive Pos

softLimitPositivePos

Soft Limit Negative Pos

softLimitNegativePos

LS Dec

lsDec

LS Slow Dec

lsSlowDec

All LS During Homing

allLSDuringHoming