Download Print this page

Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual page 216

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

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).
(s1)
(s1)+1
b31
b16 b15
b0
···
···
567890 (BIN)
×
• When (d) is a bit device, only the lower 32 bits of the multiplication result are stored and the upper 32 bits cannot be
specified. If the upper 32 bits data of the multiplication operation result are required, temporarily store the result in a word
device, and transfer the data stored in word device ((d)+2) and ((d)+3) to the specified bit devices.
Ex.
Multiplication result when (d) is a bit device
• K1 ... Lower 4 bits (b0 to b3)
• K4 ... Lower 16 bits (b0 to b15)
• K8 ... Lower 32 bits (b0 to b31)
Operation error
Error code
Description
(SD0/SD8067)
2820H
The range of the device specified by (d) exceeds the range of said device.
7 BASIC INSTRUCTIONS
214
7.2 Arithmetic Operation Instructions
(s2)
(s2)+1
(d)+3
b31
b16 b15
b0
b63
···
···
···
123456 (BIN)
(d)+2
(d)
(d)+1
b48 b47
b32
b31
b16 b15
b0
···
···
···
70109427840 (BIN)

Hide quick links:

Advertisement

loading