Delta CT2000 Series User Manual page 519

Table of Contents

Advertisement

Chapter 16 PLC Function CT2000 Series
API
EDIV
D
123
Bit device
X
Y
M
S1
S2
D
Notes on operand usage:
Please refer to the function specifications table for each device in
series for the scope of device usage
P
Word device
K
H
KnX KnY KnM
S
: dividend. S
: divisor. D: quotient and remainder.
1
2
When the content of the register designated by S
register designated by S
by D; division is performed entirely using binary floating-point numbers.
If the source operand S
transform that constant into a binary floating point number for use in division.
When X1=On, the binary floating point number (D1, D0) will
be divided by the binary floating point number (D11, D10),
and the quotient stored in the register designated by (D21,
D20).
X1
DEDIV
When X2 =On, the binary floating point number (D1, D0) will be divided by
K1,234 (which has been automatically converted to a binary floating-point
number), and the results stored in (D11, D10).
X2
DEDIV
Division of binary floating point numbers
16-bit command
T
C
D
32-bit command (13 STEP)
DEDIV
Flag signal: none
, the quotient will be stored in the register designated
2
or S
designates a constant K or H, the command will
1
2
D0
D10
D20
D0
K1234
D10
16-78
Continuous
DEDIVP
execution type
execution type
is divided by the content of the
1
Pulse

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents