2 CPU MODULE INSTRUCTIONS
2.2 Basic Instructions
77
2
Logical operation instructions
■
Performing an AND operation on 16-bit/32-bit data
■
Performing an AND operation on 16-bit block data
■
Performing an OR operation on 16-bit/32-bit data
■
Performing an OR operation on 16-bit block data
■
Performing an XOR operation on 16-bit/32-bit data
Instruction symbol
Processing details
Reference
WAND
Performs an AND operation on the two sets of 16-bit binary data specified. (Two operands)
Page 300 WAND(P)
[when two operands
are set]
WANDP
WAND
Performs an AND operation on the two sets of 16-bit binary data specified. (Three operands)
Page 302 WAND(P)
[when three operands
are set]
WANDP
DAND
Performs an AND operation on the two sets of 32-bit binary data specified. (Two operands)
Page 304 DAND(P)
[when two operands
are set]
DANDP
DAND
Performs an AND operation on the two sets of 32-bit binary data specified. (Three operands)
Page 306 DAND(P)
[when three operands
are set]
DANDP
Instruction symbol
Processing details
Reference
BKAND
Performs an AND operation on the two 16-bit binary data blocks specified.
BKANDP
Instruction symbol
Processing details
Reference
WOR
Performs an OR operation on the two sets of 16-bit binary data specified. (Two operands)
Page 310 WOR(P)
[when two operands
are set]
WORP
WOR
Performs an OR operation on the two sets of 16-bit binary data specified. (Three operands)
Page 312 WOR(P)
[when three operands
are set]
WORP
DOR
Performs an OR operation on the two sets of 32-bit binary data specified. (Two operands)
Page 314 DOR(P)
[when two operands
are set]
DORP
DOR
Performs an OR operation on the two sets of 32-bit binary data specified. (Three operands)
Page 316 DOR(P)
[when three operands
are set]
DORP
Instruction symbol
Processing details
Reference
BKOR
Performs an OR operation on the two 16-bit binary data blocks specified.
BKORP
Instruction symbol
Processing details
Reference
WXOR
Performs an XOR operation on the two sets of 16-bit binary data specified. (Two operands)
Page 320 WXOR(P)
[when two operands
are set]
WXORP
WXOR
Performs an XOR operation on the two sets of 16-bit binary data specified. (Three operands)
Page 322 WXOR(P)
[when three operands
are set]
WXORP
DXOR
Performs an XOR operation on the two sets of 32-bit binary data specified. (Two operands)
Page 324 DXOR(P)
[when two operands
are set]
DXORP
DXOR
Performs an XOR operation on the two sets of 32-bit binary data specified. (Three operands)
Page 326 DXOR(P)
[when three operands
are set]
DXORP
(s1)
(s2)
(d)
(n)
(s1)
(s2)
(d)
(n)
Summary of Contents for MELSEC iQ-R Series
Page 1: ...MELSEC iQ R Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 24: ...22 INDEX 2092 INSTRUCTION INDEX 2093 REVISIONS 2104 WARRANTY 2105 TRADEMARKS 2106 ...
Page 34: ...32 MEMO ...
Page 35: ...33 PART 1 PART 1 OVERVIEW This part consists of the following chapter 1 OVERVIEW ...
Page 68: ...66 1 OVERVIEW 1 5 Precautions on Programming MEMO ...
Page 1448: ...1446 14 REDUNDANT SYSTEM INSTRUCTIONS 14 2 Disabling Enabling System Switching MEMO ...
Page 1972: ...1970 33 TIME DATA TYPE FUNCTIONS 33 4 Division MEMO ...
Page 2067: ...APPX Appendix 5 PID Control Program Examples 2065 A 252 Set PID control data for loop 2 ...
Page 2109: ......