Output Instructions - Siemens Simatic S7-200 System Manual

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

Advertisement

Instruction Set

10.4 Output Instructions

Output
L
A
D
S
T
= n
L
212
214
Output Immediate
L
A
D
S
T
=I n
L
212
214
Set, Reset
L
A
D
S
S
T
L
R
212
214
10-10
When the Output instruction is executed, the specified
n
parameter (n) is turned on.
In STL, the output instruction copies the top of the stack to the
specified parameter (n).
Operands:
215
216
When the Output Immediate instruction is executed, the
n
specified physical output point (n) is turned on immediately.
I
In STL, the output immediate instruction copies the top of the
stack to the specified physical output point (n) immediately.
Operands:
The "I" indicates an immediate reference; the new value is
215
216
written to both the physical output and the corresponding
process-image register location when the instruction is
executed. This differs from the non-immediate references, which
write the new value to the process-image register only.
When the Set and Reset instructions are executed, the
S_BIT
specified number of points (N) starting at the S_BIT are set
S
(turned on) or reset (turned off).
N
S_BIT
Operands:
R
N
S_BIT, N
The range of points that can be set or reset is 1 to 255. When
S_BIT, N
using the Reset instruction, if the S_BIT is specified to be either
a T or C bit, then either the timer or counter bit is reset and the
timer/counter current value is cleared.
215
216
n:
I, Q, M, SM, T, C, V, S
n:
Q
S_BIT:
I, Q, M, SM, T, C, V, S
N:
IB, QB, MB, SMB, VB, AC, Constant,
*VD, *AC, SB
S7-200 Programmable Controller System Manual
C79000-G7076-C230-02

Advertisement

Table of Contents
loading

Table of Contents