EasyManua.ls Logo

Vigor VS Series - Page 272

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...
266
D E D V
I
P
S1
S2
D
1
2
M
3
○○○○
FNC
123
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
DEDIVP D0 D2 D10
X0
4
1.23×10
-1
3.0×10
4
4.1×10
÷
S1
S2
D
BIN Floating Point Division
(D1, D0) BIN floating number
(D3, D2) BIN floating number
(D11, D10) BIN floating number
S1 : the dividend
S2 : the divisor
D : the quotient
Operand
Devices
When X0 = “OFF” → “ON”, the dividend (D1, D0) will be divided by the divisor (D3, D2), and the quotient 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.
S2
This instruction is a 32-bit instruction. Therefore, be sure to input DEDIV or DEDIVP 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 division 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.
If the value of divisor is equal to “0”, the PLC will regard that as an operational error.

Table of Contents