Program Control Instructions - Siemens Simatic S7-200 System Manual

Programmable controller
Hide thumbs Also See for Simatic S7-200:
Table of Contents

Advertisement

Instruction Set

10.10 Program Control Instructions

End
L
A
D
S
END
T
L
MEND
212
214
Note
You can use the Conditional END and Unconditional END instructions in the main
program, but you cannot use them in either subroutines or interrupt routines.
Stop
L
A
D
S
T
STOP
L
212
214
10-84
The Conditional END instruction terminates the main user
program based upon the condition of the preceding logic.
END
The Unconditional END coil must be used to terminate the
main user program.
END
In STL, the unconditional END operation is represented by the
MEND instruction.
Operands:
All user programs must terminate the main program with an
215
216
unconditional END instruction. The conditional END instruction
is used to terminate execution before encountering the
unconditional END instruction.
The STOP instruction terminates the execution of your program
immediately by causing a transition of the CPU from RUN to
STOP
STOP mode.
Operands:
If the STOP instruction is executed in an interrupt routine, the
interrupt routine is terminated immediately, and all pending
215
216
interrupts are ignored. The rest of the program is scanned and
the transition from RUN to STOP mode is made at the end of
the current scan.
None
None
S7-200 Programmable Controller System Manual
C79000-G7076-C230-02

Advertisement

Table of Contents
loading

Table of Contents