Delta AS Series Programming Manual page 1079

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

rd
4.
The 3
program: merge the 1
(merge the string 1 and 2 directly) 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=15.
Device
D0
HEX
6261
String
"ba"
Additional remarks
1.
If the string in S
does not end with 16#00, SM0 is ON, and the error code in SR0 is 16#200E.
1
2.
If the string in S
does not end with 16#00, SM0 is ON, and the error code in SR0 is 16#200E.
2
3.
If D
+ (D
+1)/2 – 1 exceeds the device range, the instruction is not executed, SM0 is ON, and the error code in
1
2
SR0 is 16#2003.
4.
Ending character 16#00 or 16#0000 will be added behind the merged string. See the examples above.
st
string D0="abcd,1234,5.67" and 2
D1
D2
D3
6463
312C
3332
"dc"
"1,"
"32"
Cha p ter 6 App l ied Ins truc tio ns
nd
string "," together and put a splitter "0" in between
D4
D5
D6
2C34
2E35
3736
",4"
".5"
"76"
D7
003B
Upper 8-byte: 16#00 ;
lower 8-byte: ";"
6 - 7 9 9
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents