Other Instructions; Stop; Sequence Program Stop - Mitsubishi MELSEC-Q/L Programming Manual

Table of Contents

Advertisement

5.7

Other instructions

5.7.1

STOP

Sequence program stop

5.7.1
STOP
STOP
Internal Devices
Setting
Data
Bit
Word
––
Function
(1) Resets the output (Y) and stops the CPU module operation when the execution command is turned ON.
(The same result will take place if switch is turned to the STOP setting.)
(2) Execution of the STOP instruction will cause the value of b4 to b7 of the special register SD203 to become "3".
(3) In order to restart CPU module operations after the execution of the STOP instruction, return switch, which has been
changed from RUN to STOP, back to the RUN position.
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.
Error
code
The STOP instruction was executed before the execution of the NEXT
4200
instruction and after the execution of the FOR instruction.
The STOP instruction was executed before the execution of the RET
4211
instruction and after the execution of the CALL/FCALL/ECALL/
EFCALL/XCALL instruction.
The STOP instruction was executed before the execution of the IRET
4221
instruction in an interrupt program.
The STOP instruction was executed in the fixed scan execution type
4223
program.
The STOP instruction was executed between the CHKCIR to CHKEND
4230
instructions.
The STOP instruction was executed between the IX to IXEND
4231
instructions.
Command
J
\
R, ZR
Bit
Word
b15
to
b12
b11
to
SD203
Error details
High
Basic
performance
Zn
U
\G
––
b8
b7
to
b4
b3
to
b0
0 0 1 1
Sets value "3".
Q00J/
Q00/
QnH
Q01
––
––
STOP
Process
LCPU
Redundant Universal
STOP
Constants
Other
QnPH QnPRH
QnU
LCPU
––
––
167
1
2
3
4
5
6
7
8

Advertisement

Table of Contents
loading

Table of Contents