© Microhard Systems Inc.
89
4.0 Configuration
This setting determines which protocol the serial server will use to
transmit serial port data over the IPnXGii network.
The protocol selected in the IP Protocol Config field will determine
which configuration options appear in the remainder of the COM1/
COM2/RS485 Configuration Menu.
IP Protocol Config
Values (selection)
TCP Client
TCP Server
TCP Client/Server
UDP Point-to-Point
UDP Point-to-Multipoint (P)
UDP Point-to-Multipoint(MP)
UDP Multipoint-to-Multipoint
SMTP Client (COM0)
C12.22
GPS Transparent Mode
TCP Client:
When TCP Client is selected and data is received on its serial port, the IPnXGii takes the
initiative to find and connect to a remote TCP server. The TCP session is terminated by this same unit
when the data exchange session is completed and the connection timeout has expired. If a TCP
connection cannot be established, the serial port data is discarded.
Remote Server Address
IP address of a TCP server which is ready to accept serial port data through a TCP
connection. For example, this server may reside on a LAN network server.
Default:
0.0.0.0
Remote Server Port
A TCP port which the remote server listens to, awaiting a session connection request from
the TCP Client. Once the session is established, the serial port data is communicated from
the Client to the Server.
Default:
20001
Outgoing Connection Timeout
This parameter determines when the IPnXGii will terminate the TCP connection if the
connection is in an idle state (i.e. no data traffic on the serial port).
Default:
60
(seconds)
TCP Server:
In this mode, the IPnXGii Series will not INITIATE a session, rather, it will wait for a Client to
request a session of it (it’s being the Server—it ‘serves’ a Client). The unit will ‘listen’ on a specific TCP
port. If a session is established, data will flow from the Client to the Server, and, if present, from the Server
to the Client. If a session is not established, both Client-side serial data, and Server-side serial data , if
present, will be discarded.
Local Listening Port
The TCP port which the Server listens to. It allows a TCP connection to be created by a TCP
Client to
carry serial port data.
Default:
20001
Incoming Connection Timeout
Established when the TCP Server will terminate the TCP connection is the connection is in
an idle state.
Default:
300
(seconds)
UDP: User Datagram
Protocol does not provide
sequencing information for
the packets sent nor does it
establish a
’connection’ (‘handshaking’)
and is therefore most suited
to communicating small
packets of data.
TCP: Transmission Control
Protocol in contrast to UDP
does provide sequencing
information and is connection
-oriented; a more reliable
protocol, particularly when
large amounts of data are
being communicated.
Requires more bandwidth
than UDP.