Coils - Siemens Simatic S7-200 System Manual

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

Advertisement

S7-200 Programmable Controller System Manual

Coils

Output
The Output instruction (=) writes the new value for the output bit to
the process-image register. When the Output instruction is
executed, the S7-200 turns the output bit in the process-image
register on or off. For LAD and FBD, the specified bit is set equal to
power flow. For STL, the value on the top of the stack is copied to
the specified bit.
Output Immediate
The Output Immediate instruction (=I) writes the new value to both
the physical output and the corresponding process-image register
location when the instruction is executed.
When the Output Immediate instruction is executed, the physical
output point (Bit) is immediately set equal to power flow. For STL,
the instruction immediately copies the value on the top of the stack
6
to the specified physical output bit (STL). The "I" indicates an
immediate reference; the new value is 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.
Set and Reset
The Set (S) and Reset (R) instructions set (turn on) or reset (turn off)
the specified number of points (N), starting at the specified address
(Bit). You can set or reset from 1 to 255 points.
If the Reset instruction specifies either a timer bit (T) or counter bit
(C), the instruction resets the timer or counter bit and clears the
current value of the timer or counter.
Error conditions that set ENO = 0
H 0006 (indirect address)
H 0091 (operand out of range)
Set Immediate and Reset Immediate
The Set Immediate and Reset Immediate instructions immediately set (turn on) or immediately reset (turn
off) the number of points (N), starting at specified address (Bit). You can set or reset from 1 to 128 points
immediately.
The "I" indicates an immediate reference; when the instruction is executed, the new value is written to
both the physical output point and the corresponding process-image register location. This differs from
the non-immediate references, which write the new value to the process-image register only.
Error conditions that set ENO = 0
H 0006 (indirect address)
H 0091 (operand out of range)
Table 6-4
Inputs/Outputs
Bit
Bit (immediate)
N
68
Valid Operands for the Bit Logic Output Instructions
Data Type
Operands
BOOL
I, Q, V, M, SM, S, T, C, L
BOOL
Q
BYTE
IB, QB, VB, MB, SMB, SB, LB, AC, *VD, *LD, *AC, Constant

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents