Delta DVP-ES3 — 6.21.2 Explanation of String Processing Instructions

DVP-ES3 Series Programming Manual 5. If the string sources for S 1 and S 2 are both 0 or when strings are merged, the length for the merged string is up to 255 words (ending character 16#00 excluded). For example, there are 250 words in String 1 and 100 words in String 2. After they are merged, the length for the merged string is 250 words from String 1 + splitter *1 + first 4 words from String 2. Example Use “,” as a splitter to split a string and use “;” as an ending character and then merge 3 strings “abcd”, ”1234” and ”5.67”. And store the results “abcd,1234,5.67;” D100=15, in the register starting from D0-D7. _6 Explanation 1. Starting contact is M0 2. The 1 st program:

merge the 1 st string “abcd” and 2 nd string “1234” together and put a splitter “,” in between and then store the result in the registers starting from D0. The merged result: D0~D4= “abcd,1234”; the quantity of merged strings: D100=9 3. The 2 nd program: merge the 1 st string D0=“abcd,1234” and 2 nd string ”5.67” together and put a splitter “,” in between and then store the result in the registers starting from D0. The merged result: D0~D7= “abcd,1234,5.67”; the quantity of merged strings: D100=14 6-686 Device D0 D1 D2 D3 D4 HEX 6261 6463 312C 3332 0034 String “ba” “dc” “1,” “32” Upper 8-byte: 16#00 ; lower 8-byte:

4 Device D0 D1 D2 D3 D4 D5 D6 D7 HEX 6261 6463 312C 3332 2C34 2E35 3736 0000 String “ba” “dc” “1,” “32” “,4” “.5” “76” 16#0000