Comtrol Modbus TCP User Guide User Manual

Page 55

Advertising
background image

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

Chapter 3. Embedded Configuration Pages- 55

Application TCP Connection Configuration

Connect To Mode

Specifies if and how the DeviceMaster UP attempts to connect to the application at the
specified Connect IP Address and Connect Port.

Never - The DeviceMaster UP will not attempt to connect to the application.

Connect-Always - The DeviceMaster UP will attempt to connect to the application
until a connection is made.

Connect-On-Data – The DeviceMaster UP will not attempt to connect to the
application until there is data to send to the application. Once data is received from
the serial/socket device, the DeviceMaster UP will attempt to connect to the
application until a connection is made.

Connect Port

The application socket port number the DeviceMaster UP will connect to if the
Application Connect To Mode is set to either Connect-Always or Connect-On-Data.

Connect IP Address

The application IP address the DeviceMaster UP will connect to if the Application
Connect To Mode
is set to either Connect-Always or Connect-On-Data.

Disconnect Mode

Controls if and how the DeviceMaster UP disconnects from an application.

Never – The DeviceMaster UP will not disconnect from the application.

Idle - The DeviceMaster UP will disconnect when there has been no transmit or
received data between the serial/socket device and application for a specified Idle
Timer
period.

Idle Timer

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

Application Rx Packet ID Settings

Rx Timeout
Between Packets

Specifies the following information, once the start of the packet is received:

How long the DeviceMaster UP should wait (in milliseconds) before timing-out, if
the ETX Rx Detect length is one byte or two bytes and the ETX byte(s) are not
received.

The time to wait in milliseconds between Ethernet packets if the ETX Rx Detect
length is set to none.

STX (Start of
Transmission) Rx
Detect

When enabled, the DeviceMaster UP detects an STX (start of transmission) byte
sequence which is configured as one byte or two bytes when it receives an Ethernet
packet. The length indicates the number of STX bytes, valid values for length are:

none - Disables this function and the DeviceMaster UP accepts the first byte
received after the last ETX byte(s) as the start of the next Ethernet packet.

one byte - Scans Ethernet data for one STX byte and when the DeviceMaster UP
finds an STX byte it collects the data. If the first byte is not the STX byte, it
discards the byte. The DeviceMaster UP continues to discard the bytes until it finds
an STX byte.

two bytes - Scans Ethernet data for two STX bytes and when the DeviceMaster UP
finds two STX bytes it collects the data. If the STX bytes cannot be found, it
discards the bytes. The DeviceMaster UP continues to discard the bytes until it
finds the two STX bytes.

Byte 1 - Specifies the character that represents the first STX byte. The DeviceMaster
UP looks for this character in the first STX byte, if the length is one byte or two bytes.
You can specify a value between 0 and 255 in decimal format.

Byte 2 - Specifies the character that represents the second STX byte. The DeviceMaster
UP looks for this character in the second STX byte, only if the length is two bytes. You
can specify a value between 0 and 255 in decimal format.

Application TCP Connection Configuration (Serial or Socket Port) (Continued)

Advertising