API
EMUL
122
D
P
Bit Devices
X
Y
M
K
S1
*
S2
*
D
*
Operands:
Please refer to the specifications of each model for the
range of operands.
S1: Multiplicand S2: Multiplier D: Multiplication result
Explanation
S1 xS2 D. The floating point value in S1 is multiplied with the floating point
value in S2 and the result is D. The multiplication is conducted in binary floating
point format
If S1 or S2 is designated as constant K or H, the instruction will convert the
constant into a binary floating point value before the operation
S1 and S2 can designate the same register. In this case, if the instruction is
specified as "continuous execution instruction" (generally DEMULP instruction)
and the drive contact is ON, the register will be multiplied once in every scan
When X1 = ON, binary floating point (D1, D0) multiplies binary floating point
Example
(D11, D10) and the result is stored in (D21, D20).
X1
When X2 = ON, K1234 (automatically converted into binary floating point value)
multiplies binary floating point (D1, D0) and the result is stored in (D11, D10).
X2
Word Devices
H
KnX KnY KnM
T
*
*
*
DEMUL
D0
DEMUL
K1234
Chapter 16 PLC Function C2000 Series
Floating Point Multiplication
16-bit command (5 STEPS)
C
D
-
*
32-bit command
*
DEMUL
*
Flag signal: none
D10
D20
D0
D10
16-77
-
-
-
DEMULP