Look up a bar code – Rockwell Automation Logix5000 Controllers ASCII Strings Programming Manual User Manual
Page 20
Advertising
Chapter 2 Processing ASCII characters
For example, in a sorting operation, an array of a user-defined data type creates a
table that shows the lane number for each type of product. To determine which
lane to route a product, the controller searches the table for the product ID
(characters of the bar code that identify the product).
To look up a bar code, follow these procedures:
•
Create the PRODUCT_INFO Data Type
•
•
•
•
Enter the Product IDs and Lane Numbers
Tip:
To copy the above components from a sample project, open the Samples folder. On the Help menu, click
Vendor Sample Projects.
Look up a Bar Code
20
Rockwell Automation Publication 1756-PM013D-EN-P - October 2014
Advertising