Delta CT2000 Series User Manual page 501

Table of Contents

Advertisement

Chapter 16 PLC Function CT2000 Series
API
D
22
Bit device
X
Y
S1
S2
D
Notes on operand usage:
The 16-bit command operand D will occupy 2 consecutive points
PLC1.ir
MUL
S1
S2
P
Word device
M
K
H
KnX KnY KnM
S1
: Multiplicand.
Using two data sources: When
method, the product is stored in
16-bit BIN multiplication operation:
S1
b15..........b0
b15..........b0
X
b15 is a symbol bit
b15 is a symbol bit
Symbol bit = 0 refers to a positive value.
Symbol bit = 1 refers to a negative value.
D
When
is a bit device, K1-K4 can be designated as a hexadecimal number,
which will occupy 2 consecutive units.
9. When 16-bit DO is multiplied by 16-bit D10, the result will be a 32-bit product; the
upper 16 bits will be stored in D21, and the lower 16 bits will be stored in D20.
Whether the bit at the farthest left is Off or On will indicate the sign of the result.
X0
BIN multiplication
D
16-bit command (7 STEP)
MUL
T
C
D
32-bit command (13 STEP)
DMUL
Flag signal: none
S2
D
: Multiplier.
: Product.
S1
and
D
.
S2
D
+1
b31..........b16b15..............b0
=
b31 is a symbol bit (b15 of D+1)
D0
D10
MUL
D20
D0
D10 K8M0
MUL
16-60
Continuous
MULP
execution type
execution type
Continuous
DMULP
execution type
execution type
S2
are multiplied using the BIN
D
Pulse
Pulse

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents