Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 79

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Logical operation instructions
■Performing an AND operation on 16-bit/32-bit data
Instruction symbol
Processing details
WAND
Performs an AND operation on the two sets of 16-bit binary data specified. (Two operands)
WANDP
WAND
Performs an AND operation on the two sets of 16-bit binary data specified. (Three operands)
WANDP
DAND
Performs an AND operation on the two sets of 32-bit binary data specified. (Two operands)
DANDP
DAND
Performs an AND operation on the two sets of 32-bit binary data specified. (Three operands)
DANDP
■Performing an AND operation on 16-bit block data
Instruction symbol
Processing details
BKAND
Performs an AND operation on the two 16-bit binary data blocks specified.
BKANDP
(s1)
■Performing an OR operation on 16-bit/32-bit data
Instruction symbol
Processing details
WOR
Performs an OR operation on the two sets of 16-bit binary data specified. (Two operands)
WORP
WOR
Performs an OR operation on the two sets of 16-bit binary data specified. (Three operands)
WORP
DOR
Performs an OR operation on the two sets of 32-bit binary data specified. (Two operands)
DORP
DOR
Performs an OR operation on the two sets of 32-bit binary data specified. (Three operands)
DORP
■Performing an OR operation on 16-bit block data
Instruction symbol
Processing details
BKOR
Performs an OR operation on the two 16-bit binary data blocks specified.
BKORP
(s1)
■Performing an XOR operation on 16-bit/32-bit data
Instruction symbol
Processing details
WXOR
Performs an XOR operation on the two sets of 16-bit binary data specified. (Two operands)
WXORP
WXOR
Performs an XOR operation on the two sets of 16-bit binary data specified. (Three operands)
WXORP
DXOR
Performs an XOR operation on the two sets of 32-bit binary data specified. (Two operands)
DXORP
DXOR
Performs an XOR operation on the two sets of 32-bit binary data specified. (Three operands)
DXORP
(s2)
(d)
(n)
(s2)
(d)
(n)
Reference
Page 300 WAND(P)
[when two operands
are set]
Page 302 WAND(P)
[when three operands
are set]
Page 304 DAND(P)
[when two operands
are set]
Page 306 DAND(P)
[when three operands
are set]
Reference
Page 308 BKAND(P)
Reference
Page 310 WOR(P)
[when two operands
are set]
Page 312 WOR(P)
[when three operands
are set]
Page 314 DOR(P)
[when two operands
are set]
Page 316 DOR(P)
[when three operands
are set]
Reference
Page 318 BKOR(P)
Reference
Page 320 WXOR(P)
[when two operands
are set]
Page 322 WXOR(P)
[when three operands
are set]
Page 324 DXOR(P)
[when two operands
are set]
Page 326 DXOR(P)
[when three operands
are set]
2 CPU MODULE INSTRUCTIONS
2.2 Basic Instructions
2
77

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents