# Example 4: Enabling the programmed STOP by the PLC

The stop condition N45 is suppressed in the backward direction since the LEVEL bit = 16#1 is not set for the motion.

NC program

%stop_reversible

N01 X0 Y0 Z0

N10 X100

N20 Y100

N30 X0

N40 Y0

N45 #STOP REVERSIBLE[ LEVEL = '16#01']

N50 X0 Y0 Z0

N60 X100

N70 Y100

N80 X0

N90 Y0

N95 #STOP REVERSIBLE[ LEVEL = '16#4000']

M30

Enabling the programmed STOP by the PLC