Atop ABLELink® Serial-Ethernet Server GW21W 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 Serial-Ethernet Server GW21W 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 Serial-Ethernet Server GW21W FCC WARNING Class B for Serial-Ethernet Server (Model GW21W) 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 Serial-Ethernet Server GW21W Content IMPORTANT ANNOUNCEMENT....................................................................1 1. INTRODUCTION .........................................................................................5 1.1 PACKAGING ........................................................................................................................................... 5 1. 2 APPLICATION CONNECTIVITY.........................................................
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W APPENDIX B. UPGRADE SYSTEM SOFTWARE .......................................45 B.1 UPGRADE PROCEDURES ...................................................................................................................... 45 B.2 CRITICAL ISSUES OF UPGRADING ......................................................................................................... 46 B.3 ERROR MESSAGES .................................................................
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W 1. Introduction The Atop GW21W Serial-Ethernet Server is a gateway between Ethernet (TCP/IP) and RS-232/RS-485 communications. The information transmitted by GW21W 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 Serial-Ethernet Server GW21W 1. 2 Application Connectivity Copyright © 2003 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W Copyright © 2003 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W 2. Hardware Installation Prepare necessary cables, hub, power cord and RS232/RS485 connector. Place GW21W in the access point covered area. Connect a serial device to a serial port of GW21W, make sure the right connection of either RS-232 or RS-485. Plug in DC-12V, the buzzer will beep and LED will blink if GW21W functions normally. Please refer to Appendix A.4 to see all of LED messages. Use monitor.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W 2.3 Auto IP A DHCP server automatically assigns the IP address and network settings. GW21W supports DHCP. It will supply for the unit with an IP address gateway address, and subnet mask. You may use Monitor.exe software to search network information automatically by putting a check on Auto IP on Dialog window. 2.4 TCP/IP Port Number Port number 4660 and 4661 are defaults of GW21W and are associated with serial ports COM1 and COM2 respectively.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W 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 GW21W. As you can see from the following picture, you can change IP address, gateway IP address, subnet mask, user ID and password of GW21W from the utility. For more details of the utility please refer to Appendix-D Configuration Utility. 3.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W Notes: 1. If GW21W 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 GW21W. 3. Select “1” from “Input choice and enter (0~6):” to enter overview page as following: This page gives you the general information of GW21W including IP and MAC address, SNMP information, kernel and AP version, and connection status of the device.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W This page allows you to change network settings of the device including IP address, subnet mask, gateway IP address and SNMP information of GW21W. Please notice that any setting change made on this page will not take effect until you restart the device. Change the password 1. Select “3” from “Input choice and enter (0~6):” the following screen appears. 2.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W COM1 Setup Select “4” from “Input choice and enter (0~6):” the following screen appears The page gives you the opportunity to configure parameters of COM1 setting which include COM1 working mode, port parameters, enabling or disabling serial buffer’s data and setting packet delimiter. LINK1 Setup Type 1 from “Input choice and enter (1~4):” of COM1, the following screen appears. Configure GW21W as TCP server and the local port is 4660.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W Note: IP filtering function is disabled if setting FILTER_IP to “0.0.0.0”. Copyright © 2003 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W Configure GW21W as TCP client, the destination IP is 10.0.29.254, destination port is 666 for example. Configure GW21W as UDP client, the local port is 4660, the destination IP is 10.0.29.254, destination port is 666 for example. Copyright © 2003 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W 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 © 2003 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W 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 GW21W, once TCP/IP connection is resumed, the serial data will be sent through Ethernet connection, you can disable it if you wish. Copyright © 2003 Atop Technologies, Inc. All rights reserved.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W 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. GW21W provides two ways of parameter setting as inter character timer and terminator. By default packet delimiter timer is 0 ms, you can change timer shown in the following figure: Copyright © 2003 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W You can also choose character pattern as the packet delimiter indicated in the following figure: COM2 Setup Select “5” from “Input choice and enter (0~6):”, please refer “COM1 Setup” for the setup explanation. Accessing Wireless LAN setting Select “6” from “Input choice and enter (0~6):” the following screen appears. Copyright © 2003 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W The above page gives you the general information about GW21W wireless configurations including the access point it connects to, the current channel and transmitting rate it communicates with the other wireless devices, topology it uses, and what the ESSID (extended service set identifier) and WEP (wireless encryption protocol) are if you use them. Wireless LAN Tran Transmission Rate You can set GW21W transmission rate as 1 Mbps, 2Mbps, 5.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W Wireless LAN Ad-hoc channel You have to select the same channel for two wireless devices to talk to each other as indicated in the following figure: Copyright © 2003 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W Wireless LAN ESSID ESSID (extended service set identification) is used to identify all of the computers in the wireless LAN system, it is different from BSSID (basic service set identification) which contains a single access point (AP) and several other nodes. The following diagram illustrates this concept: By default, GW21W’s ESSID is NULL meaning that it can connect to any access point it detects regardless of SSID of the access point.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W Wireless Encryption Protocol or Wired Equivalent Protocol ( WEP ) Setting For security reason, GW21W can set up to use WEP key of 40 bits or 128 bits to securely communicate in the wireless network. Telnet WEP key set up screen is as following: Copyright © 2003 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W 3.3 Configuration set by hyper terminal console utility 1. Use a PC to connect to GW21W’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 GW21W 4.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W 3.4 Configuration set by web browser It is also possible to modify various settings through the web server interface. To do so, please follow the steps below. Log in to the system 1. From web browser, type in the IP address of GW21W 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.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W 2. Please input the old password in the “Old Password” field, input the new password in the “New Password” and the “Verified Password” fields. Then click on “Save Configuration” to update the password. Note: You can press the reset key of product to reset password to the default value. Network setup Click on the “Networking” link and the following screen appears. Fill in IP information under TCP/IP field.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W LINK1 Setup 1. Click on the “COM1” link and the following screen appears, you can configure GW21W as transparent mode by default. Configure GW21W 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 GW21W. Copyright © 2003 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W Configure GW21W as TCP client, the destination IP is 10.0.29.11, destination port is 4660. Configure GW21W as UDP mode. Local port is 666, destination IP is 10.0.29.11 and destination port is 4660. Copyright © 2003 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W 2. Click on “Save Configuration” to save the changes. 3. If the update is successful, the following screen appears. Copyright © 2003 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W 4 Virtual COM Mode Virtual COM driver mode for windows converts COM data to LAN data to control the RS-232C port on a GW21W 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 GW21W that connects the serial line device to the network. The following figure is Atop Virtual COM connection diagram. 4.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W 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. Run AtopVcom.exe program included in the CD to install Atop Virtual COM for your operating system.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W 4.2.1Run 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: Copyright © 2003 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W 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. If you wish to change which ports appear in this list, use the Select Ports button. Each COM port has its own settings. When you click on a COM port, the Control Panel display changes to reflect the settings for that COM port.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W returns you to the Control Panel to continue with the following steps. 6. For Connection Protocol, the setting must match the TCP/IP protocol that the serial server supports. The Configuration Wizard is usually able to determine the correct setting. 7. For COM Port Options, the settings must match the COM port behavior expected by the PC application that will use this COM port.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W 5. SNMP Setup 5.1 SNMP Network Management Platform Atop GW21W 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 (GW21W) information can be collected from running the management tools including IP address, DNS name, system descriptions and NIC information etc. 5.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W 3. Click on “OK” and the following dialog box appears. It displays the searching progress. 4. When the search is completed, NetworkView will display the devices found in the main window, as shown in the following diagram. 5. 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 Serial-Ethernet Server GW21W Copyright © 2003 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W 6. Start Writing Your Own Applications Before you start writing your host applications or programs to interact with GW21W, please make sure you have done the following. 6.1 Preparing The System 1. Properly connect GW21W hardware including power, Ethernet and RS-232/RS-485 cables. 2.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W 1 2 3 4 Status Status 6.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 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.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W 7. Diagnostics There are several ways you can check on the status and availability of GW21W. 7.1 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. 7.2 Use monitor.exe Configuration Utility Program Use monitor.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W For example, ‘s’ means that COM1 is server mode and is not connected. 7.3 Use TCPTEST.EXE or TCPTEST2.EXE Sample Program Use sample programs TCPTEST.EXE and TCPTEST2.EXE that comes with the product CD or diskette to check on the status of GW21W. Please refer to chapter 6.2 to run the sample programs. Copyright © 2003 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W Appendix A: GW21W Serial-Ethernet 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.11b 11 Mbps Wireless LAN TCP/IP, UDP, SNMP, HTTP, Telnet, ARP, BOOTP, ICMP, DHCP Reset Built-in reset key for restoring default parameters Watch Dog Timer 1 second hardware auto reset Power failure threshold: 4.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W A.2. Software Specifications Item Specifications TCP, UDP, ARP, ICMP, SNMP, HTTP, Telnet, BOOTP, ICMP, DHCP Protocol Configuration information for both TCP/IP and serial ports is kept in the EEPROM. Configuration Configuration utilities of Windows95/98/2000/NT/XP/2003 are provided for configuring settings. Telnet, RS-232 console, web server configuration.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W A.4 Buzzer/LED Message Buzzer “ ^ “ : Beep twice “ = “ : Beep off Message ^===^===^===^===^===^===^.. Description Watchdog problem, return service is required (1sec) ^^^^^^^^^^^^^^^^^^^^^^^..
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W Appendix B. Upgrade System Software After the new version of firmware is released, customers can download it from Atop’s web site at www.atop.com.tw. You can contact Atop’s 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 Serial-Ethernet Server GW21W GW21W will automatically restart each time the firmware is successfully downloaded. 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. The serial server will restart automatically and the system remains intact. 2. If GW21W does not receive any upgrade data within 30 seconds, the serial server will restart automatically and the system remains intact.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W GW21W Response Command Error Configuration file Remote IP not found Open configuration file failure Copyright © 2003 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W Appendix C. Hardware Configuration C.1 Disable System Firmware The AP (application program) firmware of GW21W 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 GW21W. 2.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W 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 GW21W’s settings. D.1 Run the utility Start the program under Windows 95/98/NT/2000 environment and the following window appears. D.2 Detect Operational Devices You may do the following steps to detect devices currently available on the network. 1. Start monitor.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W 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.dll library to function properly. The following table lists the functional descriptions for all the fields. Field Name Broadcast IP Field Descriptions Except for the default IP 255.255.255.
User manual Version 2.3 ABLELink Serial-Ethernet Server GW21W Wishes Specifies minimum number of the devices you wish to get reply from after sending an Invite request. If there is not as many as devices responding to your invitation, the system repeatedly sends invitation until your request is fulfilled. Reply Indicates the actual number of devices this utility program detected. Retry Specify the number of times that an Invite request is re-sent. Locate Locate the specified device.