Comnet CNFE2DOE2 User manual

INSTALLATION AND OPERATION MANUAL
CNFE2DOE2
TERMINAL SERVER
v1.0 Oct 2011
The ComNet CNFE2DOE2 terminal server converts RS-232, RS-422 and 2- and 4-wire
RS-485 serial data to a 10/100 Ethernet-based signal. The CNFE2DOE2 is a two-
channel unit and can transport each channel of Ethernet data over either optical fiber
or through RJ-45 cable. A wide variety of ComNet SFP (Small Form Pluggable) optical
interfaces are available to meet transmission distance requirements.
The two serial ports may be configured through either the user’s network, or via a PC,
through the unit’s web server. Open source com0com TCP/IP protocol is supported to
communication with terminal servers over the Ethernet network.
LED indicators confirm the operating status of the device. The ComNet CNFE2DOE2
may be wall mounted, rack mounted (“ComFit” packaging) or DIN-rail mounted with
the use of the ComNet DINBKT1 adapter. ComNet products are made in the USA.

INS_CNFE2DOE2_REV–
10/11/11 PAGE 2
INSTALLATION AND OPERATION MANUAL CNFE2DOE2
TECH SUPPORT: 1.888.678.9427
Contents
Hardware description 3
Assign IP Address to a Terminal Server 5
Using Terminal Server as a Serial Extender over Ethernet 11
Install ComNet Software Utilities 13
Install the com2com 13
Install the com2tcp 17
Install ComNet Terminal Server Configuration software 18
Using Terminal Server as a Virtual COM port (VCP) 20
Connection creation 21
Edit port names 22
Manual VCP Configuration 23
Verify VCP Operation 24
Using TeraTerm Telnet Connection 25
Using Windows UPnP to Discover Your Terminal Servers 26

INS_CNFE2DOE2_REV–
10/11/11 PAGE 3
INSTALLATION AND OPERATION MANUAL CNFE2DOE2
TECH SUPPORT: 1.888.678.9427
Hardware description
The ComNet™CNFE2DOE2 terminal server supports bi-directional data transmission over 2
optical fibers. The server is universally compatible with RS232, RS422, RS485 and serial data
protocols. All configurations are done through its web server. The CNFE2DOE2 has two serial
ports which can be configured by communicating from one port to another through the network.
Distances depend on which SFP (Small Form Pluggable) module is used. The RJ45 Ethernet and
SFP interfaces are both enabled. They function as an Ethernet media converter.
Mechanical Drawing of CNFE2DOE2 Unit

INS_CNFE2DOE2_REV–
10/11/11 PAGE 4
INSTALLATION AND OPERATION MANUAL CNFE2DOE2
TECH SUPPORT: 1.888.678.9427
The data connector pin-out is as below:
RS232
RS422 / RS485 4-Wire
RS485 2-Wire
Settings by Data Type (Port 1 or 2)

INS_CNFE2DOE2_REV–
10/11/11 PAGE 5
INSTALLATION AND OPERATION MANUAL CNFE2DOE2
TECH SUPPORT: 1.888.678.9427
Assign IP Address to a Terminal Server
A unique IP address has to be assigned to each terminal server device. You can connect one
at a time to change the default IP address. The default IP address of the device is the same:
192.168.12.1.
Connect the terminal server on to your local Ethernet network which your PC is connected to, as
Figure 1 below, and power on the unit.
Figure 1
Following the steps below to set up your PC IP address to the same subnet as the terminal servers.
Disable the machine’s wireless network connection and any other internet connections that could
interfere with the network being created.
Select the Internet Protocol (TCP/IP) connection within the Local Area Connection Properties from
start -> Control Panel -> Network Connections -> Properties.

INS_CNFE2DOE2_REV–
10/11/11 PAGE 6
INSTALLATION AND OPERATION MANUAL CNFE2DOE2
TECH SUPPORT: 1.888.678.9427
Next, manually set your IP address to 192.168.12.100, for instance, and your subnet mask to
255.255.255.0, as shown below.

INS_CNFE2DOE2_REV–
10/11/11 PAGE 7
INSTALLATION AND OPERATION MANUAL CNFE2DOE2
TECH SUPPORT: 1.888.678.9427
Click OK to finish the setting.
Open the browser on your PC, and type in 192.168.12 .1 and open the Terminal Server Log in Page
as shown.
The default User Name and Password are both admin
Log in to the Terminal Server Home Page as shown.

INS_CNFE2DOE2_REV–
10/11/11 PAGE 8
INSTALLATION AND OPERATION MANUAL CNFE2DOE2
TECH SUPPORT: 1.888.678.9427
Terminal Server Log in Page

INS_CNFE2DOE2_REV–
10/11/11 PAGE 9
INSTALLATION AND OPERATION MANUAL CNFE2DOE2
TECH SUPPORT: 1.888.678.9427
Terminal Server Home Page
Click on Configuration on the left of the screen.
Change the IP address to an IP address with subnet appropriate for your network. In the following
examples an IP address in subnet 192 .168.12 .x x x will be used.
Configure the IP address to 192.168.12.10 as shown in the Terminal Server Configuration Page.
Click Update Settings.

INS_CNFE2DOE2_REV–
10/11/11 PAGE 10
INSTALLATION AND OPERATION MANUAL CNFE2DOE2
TECH SUPPORT: 1.888.678.9427
Terminal Server Configuration Page
Log in to the terminal server again using the new IP address.
If an IP address in a different subnet was used, be sure to change the PC’s network address to an
IP address in the appropriate subnet.

INS_CNFE2DOE2_REV–
10/11/11 PAGE 11
INSTALLATION AND OPERATION MANUAL CNFE2DOE2
TECH SUPPORT: 1.888.678.9427
Using Terminal Server as a Serial Extender over Ethernet
To use the Terminal Server as a serial extender over Ethernet, connect two terminal servers to your
local Ethernet network.
Configure the first device as a server:
»Set port 1 to Server Network Mode. Assuming Port 1 will be used, click on the Port 1 Settings
on the left.
»Configure data type and data rate on Configurations page. Click Save.
Port 1 Settings Page in Server Mode
Repeat above steps to configure second device. Change its IP address to 192.168.12.2.
Assuming Port 1 is used, click Port 1 Settings on the left side of the screen.
Configure the device to be client:
»Set Port 1 Settings to Client Network Mode.
»Configure data type and data rate on Configurations page. Click Save.

INS_CNFE2DOE2_REV–
10/11/11 PAGE 12
INSTALLATION AND OPERATION MANUAL CNFE2DOE2
TECH SUPPORT: 1.888.678.9427
Units TCP/IP Type IP Address Remote IP Address
Unit 1 Server 192.168.12.2 N/A
Unit 2 Client 192.168.12.1 192.168.12. 2
The point-to-point configuration is complete. Server and client units will pass data across the
Ethernet network.
Rwo terminal servers connected to the local Ethernet network
Note: For faster link recovery after power failure, the unit set as “Client” should be connected to
the application data source.
Port 1 Settings Page in Client Mode

INS_CNFE2DOE2_REV–
10/11/11 PAGE 13
INSTALLATION AND OPERATION MANUAL CNFE2DOE2
TECH SUPPORT: 1.888.678.9427
Install ComNet Software Utilities
To use the Terminal Server as a virtual comm port, some software utilities need to be installed.
Refer to following instructions to install them from the CD that accompanied the CNFE2DOE2
terminal server.
Install the com2com
Com0com is an open source virtual serial port driver for Windows. Once installed it will configure
one or more pairs of virtual COM ports each time Windows starts.
Insert the ComNet Terminal Server Documentation and Software CD into the CD-ROM drive of
your computer. Use Windows Explorer or other browser to open directory com0com-2.2.1.0\.
Double click on the file setup. This will start the installation process with the following dialog.
Click Next.

INS_CNFE2DOE2_REV–
10/11/11 PAGE 14
INSTALLATION AND OPERATION MANUAL CNFE2DOE2
TECH SUPPORT: 1.888.678.9427
Click I Agree.
Leave the Component setup at the default settings. Click Next.

