Delta AS Series Programming Manual page 341

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
0107
Device
X
S
1
S
2
D
Data
type
S
1
S
2
D
Symbol
_6
Explanation
1.
This instruction is divides the 32-bit single-precision floating-point number in S
floating-point number in S
2.
Instruction flags: SM600 (zero flag), SM601 (borrow flag), and SM602 (carry flag)
When the operation result is zero, SM600 is ON.
When the absolute value of the operation result is less than the value that can be represented by the minimum
floating-point number, the value in D is 16#FF800000 and SM601 is ON.
When the absolute value of the operation result is larger than the value that can be represented by the
maximum floating-point number, the value in D is 16#7F800000 and SM602 is ON.
S
S
b31.........b16 b15...........b0
6 - 6 2
F/
P
Y
M
S
T
: Dividend
S
1
: Divisor
S
2
: Quotient
D
, and stores the quotient in D.
2
+1
S
1
1
/
Operand
,S
,D
S
1
2
C
HC
D
FR
SM
Pulse instruction
AS
S
S
+1
S2
2
b31.........b16 b15...........b0
Function
Dividing floating-point numbers
SR
E
K
16#
16-bit instruction
32-bit instruction
-
by the 32-bit single-precision
1
D
D
+1
b31.........b16
b15...........b0
=
"$"
F
AS

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents