436
Logic Instructions Section 3-12
3-12 Logic Instructions
This section describes instructions which perform logic operations on word
data.
3-12-1 LOGICAL AND: ANDW(034)
Purpose Takes the logical AND of corresponding bits in single words of word data and/
or constants.
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
Instruction Mnemonic Function code Page
LOGICAL AND ANDW 034 436
DOUBLE LOGICAL AND ANDL 610 437
LOGICAL OR ORW 035 439
DOUBLE LOGICAL OR ORWL 611 440
EXCLUSIVE OR XORW 036 442
DOUBLE EXCLUSIVE OR XORL 612 444
EXCLUSIVE NOR XNRW 037 445
DOUBLE EXCLUSIVE NOR XNRL 613 447
COMPLEMENT COM 029 449
DOUBLE COMPLEMENT COML 614 450
ANDW(034)
I
1
I
2
R
I
1
: Input 1
I
2
: Input 2
R: Result word
Variations Executed Each Cycle for ON Condition ANDW(034)
Executed Once for Upward Differentiation @ANDW(034)
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification Not supported.
Block program areas Step program areas Subroutines Interrupt tasks
OK OK OK OK
Area I
1
I
2
R
CIO Area CIO 0 to CIO 6143
Work Area W0 to W511
Holding Bit Area H0 to H511
Auxiliary Bit Area A0 to A959 A448 to A959
Timer Area T0000 to T4095
Counter Area C0000 to C4095
DM Area D0 to D32767
Indirect DM addresses
in binary
@ D0 to @ D32767
Indirect DM addresses
in BCD
*D0 to *D32767
Constants #0000 to #FFFF (binary) ---