6F3B0253
7. Instructions
FUN 029
∗
Multiplication
Expression
Input − [ A ∗ B → C+1⋅C ]− Output
Function
When the input is ON, the data of A is multiplied by the data of B, and the result is stored in
Execution condition
Input |
| Operation | Output |
OFF | No execution |
| OFF |
ON | Execution |
| ON |
Operand
| Name |
|
| Device |
|
|
|
|
|
|
|
|
| Register |
|
|
|
|
|
| Constant | Index | ||
|
| X | Y | R | S | T. | C. | XW | YW | RW | SW | T | C | D |
| I |
| J | K |
|
| |||
A | Multiplicand |
|
|
|
|
|
| √ | √ |
| √ | √ |
| √ | √ | √ | √ | √ |
| √ |
| √ | √ |
|
B | Multiplier |
|
|
|
|
|
| √ | √ |
| √ | √ |
| √ | √ | √ | √ | √ |
| √ |
| √ | √ |
|
C | Product |
|
|
|
|
|
|
|
| √ |
| √ | √ | √ | √ | √ | √ |
| √ |
|
|
| √ |
|
Example
When R005 is ON, the data of D0050 is multiplied by the data of RW05, and the result is stored in
If the data of D0050 is 1500 and the data of RW05 is 20, the result 30000 is stored in D0101⋅D0100.
D0050
RW05
1500
⋅ D0101⋅D0100
20
D0101
D0100
30000
H0000 (upper
H7530 (lower
Basic Hardware and Function 145