Atop ABLELink® Ethernet-Serial Server GW21R User Manual Version 2.3 Updated on 2004/08/18 Tel: 886-3-5508137 Fax: 886-3-5508131 www.atop.com.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R IMPORTANT ANNOUNCEMENT The information contained in this document is the property of Atop Technologies, Inc. and is supplied for the sole purpose of the operation and maintenance of products of Atop Technologies, Inc.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R FCC WARNING Class B for Ethernet-Serial Server (Model GW21R) This equipment has been tested and found to comply with the limits for a Class B 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.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R Contents 1. INTRODUCTION................................................................................................................... 5 1.1 PACKAGING ........................................................................................................................... 5 2 APPLICATION CONNECTIVITY......................................................................................... 7 2.1 CONFIGURATION..............................
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R A.3 CONNECTOR PIN ASSIGNMENTS .......................................................................................... 43 A.3.1 COM Port..................................................................................................................................43 A.3.2 Ethernet Port (RJ-45) ...............................................................................................................44 A.4 BUZZER/LED MESSAGE ...........
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R 1. Introduction The Atop GW21R Ethernet-Serial Server is a gateway between Ethernet (TCP/IP) and RS-232/RS-485 communications. The information transmitted by GW21R is transparent to both host computers (Ethernet) and devices (RS-232/RS-485). Data coming from the Ethernet (TCP/IP) is sent to the designated RS-232/RS-485 port and data being received from RS-232/RS-485 port is sent to the Ethernet (TCP/IP) transparently.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R Copyright © 2004 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R 2 Application Connectivity Copyright © 2004 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R Copyright © 2004 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R Tunneling model 2. Hardware Prepare necessary cables, hub, power cord and RS232/RS485 connector. Connect GW21R to Ethernet network via hub/switch or direct connect to host computer through cross over cable. Connect a serial device to a serial port of GW21R, make sure the right connection of either RS-232 or RS-485. Plug in DC9-30V, the buzzer will beep and the RUN LED will blink if GW21R functions normally. Please refer to Appendix A.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R assign a static IP address of GW21R using its MAC address printed on the label of the rear panel, then use Telnet to send the TCP/IP packet with destination port number 1 to GW21R, after GW21R reboots it will change its IP address to the new one. Notes: 1. Arp command can only be used to set a static IP address of GW21R using system default user name admin and default password null. 2.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R 2.4 TCP/IP Port Number Port number 4660 is default of GW21R and is associated with serial port COM1 respectively. After your application program connects to the TCP port 4660 of GW21R, data being sent to this TCP connection from your application program are transparent to the COM1 of GW21R. Vice versa is also true. Copyright © 2004 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R 3. Software Configuration 3.1 Configuration set by monitor.exe utility Use monitor.exe that comes with the product CD or diskette to configure the network parameters of GW21R. As you can see from the following picture, you can change IP address, gateway IP address, subnet mask, user ID and password of GW21R from the utility. For more details of the utility please refer to Appendix-D Configuration Utility. 3.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R NOTE: 1. If GW21R does not receive any command within 1 minute, Telnet will be terminated automatically. 2. The changes of networking parameters will take effect only when you exit and restart GW21R. 3. Select “1” from “Input choice and enter (0~4):” to enter overview page as following: Copyright © 2004 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R This page gives you the general information of GW21R including IP and MAC address, SNMP information, kernel and AP version, and connection status of the device. Networking Select “2” from “Input choice and enter (0~4):” to enter Networking page as following: Copyright © 2004 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R This page allows you to change network settings of the device including IP address, subnet mask, gateway IP address and SNMP information of GW21R. Please notice that any setting change made on this page won’t take effect until you restart the device. Change the password 1. Select “3” from “Input choice and enter (0~4):” the following screen appears. Copyright © 2004 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R 2. If you want to change the password, please type the old password in the “Please input old password” field, type the new password in the “Please input new password” and the “Please verify new password” fields. Note: You can press the default key of product to reset password to the default value.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R LINK1 Setup Type 1 from “Input choice and enter (1~4):” of COM1, the following screen appears. Configure GW21R as TCP server and the local port is 4660. IP filter is disabled by default, if IP filter is enabled, only source IP 10.0.0.154 can connect to GW21R. Note: IP filtering function is disabled if setting FILTER_IP to “0.0.0.0”. Configure GW21R as TCP client, the destination IP is 10.0.29.123, destination port is 666.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R Configure GW21R as UDP client, the local port is 4660, the destination IP is 10.0.29.254, destination port is 666. Copyright © 2004 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R COM port setting Type 2 from “Input choice and enter (1~4):” of COM1, the following screen appears, you can then give the COM port alias name, set the baud rate and parity, determine number of data bit and stop bit, and decide if you want to use flow control and the type of flow control you want to use. Copyright © 2004 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R Enabling serial data buffer Type 3 from “Input choice and enter (1~4):” of COM1, by default COM port serial data buffer is enabled meaning that when TCP/IP Ethernet connection is broken, serial data collected from serial device will be kept in GW21R, once TCP/IP connection is resumed, the serial data will be sent through Ethernet connection, you can disable it if you wish. Copyright © 2004 Atop Technologies, Inc. All rights reserved.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R Setting packet delimiter Packet delimiter is a way of controlling packets within serial communication. It can prevent packets from being cut thus keep the packets complete. GW21R provides two ways of parameter setting as inter character timer and terminator. By default packet delimiter timer is 1 ms, you can change timer shown in the following figure: Copyright © 2004 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R You can also choose character pattern as the packet delimiter indicated in the following figure: Copyright © 2004 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R 3.3 Configuration set by Hyper Terminal console utility 1. Use a PC to connect to GW21R’s COM1 with RS-232 cross over cable. (Please make sure COM1 is RS-232 type) 2. Open a hyper terminal program from your computer Start menu -> Programs -> Accessories -> Communication -> hyper terminal, set COM1 parameters as follows. - Baud rate: 9600bps - Data bit: 8 bits - Parity: None - Stop bit: 1bit - Flow control: None 3. Power on GW21R 4.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R Log in to the system 1. From web browser, type in the IP address of GW21R in the URL. Example: http://10.0.50.100 2. The following authentication screen appears. Please type in user name and password then click on OK. The user name is admin and password is null by default. 3. The following overview page appears. Change the password 1. Click on the “Security” link and the following screen appears. Copyright © 2004 Atop Technologies, Inc.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R 2. Please input the old password in the “Old Password” field, input the new password in the “New Password” and the “Verified Password” fields, and then click on “Save Configuration” to update the password. Note: You can press the default key of product to reset password to the default value. Copyright © 2004 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R Network setup Click on the “Networking” link and the following screen appears. Fill in IP information under TCP/IP field. Alternatively, you can do the configuration by clicking on DHCP to obtain auto IP address, gateway and subnet mask information.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R COM1 Setup Click on the “COM1” link and the following screen appears. Fill in COM1 parameter information under COM1 field then click on “Save Configuration” button to save the changes. Copyright © 2004 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R LINK1 Setup 1. Click on the “COM1” link and the following screen appears, you can configure GW21R as transparent mode by default. Configure GW21R as TCP server and the local port is 4660, IP filter is disabled by default, if IP filter is enabled, only source IP 10.0.29.11 can connect to GW21R. Configure GW21R as TCP client, the destination IP is 10.0.29.11, destination port is 4660.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R Configure GW21R as UDP mode. Local port is 4660, destination IP is 10.0.29.254 and destination port is 4660. 1.Click on “Save Configuration” to save the changes. 2.If the update is successful, the following screen appears. Copyright © 2004 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R 3.5 Virtual COM Mode Virtual COM driver mode for windows converts COM data to LAN data to control the RS-232C port on a GW21R via the LAN. By creating virtual COM ports on the PC, Atop Virtual COM redirects the communications from the virtual COM ports to an IP address and port number on a GW21R that connects the serial line device to the network. The following figure is Atop Virtual COM connection diagram.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R Applying to the serial server Cautions on Use Atop Virtual COM supports firmware AP v3.4 and above of ABLELink Serial-Ethernet Servers. Limitation Atop Virtual COM driver provides user to select up to 256 COM ports as Virtual COM ports in a monitoring PC. User can select them from a list of COM ports, which is from COM1 up to COM256. Installation Make sure you have turned off all anti-virus software before beginning the installation.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R in the case of some connection problems occurred. Or you can enable Virtual COM through telnet configuration by setting COM1 as TCP server, and type in the local port number for COM1, then enable virtual COM as shown in the following figure: I Copyright © 2004 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R 3.5.2.2 Run Serial/IP for ATOP program on monitoring PC In the Window Start Menu, select the Serial/IP for ATOP program group and select Serial/IP for ATOP Configuration. The configuration window is shown as following: At right is a sample Virtual COM Control Panel window. At the left is the list of the COM ports that you have selected (in the Select Ports window) for use by the Virtual COM Redirector.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R 4. For Server Credentials, the default is No Login Required. If your serial server does require a login by the Virtual COM Redirector, the Virtual COM Redirector needs to provide a username and/or password every time an application tries to use the serial server. 5. Click the Configuration Wizard button and then click the Start button that appears in the wizard window.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R 4. SNMP Setup 4.1 SNMP Network Management Platform Atop GW21R is an SNMP device that allows many popular SNMP Network management platforms such as HP OpenView and SunNet Manager to conduct monitoring on the device. Depending on the network management tools you are using, device (GW21R) information can be collected from running the management tools including IP address, DNS name, system descriptions and NIC information etc. 4.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R Click on “OK” and the following dialog box appears. It displays the searching progress. When the search is completed, NetworkView will display the devices found in the main window, as shown in the following diagram. 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. Note: 1.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R 5. Start Writing Your Own Applications Before you start writing your host applications or programs to interact with GW21R, please make sure you have done the following. 5.1 Preparing The System 1. Properly connect GW21R hardware including power, Ethernet and RS-232/RS-485 cables. 2.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R 1 2 3 4 Status Status 5.2.2 TCPTEST2 in Visual C To start the program, please type in the following command in the command line prompt: TCPTEST2 IP_Address Port_Number Copyright © 2004 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R The command tcptest2 10.0.50.100 4660 brings you to connect to a TCP server of IP address 10.0.50.100 and port number 4660, the received data is displayed on the screen and the data typed in is sent to the TCP server of the designated port number. You can also send binary data in hex format with a leading character “\”. For example, “\00” and “\FF” represent ASCII code 0 and 255 respectively.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R 6. Use Standard TCP/IP Utility ping Command From Windows Start menu, select Run and type in “ping ”. If the connection is established, the Reply messages are displayed, otherwise it will indicate Request timed out. Copyright © 2004 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R 6.1 Use monitor.exe Configuration Utility Program Use monitor.exe configuration program that comes with the product CD or diskette to check on the status of GW21R. The status can be read from “AP version” column of the tool. Status Descriptions S The system is configured as a TCP Server and not yet connected. C The system is configured as a TCP Client and not yet connected. U The system is configured as an UDP.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R Appendix A: GW21R Ethernet-Serial Server Specifications A.1. Hardware Specifications Specifications CPU 16-bit Embedded CPU 40MHz Flash Memory 512K Bytes SRAM 256K Bytes EEPROM 512 Bytes Host Communication IEEE802.3 base band TCP or UDP network protocol Reset Built-in default key for restoring default parameters Watch Dog Timer 1 second hardware auto reset Power failure threshold: 4.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R A.2. Software Specifications Item Protocol Configuration Specifications TCP, UDP, ARP, ICMP, SNMP, HTTP, Telnet, BOOTP, DHCP Configuration information for both TCP/IP and serial ports is kept in the EEPROM. Configuration utilities of Windows 95/98/2000/NT/XP/2003 are provided for configuring settings.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R Pin# RS-232 RS-485 RS-485 Full Duplex 2 wire, Half Duplex 4 wire, Full Duplex 1 DCD N/A N/A 2 RXD N/A N/A 3 TXD DATA- RXD- 4 DTR N/A (reserved) TXD- 5 SG (Signal Ground) SG (Signal Ground) SG (Signal Ground) 6 DSR N/A N/A 7 RTS N/A N/A 8 CTS DATA+ RXD+ 9 RI N/A(reserved devices) for Atop TXD+ A.3.2 Ethernet Port (RJ-45) (1). Category 5 UTP cable, 8 core wire. (2). RJ45 Connector. (3).
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R You can choose either 568A or 568B definition. If you want to make a crossover cable, you should use 568A and 568B definition respectively in each terminal of a UTP cable. A.4 Buzzer/LED Message A.4.1 Buzzer “ ^ “: Beep twice “ = “: Beep off Message Description ^===^===^===^===^===^===^... Watchdog problem, return service is required (1sec) ^^^^^^^^^^^^^^^^^^^^^^^...
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R A.4.4 RUN LED Message Description LED on Jumper JP1 pin1 and pin2 are short to disable AP firmware in the flash memory. LED blinking (rate: 0.5Sec) AP firmware is running Table 4. RUN LED Message Copyright © 2004 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R Appendix B. Upgrade System Software After the new version of firmware is released, customers can download it from Atop web site at www.atop.com.tw. You can contact Atop sales person to request the newest product CD as well. You may decide to or not to upgrade the system’s firmware. To do so, please follow these instructions listed below. B.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R B.2 Critical Issues of Upgrading 1. You can always abort the upgrading process by pressing the key from host PC during the upgrading process. GW21R will restart automatically and the system remains intact. 2. If GW21R does not receive any upgrading data within 30 seconds, GW21R will restart automatically and the system remains intact. 3.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R Appendix C. Hardware Configuration C.1 Disable System Firmware The AP (application program) firmware of GW21R can be disabled. This function is used in the situation that you downloaded a wrong version of firmware that caused the system crashed. To disable the current version of firmware and prevent it from executing, please do the followings: 1.Turn off the power, open the case of GW21R. 2.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R GW21R main board v1.4 2. Monitor.exe utility can be used to demonstrate COM ports properties. COM2 COM1 JP9~JP14 For COM2 3 2 1 JP3~JP8 For COM1 3 2 1 JP1 2 1 Figure C.1 Component side of GW21R main board v1.4 Copyright © 2004 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R Appendix D Configuration Utility The configuration utility monitor.exe comes with the product CD or diskette is the main utility program to demonstrate and configure GW21R’s settings. D.1 Run the utility Start the program under Windows 95/98/NT/2000 environment and the following window appears. Figure D1. Main window of monitor.exe utility program D.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R 2. Select the device you want to configure from the IP Address column, click on the Config button, a configuration window will popup as shown in Figure D2: Figure D2. Configuration dialog box 3. After you click the “Configure Now” button, the target device will return an ACK message indicating the modification is successful as shown in the following: Please note monitor.exe version 2.4 and above requires gw21le.
User manual Version 2.3 ABLELink® Ethernet-Serial Server GW21R The following table lists the functional descriptions for all the fields. 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 you wish to get reply from after sending an Invite request.