Delta AH500 Programming Manual page 664

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

AH 5 00 Pr ogr am m ing Ma n ua l
as follows.
The value in D is 1 because the floating-point number in S
The value stored in (D+2, D+1) is 16#3225550. (The floating-point number is converted into
the seven-digit binary-coded decimal number, and the seven-digit binary-coded decimal
number is rounded off).
The value in D+3 is 1 because the exponent is a negative number.
The value in D+4 is 4.
If the floating-point number in S
is as follows.
-1.32165E+2 is equal to 132.165. Since the value in S
floating-point number in S
number in S
becomes -132165.
1
-132165 is equal to -1321650E-1. The binary-coded decimal floating-point number format is as
follows.
The value in D is 1 because the floating-point number in S
The value stored in (D+2, D+1) is 16#1321650. (The floating-point number is converted into
the seven-digit binary-coded decimal number, and the seven-digit binary-coded decimal
number is rounded off).
The value in D+3 is 1 because the exponent is a negative number.
The value in D+4 is 4.
Example:
Since the value in D4 is 3, the decimal point in 1.963852741 in (D1, D0) is moved to the right by
three decimal places. The floating-point number in (D1, D0) becomes 1963.852741.
The value in D10 is 0 because the floating-point number in S
1963.852741 is equal to 1963852E-3. The binary-coded decimal floating-point number format is as
follows.
The value stored in (D12, D11) is 16#1963850. (The floating-point number is converted into the
seven-digit binary-coded decimal number, and the seven-digit binary-coded decimal number is
rounded off).
The value in D13 is 1 because the exponent is a negative number.
The value in D14 is 3.
6 - 4 9 6
is -1.32165E+2 and the value in S
1
( S1 +1 ,S1 )
- 1.3 21 65 E+2
S 2
Number of plac es
3
is moved to the right by three decimal places. The floating-point
1
(D1,D0)
1 .96 38 52 74 1
D4
Number of pl ac es
3
is a negative number.
1
is 3, the conversion result
2
1
D
D
+1
1 6# 13 21 65 0
D
+2
1
D
+3
1
D
+4
is 3, the decimal point in the
2
is a negative number.
1
D10
0
D11
1 6# 19 63 85 0
D12
1
D13
3
D14
is a positive number.
1

Advertisement

Table of Contents
loading

Table of Contents