Delta C2000 series User Manual page 525

Classical field oriented control ac motor drive
Hide thumbs Also See for C2000 series:
Table of Contents

Advertisement

API
EDIV
123
D
P
Bit Devices
X
M
Y
K
S1
S2
D
Operands:
Please refer to the specifications of each model for the
range of operands.
S1: Dividend S2: Divisor D: Quotient and Remainder
Explanation
S1÷S2 D. The floating point value in S1 is divided by the floating point value in
S2 and the result is stored in D. The division is conducted in binary floating point
If S
1
constant into a binary floating point value before the operation.
If S2 = 0, operation error will occur, the instruction will not be executed
When X1 = ON, binary floating point value of (D1, D0) is divided by binary
Example
floating point (D11, D10)and the quotient and remainder is stored in (D21, D20).
X1
When X2 = ON, binary floating point value of (D1, D0) is divided by K1234
(automatically convertedto binary floating point value) and the result is stored in (D11,
D10).
X2
Word Devices
H
KnX KnY KnM
T
or S
is designated as constant K or H, the instruction will convert the
2
D0
DEDIV
D0
DEDIV
Chapter 16 PLC Function C2000 Series
Floating Point Division
16-bit command (5 STEPS)
C
D
32-bit command
DEDIV
Flag signal: none
D10
D20
K1234
D10
16-78
DEDIVP

Advertisement

Table of Contents
loading

Table of Contents