Справочник Пользователя для Mitsubishi Electronics MELSEC -Q/L

Скачать
Страница из 1086
182
5  SEQUENCE INSTRUCTIONS
5.7  Other Instructions
5.7
Other Instructions
Sequence program stop
STOP
Processing details
 • 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.)
 • Execution of the STOP instruction will cause the value of b4 to b7 of the special register SD203 to become "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
 • In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
Setting 
data
Internal device
R, ZR
J\
U\G
Zn
Constant
Others
Bit
Word
Bit
Word
Error 
code
Error details
Q00J/
Q00/
Q01
QnH
QnPH
QnPRH QnU
LCPU
4200
The STOP instruction was executed before the execution of the NEXT 
instruction and after the execution of the FOR instruction.
4211
The STOP instruction was executed before the execution of the RET 
instruction and after the execution of the CALL/FCALL/ECALL/EFCALL/
XCALL instruction.
4221
The STOP instruction was executed before the execution of the IRET 
instruction in an interrupt program.
4223
The STOP instruction was executed in the fixed scan execution type 
program.
4230
The STOP instruction was executed between the CHKCIR to CHKEND 
instructions.
4231
The STOP instruction was executed between the IX to IXEND instructions.
Basic
Process
High
performance
Redundant Universal
LCPU
Command
STOP
STOP
SD203
0 0 1 1
b15
b12
 to 
b11
b8
 to 
b7
b4
 to 
b3
b0
 to 
Sets value "3".