Mitsubishi MELSEC Q Series Programming Manual page 198

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

STOP
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and
an error code is stored into SD0.
• The STOP instruction was executed before the execution of the RET instruction and after
the execution of the CALL/FCALL/ECALL/EFCALL/XCALL instruction.
• The STOP instruction was executed before the execution of the NEXT instruction and
after the execution of the FOR instruction.
• The STOP instruction was executed during an interrupt program prior to the execution of
the IRET instruction.
• The STOP instruction was executed within the CHKCIR to CHKEND instruction loop.
• The STOP instruction was executed within the IX to IXEND instruction loop.
• The STOP instruction was executed during the fixed scan execution type program.
(For the Universal model QCPU and LCPU only)
Program Example
(1) The following program stops the CPU module when X8 goes ON.
[Ladder Mode]
[List Mode]
Step
5-56
Instruction
Device
Stops the programmable controller when X8 goes ON.
Sequence program
(Error code: 4211)
(Error code: 4200)
(Error code: 4221)
(Error code: 4230)
(Error code: 4231)
(Error code: 4223)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents