5-5
S7-200 Programmable Controller, CPU 210
C79000-G7076-C235-01
5.3 Output Instructions
Output
When the Output instruction is executed, the specified
parameter (n) is turned on.
In STL, the output instruction copies the top of the stack to the
specified parameter (n).
Operands: n: Q, M
Set, Reset
When the Set and Reset instructions are executed, the point
specified by S_BIT is set (turned on) or reset (turned off).
Operands: S_BIT: Q, M
Output Example
NETWORK
LD I0.0
= Q0.0
S Q0.1, 1
R Q0.2, 1
Network 1
Q0.0
LAD STL
I0.0
S
Q0.1
R
Q0.2
Timing Diagram
I0.0
Q0.0
Q0.1
Q0.2
1
1
Figure 5-2 Example of Output Instructions
Instruction Set
L
A
D
S
T
L
=n
n
L
A
D
S
T
L
S S_BIT, 1
S_BIT
S
1
S_BIT
R
1
R S_BIT, 1