Logical Or -- Orw; Exclusive Or -- Xorw - Omron CPM1 Programming Manual

Hide thumbs Also See for CPM1:
Table of Contents

Advertisement

7-23-3 LOGICAL OR - - ORW(35)
Limitations
Description
Example
Flags
7-23-4 EXCLUSIVE OR - - XORW(36)
Limitations
Ladder Symbols
ORW(35)
@ORW(35)
I1
I2
R
DM 6144 to DM 6655 cannot be used for R.
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.
15
I1
1
0
15
I2
0
1
15
1
1
R
ER:
Indirectly addressed DM word is non-existent. (Content of
not BCD, or the DM area boundary has been exceeded.)
EQ:
ON when the result is 0.
Ladder Symbols
XORW(36)
@XORW(36)
I1
I2
R
DM 6144 to DM 6655 cannot be used for R.
IR, SR, AR, DM, HR, TC, LR, #
I1
IR, SR, AR, DM, HR, TC, LR, #
I2
R
0
1
1
0
0
1
1
0
1
0
1
0
1
0
0
1
1
1
0
1
1
IR, SR, AR, DM, HR, TC, LR, #
I1
IR, SR, AR, DM, HR, TC, LR, #
I2
R
Section
Operand Data Areas
I1: Input 1
I2: Input 2
R: Result word
IR, SR, AR, DM, HR, LR
00
0
0
1
1
0
0
1
00
1
0
1
0
1
0
1
00
1
0
1
1
1
0
1

DM word is
Operand Data Areas
I1: Input 1
I2: Input 2
R: Result word
IR, SR, AR, DM, HR, LR
7-23

Advertisement

Table of Contents
loading

This manual is also suitable for:

Srm-v2Cpm1aCpm2aSrm1Cpm2c

Table of Contents