S7 String Compare Functions
S7 String Compare Functions
&RPSDULQJ675,1*9DULDEOHV
You can assign only a symbolically defined variable for the input parameters.
You can assign only a symbolically defined variable for the input parameters.
System Software for S7-300/400 System and Standard Functions Volume 2/2
572 Reference Manual, 05/2010, A5E02790053-01
*HQHUDO,QIRUPDWLRQ
&RPSDULQJ675,1*9DULDEOHV
You can assign only a symbolically defined variable for the input parameters.
FC19 LE_STRNG
The function FC19 compares the contents of two variables in the data type format STRING to find out
if the first is smaller than or equal to the other and outputs the result of the comparison as a return
value. The return value has the signal state ”1" if the string at parameter S1 is smaller than or equal to
the string at parameter S2.
The characters are compared by their ASCII code (for example, 'a' is smaller than 'A'), starting from
the left. The first character to be different decides the result of the comparison. If the first characters
are the same, the shorter string is smaller.
The function does not report any errors.
You can assign only a symbolically defined variable for the input parameters.
System Software for S7-300/400 System and Standard Functions Volume 2/2
A5E02790053-01 573
*HQHUDO,QIRUPDWLRQ
&RPSDULQJ675,1*9DULDEOHV
You can assign only a symbolically defined variable for the input parameters.
You can assign only a symbolically defined variable for the input parameters.
System Software for S7-300/400 System and Standard Functions Volume 2/2
574 Reference Manual, 05/2010, A5E02790053-01