EasyManua.ls Logo

Delta AH500 - 14.4 Using AHRTU-PFBS-5 A to Create the PROFIBUS DP Network; 14.4.1 PROFIBUS DP Network Figure

Delta AH500
749 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Chapter 6 Applied Instructions
6-469
5. Exponential format
b15
b0
b7 b8
16#00
D
D+1
D+2
D+3
D+4
Sign( Integer)
Decimal point (.)
S2
Number of characters
Exponential format
Number of decimal places
+2
S2
+1
S2
E
Floating-point number
(S1+1, S1)
.
D+5
16#45(E)
D+6
Sign (Integer)
Sign (Exponent)
First ASCII code
Second ASCII code
Third ASCII code
Fourth ASCII code
Fifth ASCII code
Sixth ASCII code
First ASCII code
Second ASCII code
Automatically stored at the end of the string
Sign ( Exponent)
Suppose the number of characters is 12, the number of decimal places is 4, and the value is
-12.34567. The calculation is as follows.
b15
b0
b7 b8
16#00
D
+1
D
+2
D
+3
D
+4
D
S2
+2
S2
+1
S2
E
(S1+1,S1)
.
+5
D
+6
D
1
12
4
-
1
2
3
4
6
+
0
1
-12.34567
2D(-)16#
31(1)16#
32(2)16#
34(4)16#
45(E)16#
30(0)16#
16#20( )
16#2E(.)
16#33(3)
16#35(5)
16#2B(+)
16#31(1)
Sign( Integer)
Sign ( Exponent)
Automatically stored at the end of the string
The value in S
2
+1:
If the value in S
2
+2 is 0, the value in S
2
+1 should be within the range between 6 and 24.
If the value in S
2
+2 is not 0, the value in S
2
+1 should be within the range between the
value in S
2
+2 plus 7 and 24.
The value in S
2
+2 should be within the range between 0 and 7. If the value in S
2
+2 is not
0, it should be less than or equal to the value in S
2
+1 minus 7.
If the floating-point number in S
1
is a positive number, the sign code in D is 16#20. If the
floating-point number in S
1
is a negative number, the sign code in D is 16#2D.
The integer part contains one character. To fulfill the number of characters, the codes
between the sign code and the integer part are 16#20.
If the value in S
2
+2 is larger than 0, 16#2E (“.”) is stored in front of the specified character
automatically.
If the exponent is a positive number, the sign code in D is 16#2B. If the exponent is a
negative number, the sign code in D is 16#2D.
The exponent part contains two characters. If there is only one character, the other
character is “0” (16#30).
The conversion result ends with 16#00.

Table of Contents

Other manuals for Delta AH500

Related product manuals