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)
Содержание MELSEC iQ-F FX5
Страница 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Страница 2: ......
Страница 17: ...15 CONTENTS ...
Страница 24: ...22 MEMO ...
Страница 25: ...23 PART 1 PART 1 OVERVIEW Part 1 consists of the following chapter 1 OVERVIEW 2 PRECAUTIONS ON PROGRAMMING ...
Страница 126: ...124 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 132: ...130 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 140: ...138 6 SEQUENCE INSTRUCTIONS 6 3 Output Instructions Operation error There is no operation error ...
Страница 191: ...7 BASIC INSTRUCTIONS 7 2 Arithmetic Operation Instructions 189 7 Operation error There is no operation error ...
Страница 202: ...200 7 BASIC INSTRUCTIONS 7 2 Arithmetic Operation Instructions Operation error There is no operation error ...
Страница 278: ...276 7 BASIC INSTRUCTIONS 7 4 Bit Processing Instructions Operation error There is no operation error ...
Страница 280: ...278 7 BASIC INSTRUCTIONS 7 4 Bit Processing Instructions Operation error There is no operation error ...
Страница 915: ...18 TYPE CONVERSION FUNCTIONS 18 13 Converting DWORD to WORD 913 18 Operation error There is no operation error ...
Страница 917: ...18 TYPE CONVERSION FUNCTIONS 18 14 Converting DWORD to INT 915 18 Operation error There is no operation error ...
Страница 932: ...930 18 TYPE CONVERSION FUNCTIONS 18 26 Converting DINT to WORD Operation error There is no operation error ...
Страница 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Страница 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Страница 1107: ...I 1105 MEMO ...
Страница 1111: ......