TCP/IP Connection

Overview

One method of connecting to a device and communicating with it is via a TCP/IP connection. Often Port servers are used closer to the devices in the field to convert the TCP/IP communications to Serial for connectivity over Ethernet networks. 

TCP/IP ports use socket connections to communicate with field devices. The socket connections are opened when polling is required and if configured can close when it is complete. 

Logical ports are defined within ACM to represent a communication method used to connect to a device. Each logical port (Port) has a name that is used to reference it. Whenever a port is used, all of the settings defined by that port are used for communications. Multiple devices and/or multiple device types in ACM can use a single port for communications.

TCP/IP ports release connections between poll intervals.

Configuration

Once a port has been added to the ACM server, the port must be configured by editing the created object. Configuration may be accomplished using the default Form view. 

See the General Object Configuration guide for assistance configuring the General tab.  See the Common Port Configuration guide for assistance configuring the Options tab.

Port Tab

Connection Type

The type of connection to establish with the remote address.

  • TCP (default)
  • UDP
    • Select UDP Receive Port Default = not selected.  Select to use a specific UDP port instead of allowing Windows to select the port.
    • UDP Receive Port Default = 0. The local port to use for receiving UDP communications.

Selected Host

Select Host 1 or Host 2 to configure.

Auto Switch Hosts

Automatically switch to the other host upon failure.

Host Address 1, Port. 

The host name and IP address and port of Host 1.

Host Address 2, Port. 

The host name and IP address and port of Host 2.

Port Control

The method used to determine exclusive control of the connection.

  • Maintain Control (Default)
  • Release When Done

Port Release Delay

The length of time in milliseconds to keep control of the port after communication is done.  Used in conjunction with Port Control = Release When Done.

Lost Connection Timeout

The maximum length of time in seconds to allow to pass with no incoming data before closing the port and reestablishing the connection.

Enable Dialup Modem

Use a modem when communication through this port.

Port Options

Lazy Connection. Select to prevent ACM from attempting to re-establish the connection before the next poll.

Commands

See Object Commands for how to locate and execute a command.

CommandDescriptionParameters

Report Status 

Writes status information to the logger.None


For assistance, please submit a ticket via our Support Portal, email autosol.support@autosoln.com or call 281.286.6017 to speak to a support team member.