EasyManua.ls Logo

Vigor VS Series - Page 271

Vigor VS Series
484 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
265
D E M U L P
S1
S2
D
1
2
M
3
○○○○
FNC
122
X Y M S
D.b R.b
KnX KnY
KnM KnS
T C
D,R
V,Z
UnG
K,H
E
" $"
S1
D
S2
DEMUL D0 D2 D10
X0
0
3.14×10
1
2.3×10
1
7.222×10
×
S1
S2
D
Operand
Devices
BIN Floating Point Multiplication
S1 : the multiplicand
S2 : the multiplier
D : the product (of a multiplication)
When X0 = “ON”, the multiplicand (D1, D0) will be multiplied by the multiplier (D3, D2), and the product will be
stored at the destination device (D11, D10). The components used in the instruction which are all stored in the BIN
oating number format.
(D1, D0) BIN floating number
(D3, D2) BIN floating number
(D11, D10) BIN floating number
This instruction is a 32-bit instruction. Therefore, be sure to input DEMUL or DEMULP in the program.
If a source operand is assigned to a constant integer K or H, this instruction will automatically convert the number
to BIN oating point number for the calculation. Therefore, could execute the multiplication function.
The format for storing a oating point number will occupy two Registers in the PLC system. Please refer to the
section 2-13 “Numerical System” for the reference of the oating point number.

Table of Contents