Barcode (upc/ean formats) – Comtrol PROFINET IO User Manual
Page 13

DeviceMaster UP PROFINET IO Installation Quick Start
2000484 Rev. E 13
Barcode (UPC/EAN Formats)
Barcode (UPC/EAN Formats)
Use the following procedure to configure PLC filtering and data extraction properties for barcode devices using a UPC/
EAN format.
1. Set any or all of the To PLC filter options (RFID/Barcode) filtering options.
Note: You must select at least one for the filtering/data extraction to function.
2. If you are using standard twelve to fourteen‐digit UPC/EAN barcodes, set the Barcode UPC/EAN 12-14 Digit Format
to match that of your barcodes. The Company-5/Product-5 is the most popular format.
3. If you are using eight‐digit UPC/EAN barcodes, set the Barcode UPC/EAN 8 Digit Format to match that of your
barcodes.
4. If you want the DeviceMaster UP to discard any non‐RFID tag messages, set the Discard Unrecognized Data to either
To-PLC
or To-PLC/Application.
To PLC Barcode Data Format
When the PLC interface is operating in barcode filtering mode, all data sent to the PLC will be in the following format:
Note: The Company Code will be set to zero for all EAN8 codes.
Field
Size
Description
Produced data
sequence number
WORD
Values = 0‐65535 (FFFF Hex)
Sequence number that is incremented with each new
message.
Length
WORD
Values = 12‐140
Length in bytes of following data.
Company Code
DWORD
Company Code.
Product Code
DWORD
Product Code.
Numbering Code
WORD
Numbering code (from first byte(s) of barcode data).
Barcode Data Length
WORD
Length of barcode string in bytes.
Barcode Data
BYTE[128]
Barcode data string (variable length field).