373
Logic Instructions
Section 5-25
Example
Flags
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.
5-25-2 LOGICAL AND – ANDW(34)
Limitations
DM 6144 to DM 6655 cannot be used for R.
Description
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.
Example
Flags
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.
1 0 0 1
1 0 0 1
1 0 0 1
1 0 0 1
0 1 1 0
0 1 1 0
0 1 1 0
0 1 1 0
15
00
15
00
Original
Complement
Ladder Symbols
ANDW(34)
I1
I2
R
@ANDW(34)
I1
I2
R
I1
:
Input 1
IR, SR, AR, DM, EM, HR, TIM/CNT, LR, #
I2
: Input 2
IR, SR, AR, DM, EM, HR, TIM/CNT, LR, #
Operand Data Areas
R
: Result word
IR, SR, AR, DM, EM, HR, LR
1 0 0 1
1 0 0 1
1 0 0 1
1 0 0 1
15
00
0 1 0 1
0 1 0 1
0 1 0 1
0 1 0 1
0 0 0 1
0 0 0 1
0 0 0 1
0 0 0 1
15
00
15
00
I1
I2
R
Содержание SYSMAC CQM1H Series
Страница 3: ...iv...
Страница 5: ...vi...
Страница 9: ......
Страница 11: ......
Страница 15: ...xvi...
Страница 87: ...62 Calculating with Signed Binary Data Section 1 7...
Страница 169: ...144 Serial Communications Board Section 2 6...
Страница 537: ......
Страница 565: ......
Страница 569: ......
Страница 573: ......
Страница 577: ......