INS_CNFE2DOE2_REV–
10/11/11 PAGE 15
INSTALLATION AND OPERATION MANUAL CNFE2DOE2
TECH SUPPORT: 1.888.678.9427
Choose the Install Location. Click Install.
When installation is complete, click Next.

INS_CNFE2DOE2_REV–
10/11/11 PAGE 16
INSTALLATION AND OPERATION MANUAL CNFE2DOE2
TECH SUPPORT: 1.888.678.9427
Click Finish.
The Windows New Hardware Wizard will now run automatically for each of the two new Virtual
COM ports. Please complete the following steps twice.
Windows will detect the new Com port. When the New Hardware Wizard runs, select No, not this
time and click Next. Select Install the software automatically. Click Next.
When the New Hardware Wizard completes, click Finish.
Repeat for the second half of the Virtual Com port pair. Com0com has now created virtual Com
ports CNCA0 and CNCB0. These ports will be visible to Windows serial applications such as
HyperTerminal or TeraTerm, which will be installed later.
The port names can be change by running the ComNet Terminal Server Configuration application,
which will be installed next.

INS_CNFE2DOE2_REV–
10/11/11 PAGE 17
INSTALLATION AND OPERATION MANUAL CNFE2DOE2
TECH SUPPORT: 1.888.678.9427
Install the com2tcp
Com2tcp is an open-source project used in conjunction with com0com to redirect data traffic
from a virtual COM port on the PC to a telnet server or client on the Ethernet network.
To install com2tcp, copy com2tcp.exe from the CD to the directory of C:\Program Files\com0com.
The application will be linked to ComNet Terminal Server Configuration application when you
start the application the first time.
Install the freeware TeraTerm
Go to directory \TeraTerm on the ComNet Terminal Server Documentation and Software CD.
Double click on the application file setup.exe.
Follow the instructions to finish the installation.
By default, the application will be installed in the directory C:\Program Files\TTERMRO\.
You can either make a short cut of ttermpro.exe and copy it to your desktop for convenience, or
start the application from Windows startup menu.

INS_CNFE2DOE2_REV–
10/11/11 PAGE 18
INSTALLATION AND OPERATION MANUAL CNFE2DOE2
TECH SUPPORT: 1.888.678.9427
Install ComNet Terminal Server Configuration software
Create a directory named comnet under your C: drive. Copy the application cns2econf.exe on
the ComNet Terminal Server Documentation and Software CD to C:\comnet\. You can make an
Windows application shortcut of cns2econf.exe, and move it the your desktop.
If you start the cns2econf application for first time, the following screen will appear.
Click Yes.
Browse to C:\Program Files\com0com, and select com2tcp.exe.Click Open.

INS_CNFE2DOE2_REV–
10/11/11 PAGE 19
INSTALLATION AND OPERATION MANUAL CNFE2DOE2
TECH SUPPORT: 1.888.678.9427
Main ComNet Terminal Server Configuration application window
This is the Main ComNet terminal server configuration application window you will see when you
start the application next time. Wait approximately 30 seconds, the Serial-to-Ethernet Modules:
panel will list the units you have connected to your local Ethernet network, as shown above.
Note: Make sure every terminal server has been configured with its unique IP address.

INS_CNFE2DOE2_REV–
10/11/11 PAGE 20
INSTALLATION AND OPERATION MANUAL CNFE2DOE2
TECH SUPPORT: 1.888.678.9427
Using Terminal Server as a Virtual COM port (VCP)
The ComNet Terminal Server Configuration application offers easy creation and modification of
VCP connections using a single application. Such connections contain several components:
»The legacy serial application connects to a virtual COM port on the PC. This port is one
of a pair created using com0com. From within the ComNet Terminal Server Configuration
application you can create new port pairs and edit the names of existing ports to cater to serial
applications that do not understand the default CNCA/CNCB naming convention used by
com0com.
»The second port in the pair is opened by com2tcp, which creates a telnet connection to the
remote terminal server over Ethernet. The Configuration application lists all terminal servers it
finds and offers a convenient method for accessing their web-based configuration pages.
»The terminal server connects to the remote serial device, as shown below.
Table of contents