Delta AS Series Programming Manual page 1057

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

2.
If the data in S
is ABCDEFGHIJK, the value in S
1
seven characters starting from the third characters in the string from the left. The conversion result is as follows.
b15
16#42(B)
S1
16#
44(D)
S1
+1
S1
+2
16#
46(F )
16#
48(H)
S1
+3
16#
4A(J )
S1
+4
16#
00
S1
+5
3.
If the value of S
is S
<=0, S
2
2
4.
If the value in S
+1 is -1, the instruction retrieves the characters in S
2
value in S
to the last character in S
2
5.
If the data in S
is ABCDEFGHIJK, the value in S
1
follows.
b15
S1
16#42(B)
S1
+1
16#
44(D)
S1
+2
16#
46(F )
S1
+3
16#
48(H)
S1
+4
16#
4A(J )
S1
+5
16#
00
Example
b15
b8
b7
D10
16#32(2)
16#31( 1)
16#
34(4)
16#
D11
D12
16#36( 6)
16#
16#
00
16#
D13
D20
3
4
D21
is 3, and the value in S
2
b8
b7
b0
16#41(A)
16#
43(C)
S2
16#
45(E)
Thi rd cha ra cter
16#
47(G)
16#
49(I)
Se ven th ch ar acte r
16#
4B(K)
+1<-1or S
+1=0, the instruction is not executed.
2
2
.
1
is 5, and the value in S
2
b8
b7
b0
16#41( A)
16#
43(C)
16#
45(E)
Fifth c harac ter
16#
47(G)
16#
49(I)
16#
4B(K)
b15
b0
16#
34(4)
33(3)
16#
36(6)
35(5)
37(7)
Cha p ter 6 App l ied Ins truc tio ns
+1 is 7, the instruction retrieves the
2
b15
b8
b7
16#
44(D)
16#
46(F )
16#
48(H)
16#
00
starting from the character indicated by the
1
+1 is -1, the conversion result is as
2
b15
b8
b7
16#
46(F )
16#
48(H)
16#
4A(J )
16#
00
b8
b7
b0
D0
16#33( 3)
16#
35(5)
D1
16#
00
D2
b0
16#
43(C)
D
16#45(E)
D+1
16#
47(G)
D+2
D+3
16#
49(I)
b0
16#45( E)
D
16#
47(G)
D
+1
16#
49(I)
D
+2
16#
4B(K)
6 - 7 7 7
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents