Kaiyi — 6.21.2 Explanation of String Processing Instructions

Chapter 6 Applied Instructions If SM690 is OFF, 16#0000 is stored in D +4. If SM690 is ON, the value in D +4 is unchanged. For example, if the value in S is 16#03AC625E and SM690 is OFF, the conversion result is as follows. b15 b0 b7 b8 D S +1 S D +1 03AC 625E +3 D D +2 D+4 Example 1: Suppose the value in L0 is 16#9C06 and SM690 is OFF. When PLC runs, the values in D0, D1, and D2, are 16#2020, 16#3135, 16#3135, and 16#0000 respectively. b15 b0 b7 b8 D0 L0 16#9C06 D1 D2 Example 2: Suppose the value in L10 is 16#7B3C581F and SM690 is OFF. When the PLC runs, the values in D0, D1, D2, D3, and D4 are 16#4237, 16#4333, 16#3835, 16#4631, and 16#0000 respectively.

b15 b0 b7 b8 D0 7B3C 581F L10 L11 D1 D2 D3 D4 6-448 16#33(3) 16#30(0) 16#43(C) 16#41(A) 16#32(2) 16#36(6) 16#45(E) 16#36(6) 16#0000 16#42(C) 16#39(9) 16#36(6) 16#30(0) 16#0000 16#42(B) 16#37(7) 16#43(C) 16#33(3) 16#38(8) 16#35(5) 16#46(F) 16#31(1) 16#0000