Delta AS Series Programming Manual page 331

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

A S S er i es Pr og r am m ing M an u a l
API
Instruction code
0102
D
Device
X
S
1
S
2
D
Data
type
S
1
S
2
D
Symbol:
_6
Explanation
1.
This instruction multiplies the signed binary value in S
D.
2.
Only the instruction D* can use the 32-bit counter.
3.
Multiplying 16-bit binary values:
The product is a 32-bit value, and is stored in the register (D+1, D), which is composed of 32 bits. When the sign
bit b31 is 0, the product is a positive value. When the sign bit b31 is 1, the product is a negative value.
6 - 5 2
*
P
Y
M
S
T
C
S
1
b15..............b0
b15..............b0
*
b15 is the si gn bit.
b15 is the si gn bit.
Operand
,S
,D
S
1
2
HC
D
FR
SM
Pulse instruction
AS
: Multiplicand
S
1
: Multiplier
S
2
D : Product
by the signed binary value in S
1
S
D
+1
2
b31.........b16
=
b31, i.e. b15 in D+ 1, is the sign bit.
Function
Multiplying binary numbers
SR
E
K
16#
16-bit instruction
32-bit instruction
AS
, and stores the product in
2
D
b15...........b0
"$"
F
AS

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents