Siemens Simatic S7-300 Service Manual Page 214

  • Download
  • Add to my manuals
  • Print
  • Page
    / 272
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 213
Word Logic Instructions
Statement List (STL) for S7-300 and S7-400 Programming
13-4
A5E00706960-01
13.3 OW OR Word (16-Bit)
Format
OW
OW <constant>
Address Data type Description
<constant> WORD,
16-bit constant
Bit pattern to be combined with ACCU 1-L by
OR
Description of instruction
OW (OR word) combines the contents of ACCU 1-L with ACCU 2-L or a 16
bit-constant bit by bit according to the Boolean logic operation OR. A bit in the result
word is "1" when at least one of the corresponding bits of both words combined in the
logic operation is "1". The result is stored in ACCU 1-L. ACCU 1-H and ACCU 2 (and
ACCU 3 and ACCU 4 for CPUs with four ACCUs) remain unchanged. The instruction
is executed without regard to, and without affecting, the RLO. The status bit CC 1 is
set as a result of the operation (CC 1 = 1 if result is unequal to zero). The status word
bits CC 0 and OV are reset to 0.
OW: Combines ACCU 1-L with ACCU 2-L.
OW <constant>
: Combines ACCU 1-L with a 16-bit constant.
Status word
BR CC 1 CC 0 OV OS OR STA RLO /FC
writes: - x 0 0 - - - - -
Page view 213
1 2 ... 209 210 211 212 213 214 215 216 217 218 219 ... 271 272

Comments to this Manuals

No comments