
8-9
Ladder Logic (LAD) for S7-300 and S7-400
C79000-G7076-C504-02
8.8 Set Coil
The Set Coil instruction is executed only if the RLO = 1. If the RLO = 1, this
instruction sets its specified address to 1. If the RLO = 0, the instruction has
no effect on the specified address. The address remains unchanged.
The Set Coil instruction is affected by the Master Control Relay (MCR). For
more information on how the MCR functions, see Section 20.5.
Table 8-7 Set Coil Element and Parameter
LAD Element Parameter Data Type Memory Area Description
S
<address>
<address> BOOL I, Q, M, D, L
The address indicates the bit that is to
be set.
Status Word Bits
BR CC 1 CC 0 OV OS OR STA RLO FC
Write – – – – – 0 x – 0
I 0.0
I 0.2
I 0.1 Q 4.0
S
The signal state of output Q 4.0 is set to 1 if one of
the following conditions exists:
S The signal state is 1 at input I 0.0 And I 0.1
S Or the signal state is 0 at input I 0.2.
If the RLO of the branch is 0, the signal state of
output Q 4.0 remains unchanged.
Figure 8-7 Set Coil
Description
Bit Logic Instructions
Kommentare zu diesen Handbüchern