User Manual V. 1.1 Important Announcement 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 Atop Technologies, Inc. products. No part of this publication is to be used for any other purposes, and it is not to be reproduced,...
Atop Serial Device Server SE5002D User Manual V. 1.1 Table of Contents Preface .......................... 7 Introduction ......................9 Product Overview ................... 9 Application Connectivity ..............11 1.2.1 TCP Server Mode ............... 11 1.2.2 TCP Client Mode ................ 12 1.2.3 UDP Mode ..................13 1.2.4...
Page 4
Atop Serial Device Server SE5002D User Manual V. 1.1 3.2.5 Configure SE5002D as a TCP server ........26 3.2.6 Configure SE5002D as a TCP Client ........28 3.2.7 Configure SE5002D as a UDP ..........29 3.2.8 Enable/Disable Virtual COM ............ 30 3.2.9...
Page 5
Atop Serial Device Server SE5002D User Manual V. 1.1 3.5.5 Multiple TCP Connections ............53 3.5.6 Multi-Point TCP Pair Connections ........54 TCP Client Application ................ 55 3.6.1 Enable Virtual COM ..............55 3.6.2 Enable RFC 2217 ................ 56 3.6.3 SE5002D as a Pair Connection Slave ........
Page 6
Atop Serial Device Server SE5002D User Manual V. 1.1 Using Serial/IP with a Proxy Server ..........79 Diagnostics ....................... 80 Using Standard ping Command ..............80 Using Device Management Utility Configuration Utility ....... 81 Specifications ....................82 Appendix ........................84 Upgrade System Firmware ................
Atop Serial Device Server SE5002D User Manual V. 1.1 Preface Purpose of the Manual This manual supports you during the installation and configuring of the SE5002D Serial Device Server only, as well as it explains some technical options available with the mentioned product.
Atop Serial Device Server SE5002D User Manual V. 1.1 FCC WARNING Class A for Serial Device Server (Model SE5002D) 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.
Atop Serial Device Server SE5002D User Manual V. 1.1 1. Introduction 1.1 Product Overview The SE5002D Ethernet Serial device server acts as a gateway between Ethernet (TCP/UDP) and RS-232/RS-422/RS-485 communications. The information transmitted by SE5002D is transparent to both host computers (Ethernet) and serial devices (RS-232/RS-422/RS-485).
Page 10
Atop Serial Device Server SE5002D User Manual V. 1.1 Packaging The package should contain the following items, Table 1. 2 Table 1. 3 Table 1. 2 Item Quantity SE5002D Ethernet Serial device server 3-Pin 5.08 mm Lockable terminal block 5-Pin 3.81 mm Lockable terminal block (SE5002D-TB only)
Atop Serial Device Server SE5002D User Manual V. 1.1 1.2 Application Connectivity 1.2.1 TCP Server Mode SE5002D can be configured as a TCP server in a TCP/IP Network to listen for an incoming TCP client connection to a serial device. After the connection is established between the serial device server and the host computer, data can be transmitted in both directions.
Atop Serial Device Server SE5002D User Manual V. 1.1 1.2.2 TCP Client Mode SE5002D can be configured as a TCP client in TCP/IP Network to establish a connection with a TCP server in the host computer. After the connection is established, data can be transmitted between a serial device and a host computer in both directions.
Atop Serial Device Server SE5002D User Manual V. 1.1 1.2.3 UDP Mode UDP is a faster but connectionless network protocol. It does not guarantee the delivery of network datagrams. SE5002D can be configured to transfer data using unicast or multicast UDP from the serial device to one or multiple host computers.
Atop Serial Device Server SE5002D User Manual V. 1.1 1.2.4 Tunneling Mode In the case that the serial device needs to communicate with each other without a host computer, two SE5002D can be paired together (pair connection) to communicate over TCP or UDP transparently.
Atop Serial Device Server SE5002D User Manual V. 1.1 2.3 Buzzer Beep twice “^” “=” Beep off Table 2. 2 Message Description ^===^===^===^===^===^===^…(1 sec) Watchdog problem, return service is required Memory problem, return service is required ^^^^^^^^^^^^^^^^^^^^^^… ^==^========^^ (5 sec)
Atop Serial Device Server SE5002D User Manual V. 1.1 3. Software Setup SE5002D Serial device server is shipped with default settings shown in the following table. Table 3. 1 Property Default Value IP Address 10.0.50.100 Gateway 10.0.0.254 Subnet Mask 255.255.0.0...
Atop Serial Device Server SE5002D User Manual V. 1.1 3.1 Configuration by Device Management Utility SE5002D could be configured by Device Management Utility, for more information, refer to Management Utility’s User manual. 3.2 Configuration by Telnet Utility You can use a Telnet utility to change configuration settings of SE5002D by following the steps: 3.2.1 Login to the System...
Page 22
Atop Serial Device Server SE5002D User Manual V. 1.1 After verifying the password, the following terminal screen appears, Fig. 3. 2 Fig. 3. 2 Note: If SE5002D does not receive any commands within 1 minute, Telnet connection will terminate automatically.
Page 23
Atop Serial Device Server SE5002D User Manual V. 1.1 Select “1” from “Input choice and enter (0~5):” to enter “Overview”, Fig. 3. 3 Fig. 3. 3 This page gives one the general information of SE5002D including IP and MAC address, SNMP...
Atop Serial Device Server SE5002D User Manual V. 1.1 3.2.2 Networking Select “2” from “Input choice and enter (0~5):” to enter Networking page as following, Fig. 3. 4 Fig. 3. 4 Change network settings of the device including IP address, subnet mask, gateway IP address and SNMP.
Atop Serial Device Server SE5002D User Manual V. 1.1 3.2.3 Change the Password Select “3” from “Input choice and enter (0~5):” the following screen appears, Fig. 3. 5 Fig. 3. 5 3.2.4 COM1 Setup Select “4” from “Input choice and enter (0~5):” the following screen appears, Fig.
Atop Serial Device Server SE5002D User Manual V. 1.1 3.2.5 Configure SE5002D as a TCP server Fig. 3. 7 Type 1 (Link Mode) from “Input choice and enter (0~5):” for COM1 Type 1 (TCP Server) in the “Input choice (0-5) and enter:”...
Page 27
Atop Serial Device Server SE5002D User Manual V. 1.1 To Enable IP filter: Input y in the “Do one want to enable IP filter (y/n)?” to enable IP filter. Otherwise input Input source IP in the “Please input Filter_IP:”...
Atop Serial Device Server SE5002D User Manual V. 1.1 3.2.6 Configure SE5002D as a TCP Client Fig. 3. 8 Type 2 in the “Input choice (1~5) and enter:” Input destination IP in the “Please input Destination IP:” ...
Atop Serial Device Server SE5002D User Manual V. 1.1 3.2.7 Configure SE5002D as a UDP UDP is a connectionless protocol. It is faster than TCP, but does not guarantee packet delivery to the remote host. The following figure ( Fig. 3. 9 ), shows how to setup UDP.
Atop Serial Device Server SE5002D User Manual V. 1.1 3.2.8 Enable/Disable Virtual COM Enable or disable Virtual COM on this page. For more information on how to setup Virtual COM on different operating systems, please refer to Chap. 4, Using Virtual COM.
Atop Serial Device Server SE5002D User Manual V. 1.1 3.2.9 Enable/Disable Pair Connection Enable or disable “Pair Connection” on this page. For more information on how to configure two serial device servers to work in pair connection, please refer to the pair connection section Fig.
Atop Serial Device Server SE5002D User Manual V. 1.1 3.2.10 COM Port Setting Type 2 from “Input choice and enter (0~5):” of COM1, the following screen appears. It is possible to give the COM port alias name, set the baud rate and parity, determine number of data bit and stop bit, and the type of flow control to use here, Fig.
Atop Serial Device Server SE5002D User Manual V. 1.1 3.2.11 Emptying Serial Buffer Fig. 3. 13 If you want to empty the Serial buffer while there is a TCP connection; type 3 from “Input choice and enter (0~5):” for COM1, by default COM port serial buffer is enabled meaning that once a TCP connection is established, old serial data received from serial device before the connection will be emptied.
Atop Serial Device Server SE5002D User Manual V. 1.1 3.2.12 Setting Packet Delimiter Packet delimiter is a way for packaging serial data. It can prevent serial data from being truncated by packaging them in the same Ethernet packet. SE5002D provides two kinds of packet delimiter: Timer and Character.
Page 35
Atop Serial Device Server SE5002D User Manual V. 1.1 Another kind is character delimiter. If the character delimiter is set to 0x0d, this means SE5002D will send out all the serial data in buffer in one packet over Ethernet only if it reads 0x0d. The following figure ( Fig.
Atop Serial Device Server SE5002D User Manual V. 1.1 3.2.13 Accept Control Command from COM port SE5002D can also accept serial control commands (RFC2217) directly from the COM port. You can enable this option by typing 5 from “Input choice and enter (0~5): for COM1. For more details and information about this function, please contact our Technical Support.
Atop Serial Device Server SE5002D User Manual V. 1.1 3.3 Configuration Using Web Browser Make sure the PC is located in the same network sub-net as SE5002D. Open a web browser, then Enter SE5002D’s IP address. Default username and password ...
Page 38
Atop Serial Device Server SE5002D User Manual V. 1.1 The following overview page should show. Click on the links on the left to go to the different configuration pages which are “Networking”, “Security”, and “COM”. Fig. 3. 18...
Atop Serial Device Server SE5002D User Manual V. 1.1 3.3.2 Networking Setup Configure IP, SNMP, and alert settings on this page. Please fill in the IP information in the fields under the TCP/IP header. Alternatively, enable DHCP to obtain IP address, gateway and subnet mask from DHCP server automatically, Fig.
Page 40
Atop Serial Device Server SE5002D User Manual V. 1.1 Fig. 3. 20 After all the settings are entered, please click on the “Save Configuration” button to save the changes. Note that the settings would become active only after SE5002D is restarted.
Atop Serial Device Server SE5002D User Manual V. 1.1 3.3.3 Security Setup Change the login password on this page, Fig. 3. 21 Fig. 3. 21 Please enter the old password in the “Old Password” field and enter the new password in the “New Password”...
Atop Serial Device Server SE5002D User Manual V. 1.1 3.3.4 Backup EEPROM to Flash This backup function could recover settings from the Flash to the EEPROM if the settings in the EEPROM are lost. If SE5002D detects that there is an EEPROM backup in the flash. It will compare the backup values in the Flash and EEPROM.
Atop Serial Device Server SE5002D User Manual V. 1.1 3.4.1 TCP Server SE5002D is configured by default as TCP Server mode, there are additional connection settings that can be configured. By selecting the TCP Server mode, a TCP Client program should be prepared to connect to SE5002D.
Page 44
Atop Serial Device Server SE5002D User Manual V. 1.1 Scroll to the bottom of the page and click on “Save Configuration” button to save the changes. Go to the Application Configuration section to apply Virtual COM, Pair Connection, or ...
Atop Serial Device Server SE5002D User Manual V. 1.1 3.4.2 TCP Client By selecting the TCP Client mode, it means that a TCP Server program should be prepared to connect to SE5002D. The following figure shows all the settings provided for the TCP Client.
Page 46
Atop Serial Device Server SE5002D User Manual V. 1.1 Go to the Application Configuration section to apply Virtual COM, Pair Connection, or Reverse Telnet application if necessary. Otherwise go to the COM Configuration for serial settings directly. Fig. 3. 24...
Atop Serial Device Server SE5002D User Manual V. 1.1 3.4.3 UDP SE5002D also supports connectionless UDP protocol in contrast to the connection-oriented TCP protocol. Please be aware that even though UDP provides better efficiency in terms of response time and resource usage, it does not guarantee data delivery. It is recommended to utilize UDP only with cyclic polling protocols where each request is repeated and independent, such as Modbus Protocol.
Page 48
Atop Serial Device Server SE5002D User Manual V. 1.1 Scroll to the bottom of the page and click on “Save Configuration” button to save the changes. Go to Section 3.6.3 to apply Pair Connection application if necessary. Otherwise go to the ...
Atop Serial Device Server SE5002D User Manual V. 1.1 3.5 TCP Server Application 3.5.1 Enable Virtual COM SE5002D will encapsulate control packets on top of the real data when Virtual COM is enabled. This will allow the Virtual COM port in the Windows/Linux system to access SE5002D’s COM ports.
Atop Serial Device Server SE5002D User Manual V. 1.1 Configure Virtual COM in your current OS. For Windows, refer to Using Virtual COM. Remember this SE5002D’s IP address and the Local Listening Port here in order to enter this information in Serial/IP Virtual COM’s Control Panel later.
Atop Serial Device Server SE5002D User Manual V. 1.1 Check Enable Pair Connection to enable Pair Connection application in SE5002D. Scroll to the bottom of the page and click on “Save Configuration” button to save the changes. ...
Page 52
Atop Serial Device Server SE5002D User Manual V. 1.1...
User Manual V. 1.1 3.5.5 Multiple TCP Connections To have more than one TCP Client connecting to SE5002D in TCP Server mode, contact Atop Technical Support to obtain a special multi-connection version firmware. After the firmware is uploaded to the SE5002D, the WebUI will have one additional option called “Multiple_Connections”...
Atop Serial Device Server SE5002D User Manual V. 1.1 3.5.6 Multi-Point TCP Pair Connections The difference between Multi-Point TCP Pair Connection and Multi-Point UDP Pair Connection is that the TCP implementation would also exchange flow controls pins of RS-232. However, the TCP Server is limited to a maximum of four connections.
Atop Serial Device Server SE5002D User Manual V. 1.1 3.6 TCP Client Application 3.6.1 Enable Virtual COM It is also possible to run Virtual COM in TCP Client mode, Fig. 3. 32 . It is usually easier to use Virtual COM in the Client mode if SE5002D uses dynamic IP (DHCP) because setting a static IP address in Virtual COM’s Control Panel is not possible.
Atop Serial Device Server SE5002D User Manual V. 1.1 3.6.2 Enable RFC 2217 The underlying protocol of Virtual COM is based on RFC 2217, the Telnet COM Control Option. Therefore, it is possible to use RFC 2217 with SE5002D in the TCP Client mode. To do so, refer Sec.
Page 57
Atop Serial Device Server SE5002D User Manual V. 1.1 Follow Sec 3.2.6 to configure SE5002D in TCP Client mode properly. Check Enable Pair Connection to enable Pair Connection application in SE5502D. Scroll to the bottom of the page and click on “Save Configuration” button to save the ...
Atop Serial Device Server SE5002D User Manual V. 1.1 3.7 UDP Application: Multi-Point Pair Connection It is also possible to setup a pair connection in UDP mode to have more than one Pair Connection Master or Slave to communicate with each other. For example, it is possible to setup one Modbus Master and six Modbus Slaves in UDP, Fig.
Page 59
Atop Serial Device Server SE5002D User Manual V. 1.1 Sample Configurations Table 3. 3 Link Local Listening Destination IP Address Destination IP Mode Port Port SE5002D Master COM1 10.0.50.100 5000 10.0.50.200~10.0.50.207 5000 SE5002D Master COM2 10.0.50.100 5001 10.0.50.200~10.0.50.207 5001 SE5002D Slave 1 COM1 10.0.50.200...
Atop Serial Device Server SE5002D User Manual V. 1.1 3.7.1 COM Configuration Configure serial settings in this page, Fig. 3. 35 . Note that these settings need to match the ones in the serial device. Fig. 3. 35 Alias Name, this field is for identification purposes only.
Page 61
Atop Serial Device Server SE5002D User Manual V. 1.1 Flow Control, Choose between No Flow Control, RTS/CTS (Hardware Flow Control), DTR/DSR, Xon/Xoff (Software Flow Control). If Xon/Xoff is selected, Xon and Xoff characters are changeable. Defaults are 0x11 for Xon and 0x13 for Xoff. If the serial device uses Xon/Xoff in conjunction with DTR/DSR, enable Controlling DTR to simulate receiving Xon/Xoff and reading DSR to get Xon/Xoff currently.
Atop Serial Device Server SE5002D User Manual V. 1.1 4. Using Virtual COM Virtual COM allows remote access of serial devices over TCP/IP networks through Serial/IP Virtual COM ports that work like local native COM ports. The following figure is a Virtual COM connection diagram, Fig.
Atop Serial Device Server SE5002D User Manual V. 1.1 4.1.2 Limitation The Virtual COM driver allows up to 256 Virtual COM ports in a single PC. Selecting in the range from COM1 to COM4096 is allowed. Note that COM ports already occupied by the system or other devices will not be available.
Atop Serial Device Server SE5002D User Manual V. 1.1 4.2 Virtual COM 4.2.1 Enable Virtual COM in Serial Device Servers Enable Virtual COM in our serial device servers by logging into our WebUI. It is located under COM configuration. Following figures show how to enable Virtual COM in SE5002D. For...
Atop Serial Device Server SE5002D User Manual V. 1.1 4.2.2 Running Serial/IP in Windows Find the Serial/IP Control Panel from: Start→All programs→Serial/IP→Control Panel In the Windows Control Panel, open the Serial/IP applet. In the Windows notification area, Fig.
Page 66
Atop Serial Device Server SE5002D User Manual V. 1.1 After at least one Virtual COM port is selected, the Control Panel will show, Fig. 4. 5 Fig. 4. 5 The left hand side of the Control Panel shows the list of selected Virtual COM ports. Click on Select Ports to add or remove Virtual COM ports from the list.
Atop Serial Device Server SE5002D User Manual V. 1.1 4.3 Configuring Virtual COM Ports To Configure Virtual COM ports ( Fig. 4. 5 If the serial device server is running in TCP Server mode (recommended), Serial/IP should be the TCP Client connecting to the serial device server. Enable Connect to Server and enter the IP Address of the serial device server with the Port Number specified.
Page 68
Atop Serial Device Server SE5002D User Manual V. 1.1 Enable Restore Failed Connections to force Virtual COM to automatically restore failed connections with the serial device server in the case of unstable network connections. To test the Virtual COM connections, click the Configuration Wizard button and then click on Start button in the pop up window, Fig.
Atop Serial Device Server SE5002D User Manual V. 1.1 4.3.1 Exceptions Fig. 4. 8 If the exclamation mark begins with Warning: timeout trying x.x.x.x ( Fig. 4. 8 ), recheck the Virtual COM IP and Port configuration or the PC’s network configuration.
Page 70
Atop Serial Device Server SE5002D User Manual V. 1.1 Fig. 4. 9 If there is a check with Raw Connection Detected and an exclamation mark with Client not licensed for this server ( Fig. 4. 9 ), enable Virtual COM in the serial device server.
Page 71
If there is a check with Telnet Protocol Detected and an exclamation mark with Client not licensed for this server ( Fig. 4. 10 ), this means that there is a licensing issue between the serial device server and Serial/IP. Please contact Atop technical support to obtain the correct Virtual COM software.
Page 72
Atop Serial Device Server SE5002D User Manual V. 1.1 Fig. 4. 11 If the exclamation mark begins with Server requires username/password login ( Fig. 4. ), it means Virtual COM Authentication in the serial device server is enabled, but...
Page 73
Atop Serial Device Server SE5002D User Manual V. 1.1 Fig. 4. 12 If the exclamation mark begins with Username and/or password incorrect ( Fig. 4. 12 this means the wrong username and/or password was entered and the authentication failed.
Page 74
Atop Serial Device Server SE5002D User Manual V. 1.1 Fig. 4. 13 If the exclamation mark begins with No login/password prompts received from server Fig. 4. 13 ), it means credentials in the Serial/IP are enabled, but Virtual COM...
Atop Serial Device Server SE5002D User Manual V. 1.1 4.4 Using Serial/IP port Monitor 4.4.1 Opening the Port Monitor The Serial/IP Port Monitor can be opened by: Start→All Programs→Serial/IP →Port Monitor Double click the Serial/IP tray icon in the Windows notification area.
The Trace panel provides a detailed, time-stamped, real-time display for all Serial/IP COM ports operations ( Fig. 4. 15 ). Click on Enable Trace to start logging Virtual COM communication. Click on File→Save As and send the log to Atop for analysis when problems arise with Virtual COM.
Atop Serial Device Server SE5002D User Manual V. 1.1 4.5 Serial/IP Advanced Settings In the Serial/IP Control Panel, Click on the Advanced button to open Advanced Settings window, Fig. 4. 16 . Click on Use Default Settings to load the default settings.
Page 78
Atop Serial Device Server SE5002D User Manual V. 1.1 that is in effect for the Virtual COM port. Include Domain in Windows Creditentials; if credential is set to Windows credentials, Virtual COM automatically adds the current Windows domain to the username.
Atop Serial Device Server SE5002D User Manual V. 1.1 4.6 Using Serial/IP with a Proxy Server The Serial/IP Redirector supports TCP network connections made through a proxy server, which may be controlling access to external networks (such as the Internet) from a private network that lacks transparent IP-based routing, such as NAT.
Atop Serial Device Server SE5002D User Manual V. 1.1 5. Diagnostics There are several ways to check the status and availability of a serial device server. Using Standard ping Command From the Windows Start menu, select Run and type in “ping<TCP Server IP address>”. If the...
Atop Serial Device Server SE5002D User Manual V. 1.1 Using Device Management Utility Configuration Utility Use the Device Management Utility configuration utility that comes with the product CD or download it from our website to check the serial device server’s status. The status and version can be read from the tool.
User Manual V. 1.1 Appendix Upgrade System Firmware Firmware is available for download from our Atop website. Subscribe to our RSS System to receive our latest firmware update automatically. Upgrade Procedures This section introduces the command line firmware upgrade utility included in the CD.
Page 85
Atop Serial Device Server SE5002D User Manual V. 1.1 Press any key to continue. An editor will open dapdl.cfg automatically. Edit the content to match the SE5002D’s IP address and the new firmware file name; “dapl.cfg” has the following structure.
Atop Serial Device Server SE5002D User Manual V. 1.1 Fig. 3 Repeat the above process again for kernels or AP firmware if necessary. Note: after the upgrading process finishes, SE5002D will rewrite the flash memory and the buzzer will beep 6 times before restarting.
Atop Serial Device Server SE5002D User Manual V. 1.1 Emergency Firmware Recovery The AP (application program) firmware for SE5002D can be disabled to restore the device to the proper firmware in case an incompatible firmware was downloaded and the system crashes while loading the AP.
Need help?
Do you have a question about the SE5002D-Fm and is the answer not in the manual?
Questions and answers