beautypg.com

Comtrol UP DeviceMaster User Guide User Manual

Page 45

background image

DeviceMaster UP Modbus/TCP User Guide: 2000447 Rev. I

Chapter 2. Programming Interface - 45

Instance Attribute Definitions

Attribute 35

Barcode Formats

This attribute defines barcode format to be used for both standard and eight digit
UPC labels. The term standard refers to UPC-A, EAN-13, JAN, and EAN-14
barcodes which all have ten company/product digits.

The standard and eight digit formats are selected independently and each operates
independently. It is important to note that the barcode filtering/data extraction does
not function if no format is selected.

Format

Numbering

Company

Product

Check

Digits

Digits

Digits

Digit

Standard Formats

None

N/A

N/A

N/A

N/A

Company-5/ Product-5

1-3

5

5

1

Company-6/ Product-4

1-3

6

4

1

Company-7/ Product-3

1-3

7

3

1

Company-8/ Product-2

1-3

8

2

1

Company-9/ Product-1

1-3

9

1

1

Eight Digit Formats

EAN-8 Number-2/Product 5

2

0

5

1

EAN-8 Number-3/Product 4

3

0

4

1

UPC-E

See the

DeviceMaster UP Filtering and Data Extraction Reference Guide

(Page 10)

for further details.

Attribute 36

PLC Transmit STX
Append Value

You can set this attribute to append an STX (start of transmission) byte sequence
which is configurable as 1 or 2-bytes to the beginning of the Ethernet packet before
it is sent. The length indicates the number of STX bytes. The valid values for length
are:

0 (zero) - Setting this attribute to zero disables this function.

1 (one STX byte) - Inserts one STX byte before the data.

2 (two STX bytes) - Inserts two STX bytes before the data.

Value1 - Specifies the transmit character associated with the first STX byte.
(Only if the length is not zero.) You can specify a value between 0 and 255.

Value2 - Specifies the transmit character associated with the second STX byte.
(Only if length is two bytes.) You can specify a value between 0 and 255.

Attribute 37

PLC Transmit ETX
Append Value

You can set this attribute to append an ETX (end of transmission) byte sequence
which is configurable as 1 or 2-bytes to the end of the Ethernet packet before it is
sent. The length indicates the number of ETX bytes.

The valid values for length are:

0 (zero) - Setting this attribute to zero disables this function.

1 (one ETX byte) - Inserts one ETX byte at the end of the data.

2 (two ETX bytes) - Inserts two ETX bytes at the end of the data.

Value - Specifies the transmit character associated with the first ETX byte.
(Only if the length is not zero.) You can specify a value between 0 and 255.

Value2 - Specifies the transmit character associated with the second ETX byte.
(Only if length is 2-bytes.) You can specify a value between 0 and 255.

Attribute

Description (Continued)