Chapter 5 Positioning Instructions
5 - 42
5.2.19 Emergency Stop Instruction
• The emergency stop instruction is immediately stopping the current positioning operation and the
output. For details, refer to 3.1.11.
(1) Emergency Stop Instruction (EMG)
[Area Setting]
Operand
[Flag Set]
Flag Description Device number
Error If the value of ax gets out of the range F110
(a) Function
• This is for giving the emergency stop instruction to XGB built-in positioning.
• With respect to the positioning of the axis designated as ax at the rising edge of the input condition,
the output immediately stops, the output stop status flag (axis X : K4205, axis Y:K4305) turns On,
and error code 481 is issued.
• If the emergency stop instruction is executed, output is inhibited and the origin gets undecided, so
in order to resume operation, set the origin return or floating origin or preset the current position to
decide the origin.
(b) Error
• If the value designated as ax (instruction axis) is other than 0 and 1, the error flag (F110) is set
and the instruction is not executed.
(2) Example of Use of the Instruction
(a) Example of the Program
(b) Operation of the Program
• If there is the rising edge of M0001 used as the emergency stop instruction signal, the positioning
axis X immediately stops the current operation, issues error code 481 and inhibits output.
Instruction
Areas available
Step
Flag
PMK F L T C S Z D.x R.x
con
stan