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

Page 15

Advertising
background image

DeviceMaster UP PROFINET IO Installation Quick Start

2000484 Rev. E ­ 15

Barcode (UPC/EAN Formats)

Barcode (UPC/EAN Formats)

Use the following procedure to configure application filtering and data extraction properties for barcode devices using a 

UPC/EAN format.
1. Set any or all of the To Application 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-Application

 or To-PLC/Application.

Refer to the 

DeviceMaster UP Filtering and Data Extraction Reference Guide

 for more information.

To Application Barcode Data Format
When the application interface is operating in barcode filtering mode, all data sent to the application is in the following 

format:

Note: The Company Code will be set to zero for all EAN-8 codes.

The Barcode parameters will be sent to the application in big-endian format. All parameters, with the
exception of the barcode data string, will have to be byte-swapped for use on a little-endian system.

Field

Size

Description

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)

Advertising