Specifications
SIMATIC Instructions
9-141
S7-200 Programmable Controller System Manual
C79000-G7076-C233-01
9.15 SIMATIC Program Control Instructions
End
The Conditional END instruction terminates the main
user program based upon the condition of the preceding
logic.
Operands: None
Data Types: None
Note
You can use the Conditional END instruction in the main program, but you cannot
use it in either subroutines or interrupt routines.
Note
Micro/WIN 32 automatically adds an unconditional end to the main user program.
Stop
The STOP instruction terminates the execution of your
program immediately by causing a transition of the CPU
from RUN to STOP mode.
Operands: None
If the STOP instruction is executed in an interrupt
routine, the interrupt routine is terminated immediately,
and all pending interrupts are ignored. Remaining actions
in the current scan cycle are completed, including
execution of the main user program, and the transition
from RUN to STOP mode is made at the end of the
current scan.
L
A
D
S
T
L
END
END
F
B
D
END
222 224
333
221
L
A
D
S
T
L
STOP
STOP
F
B
D
STOP
222 224
333
221