AH500 Programming Manual 1 S2 12 +1 S2 4 +2 S2 E ( S1+1,S1) - 1 2 3 4 5 + 0 1 . 6 7 S i g n B e c o m i n g 1 6 # 2 0 A u t o m a t i c a l l y s t o r e d a r e d e l e t e d . r e d u n d a n t c h a r a c t e r s i s r o u n d e d o f f , a n d t h e T h e f l o a t i n g - p o i n t n u m b e r S i g n T w o c h a r a c t e r s I n t e g e r ︵ E x p o n e n t ︵ ︶ ︶ Example 1: Supp forma ose the value in D4 is 0. The floating-point number in (D1, D0) is converted into the decimal t of the string. b15 b0 b7 b8 0 D4 Number of characters Decimal form at D10 3 0 0 2 3 7 D5 D6 Number of decimal places . D11 D12 (D1,D0) D13 Automatically stored at the end of the string Example 2:
Suppose the value in D4 is 1. The floating-point number in (D1, D0) is converted into the exponential format of the string. b15 b0 b7 b8 D4 D5 12 1 Number of characters Exponential foramt D6 4 3 2 7 4 6 - 0 2 D1 Number of decimal places D0 . E S i g n S i g n I n t e g e ︵ E x p o n ︵ Automatically stored at the end of the stri ng r ︶ e n t ︶ Additional remark: 1. If the value in S 1 exceeds the range of values which can be represented by the floating-poin numbers, the instruction is not executed, SM0 is ON, 2. If the value in S 2 is neither 0 nor 1, the instruction is not executed, SM0 is ON, and the err code in SR0 is 16#2003. 3.
If the value in S 2 +1 exceeds the range below, the in t and the error code in SR0 is 16#2013. or struction is not executed, SM0 is ON, and 6-475 -12.3 4567 16#20( ) 16#20( ) 16#2E(.) 16#30(0) 16#33(3) 16#30(0) 16#00 16#33(3) 0.0 32 7457 D10 16#20( ) 16#20( ) D11 16#2E(.) 16#33(3) D12 16#37(7) 16#32(2) D13 16#36(6) 16#34(4) D14 16#2D(-) 16#45(E) D15 16#32(2) 16#30(0) D16 16#00 16#20( ) 16#20( ) 16#2E(.) 16#33(3) 16#37(7) 16#32(2) 16#36(6) 16#34(4) 16#2D(-) 16#45(E) 16#32(2) 16#30(0) 16#00 0.03 27 457