EasyManua.ls Logo

Delta VFD17AMS23ANSAA - Page 726

Delta VFD17AMS23ANSAA
805 pages
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...
Chapter 16 PLC Function ApplicationsMS300
717
API
DIV
S1 S2 D
BIN division
23
D
P
bit device
Word device
16-bit command (7 STEP)
DIV
Continuous
execution type
DIVP
Pulse
execution type
32-bit command (13 STEP)
DDIV
Continuous
execution type
DDIVP
Pulse
execution type
Flag signal: none
X
Y
M
K
H
KnX
KnY
KnM
T
C
D
S1
S2
D
Notes on operand usage:
The 16-bit command operand D occupies two consecutive points.
S1: Dividend. S2: Divisor. D: Quotient and remainder.
Divides S1 by S2 and stores the quotient and remainder in D using the BIN
method. The sign bit for S1, S2and D must be kept in mind when performing a
16-bit operation.
16-bit BIN division:
+1
=/
Quotient
Remainder
If D is a bit device, K1–K4 can be designated as 16 bits, which occupy two
consecutive units and yield the quotient and remainder.
When X0 = ON, stores the quotient resulting from division of dividend D0 by
divisor D10 in D20, and the remainder in D21. The highest bit indicates the sign
of the result.

Table of Contents

Other manuals for Delta VFD17AMS23ANSAA

Related product manuals