317
Logic Instructions Section 5-23
Example
Flags ER: Indirectly addressed DM word is non-existent. (Content of *DM word
is not BCD, or the DM area boundary has been exceeded.)
EQ: ON when the result is 0.
5-23-3 LOGICAL OR – ORW(35)
Limitations DM 6144 to DM 6655 cannot be used for R.
Description When the execution condition is OFF, ORW(35) is not executed. When the
execution condition is ON, ORW(35) logically OR’s the contents of I1 and I2
bit-by-bit and places the result in R.
Example
Flags ER: Indirectly addressed DM word is non-existent. (Content of *DM word
is not BCD, or the DM area boundary has been exceeded.)
EQ: ON when the result is 0.
1001100110011001
15 00
0101010101010101
0001000100010001
15 00
15 00
I1
I2
R
Ladder Symbols
ORW(35)
I1
I2
R
@ORW(35)
I1
I2
R
I1: Input 1
IR, SR, AR, DM, HR, TC, LR, #
I2: Input 2
IR, SR, AR, DM, HR, TC, LR, #
Operand Data Areas
R: Result word
IR, SR, AR, DM, HR, LR
1001100110011001
15 00
0101010101010101
1101110111011101
15 00
15 00
I1
I2
R