Simatic Program Control Instructions; Conditional End; Stop - Siemens SIMATIC S7-200 System Manual

Hide thumbs Also See for SIMATIC S7-200:
Table of Contents

Advertisement

9.14

SIMATIC Program Control Instructions

Conditional End

L
A
D
F
B
D
S
END
T
L
221
222 224
Note
You can use the Conditional END instruction in the main program, but you cannot
use it in either subroutines or interrupt routines.
Note
STEP 7-Micro/WIN 32 automatically adds an unconditional end to the main user
program.

Stop

L
A
D
F
B
D
S
STOP
T
L
221
222
S7-200 Programmable Controller System Manual
A5E00066097-02
The Conditional END instruction terminates the main
user program based upon the condition of the preceding
logic.
END
Operands:
Data Types: None
END
226
The STOP instruction terminates the execution of your
program by causing a transition of the CPU from RUN to
STOP
STOP mode.
Operands:
If the STOP instruction is executed in an interrupt
STOP
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.
224
226
SIMATIC Instructions
None
None
9-145

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents