Omron CPM1 - PROGRAMING MANUAL 02-2001 Programming Manual page 498

Hide thumbs Also See for CPM1 - PROGRAMING MANUAL 02-2001:
Table of Contents

Advertisement

Logic Instructions
Precautions
Example
Flags
7-24-2 LOGICAL AND – ANDW(34)
Limitations
Description
Example
Flags
480
The complement of Wd will be calculated every cycle if the undifferentiated form
of COM(29) is used. Use the differentiated form (@COM(29)) or combine
COM(29) with DIFU(13) or DIFD(14) to calculate the complement just once.
15
Original
1
0
15
Complement
0
1
Indirectly addressed DM word is non-existent. (Content of *DM word is
ER:
not BCD, or the DM area boundary has been exceeded.)
EQ:
ON when the result is 0.
Ladder Symbols
ANDW(34)
@ANDW(34)
I1
I2
R
DM 6144 to DM 6655 cannot be used for R.
When the execution condition is OFF, ANDW(34) is not executed. When the
execution condition is ON, ANDW(34) logically AND's the contents of I1 and I2
bit-by-bit and places the result in R.
15
1
0
I1
15
0
1
I2
15
0
0
R
Indirectly addressed DM word is non-existent. (Content of *DM word is
ER:
not BCD, or the DM area boundary has been exceeded.)
EQ:
ON when the result is 0.
0
1
1
0
0
1
1
1
0
0
1
1
0
0
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
0
0
0
1
0
Section
00
0
0
1
1
0
0
1
00
1
1
0
0
1
1
0
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
0
0
1
0
0
0
1
7-24

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CPM1 - PROGRAMING MANUAL 02-2001 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents