Mitsubishi — 5.11.3 Stopping G-code Motion

Chapter 5 Applied Instructions 3. Troubleshooting 4. Example Purpose:  The execution of an Ox motion subroutine stops before it is complete. The motion control function block named FB1 is set so that an Ox motion subroutine is executed. The motion control function block named FB2 is set so that the execution of the Ox motion subroutines stops. Steps: (a) Set Execute1 to True. (b) Execute the G-codes in the Ox motion subroutine specified. (c) Set Execute2 to True before the execution of the G-codes in the Ox motion subroutine specified is complete. (d) Stop the execution of the Ox motion subroutine specified, and set Aborted1 to True.

5-211 State of output pin Name Function Data type Time when there is Time when there is a transition in an output pin’s signal from high to low a transition in an output pin’s signal from low to high Error An error occurs in the motion control function block. BOOL  Input values are incorrect.  There is a transition in the Error output pin’s signal from high to low when there is a transition in the Execute input pin’s signal from high to low. Error Troubleshooting The values of input pins in the motion control function block are incorrect. Check whether the values of the input pins are in the ranges allowed.