208
7 BASIC INSTRUCTIONS
7.2 Arithmetic Operation Instructions
Processing details
• These instructions multiply the 16-bit binary data in the device specified by (s1) by the 16-bit binary data in the device
specified by (s2), and store the multiplication result in the device specified by (d).
• Nibble can be specified ranging from K1 to K8 for (d).
Ex.
For example, when K2 is specified, only the lower-order 8 bits can be obtained out of the product (32 bits).
■
Related flag
Operation error
(1): Not output
(2): K2Y0 operation result is output.
Device
Name
Description
SM8304
Zero
When the operation result is 0, the zero flag is turned ON.
Error code
(SD0/SD8067)
Description
2820H
The range of the device specified by (d) exceeds said device range.
b15
b0
5678 (BIN)
(s1)
(s2)
1234 (BIN)
7006652 (BIN)
×
···
b15
b0
···
(d)
(d)+1
b0
···
···
b31
b16 b15
MUL
K53
K15
K2Y0
×
K15(000FH)
K53(0035H)
K795(031BH)
0
0
0
…
0
0
1
1
0
0
0
1
1
0
1
1
Y27
Y26
Y25
…
Y13
Y12
Y11
Y10
Y7
Y6
Y5
Y4
Y3
Y2
Y1
Y0
(d)
(s2)
(s1)
(s1)
(s2)
(d)
X0
When command contact is ON
(2)
(1)
Sign bit (0: Positive, 1: Negative)
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: ......