![background image](http://html.mh-extra.com/html/mitsubishi-electric/melsec-iq-f-fx5/melsec-iq-f-fx5_programming-manual_239114216.webp)
214
7 BASIC INSTRUCTIONS
7.2 Arithmetic Operation Instructions
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 (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
Operation error
• K1 ... Lower 4 bits (b0 to b3)
• K4 ... Lower 16 bits (b0 to b15)
• K8 ... Lower 32 bits (b0 to b31)
Error code
(SD0/SD8067)
Description
2820H
The range of the device specified by (d) exceeds the range of said device.
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
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......