Delta C200 Series User Manual page 334

Intelligent vector control drive
Table of Contents

Advertisement

Call 1(800)985-6929 for Sales
API
MUL
22
D
Bit Devices
X
Y
M
S
1
S
2
D
Operands:
In 16-bit instruction, D occupies 2 consecutive devices.
E xplanation
The 16-bit D0 is multiplied by the 16-bit D10 and brings forth a 32-bit product. The
Example
higher 16-bit are stored in D21 and the lower 16-bit are stored in D20. On/Off of the
most left bit indicates the positive/negative status of the result value.
Call 1(800)985-6929 for Sales
deltaacdrives.com
S1
S2
D
P
Word Devices
K
H KnX KnY KnM T
1.
: Multiplicand S
S
1
2.
This instruction multiplies S
Be careful with the positive/negative signs of S
and 32-bit operations.
16-bit command:
S1
b15..........b0
X
b15 is a symbol bit
Symbol bit = 0 refers to a positive value.
Symbol bit = 1 refers to a negative value.
When D serves as a bit device, it can designate K1 ~ K4 and construct a 16-bit result,
occupying consecutive 2 groups of 16-bit data.
X0
MUL
MUL
deltaacdrives.com
Chapter 14 PLC Function |C200 Series
BIN Multiplication
16-bit command (7 STEPS)
MUL
C
D
32-bit command (13 STEPS)
Flag signal: None
: Multiplication
D: Product
2
by S
in BIN format and stores the result in D.
1
2
S2
b15..........b0
b31..........b16b15..............b0
=
b31 is a symbol bit (b15 of D+1)
b15 is a symbol bit
D0
D10
D20
D0
D10 K8M0
14-49
sales@deltaacdrives.com
MULP
, S
and D when doing 16-bit
1
2
D
+1
D
sales@deltaacdrives.com

Advertisement

Table of Contents
loading

Table of Contents