Comtrol Modbus TCP Quick Start User Manual

Page 64

Advertising
background image

64 - Filtering/Data Extraction Configuration

DeviceMaster UP EtherNet/IP Quick Start: 2000478 Rev. D

Filtering/Data Extraction Configuration

3.

For Barcode (UPC/EAN formats):

Set any or all of the To PLC Filter Options (RFID/Barcode) filtering options. (You must select at least one
for the filtering/data extraction to function.)

If you are using standard twelve to fourteen-digit UPS/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.

If you are using eight-digit UPC/EAN barcodes, set the Barcode UPC/EAN 8 Digit Format to match that
of your barcodes.

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.

Refer to the

Filtering and Data Extraction Reference Manual

for formatting and other information.

To PLC Barcode Data Format

When the PLC interface is operating in Barcode Filtering mode, all data sent to the PLC is in the
following format:

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

4.

Make sure that Reset Port and Save in Flash are selected and then click Submit when you have
completed configuration.

Tag Data

BYTE[128]

Tag data string (variable length field)

May also include non-tag messages, which
can optionally be sent to the PLC and/or
application.

Field

Size Description

Produced data sequence
number

UINT

Values = 0-65535
(FFFF Hex)

Sequence number that is incremented
with each new message.

Length

UINT

Values = 12-140

Length in bytes of following data.

Company Code

DWORD

Company Code

Product Code

DWORD

Product Code

Numbering Code

UINT

Numbering Code (from first byte(s) of
barcode data)

Barcode Data Length

UINT

Length of barcode string in bytes

Barcode Data

BYTE[128]

Barcode data string (variable length field)

Field

Data Type

Description

Advertising