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

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

Advertisement

Multiplying 32-bit binary data

D*(P)(_U)
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
These instructions multiply the two sets of 32-bit binary data specified.
Ladder
(s1)
(s2)
(d)
FBD/LD
EN
ENO
s1
d
s2
( is to be replaced by any of the following: DMULTI, DMULTIP, DMULTI_U, DMULTIP_U.)
*1 The engineering tool with version "1.035M" or later supports the ST.
■Execution condition
Instruction
D*
D*_U
D*P
D*P_U
Setting data
■Description, range, data type
Operand
Description
(s1)
D*(P)
Multiplicand data or the start device where
multiplicand data is stored
D*(P)_U
(s2)
D*(P)
Multiplier data or the start device where
multiplier data is stored
D*(P)_U
(d)
D*(P)
Start device for storing the operation result
D*(P)_U
EN
Execution condition
ENO
Execution result
• In safety programs executed by the Safety CPU, only safety devices and safety labels of data types described in the table
can be used.
RnSFCPU RnSFCPU
(Standard)
(Safety)
Execution condition
*1
ST
ENO:=DMULTI(EN,s1,s2,d);
ENO:=DMULTIP(EN,s1,s2,d);
Range
Data type
-2147483648 to 2147483647
32-bit signed binary
0 to 4294967295
32-bit unsigned binary
-2147483648 to 2147483647
32-bit signed binary
0 to 4294967295
32-bit unsigned binary
64-bit signed binary
64-bit unsigned binary
Bit
Bit
6.2 Arithmetic Operation Instructions
ENO:=DMULTI_U(EN,s1,s2,d);
ENO:=DMULTIP_U(EN,s1,s2,d);
Data type (label)
ANY32_S
ANY32_U
ANY32_S
ANY32_U
ANY32_S_ARRAY
(Number of elements: 2)
ANY32_U_ARRAY
(Number of elements: 2)
BOOL
BOOL
6 BASIC INSTRUCTIONS
6
255

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents