185
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-19-2
LOGICAL AND – ANDW(34)
I1: Input 1
IR, SR, AR, DM, HR, TC, LR, #
I2: Input 2
IR, SR, AR, DM, HR, TC, LR, #
Ladder Symbols
Operand Data Areas
R: Result word
IR, AR, DM, HR, LR
ANDW(34)
I1
I2
R
@ANDW(34)
I1
I2
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.
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
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-19-3
LOGICAL OR – ORW(35)
I1: Input 1
IR, SR, AR, DM, HR, TC, LR, #
I2: Input 2
IR, SR, AR, DM, HR, TC, LR, #
Ladder Symbols
Operand Data Areas
R: Result word
IR, AR, DM, HR, LR
ORW(35)
I1
I2
R
@ORW(35)
I1
I2
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.
Description
Example
Description
Logic Instructions
Section 5-19
Summary of Contents for SYSMAC C200H
Page 1: ...OPERATION MANUAL C200H CPU01 E 03 E 11 E SYSMAC Programmable Controllers Cat No W130 E1 05 ...
Page 2: ...C200H Programmable Controllers CPU01 E 03 E 11 E Operation Manual Revised June 2003 ...
Page 3: ...iv ...
Page 5: ...vi ...
Page 8: ...TABLE OF CONTENTS ix Glossary 345 Index 363 Revision History 369 ...
Page 342: ...336 Programmer Program Date Page Word Contents Notes Word Contents Notes Data Storage ...
Page 374: ...Cat No W130 E1 05 C200H Programmable Controllers CPU01 E 03 E 11 E OPERATION MANUAL ...