Event Or Trigger Stop inside the CNC program (Mapp Legacy)

hello,
I am using MpCncXFlex and 6 mpAxisBasic block (In Mapp Legacy).all the axis are running in position mode. Assume i am running one axis in cnc program, i want a solution to stop the axis based on the trigger or event without completing the path of that axis.

Ex:
N0000 G108 100
N0002 G109 100
N0008 G90 G01 A3600 F1000
N0010 G90 G01 B10 F1000

In the above exam assume Axis A suppose to run 3600 units, but due to some event or trigger (from PLC logic) occurred i want to stop the A movement at 3000 units only and continue continue to execute next line (N0010 G90 G01 B10 F1000) without any errors or program termination how do i do that.

Thanks for the reply,

Hello,

You need to use G201 from ARNC0.
The G201 is combined with G01 to perform an Linear Movement and halts if the System detects the Trigger Event.

You may also have a look in the Help of G200, which gives a little bit more example of the Programming, but G200 does only record the event but not stop.

The only difficulty in ARNC0 is that you need an ACOPOS or SDC Trigger event of an Axes connected to the CNC System. If nessesary you can use the Force function via MC_BR_SetHardwareInputs

Greetings
Michael Bertsch