AH500 Programming Manual 
6-440 
 S
 
 b15
 b0
 b7
 b8
 D
 D
 D
 D
+1
+2
+3
High 16 bits
Low 16 bits
 D
+4
 D
+5
32-bit binary number
Ending character 
(16#00 or 16#20)
ASCII code in 
the units place
ASCII code in 
the tens place
ASCII code in 
the thousands place
ASCII code in 
the hundreds place
ASCII code in the 
ten thousands  place
ASCII code in the hundred 
thousands  place
ASCII code in 
the millions place
ASCII code in the 
hundred millions place
ASCII code in 
the billions place
ASCII code in 
the ten millions place
Sign   (±)
 
If SM690 is OFF, 16#0000 is stored in the high 8 bits in D+5. If SM690 is ON, 16#20 is stored 
in the high 8 bits in D+5. Besides, if the value in S is a positive value, the sign character in D is 
16#20. If the value in S is a negative value, the sign character in D is 16#2D. For example, if 
the value in S is -12345678, the conversion result is as follows. 
 S
 
 b15
 b0
 b7 b8
16#33(3)
 D
 D
 D
 D
+1
+2
+3
16#35(5)
16#37(7)
16#36(6)
16#38(8)
16#34(4)
-1234
5678
 S
+1
16#20( )
16#31(1)
16#32(2)
16#2D(-)
16#20( )
 D
 D
+4
+5
16#00或 6#201
32-bit binary number
 
5.  Take the 32-bit binary number -12345678 in S for example. The digit in the hundred millions 
place of the number and the digit in the billions place of the number are 0. When the instruction 
is executed, 16#20 is stored in the low 8 bits in D+1 and the high 8 bits in D.   
 S
 
 b15
 b0
 b7 b8
16#33(3)
 D
 D
 D
 D
+1
+2
+3
16#35(5)
16#37(7)
16#36(6)
16#38(8)
16#34(4)
-1234 5678
 S
+1
16#20( )
16#31(1)
16#32(2)
16#2D(-)
16#20( )
 D
 D
+4
+5
00123 45678
Becoming 16#20
 
Significant digits
16#20 is stored.
16#00或 6#201
32-bit binary number
 
Example 1: 
Suppose the value in L0 is 5126 and SM690 is OFF. When the PLC runs, the values in D0, D1, D2, 
and D3 are 16#2020, 16#3135, 16#3135, and 16#0000 respectively.