Delta AS Series Programming Manual page 350

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

B (1 6# 62 )
A (1 6# 61 )
S
1
D( 16 #6 4)
C( 16 #6 3)
S
+1
1
E (1 6# 65 )
S
+2
1
4.
When S
, S
or D is not a string ($),the ending code 16#00 is added to the end of the data that is moved.
1
2
5.
If S
or S
is not a string, then when the instruction is executed and the first character is the code 16#00, 16#00 is
1
2
still linked and moved.
6.
The string "abcde" in S
S
b(16#62)
a(16#61)
1
S
d(16#64)
+1
c(16#63)
1
S
(16#00)
e(16#65)
+2
1
Example
Suppose S
is the string "ab" and S
1
16#6261 and the data in D65535 is16#0063.
Additional remarks
1.
If S
or S
is a string, at most 31 characters can be moved.
1
2
2.
If D is not sufficient to contain the string composed of the strings in S
is ON, and the error code in SR0 is 16#2003.
3.
If the string of S
+S
is more than 256 characters (the ending code 16#00 included), the instruction is not executed,
1
2
SM0 is ON, and the error code in SR0 is 16#2003.
4.
If S
or S
overlaps D, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#200C.
1
2
5.
If the string in S
or S
1
2
SR0 is 16#200E.
S
B (1 6# 42 )
2
D( 16 #4 4)
+1
S
2
( 16 #0 0)
(1 6# 00 )
S
+ 2
2
1
is shown as below.
1
is the string "c". After the conditional contact M0 is enabled, the data in D65534 is
2
does not end with 16#00, the instruction is not executed, SM0 is ON, and the error code in
Ch a pt er 6 A pp l i e d I n s tr uc t io ns
D
d (1 6# 62 )
A (1 6# 41 )
d (1 6# 64 )
C( 16 #4 3)
D +1
=
B (1 6# 42 )
(1 6# 00 )
D +2
D( 16 #4 4)
D +3
(1 6# 00 )
D
+ 4
1
T ur ning into 16#00 automatic ally
and S
, the instruction is not executed, SM0
1
2
a (1 6# 61 )
c( 16 #6 3)
A (1 6# 41 )
C( 16 #4 3)
( 16 #0 0)
6 - 7 1
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents