Delta C2000 Series User Manual page 552

Vector control drive
Hide thumbs Also See for C2000 Series:
Table of Contents

Advertisement

API
DIV
23
D
P
Bit device
X
Y
M
K
S1
S2
D
Notes on operand usage:
The 16-bit command operand D will occupy 2 consecutive points
S1
Using two data sources: The quotient and remainder will be stored in
S1
S1
16-bit BIN division:
D
If
consecutive units and yield the quotient and remainder.
When X0=On, the quotient resulting from division of dividend D0 by divisor D10
will be placed in D20, and the remainder will be placed in D21. Whether the
highest bit is Off or On will indicate the sign of the result.
X0
S1
S2
D
Word device
H
KnX KnY KnM
T
S2
: Dividend.
: Divisor.
S2
and
are subjected to division using the BIN method. The sign bit for
S2
D
,
and
must be kept in mind when performing a 16-bit operation.
/
is a bit device, K1-K4 can be designated 16 bits, which will occupy 2
DIV
DIV
Chapter 16 PLC Function Applications
BIN division
16-bit command (7 STEP)
DIV
Continuous
C
D
execution type
32-bit command (13 STEP)
DDIV
Continuous
execution type
Flag signal: none
D
: Quotient and remainder.
Quotient
=
D0
D10
D20
D0
D10 K4Y0
16-61
C2000 Series
DIVP
Pulse
execution type
DDIVP
Pulse
execution type
D
when
Remainder
+1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

690v

Table of Contents