Adding 32-Bit Binary Data - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

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

Advertisement

Adding 32-bit binary data

D+(_U)
These instructions add the two sets of 32-bit binary data specified.
ST
ENO:=DPLUS(EN,s1,s2,d);
ENO:=DPLUS_U(EN,s1,s2,d);
■Execution condition
Instruction
D+
D+_U
Setting data
■Description, range, data type
Operand
Description
(s1)
D+
First addend data or the start device where the first addend data is
stored
D+_U
(s2)
D+
Second addend data or the start device where the second addend data
is stored
D+_U
(d)
D+
Start device for storing the operation result
D+_U
EN
Execution condition
ENO
Execution result
■Applicable devices/labels
Operand
Bit
SB
(s1)
(s2)
(d)
6 BASIC INSTRUCTIONS
64
6.1 Arithmetic Operation Instructions
Execution condition
RX, RY, LB
Range
-2147483648 to 2147483647
0 to 4294967295
-2147483648 to 2147483647
0 to 4294967295
Word
SW
G, RWw, RWr, LW
Data type
ANY32_S
ANY32_U
ANY32_S
ANY32_U
ANY32_S
ANY32_U
BOOL
BOOL
Constant
K, H

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents