The information contained in this document is the property of Atop Technologies, Inc. and is supplied for the
sole purpose of operation and maintenance of products of Atop Technologies, Inc. No part of this publication
is to be used for any other purposes, and it is not to be reproduced, copied, disclosed, transmitted, stored in
a retrieval system, or translated into any human or computer language, in any form, by any means, in whole
or in part, without the prior explicit written consent of Atop Technologies, Inc.
Published by
Atop Tec hnologies, Inc.
2F, No. 146, Sec. 1, Tung-Hsing Rd.
Jubei City, Hsinchu 30261
Taiwan, R.O.C.
Tel: 886-3-5508137
Fax: 886-3-5508131
www.atop.com.tw
This document is intended to provide customers with brief descriptions on the product and to assist
customers to get started. For detail information and operations of the product, please refer to this manual or
the CD attached.
®
Ethernet Serial Server SE5404
FCC WARNING
Class A for Ethernet Serial Server (Model SE5404 series)
This equipment has been tested and found to comply with the limits for a Class A digital device pursuant to
Part 15 of the FCC rules. These limits are designed to provide reasonable protection against harmful
interference when the equipment is operated in a commercial environment. This equipment generates, uses
and radiates radio frequency energy and, if not installed and used in accordance with the instructions, may
cause harmful interference to radio communications.
Operation of this equipment in a residential area is likely to cause harmful interference in which case the user
will be required to correct the interference at his own expenses.
A shielded-type power cord is required in order to meet FCC emission limits and also to prevent interference
to the nearby radio and television reception. It is essential that only the supplied power cord can be used.
Use only shielded cables to connect the device’s ’ RS-232 or RS-485 port.
Be cautioned that changes or modifications not explicitly approved by ATOP Technologies could void your
A.3.2.1 DB9 Pin Assignments
A.3.2.2 Terminal Block Pin Assignments
A.3.3.3 Ethernet Port (RJ-45) Pin Assignments
NOTE: Device will not be damage if the polarity is reverse.
Many industrial and Commercial devices equipped with slow serial communication ports—RS-232, RS-485,
and RS-422—are limited in their transmission distance of 15 m. Examples of these devices are PLC
controllers, card readers, display signs, security controls, CNC controller, etc. ATOP Technologies has
overcome the limit with a family of SE5404 Series Ethernet Serial Servers. The SE5404 sever family is
designed to transmit data between one-or-more serial device and one-or-more TCP/IP device through
Ethernet, and hence enhance the accessibility of the serial device through the ubiquitous TCP/IP based
Ethernet.
Of the SE series, the SE5404 is for RS-232/RS-422/RS-485 without isolation protection built-in, while the
SE5404-S5is is for RS-422 and RS-485 devices built-in isolation protection.
®
Ethernet Serial Server SE5404
NTRODUCTION
1.1 Packaging
Check your package to make certain it contains the following items:
SE5404 ◎/SE5404-S5is Ethernet Serial Device Server
Quick Inst◎allation Guide ◎ Product Warranty
◎ Product CD
◎ Rack mounting L type ears*2 (include screw*6)
◎ Wall mounting screws*2
◎ 3-pin terminal block*1 for power input only for SE5404-S5is
◎ 5-pin terminal block *4 only for SE5404-S5is
◎ Optional Accessories:
1. Power Adapt er - DC Jack 12VDC,1.25A with Lock only for SE5404
1.2 Modes of Operation
The SE5404 Series can be operated in one of the following 3 modes:
TCP Server Mode:SE5404 can be configured in a TCP server mode on an Ethernet Network to wait
for the host computer to establish a connection with the serial device ( the client).
After the connection is established, dat a can flow in both directio ns (Figure 1.1).
TCP Client Mode:SE5404 can be configured in a TCP client mode on a TCP/IP Network to actively
establish a connection with an applications server –the host computer. After the
connection is established, data can flow in both directions (Figure 1.2).
COM1(2/3/4) TX LED off
COM1(2/3/4) TX LED on blinking
state
COM1(2/3/4) RX LED off
COM1(2/3/4) RX LED on blinking
state
Table 2. COM Port LED Status
No data is transmitting on COM port
Data is transmitting on COM port
No data is receiving on COM port
Data is receiving on COM port
2.1.3 RUN
Message Description
Off
Blinking (rate: 0.5 Sec) AP firmware running normally
AP firmware malfunction or power is not properly
on
Table 3. RUN LED Status
2.1.4 Power
Message Description
Off AP firmware malfunction or power is not properly
on
On Power on normally
Table 3. Power LED Status
2.2 Installation Procedures
Step 1 : Connect SE5404 to a 12VDC po wer source Jack. (Or to a 9~30VDC Te rminal Block power
source which only for SE5404-S5is)
Step 2: Connect SE5404 to the Ethernet network. Use a standard straight-through Ethernet cable when
connect to a hub/switch, or connect to a PC‘s Ethernet port via a crossover Ethernet cable. However,
Always make sure ones PC is on the same sub-net as the SE5404.
Step 3: Connect SE5404’s serial port to a serial device.
Step 4: Mount SE5404 to a Rack with one pair L type Rack mounting ears included
A DHCP server can automatically assign the IP address and all the network settings, and SE5404 supports
the DHCP client functions.. By default, the DHCP client function on SE5404 is disabled; one may activate the
DHCP client functions by the following steps:
->Execute Monitor.exe (Figure 3.1)
->Click on the IP address (of SE5404)
->Click “Config” to pop-up the static IP Dialog Window (Figure 3.2)
->Check ”Auto IP” ( Figure 3.3)
->Click “ Config Now” (The SE5404 will restart and obtain the IP from the DHCP server automatically)
This screen allows for changes in “LAN1 Settings”, “LAN2 Settings”, “DNS Settings” and “SNMP
Settings” information.
NOTE:
1. The changes of networking parameters will take effect only after the SE5404 series is exited and
restarted.
2. SE5404 has 2 LAN Ports that can be connected to different subnet. It is helpful for one to take
control from one subnet to another once one of the subnet crashes.
3.2.3.1 LAN1 and LAN2 Settings
->Enter “1 “or “2” to change LAN1 or LAN2 in “IP”, “Netmask”, “Gateway” an d “IP Mode “information.
-> Enter “1 “to “3 “separately on” LAN1 Settings” to change IP、Netmask and Gateway in sequence
-> Enter “4” in “IP Mode” to change the settings to Static IP or DHCP client alternative.
Note:
(1) Enter “
0” to return to the previous menu.
(2) Setting changes will not take effect until the device is restarted.
Enter “3” on “Main Menu” to select “Com Port Settings” ( Figure 3.10).
Figure 3.10 Com1 setup
Here one may configure COM1~COM4 serial port parameters, include “UART mode”, “Working Mode”,
“Baud rate”, “Parity”, “Data bits”, “Stop bits”, “Flow control”, enabling or disabling “Delimiter (Network to
serial data buffer)” and “Delimiter (Serial to Network data buffer)”.
3.2.4.1 Configure UART Mode:(Figure 3.11)
Î For Example:Enter “1” on “COM Port Settings” to select “COM1”
Î Enter “1 “on “COM1 Settings” to select “UART mode”.
Î One shall Input one of the number 1~3 to select RS-232/RS-422/RS-485 on “Set UART Mode for
COM1”
3.2.4.2 Configure SE5404 as TCP server:(Figure 3.11)
Î Enter” 2” on “COM1 Settings” to select “Working Mode”
Î One shall Input one of the number 1~3 to select TCP server/TCP client/UDP on “Set Working Mode
SE5404 can be configured on a UDP mode to establish connection using unicast data from the serial device
to one or multiple host computer. Vice versa is also true.
In this example ( Figure 3.13):
->Enter Local port on “Set local port” to “4660”;
->Enter destination IP address1 on ”Set Destination IP 1” to “10.0.29.254”
->Enter destination Port1 on “Set destination port 1 “ to “6666”
Î Enter destination IP address2 on “Set destination IP 2” to “10.0.29.253”
Î Enter destination Port2 on “Set destinat ion port 2” to “6665”
Enter 3~7 separately on “COM1 Settings” of COM1, then proceed to assign the COM port baud rate、parity,
determine number of data bit s and stop bits, and decide on the need of flow control ( Figure 3.14)
Note:The baud rate of SE5404-S5is with optical isolation Model only up to 230400 bps
1. For Baud rate setting: Enter “3” on “COM1 Settings” of COM1
2. For Parity setting:Enter “4” on “COM1 Settings” of COM1
3. For Data bits setting:Enter “5” on “COM1 Settings” of COM1
4. For Stop bits setting:Enter “6” on “COM1 Settings” of COM1
5. For Flow control setting:Enter “7” on “COM1 Settings” of COM1
3.2.8 Enabling Network to Serial (Serial to Network) data buffer
Example:Enter” 9” from “Delimiter(Serial to Network)” of COM1, by default COM port serial data buffer is
disabled meaning that when TCP/IP Ethernet connection is broken, serial data collected from serial device
won’t be emptied on SE5404 once TCP/IP connection is resumed, the serial data will be sent through
Ethernet connection, one may enable it if one wish( Figure 3.15)
1. Enter “0” on “Set Delimiter (Serial to Network)” to disable Serial to Network data buffer
2. Enter “1” on “Set Delimiter (Serial to Network)” to set packet delimiter timer
3. Enter “2” on “Set Delimiter (Serial to Network)” to set char acter pattern terminator
One may also Enter “8” from “Delimiter (Network to Serial)” to enable or disable Network to Serial data
buffer
NOTE:
(1) Enabling “Delimiter (Serial to Network)” to clear the input buffer when the network connection to
or from the device is disconnected
(2) Enabling “Delimiter (Network to Serial)” to clear the output buffer when the network connection
Packet delimiter is a way of controlling the number of packets in a serial communication. It is designed to
keep packets intack. SE5404 provides two ways in parameter setting: 1 “Packet delimiter timer” and 2
“Character pattern terminator”. By default, packet delimiter timer is 1 ms. The range of packet delimiter
timer is from 0 to 30,000 mSec, as shown in Figure 3.16.
One may also choose character pattern as the packet delimiter indicated in Figure 3.17. If “character pattern”
is selected, for a data stream ended with “0x0d0a”, then the entire data buffer of the serial device is
transmitted.
NOTE:The characters are case sensitive, make sure to use lower case.
2. Enter “1” on “Change Username” to enter in the new username , and Enter “2” on “Change password”
NOTE:
®
Ethernet Serial Server SE5404
field to enter in the new password.
1. One may press the Default button on the product to reset username and password.
2. Login username and password are case sensitive
3.
The default username is admin
The default password is null (leave it blank)
4.
3.2.11 Restart
After input “5” on “Main Menu” and then click “enter” key, SE5404 shall restart immediately.
3.3 Configuring Using Web Browser
1. Make sure the PC is on the same network as SE5404
2. Open a web browser, then Enter in the same IP address as the SE5404. The default user name is
admin and the default password is null (leave it blank).
3. The SE5404’s network, link mode and COM ports settings can be configured on different web
pages.
4. Click “Save Configuration” to save settings.
5. Click ”Restart” button in “System” link to initial the change.
To modify settings through the web server interface, follow the steps below.
3.3.1 Log in
1. While on the web browser, Enter in the IP address of SE5404 of the URL.
Example:
http://10.0.50.100 for LAN1
2. The following authentication screen shall appear ( Figure 3.19) Enter desired “user name” and
“password” then click on OK. The default user name is admin and the default password is null (leave it
NOTE:Login username and password are case sensitive.
3. The following overview screen shall appear (Figure 3.20)
Figure 3.20 Overview
3.3.2 Network Settings
Click on “Networking” link and the following screen (Figure 3. 20) shall appear.
->Fill in IP information on the TCP/IP “IP address”, “Subnet Mask” and “Default Gateway” fields, or check
on “Obtain an IP automatically” Alternatively to obtain “IP address”, “Subnet Mask” and “Default Gateway” automatically.
->Enable SNMP by checking “Enable SNMP”
->Input DNS Server’s IP address(for instance:DNS1->168.95.1.1,DNS2->210.62.128.1)
->Fill in network identification information on SNMP
->Click on the “Save Configuration” button to save the changes.
Note:
1. SE5404 has 2 LAN Ports that can be connected to different subnet. It is helpful for one to take control
from one subnet to another once one of the subnet crashes.
2. The changes will not become effective until SE5404 is restarted ( Figure 3.21)
1. Default COM port numbers of SE5404 is from 4660 to 4663 and it is associated with the serial port
COM1 ~ COM4. For example:After the application program being connected to the TCP port 4660
on the SE5404 COM1, data of ones application program are transparent to both COM1 and SE5404.
2. SE5404-S5is only have RS-422 and RS-485 serial interface for one to configure.
Î Configure SE5404 as a TCP client. For example, the destination IP is 10.0.29.11, and the destination
port is 4660 (Figure 3.23)
Î On “destination IP1”, enter “10.0.29.11”
Î On “destination Port1”, enter “4660”
Î One may configure 2 sets of destination IP addresses after check “Destination 2” to enable
Destination IP2
Î Enter “destination IP2” & “destination Port2”
Î Click on “Save Configuration” button to save the changes
SE5404 can be configured on a UDP mode to establish connection using unicast data from the serial device
to one or multiple host computer. Vice versa is also true.
NTP settings allow SE series to obtain internet time from NTP server after check “Enable NTP” and assigned
proper NTP server’s IP address. In addition, one may assign a time zone to match where ones location
is(Figure 3.28).
Don’t check “Enable NTP” If one want to configure system date and time manually.
Press “Set to Default and Restart” button to restore all the SE5404 parameters to default value and the
restart will be completed when the RUN LED starts blinking again(Figure 3.30) .
Figure 3.30 System-Set to default
3.4.4 Restart
Press “Restart” button to restart SE5404, the restart will be completed when the RUN LED starts blinking
again (Figure 3.31).
Virtual COM driver mode for windows converts COM data to LAN data for control of the COM port on
SE5404 via LAN. By creating virtual COM ports on the PC, the Virtual COM driver redirects the
communications from the virtual COM ports to an IP address and port number on a SE5404 that connects
the serial line device to the network. Figure 4.1 illustrates a Virtual COM connection diagram.
®
Ethernet Serial Server SE5404
SING VIRTUAL
COM
Figure 4.1 Virtual Com connection diagram
4.1 Setup of a virtual COM driver
4.1.1 PC requirements
• Processor: Intel-compatible, Pentium class or faster
• Operation system: Windows Server 2003, Windows XP, Windows 2000, Windows NT 4.0 SP5
or later, Windows Me, Windows 98, Windows 95, Microsoft NT/2000 Terminal Server, Citrix
MetaFrame
4.1.2 Cautions on Use
The Virtual COM driver supports firmware AP v3.0 or later for the SE5404 Ethernet Serial Server.
The Virtual COM driver provides users with up to 256 Virtual COM ports. Users may select from COM1 to
COM256.
4.1.4 Installation
Make sure to turn off all anti-virus software before installation. Run the Virtual COM setup file included in the
CD to install Virtual COM driver.
Select one or two COM port to become the Virtual COM ports.
4.1.5 Uninstalling
1. From Windows Start menu select Setting, Control Panel, Add/Remove Programs.
2. Select Serial IP in the list of installed software.
3. Click the Add/Remove button to remove the program, or From Windows Start menu select
Programs, Serial IP for ATOP, Uninstall Serial IP to remove the program.
4.2 Virtual COM communications
4.2.1 Enabling Virtual COM on SE5404
From the web browser, access SE5404 by typing its IP address.
Î Click on “COM1” link to access COM1 window.
Î On the window, click on “TCP Server”
Î Check “Virtual COM” button to Enable COM drivers.
Î Enter in the local port number on “Local Port” field as indicated in Figure 4.2.
On Window Start Menu, go to \program\serial/IP for ATOP\control panel\Select Port\, then select the serial
port. Then the “ Serial I/P for Atop Control Panel” window appears ( Figure 4.4).
Figure 4.4 Serial/IP for Atop control panel
On the right of the panel is a sample for COM 4 settings. On the left is the list of the COM ports that have
been selected (on Select Ports window) for use by the Virtual COM Redirector. Change the list by clicking
the Select Ports button.
Each COM port has its own settings. When click on a COM port, the Control Panel changes to reflect that
the selected port.
NOTE: COM port changes become effective immediately.
4.3 Configuring Virtual COM Ports
Serial/IP COM port can be changed as follows:(Figure 4.5)
1. Select a COM port on the list.
2. On IP Address of Server, enter the serial serve IP address.
3. On Port Number, enter the TCP port number of the serial server.
4. On Server Credentials, the default is No Login Required. If the serial server does require login by
the Virtual COM Redirector, the Virtual COM Redirector must provide a username and/or password
every time an application tries to access the serial server.
5. Click the Configuration Wizard button and then click the Start button that shall appear on the
wizard window. This step verifies that the Virtual COM Redirector communicates with the serial
server. If Log display does not sho w errors, click Use Settings, return to the Control Panel
(Figure 4.5)
Figure 4.5 Configuration Wizard
6. Settings on the Connection Protocol must match the TCP/IP protocol supported by the serial
server. The Configuration Wizard is capable of determining the correct settings.
7. On COM Port Options, the settings must match the COM port behavior expected by the PC
application. The Configuration Wizard will recommend such settings.
SE5404 is an SNMP device that allows many popular SNMP Network management platforms such as HP
OpenView and SunNet Manager, to conduct monitoring on the dev ice.
Depending on the network management tools used, SE5404 information can be collected from running the
management tools, including IP address, DNS name, system descriptions and NIC information.
5.2 Using NetworkView: An Example
NetworkView is a free compact network management tool from NetworkView Software, Inc.
(
www.networkview.com). It discovers all TCP/IP nodes in a network using DNS, SNMP and ports information
and documents with printed maps and repo rts for future use.
First, download and install the tool on ones PC (Windows NT and Windows 9x only), then start
NetworkView.
1. Click on the
Enter in the IP address range for searching(Figure 5.1).
button to open a new file. The following screen shall appear, on Addresses field,
Click on “OK” and the following dialog box shall display the searching progress(Figure 5.2).
Figure 5.2 Discovering network
2. After the search is completed, NetworkView will display the devices found on the main window, as shown
Figure 5.3.
Figure 5.3 Network View- main window
3. Double-click on the device icon to display information about the device, including IP Address, Company,
SysLocation (Max 15 characters), SysName (Max 9 characters) and types etc(Figure 5.4).
Figure 5.4 Network View-Node details
NOTE:
1. NetworkView is limited to information extracting and viewing only.
2. To modify the configurations, use the web server, Telnet or monitor.exe configuration utilities.
Before writing ones own host applications or programs to interact with SE5404, make sure one have done
the following.
RITING ONES OWN APPLICATIONS
6.1 Preparing System
1. Connect SE5404 to power , Ethernet and serial cables
2. Configure SE5404: connection type, IP address, gateway IP address, and network mask (see chapter 3
Hardware Installation).
3. Configure SE5404 as TCP Server, using the default TCP port number 4660.
4. The host (PC) application program must be configured as a TCP client and connected to SE5404 with
designated TCP port num ber 4660 for COM1.
5. Check SE5404 running status through monitor.exe configuration utility.
6.2 Running Sample Program
Sample programs written in VB and VC++ included in the package are provided for your reference; their
source codes are also included. Test program can be found on the product CD in the directory of
\sample\vb_ap\ and \sample\vc_ap respectively .
Two test prog rams, TCPTEST in Visual Basic and TCPTEST2 in Visual C++ are included.
6.2.1 TCPTEST in Visual Basic
This sample program (Figure 6.1), written in Visual Basic 5.0 with Winsock Controls, shows how to exchange
data between host (PC) and SE5404 via Ethernet in two socket ports.
One may start the sample program tcptest.vbp to test different functions. For more information, please press
Help..
NOTE: Be sure Microsoft visual studio family or its equivalent sof tware is installed.
Enter in the following command on the command line prompt to run the program(Figure 6.2):
TCPTEST2 IP_Address Port_Number
Figure 6.2 TCP test sample program in Visual C
The command tcptest2 10.0.50.100 4660 connects a TCP server of IP address 10.0.50.100 to port number
4660. The received data is displayed on the screen and the input data is sent to the TCP server. Binary data
in hex format with a leading character “\” can also be sent. For example, “\00” and “\FF” represent ASCII
code 0 and 255, respectively.
A modem can also be used to connect to the serial server. Command "AT\Od" sends standard AT command
to the modem which in return responds with "OK\0D\0A" message to the host application.
Always use '=' then Enter key to exit the program.
There are several ways to check the status and availability of SE5404.
®
Ethernet Serial Server SE5404
IAGNOSTICS
7.1 Using Standard TCP/IP Utility ping Command
Go to Windows Start menu, select Run and Enter in “ping <TCP Server IP address>”(Figure 7.1).
If the connection is established, the Reply messages are displayed; otherwise it will indicate Request timed
out.
Figure 7.1 Standard TCP/IP utility ping command
7.2 Using monitor.exe Configuration Utility Program
Use monitor.exe configuration program on the product CD to check the status of SE5404. The status can be
read from “AP version” column of the tool.
Status Descriptions
S
A
c
C
The system is configured as a TCP Server and Listing.
The TCP Server is connected.
The system is configured as a TCP Client and not yet connected.
The system is configured as a TCP Client and trying to Connect.
New version of firmware can be downloaded from www.Atop.com.tw
®
Ethernet Serial Server SE5404
B.1 System Upgrading Procedure
Follow the upgrading procedures below to upgrade the latest new version of firmware:
Make sure the PC and the SE5404 series on the same network. Use command ping or monitor.exe
utility program to verify their availability.
Edit “dll.bat ” to fit the system requirements, Be sure to save ones modification
Run linux_dl ,the following screen shall appear .
For example:linux_dl zImage.bin 10.0.50.100
z Note : “linux_dl” is the upgraded executing file and zImage.bin is the firmware file name;
xxx.xxx.xxx.xxx is the IP address of SE5404 series
SE5404 will automatically restart after downloading completed.
B.2 Critical Issues
If the upgrade is successful, SE5404 shall program the flash memory and the buzzer will beep 1 time before
restarting. It takes around 5 seconds to complete the programming process. If an error occurs during the
programming process, SE5404 will clear the corresponding memory and the system remains the same
before the process.
The configuration utility monitor.exe is the main utility program used to display and to configure SE5404
settings.
®
Ethernet Serial Server SE5404
C.1 Running Monitor.exe utility
Start the program under Windows 98/NT/2000 environment and the following window shall app ear
(Figure D1).
Figure C1. Main window of monitor.exe utility program
C.2 Detecting Operational Devices
Follow steps below to detect all devices currently available on the network.
1. Start monitor.exe utility program.
2. Select an item from the Broadcast IP list.
3. Specify a number on Wishes box.
4. Click on the Invite button. This will display all the devices requested.
C.3 Configuring Devices
Use monitor.exe to configure the settings of devices on the network.
1.Repeat the steps in C.2 to bring up devices information.
2 Select the device to be configured from IP Address. Click on the “Config” button, a configuration dialog
3. After clicking on the “Configure Now” button, the target device returns an “ACK” message, indicating the
modification is successful as shown as follows:
The following table lists the functional description for each field.
Field Name Field Descriptions
Broadcast IP
Except for the default IP 255.255.255.255, other items (IPs) are read from the file
“seg.cfg”. This field specifies a detecting IP range. It may be a designated IP or a
broadcast IP.
Wishes
Specifies minimum number of the devices one wish to get reply from after sending
an Invite request. If there is not as many as devices responding to ones invitation,
the system repeatedly sends invitation until ones request is fulfilled.
Reply
Retry
Indicates the actual number of devices this utility program detected.
Specify the number of times that an Invite request is re-sent.
Locate
Reset
Config
Exit
Locate the specified device .
Reset t he selected device.
Configure the sele cted device.
Exit this utility.
Indicate the IP address of the device that replied to ones request.
yLeading tag “!” stands for IP address collision, possibly caused by duplicated
IP addresses on the network.
y Leading tag “?” stands for Mac address collision, possibly caused by
duplicated Mac addresses on the network.
MAC Address
Gateway
Subnet Mask
OS
AP Version
Model
Indicates the MAC add ress of responding device.
Indicates the IP address of the gateway.
Indicates the TCP/IP network mask.
Indicates the OS versio n of the responding device.
Indicates the AP version of the responding device.
Indicates the model number of the responding device. This field is only available
for monitor.exe versi on 2.0 and above.