AH500 Programming Manual S -1 u characters i ber of decimal places i value is .2 n is as follow pp 3 ose the number of 456. The calculatio s 8, the num s. s 2, and the 0 S2 8 +1 S2 3 + S2 2 b15 b0 b8 b7 D D +1 D +2 - 1 2 3 5 . +4 D +3 D Sign Automatically stored at the end of the string The value in S 2 +1: If the value in S 2 +2 is 0, the val ange between 2 and 24, and the number of characters w d be less than or al to 23.
e value in S +2 is not 0, the value in S +1 should be within the range between the (S1+1, S1) 2 +1 should be within the r he integer part contains shoul equ If th 2 2 value in S 2 +2 plus 3 and 24, and the number of characters which the integer part contains should be less than or equal to The value in S 2 +2 should be within the range b ue hic in S h t 22 minus the value in S 2 +2. etween 0 and 7. If the value in S 2 +2 is not 3. 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.
If the length of the floating-point number is larger than the value in S 2 +1, the floating-point number is rounded off, and the redundant characters are deleted. If the value in S 2 +2 is larger than 0, 16#2E (“.”) is stored in front of the specified character automatically. of the conversion result is less than the value in S 2 +1, the codes between the sign character and the real number are 16#20. The conversion result ends with 16#00. 0, it should be less than or equal to the value in S 2 +1 minus If the length 8 (Number of characters ) 0 (Decimal foramt ) S2 +1 S2 .
3 (Number of deci mal places) +2 S2 - 1 2 3 4 5 6 (S1+1, S1) The floating-point number is rounded off, and the redundant characters are deleted. Automatically stored Becoming 16#20 6-473 16#20( ) 16#2D(-) 16#31(1) 16#20( ) 16#32(2) 16#2E(.) 16#35(5) 16#33(3) 16#00 (Ending character) -1 .2 34 56 -1. 23 4 56