167
STOP
1
2
3
4
5
6
7
8
5.7
O
ther inst
ructions
5.7.1
S
TOP
5.7
Other instructions
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.
STOP
Sequence program stop
5.7.1
STOP
Setting
Data
Internal Devices
R, ZR
J \
U \G
Zn
Constants
Other
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".