Delta DVP-ES3 — 6.2.2 Explanation of Arithmetic Instructions

Chapter 6 Applied Instructions S 1 S 2 D S 1 +1 S 2 +1 = D +1 S 1 +2 S 1 +2 2 D +2 D +3 D 1 +4 Turning into 16#00 automatically 4. When S 1 , S 2 or D is not a string ($),the ending code 16#00 is added to the end of the data that is moved. 5. If S 1 or S 2 is not a string, then when the instruction is executed and the first character is the code 16#00, 16#00 is still linked and moved. 6. The string “abcde” in S 1 is shown as below. S 1 S 1 +1 S 1 +2 Example Suppose S 1 is the string “ab” and S 2 is the string “c”. After the conditional contact M0 is enabled, the data in D0 is 16#6261 and the data in D65535 is16#0063. 6_ Additional remarks 1.

If S 1 or S 2 is a string, at most 31 characters can be moved. 2. If D is not sufficient to contain the string composed of the strings in S 1 and S 2 , the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#2003. 3. If the string of S 1 + S 2 is more than 256 characters (the ending code 16#00 included), the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#2003. 4. If S 1 or S 2 overlaps D , the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#200C. 5. If the string in S 1 or S 2 does not end with 16#00, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#200E.

6-71 B(16#62) A(16#61) D(16#64) C(16#63) E(16#65) (16#00) B(16#42) A(16#41) D(16#44) C(16#43) (16#00) (16#00) d(16#62) a(16#61) d(16#64) c(16#63) B(16#42) A(16#41) D(16#44) C(16#43) (16#00) (16#00) b(16#62) a(16#61) d(16#64) c(16#63) (16#00) e(16#65)