Delta AH500 — 6.21.2 Explanation of String Processing Instructions

Chapter 6 Applied Instructions Symbol: S : String which is cleared Word Explanation: 1. The string in S is cleared. S b15 b0 b7 b8 S 0000 16# +1 S +1 S 0000 16# +2 S +3 S +2 S +3 S 0000 16# 0000 16# +4 S 0000 16# After the instruction is executed +4 S +5 S 0000 16# +5 S Example: The string in D0 is cleared, as illustrated below. D0 b15 b0 b7 b8 0000 16# D0 D2 D1 0000 16# 0000 16# D2 D1 D3 After the instruction is executed 0000 16# D3 Additional remark: 1. If the string in S does not end with 16#00, SM0 is ON, and the error code in SR0 is 16#200E.

6-493 API Instruction code Operand Function 2118 $CLR P S Clearing the string Device X Y M S T C HC D L SM SR E PR K 16# “$” DF S        Pulse instruction 16-bit instruction (3 steps) 32-bit instruction AH500 AH500 - 16#31(1) 16#2D(-) 16#33(3) 16#32(2) 16#34(4) 16#35(5) 16#36(6) 16#2E(.) 16#38(8) 16#37(7) 16#00 16#32(2) 16#31(1) 16#34(4) 16#33(3) 16#36(6) 16#35(5) 16#00 16#37(7)