AH500 Programming Manual
6-446
ten millions place of the number are 0. When the instruction is executed, 16#20 is stored in the
low 8 bits in D+1, the high 8 bits in D, and the low 8 bits in D.
b15
b0
b7 b8
D
D
D
D
+1
+2
+3
D
+4
16#00
0 0 0
1 2 0 9 8
Becoming 16#20
Siginificant digits
16#20( )
16#31(1)
16#30(0)
16#38(8)
16#20( )
16#20( )
16#32(2)
16#39(9)
Example 1:
Suppose the binary-coded decimal value in L0 is 1295 and SM690 is OFF. When PLC runs, the
values in D0, D1, and D2 are 16#3231, 16#3539, 16#3135, and 16#0000 respectively.
b15
b0
b7 b8
16#0000
16#32(2) 16#31(1)
16#35(5)
16#39(9)
L0
D0
D1
D2
1 2 9
5
Example 2:
Suppose the binary-coded decimal value in L10 is 34578352 and SM690 is OFF. When the PLC
runs, the values in D0, D1, D2, D3, and D4 are 16#3433, 16#3735, 16#3338, 16#3235, and
16#0000 respectively.
b15
b0
b7 b8
16#33(3)
16#0000
16#32(2)
16#35(5)
16#34(4)
16#37(7)
16#38(8)
16#33(3)
16#35(5)
L10
L11
D0
D1
D2
D3
D4
8 3 5
2
3 4 5
7