EasyManuals Logo

Mitsubishi MELSEC iQ-F FX5 series User Manual

Mitsubishi MELSEC iQ-F FX5 series
888 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #187 background imageLoading...
Page #187 background image
6 BASIC INSTRUCTIONS
6.2 Arithmetic Operation Instructions
185
6
DMUL(P)(_U)
These instructions multiply the 32-bit binary data in the device specified by (s1) and the 32-bit binary data in the device
specified by (s2), and store the result in the device specified by (d).
Setting data
Descriptions, ranges, and data types
Applicable devices
Processing details
These instructions multiply the 32-bit binary data in the device specified by (s1) by the 32-bit binary data in the device
specified by (s2), and store the multiplication result in the device specified by (d).
When nibble is specified ranging from K1 to K8 for (d), the result is obtained only for the lower-order 32 bits, and is not
obtained for the higher-order 32 bits. Transfer the data to word devices once, then execute the operation.
Related flag
Ladder diagram Structured text
ENO:=DMUL(EN,s1,s2,d);
ENO:=DMULP(EN,s1,s2,d);
ENO:=DMUL_U(EN,s1,s2,d);
ENO:=DMULP_U(EN,s1,s2,d);
Operand Description Range Data type Data type (label)
(s1) DMUL(P) Multiplicand data or the head device where the
data to be multiplied by another is stored
-2147483648 to +2147483647 32-bit signed binary ANY32_S
DMUL(P)_U 0 to 4294967295 32-bit unsigned binary ANY32_U
(s2) DMUL(P) Multiplier data or the head device where the
data by which another is to be multiplied is
stored
-2147483648 to +2147483647 32-bit signed binary ANY32_S
DMUL(P)_U 0 to 4294967295 32-bit unsigned binary ANY32_U
(d) DMUL(P) Head device for storing the operation result 64-bit signed binary ANY32_S_ARRAY
(Number of elements:
2)
DMUL(P)_U 64-bit unsigned binary ANY32_U_ARRAY
(Number of elements:
2)
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB
U\G T, ST,
C, LC
T, ST, C, D,
W, SD, SW, R
U\G Z LC LZ K, H E $
(s1) 
(s2) 
(d)  
Device Name Description
SM8304 Zero When the operation result is 0, the zero flag is turned ON.
(s1) (s2) (d)
b0
567890 (BIN)
(s1)
123456 (BIN) 70109427840 (BIN)
×
··· ···
(s1)+1
(s2)
(s2)+1
(d)+2
(d)+3
b31 b16 b15
b0
··· ···
b31 b16 b15
b32
··· ···
b63 b48 b47
(d)
(d)+1
b0
··· ···
b31 b16 b15
DMUL D50 K150 D100
(D51,D50) (D103,D102,D101,D100)
K100 × K150 K15000
DMOV D100 K8Y0
D100 Y17 to Y0
DMOV D102 K8Y40
D102 Y57 to Y40
(s2) (d)(s1)
Command
input
D101 Output to Y37 to Y20
D103 Output to Y77 to Y60

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC iQ-F FX5 series and is the answer not in the manual?

Mitsubishi MELSEC iQ-F FX5 series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC iQ-F FX5 series
CategoryController
LanguageEnglish

Related product manuals