Delta AS Series Programming Manual page 1064

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
If the values in D50 and D51 are 20 and 4 respectively, the execution result is as follows.
If the values in D50, D51, and D10 are 3, 4, and 16#00 respectively, the execution result is as follows. The three
characters in D0-D7 starting from the fourth character are deleted.
_6
Additional remarks
1.
If the string in S
2.
If the string in S
3.
If the value in S
code in SR0 is 16#2003.
4.
If the value in the string (16#00 the ending character included) in S1 after the replacement is larger than 256, the
instruction is not executed, SM0 is ON, and the error code in SR0 is 16#2003.
6 - 7 8 4
b15
b8
b7
D0
16#32(2)
16#31(1)
D1
16#
34(4)
16#
33(3)
D2
16#
42(B)
16#
41(A)
D3
16#
42(B)
16#
41(A)
D4
16#
32(2)
16#
31(1)
16#
33(3)
D5
16#
34(4)
D6
16#
42(B)
16#
41(A)
Ignored
16#
00
D7
D10
16#
44(D)
16#
43(C)
16#
45(F )
16#
45(E)
D11
Ignored
16#
00
D12
20
D50
4
D51
b15
b8
b7
D0
16#32(2)
16#31(1)
D1
16#
34(4)
16#
33(3)
D2
16#
42(B)
16#
41(A)
D3
16#
42(B)
16#
41(A)
D4
16#
32(2)
16#
31(1)
D5
16#
34(4)
16#
33(3)
D6
16#
42(B)
16#
41(A)
16#
00
D7
D10
16#
00
3
D50
4
D51
does not end with 16#00, SM0 is ON, and the error code in SR0 is 16#200E.
1
does not end with 16#00, SM0 is ON, and the error code in SR0 is 16#200E.
2
<0 or S
<=0 or the value in S
3
4
b15
b0
16#
32(2)
16#
43(C)
16#
45(E)
After the instruction
16#
is executed
Number of characters which are replaced
Character which i s r eplaced
b15
b0
16#
32(2)
16#
41(A)
16#
31(1)
After the instruction
16#
33(3)
is executed
16#
41(A)
16#
00
Number of character s which are replaced
Character which i s r eplaced
is larger than the length of the string in S
4
b8
b7
b0
D20
16#31(1)
D21
16#
33(3)
D22
16#
44(D)
16#
46(F )
D23
00
b8
b7
b0
D20
16#31(1)
D21
16#
33(3)
D22
16#
42(B)
D23
16#
32(2)
D24
16#
34(4)
D25
16#42(B)
SM0 is ON, and the error
1,

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents