Chapter 6 Applied Instructions b15 b0 b7 b8 D+1 D S b15 b12 b11 b8 b7 b4 b3 b0 b15 b12 b11 b8 b7 b4 b3 b0 S+1 T e n m i l l i o n s p l a c M H T u n d r e d t h o u s a d s p l T e n t h o u s a n d s p l h o u s a U n T H S+2 n i l l i o s p l a c e e d s p l a c e u n d r e n s p l a c e i t s p l a c e S+ 3 n d s p l a c e e n a c e a c e If the ASCII code in S ~ S +3 is 87654321, the conversion result is as follows. b15 b0 b7 b8 S 8 b7 b4 b3 b0 b15 b12 b11 b8 b7 b4 b3 b0 b15 b12 b11 b D+1 D S+1 4 S+2 S+3 4. If the value in S is 16#20 or 16#00, th 5. If S used in the 16-bit instruction is a g contained in the string should be within the range between 1 and 4.
If S used in the 32-bit instruction is a string, the f characters contained in the string should be within the range between 1 and 8. e value is processed as 16#30. , the number of characters strin number o Example 1: Suppose the values in D20 the value in Y0 is 16#494. and D21 are 16#3420 and 16#3439 respectively. When the PLC runs, b15 b0 b15 b0 b7 b8 D20 b3 b4 b7 b8 b11 b12 D21 Y0 Example 2: Suppose the values in D20, D21, D22, and D23 are 16#3738, 16#3536, 16#3334, and 16#3132 respectively. When the PLC runs, the value in (D11, D10) is 16#87654321.
b15 b0 b7 b8 D20 b15 b12 b11 b8 b7 b4 b3 b0 b15 b12 b11 b8 b7 b4 b3 b0 D11 D10 D21 D22 5 D23 6-460 ASCII code in the millions place ASCII code in the ten millions place ASCII code in the ten thousa nds place ASCII code in the hundred thousands place ASCII code in the hundreds place ASCII code in the thousands place ASCII code in the units place ASCII code in the tens place 16#37(7) 16#38(8) 16#35(5) 16#36(6) 16#33(3) 16#34(4) 16#31(1) 16#32(2) 8 7 6 5 3 2 1 16#34(4) 16#20( ) 16#34(4) 16#39(9) 4 9 4 16#37(7) 16#38(8) 16#35(5) 16#36(6) 16#33(3) 16#34(4) 16#31(1) 16#32(2) 8 7 6 4 3 2 1