8: Channel Mode: Channel Configuration
XPress™ DR Industrial Device Server User Guide
50
Port Number
The port number functions as the TCP/UDP source port number for outgoing packets. Packets
sent to the unit with this port number are received to this channel. The port number selected is
the Incoming TCP/UDP port and Outgoing TCP/UDP source port. Port 0 is used when you want
the outgoing source port to change with each connection.
Port No (10001) ? _
Default setting for Port 1 is 10001. Range: 0-65535 except for the following reserved port
numbers:
Table 8-4 Port Numbers
Port Numbers
Reserved for
1 – 1024
Reserved (well known ports)
9999
Telnet setup
14000-14009
Reserved
30718
Reserved (77FEh)
10000-10999
Recommended ports, should be used for DeviceComm Manager
(COM1-COM256) or direct socket connections
Warning:
We recommend that you not use the reserved port numbers for this setting as
incorrect operation may result.
Use Port
0
for the outgoing local port to change with each connection. The port range is
50,000
-
59,999
. Each subsequent connection increments the number by 1 (it wraps back around to
50,000).
Only use this automatic port increment feature to initiate a connection using TCP. Set the port to
a non-zero value when the unit is in a passive mode or when using UDP instead of TCP.
Connect Mode
Connect Mode defines how the unit makes a connection, and how it reacts to incoming
connections over the network.
ConnectMode (C0) ? _
Enter Connect Mode options in hexadecimal notation. The default setting is
C0
.
Note:
See Table 11-1 Binary to Hexadecimal Conversion Table. All bit positions in the table that
are blank represent “don’t care” bits for that particular option, which can be set to either a 0 or 1
value.
Table 8-5 Connect Mode Options
Connect Mode Option
7
6
5
4
3
2
1
0
Incoming Connection
Never accept incoming
0
0
0
Accept incoming with DTR
(1)
0
1
0
Accept unconditional
1
1
0
Response
Nothing (quiet)
0