
19-5
Ladder Logic (LAD) for S7-300 and S7-400
C79000-G7076-C504-02
Status Word Bits
BR CC 1 CC 0 OV OS OR STA RLO FC
Write – – – – – x x x 1
I 0.0
If the signal state at input I 0.0 is 1, the
SUB_I box is activated. If the value of
input word IW0 is higher than the value of
input word IW2, the result of the math
function IW0 – IW2 is greater than 0.
If the signal state of EN is 1 (activated)
and an error occurs while the instruction
is being executed, the signal state of ENO
is 0.
Output Q 4.0 is set if the function is
executed properly and the result is
greater than 0. If the signal state of input
I 0.0 is 0 (not activated), the signal state
of both EN and ENO is 0.
Output Q 4.0 is set if the function is
executed properly and the result is less
than or equal to 0. If the signal state of
input I 0.0 is 0 (not activated), the signal
state of both EN and ENO is 0. If the
signal state of EN is 1 (activated) and an
error occurs while the instruction is being
executed, the signal state of ENO is 0.
Q 4.0
SUB_I
IN2
OUT
EN ENO
IN2
IW0
IW2 MW10
S
> 0
I 0.0
Q 4.0
SUB_I
IN2
OUT
EN ENO
IN2
IW0
IW2 MW10
S
> 0
Figure 19-4 Result Bit Greater Than 0 and Negated Result Bit Greater Than 0
Status Bit Instructions
Comentarios a estos manuales