Logical And - Andw(34) - Omron CQM1H - PROGRAM Programming Manual

Programmable controllers; inner boards
Table of Contents

Advertisement

Logic Instructions
Example
Flags
5-25-2 LOGICAL AND – ANDW(34)
Limitations
Description
Example
Flags
15
Original
1
0
15
Complement
0
1
ER:
Indirectly addressed EM/DM word is non-existent.
(Content of *EM/*DM word is not BCD, or the EM/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
ER:
Indirectly addressed EM/DM word is non-existent.
(Content of *EM/*DM word is not BCD, or the EM/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, EM, HR, TIM/CNT, LR, #
I1
IR, SR, AR, DM, EM, HR, TIM/CNT, 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 5-25
0
0
1
1
0
0
1
1
0
0
1
1
Operand Data Areas
I1: Input 1
I2: Input 2
R: Result word
IR, SR, AR, DM, EM, 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
00
1
00
0
373

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents