Check the bar code characters, Enter the product ids and lane numbers – Rockwell Automation Logix5000 Controllers ASCII Strings Programming Manual User Manual
Page 23

Processing ASCII characters Chapter 2
Enter the Product IDs and Lane Numbers
In the sort_table array, enter the ASCII characters to identify each item and the
corresponding lane number for the item.
Use a compare instruction (EQU, GEQ, GRT, LEQ, LES, NEQ) to check for
characters.
•
The hexadecimal values of the characters determine if one string is less than
or greater than another string.
•
When the two strings are sorted, as in a telephone directory, the order of the
strings determines which one is greater.
Use one of the following compare instruction.
To see if the string is:
Enter this instruction:
Equal to specific characters
EQU
Not equal to specific characters
NEQ
Greater than specific characters
GRT
Equal to or greater than specific characters
GEQ
Less than specific characters
LES
Equal to or less than specific characters
LEQ
Check the Bar Code
characters
Rockwell Automation Publication 1756-PM013D-EN-P - October 2014
23