7: B
INARY
A
RITHMETIC
I
NSTRUCTIONS
7-4 FC6A S
ERIES
MICROS
MART
L
ADDER
P
ROGRAMMING
M
ANUAL
FC9Y-B1726
Examples: MUL
•Data Type: Word
• Data Type: Integer
•Data Type: Double Word
Note: In multiplication of double word data, the lower 32-bit data of the result is set to destination device D1·D1+1.
• Data Type: Long
Note: In multiplication of long data, the lower 32-bit data of the result is set to destination device D1·D1+1.
•Data Type: Float
Note: Since the destination uses two word devices in the multiplication operation, data register such as D7999 cannot be used as destination device
D1. When using a bit device such as internal relay for destination, 32 internal relays are required; so internal relay such as M7961 cannot be used as
destination device D1.
D10
×
300000
(000493E0h)
500
(01F4h)
600
(0258h)
13D·03D02D
D31
37856
(93E0h)
D30
4
(0004h)
I1
REPS2 –
D20
D1 –
D30
S1 –
D10
MUL(W)
When input I1 is on, data of D10 is multiplied by data of D20, and the result is set to D30 and D31.
D10
×
–300000
(FFFB6C20h)
–500
(FE0Ch)
600
(0258h)
13D·03D02D
D31
27680
(6C20h)
D30
65531
(FFFBh)
I1
REPS2 –
D20
D1 –
D30
S1 –
D10
MUL(I)
×100000
D10·D11
5000
D20·D21
500000000
D30·D31
I1
REPS2 –
D20
D1 –
D30
S1 –
D10
MUL(D)
×–100000
D10·D11
–5000
D20·D21
500000000
D30·D31
I1
REPS2 –
D20
D1 –
D30
S1 –
D10
MUL(L)
×4.554
D10·D11
1.414
D20·D21
6.439356
D30·D31
I1
REPS2 –
D20
D1 –
D30
S1 –
D10
MUL(F)