4 Configuring the Serial Port Settings Ether232Plus User Guide
24 Precidia Technologies Inc. 02-CML000057
The second part of the Protocol setting, session mode, determines how the data
channel between the terminal and the server is established. Communications between
the device and the host can be over TCP or UDP channels. In addition, the device can
initiate a session immediately or wait until either the server (host) or the terminal
(client) attempts to establish a connection. Table 4.2 describes the session mode
options.
Terminated
No alterations are made to the data stream, but incoming data is
checked for known "end-of-record" characters, or "terminators",
that identify the end of a block so that it can be transmitted as a
whole to the remote host. If this mode is selected, you will be
prompted to enter up to six Terminators in their ASCII decimal form
(e.g. <CR> = 13). This is ideal when the host requires pre-parsing of
the data, such as with an AS/400.
N
OTE
: To use zero (null) as a terminator, you must set it as Termi-
nator #1. Any zeroes after the first terminator are ignored.
Table 4.2: Session Mode Options
Menu Item Description
tcp(tunnel)
Typical configuration for most applications. Use tcp(tunnel) mode
when the Ether232Plus must be able to initiate TCP connections and
accept TCP connections from the host. In this configuration, the
Ether232Plus can communicate with the TCP/IP host as if it were
virtually connected. Local Port, Remote Port, and Remote IP must
be configured. Sections 4.6 through 4.10 describe how to configure
ports and IP addresses.
tcp-client
Use tcp-client mode when all transactions must be initiated by the
terminal. This ensures that a TCP/IP host (server) can never initiate
communications with the terminal.
tcp-server
Use tcp-server mode when the TCP/IP host must never be inter-
rupted by the terminal unless it authorizes a connection. This
ensures that data from the terminal will be discarded until the server
establishes a session. As a security feature, the host address must
match the Remote IP configured in the Serial Port Settings. Local
Port and Remote Port must be configured. Sections 4.6 through 4.10
describe how to configure ports and IP addresses.
Table 4.1: Data Formatting Options
Menu Item Description