About the In-Position Band
(Original Document)
In-Position Band Functions
The in-position band functions are GetInPositionBand and SetInPositionBand (see Axis Position Adjustment). In-position band is the tolerance around a target position used to determine the IN_POSITION and AXIS_AT_TARGET states. If the absolute difference between the actual position and the target position is less than the in-position band, the module word reports IN_POSITION and AXIS_AT_TARGET values as follows:
The AXIS_AT_TARGET bit may not be set to 1 following the normal movement functions, such as Halt. Wait for PROFILE_END and IN_POSITION to be set, and then check for AXIS_AT_TARGET as a separate instruction.