Siemens S7-400 Service Manual Page 155

  • Download
  • Add to my manuals
  • Print
  • Page
    / 228
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 154
Status Bit Instructions
Ladder Logic (LAD) for S7-300 and S7-400 Programming
A5E00706949-01
12-7
12.6 ==0 ---| |--- Result Bit Equal 0
Symbol
or negation
/
==0
==0
Description
==0 ---| |--- (Result Bit Equal 0) or ==0 ---| / |--- (Negated Result Bit Equal 0)
contact symbols are used to recognize if the result of a math function is equal to
"0". The instructions scan the condition code bits CC 1 and CC 0 in the status
word in order to determine the relation of the result to "0". Used in series, the result
of the scan is linked to the RLO by AND, used in parallel, it is linked to the RLO by
OR.
Status word
BR CC 1 CC 0 OV OS OR STA RLO /FC
writes: - - - - - x x x 1
Examples
SUB_I
EN
OUT
IN2
ENO
IN1
IW2
IW0
MW10
I 0.0 ==0
S
Q 4.0
The box is activated by signal state "1" at I0.0. If the value of IW0 is equal to the
value of IW2, the result of the math function "IW0 - IW2" is "0". Q4.0 is set if the
function is properly executed and the result is equal to "0".
SUB_I
EN
OUT
IN2
ENO
IN1
IW2
IW0
MW10
I 0.0 ==0
S
Q 4.0
Q4.0 is set if the function is properly executed and the result is not equal to "0".
Page view 154
1 2 ... 150 151 152 153 154 155 156 157 158 159 160 ... 227 228

Comments to this Manuals

No comments