beautypg.com

Comtrol UP DeviceMaster User Guide User Manual

Page 25

background image

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

Chapter 2. Programming Interface - 25

Instance Attribute Definitions

Attribute 27

Application Connect
Mode

This setting controls if and how the DeviceMaster UP attempts to connect to the
application at the application connection IP address and application connection socket
port.

0 = Never - The DeviceMaster UP does not attempt to connect to the application.

1 = Connect Always - The DeviceMaster UP attempts connecting to the
application socket port until a connection is made.

2 = Connect On Data - The DeviceMaster UP does not attempt to connect to the
application socket port until there is data to send to the application. Once data is
received from the serial device, the DeviceMaster UP attempts connecting to the
application until a connection is made.

Attribute 28

Application
Disconnect Mode

This setting controls if and how the DeviceMaster UP disconnects from an application.

0 = Never - The DeviceMaster UP does not disconnect from the application socket
port.

1 = Disconnect On Idle - The DeviceMaster UP disconnects when there has been
no transmit or received data between the serial device and application socket port
for a specified Idle period (Attribute 32: Application Connection IP Address).

Attribute 29

Application Listen
Socket Port

This is the socket port number on the DeviceMaster UP the application connects to if
Application Listen Enable is enabled.

Attribute 30

Application
Connection Socket
Port

This is the application socket port number the DeviceMaster UP connects to if the
Application Connect Mode is set to either Connect Always or Connect On Data.

Attribute 31

Application
Connection IP
Address

This is the application IP address in hexadecimal format that the DeviceMaster UP
connects to if the Application Connect Mode is set to either Connect Always or Connect
On Data
. For example, an IP address of 10.1.2.100 is 0A010264 in hexadecimal.

Attribute 32

Application Idle
Timeout

The idle timeout period in milliseconds that is used if the Application Disconnect Mode
is set to Disconnect On Idle.

Attribute 33

To PLC Filter/Data
Extraction Mode

The filter/data extraction mode to be employed on data to be sent to the PLC.

0 = Off

1 = String (128 char max) - Raw/ASCII data is filtered up to 128 characters (or
bytes) in length.

2 = RFID (EPCglobal formats) - RFID data in any of the EPCglobal formats is
filtered, the associated parameters is extracted, and the extracted data and RFID
tag is sent to the PLC in a specified format.

3 = Barcode (UPC/EAN formats) - Barcode data in specified UPC/EAN formats is
filtered, the associated parameters is extracted, and the extracted data and
barcode is sent to the PLC in a specified format. See the

barcode format

definitions

in Attribute 41 on Page 28.

See the

DeviceMaster UP Filtering and Data Extraction Reference Guide

(Page 10) for

further details.

Attribute

Description