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 - - - - -
Comments to this Manuals