Delta C200 Series User Manual page 335

Intelligent vector control drive
Table of Contents

Advertisement

Call 1(800)985-6929 for Sales
API
DIV
23
D
Bit Devices
X
Y
M
S
1
S
2
D
Operands:
In 16-bit instruction, D occupies 2 consecutive devices.
1.
E xplanation
2.
When X0 = On, D0 will be divided by D10; the quotient will be stored in D20 and
Example
remainder in D21. On/Off of the highest bit indicates the positive/negative value of the
result.
Call 1(800)985-6929 for Sales
deltaacdrives.com
S1
S2
D
P
Word Devices
K
H KnX KnY KnM T
: Dividend S
: Divisor
S
1
2
This instruction divides S
careful with the positive/negative signs of S
32-bit operations.
16-bit instruction:
/
If D is the bit device, it allocates K1~K14 to 16-bit and occupies 2 continuous sets
of quotient and remainder.
X0
deltaacdrives.com
Chapter 14 PLC Function |C200 Series
BIN Division
16-bit command (7 STEPS)
DIV
C
D
32-bit command (13 STEPS)
Flag signal: none`
D: Quotient and remainder
and S
in BIN format and stores the result in D. Be
1
2
, S
1
2
Quotient
=
DIV
D0
D10
DIV
D0
D10
14-50
sales@deltaacdrives.com
DIVP
and D when doing 16-bit and
Remainder
+1
D20
K4Y0
sales@deltaacdrives.com

Advertisement

Table of Contents
loading

Table of Contents