
Chapter 5. Application instructions
5-99
5.12.5 STOP
STOP
(Stop execution of
program)
FUN(008) STOP
Applicable
CPU
K200S
K300S
K1000S
Available Device
Flag
Instructions
M
P
K
L
F
T
C
S
D
#D Integer
Steps
Error
(F110)
Zero
(F111)
Carry
(F112)
STOP
1
1) Functions
-
When an input condition is switched on, stops execution of sequence program and change mode to
STOP mode after finishing the current scan.
-
To resume the operation of CPU after the execution of STOP instruction, change the mode of CPU
to the STOP mode and move it to the RUN mode again by loader or mode switch.
2) Program example
-
Program that stops operation when P021 turns on.
STOP
STOP
P021