Delta AS Series Programming Manual page 299

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

AS Ser ies Pro gra mm in g M anu al
5.
When the two strings are the same, the corresponding comparison results of the instructions are listed below. For
example:
S 1
+1
S 1
+2
S 1
Example
When the string starting with the data in D0-16#00 is equal to the string staring with D2-16#00, Y0.0 is ON.
Additional remarks
_6
1.
If the string contains more than 256 characters or the string does not end with 16#00, the instruction is not
executed, SM is ON, and the error code in SR0 is 16#200E.
2.
During the string comparison, the string ends when the end symbol 16#00 is found. The symbol 16#00 determines
the length of the string.
6 - 2 0
b 15
b 8 b 7
b 0
16#42(B)
16#41(A)
16#44(D)
16#43(C)
16#00
16#45(E)
"
"
ABCDE
Comparison symbol
$=
$<>
b 15
Comparison sign
S 2
+1
S 2
+2
S 2
Comparison operation result
Continuity
Discontinuity
b 8 b 7
b 0
16#42(B)
16#41(A)
16#44(D)
16#43(C)
16#00
16#45(E)
"
"
ABCDE

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents