Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 36

Motion module instructions, standard functions/ function blocks
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

■Performing an OR operation on 16-bit/32-bit data
Instruction symbol
WOR
DOR
■Performing an XOR operation on 16-bit/32-bit data
Instruction symbol
WXOR
DXOR
■Performing an XNOR operation on 16-bit/32-bit data
Instruction symbol
WXNR
DXNR
Data conversion instructions
■Two's complement of 16-bit/32-bit binary data (sign inversion)
Instruction symbol
NEG
DNEG
Data transfer instructions
■Transferring 16-bit/32-bit binary data
Instruction symbol
MOV
DMOV
■Inverting and transferring 16-bit/32-bit binary data
Instruction symbol
CML
DCML
■Inverting and transferring 1-bit data
Instruction symbol
CMLB
■Transferring 1-bit data
Instruction symbol
MOVB
2 MOTION SYSTEM INSTRUCTIONS
34
2.2 Basic Instructions
Processing details
Performs an OR operation on the two sets of 16-bit binary data specified.
Performs an OR operation on the two sets of 32-bit binary data specified.
Processing details
Performs an XOR operation on the two sets of 16-bit binary data specified.
Performs an XOR operation on the two sets of 32-bit binary data specified.
Processing details
Performs an XNOR operation on the two sets of 16-bit binary data specified.
Performs an XNOR operation on the two sets of 32-bit binary data specified.
Processing details
Inverts the sign of 16-bit binary device.
(d)
(d)
BIN
Inverts the sign of 32-bit binary device.
(d)+1, (d)
(d)+1, (d)
BIN
Processing details
Transfers the 16-bit binary data in the device specified.
(s)
(d)
Transfers the 32-bit binary data in the device specified.
(s)+1, (s)
(d)+1, (d)
Processing details
Inverts the specified 16-bit binary data bit by bit, and transfers the inverted data.
(s)
(d)
Inverts the specified 32-bit binary data bit by bit, and transfers the inverted data.
(s)+1, (s)
(d)+1, (d)
Processing details
Inverts the bit data in the device specified by (s), and stores the inverted data in the device
specified by (d).
Processing details
Stores the bit data in the device specified by (s) in the device specified by (d).
Reference
Page 78 WOR
Page 79 DOR
Reference
Page 80 WXOR
Page 81 DXOR
Reference
Page 82 WXNR
Page 83 DXNR
Reference
Page 84 NEG
Page 85 DNEG
Reference
Page 86 MOV
Page 87 DMOV
Reference
Page 88 CML
Page 89 DCML
Reference
Page 90 CMLB
Reference
Page 91 MOVB

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents