“Move to fixed stop” with one axis

In the test program below the X axis moves towards a fixed stop:

N010 G0  X0 Y0

(* Approach motion *)

N020 G01 X100 F10 X[FIXED_STOP ON TORQUE_LIMIT = 10]

N030 G01 Y100 F1000

(* Withdrawal motion away from the fixed stop *)

N040 G01 X0 X[FIXED_STOP OFF]

N050 M30