Delta AH500 — 6.21.2 Explanation of String Processing Instructions

Chapter 6 Applied Instructions 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 +1 0 0 0 1 2 0 9 8 D +2 Becoming 16#20 Siginificant digits D +4 D +3 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 D0 L0 D1 D2 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 D0 L10 L11 D1 D2 D3 D4 6-447 16#20( ) 16#20( ) 16#31(1) 16#20( ) 16#30(0) 16#32(2) 16#38(8) 16#39(9) 16#00 16#32(2) 16#31(1) 16#35(5) 16#39(9) 16#0000 1 2 9 5 16#34(4) 16#33(3) 16#37(7) 16#35(5) 16#33(3) 16#38(8) 16#32(2) 16#35(5) 16#0000 3 4 5 7 8 3 5 2