# HLI state

Stop condition
Description | Displays the condition why the current motion was stopped.
Signal flow | CNC → PLC
ST path | gpCh[channel_idx]^.bahn_state.stop_conditions_r
Data type | DINT
Value range | See Value range of stop conditions with explanations.
Access | PLC is reading

## Value range of stop conditions

Constant in PLC | Value | Explanation
HLI_SC_FEEDHOLD | 0x0001 | Path feed stop
HLI_SC_VFG | 0x0002 | No axis-specific feed enable.
HLI_SC_SINGLE_BLOCK | 0x0004 | Single step mode active.
HLI_SC_M00_OR_M01 | 0x0010 | M00 (programmed stop), M01 (optional stop) is active.
HLI_SC_PLC_ACKNOWLEDGE | 0x0020 | Stop occurs due to waiting for an acknowledgement from the SPS. This may occur as a result of the output of M or H technology functions but is not restricted to them alone.
HLI_SC_OVERRIDE_ZERO | 0x0040 | Override = 0.
HLI_SC_OVERRIDE_RAPID_ZERO | 0x0080 | Override = 0 with rapid traverse blocks
HLI_SC_DELAY_TIME | 0x0200 | Dwell time.
HLI_SC_CHANNEL_SYNC | 0x0800 | Channel synchronisation is active.
HLI_SC_IPO_INPUT_EMPTY | 0x1000 | Input FIFO of the interpolation is empty.
HLI_SC_IPO_INPUT_DISABLED | 0x2000 | Input of function blocks (e.g. motion blocks etc.) disabled.
HLI_SC_WAIT_FOR_AXES | 0x8000 | Stop occurs due to waiting until a commanded axis swap is completed.
HLI_SC_CHANNEL_ERROR | 0x00010000 | An error occurred in the channel.
HLI_SC_WAIT_TECHNO_ACK | 0x00020000 | Waiting for acknowledgement of M/H/ST technology functions.
HLI_SC_W_C_AFTER_COLLISION | 0x00040000 | After a detected collision, waiting for motion resumption.
HLI_SC_SLOPE_SUPPLY_PROBLEM | 0x00080000 | Block supply problem (only occurs in conjunction with HSC slope).

HLI_SC_BACK_INTERPOLATION | 0x00100000 | Back interpolation after tracking mode is active.
HLI_SC_STOP_REVERSIBLE | 0x00200000 | Stop since M00 (programmed stop) is active. However, the NC program can be processed backwards despite M00 (available as of V3.1.3039.01).
HLI_SC_BREAKPOINT_STOP | 0x00400000 | Stop after a breakpoint (stop point) is reached; available as of V3.1.3039.01.
HLI_SC_M0_STOP | 0x02000000 | Stop after an M00 function is reached
HLI_SC_M1_STOP | 0x04000000 | Stop after an M01 function is reached
HLI_SC_INSERT_STOP_AT_DIST | 0x08000000 | Stop after an M function inserted by the Control Unit “Inserting stop marks” is reached.
HLI_SC_DEC_SYN_CHAN_EMPTY | 0x10000000 | Decoder is waiting for synchronisation. NC channel has no jobs.

Stop, value
Description | When a reversible stop is programmed, an additional user-specific parameter can be specified: #STOP REVERSIBLE[USR_VAL = ....] That value is indicated in this element as soon as a stop is executed at this position. After resuming the motion, the value is deleted.

In this context also see the "Reversible stop” control unit (stop_reversible_level) and the functional description [FCT-C7// Automatic reversing after stop].

Signal flow | CNC → PLC
ST path | gpCh[channel_idx]^.bahn_state.stop_reversible_usr_val_r
Data type | UDINT
Value range | [0, MAX_UNS32]
Access | PLC reads