Atop ABLELink® Ethernet-Serial Server GW21W-MAXI User Manual Version 1.2 Updated on 2004/01/31 Tel: 886-3-5508137 Fax: 886-3-5508131 www.atop.com.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI 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 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI FCC WARNING Class B for Ethernet-Serial Server (Model GW21W-MAXI) Federal Communication Commission Interference Statement 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 in a residential installation.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI Copyright © 2003 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI 1. INTRODUCTION .........................................................................................6 1.1 PACKAGING ........................................................................................................................... 6 1. 2 APPLICATION CONNECTIVITY................................................................................................. 7 2. NOMENCLATURE AND SETTINGS .....................................
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI A.3 CONNECTOR PIN ASSIGNMENTS .......................................................................................... 45 A.3.1 COM Port................................................................................................................. 45 A.3.2 Power terminal block connector............................................................................... 47 A.4 BUZZER/LED MESSAGE ..............................................
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI 1. Introduction Atop GW21W-MAXI Wireless Ethernet-Serial Server is a gateway between Ethernet (TCP/IP) and RS-232/RS-485 communications. It allows almost any serial device to be connected to a new or existing Ethernet network. The information transmitted by GW21W-MAXI is transparent to both host computers (Ethernet) and devices (RS-232/RS-485).
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI 1. 2 Application Connectivity TCP Server mode Host Access Point GW21W-MAXI RS-232/RS-485 PLC TCP Client mode Host Access Point GW21W-MAXI GW21W-MAXI GW21W-MAXI RS-232 /RS-485 RS-232 /RS-485 RS-232 /RS-485 Card Reader Card Reader Card Reader Copyright © 2003 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI UDP mode Access Point GW21W-MAXI RS-232/RS-485 Display Tunneling mode GW21W-MAXI GW21W-MAXI RS-232/RS-485 RS-232/RS-485 PLC Touch Screen Copyright © 2003 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI 2. Nomenclature and Settings 2.1 Nomenclature of GW21W-MAXI Components Figure 2.1 shows the names of GW21W-MAXI components. In the figure, the indicated switch settings represent factory settings. Led Indicator Antenna Mode Switch RS232C Mini-Din Connector RS232C Mini-Din Pin Assignment Mode Switch Table RS232C Terminal Block Connector Power Supply Input Connector Figure 2.1. Nomenclature of GW21W-MAXI Components 2.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI 3. Hardware Installation ■ Prepare necessary cables, hub, power cord and RS-232/RS-485 connector. ■ Place GW21W-MAXI to the area that an access point can cover. ■ Connect a serial device to a serial port of GW21W-MAXI, make sure the right connection of either RS-232 or RS-485. ■ Plug in DC-9-30V, the buzzer will beep and the RUN LED will blink if GW21W-MAXI functions normally. Please refer to Appendix A.4 to see all of LED messages.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI Note: 1. Arp command can only be used to set a static IP address of GW21W-MAXI using system default user name admin and default password null. 2. Only TCP/IP packet with destination port number 1 will lead GW21W-MAXI to reboot and change the IP address. 3.3 TCP/IP Port Number Port number 4660 is default of GW21W-MAXI and is associated with serial port COM1.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI 4. Software Configuration 4.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-MAXI. As you can see from the following picture, you can change IP address, gateway IP address, subnet mask, user ID and password of GW21W-MAXI from the utility. For more details of the utility please refer to Appendix-D Configuration Utility. 4.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI Notes: 1. If GW21W-MAXI 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-MAXI. 3.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI Networking Select “2” from “Input choice and enter (0~5):” to enter Networking page as following: This page allows you to change network settings of the device including IP address, subnet mask, gateway IP address and SNMP information of GW21W-MAXI. Please notice that any setting change made on this page won’t take effect until you restart the device. Change the password 1.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI COM1 Setup Select “4” from “Input choice and enter (0~5):” 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.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI Configure GW21W-MAXI as UDP client, the local port is 4660, the destination IP is 10.0.29.254, destination port is 666. COM port setting Type 2 from “Input choice and enter (1~4):” of COM1, the following screen appears, you can then give the Copyright © 2003 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI 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.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI 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-MAXI 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 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI You can also choose character pattern as the packet delimiter indicated in the following figure: Accessing Wireless LAN setting Select “5” from “Input choice and enter (0~5):” the following screen appears.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI Wireless LAN topology You can choose either infrastructure or ad-hoc mode for GW21W-MAXI as indicated in the following figure: Wireless LAN Transmission Rate You can set GW21W-MAXI transmission rate as 1 Mbps, 2Mbps, 5.5Mbps, 11Mbps, or full auto based on 802.11 standard shown in the following figure: Copyright © 2003 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI 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 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI 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.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI Wireless Encryption Protocol or Wired Equivalent Protocol ( WEP ) Setting For security reason, GW21W-MAXI 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 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI 4.3 Configuration set by hyper terminal console utility 1. Power off GW21W-MAXI. 2. Set the MODE switch SW1 to ‘OFF’ and SW2 to ‘ON’. 3. Use a PC to connect to GW21W-MAXI’s console with RS-232 cross over cable. 4. Power on GW21W-MAXI. 5. Open a hyper terminal program from your computer Start menu -> Programs -> Accessories -> Communication -> hyper terminal, set COM1 parameters as follows.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI 4.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-MAXI 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 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI Change the password 1. Click on the “Security” link and the following screen appears. 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. Copyright © 2003 Atop Technologies, Inc. All rights reserved.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI Network setup Click on the “Networking” link and the following screen appears. Fill in IP information under TCP/IP field. Enable SNMP by checking “Enable”, fill in network identification information under SNMP field and click on the “Save Configuration” button to save the changes, please notice that the setting will not become effective until you restart GW21W-MAXI. Copyright © 2003 Atop Technologies, Inc. All rights reserved.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI 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 © 2003 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI LINK1 Setup 1. Click on the “COM1” link and the following screen appears, you can configure GW21W-MAXI as transparent mode by default. Configure GW21W-MAXI 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-MAXI. Configure GW21W-MAXI as TCP client, the destination IP is 10.0.29.11, destination port is 4660. Configure GW21W-MAXI as UDP mode.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI 2. Click on “Save Configuration” to save the changes. 3. If the update is successful, the following screen appears. Wireless LAN Setup You can configure wireless LAN parameters through web pages, the following page gives you the information of the access point GW21W-MAXI is connected to, it also allows you to configure GW21W-MAXI’s wireless topology, ESSID and WEP security. Copyright © 2003 Atop Technologies, Inc. All rights reserved.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI 4.5 Virtual COM Mode Virtual COM driver mode for windows converts COM data to LAN data to control the RS-232C port on a GW21W-MAXI 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-MAXI that connects the serial line device to the network. The following figure is Atop virtual COM connection diagram. 4.5.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI Windows Start menu select Programs, Atop, Virtual COM, uninstall to remove the program. 4.5.2 Virtual COM communication 4.5.2.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI 4.5.2.2 Run virtual COM program on monitoring PC From monitoring PC open virtual COM program, the main window is shown as following: Invite Devices Click on the ‘Invite Devices’ button, the program searches for available ABLELink Ethernet-Serial devices and pops up their network and device information.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI GW21W-MAXI is one port device, by default GW21W-MAXI TCP port number is 4660 which is indicated in “Device TCP Port” field. If you select a device from invited device in the lower half panel of the main window, the IP Address and port information will inherit from the selected device. After adding a virtual COM port its information will show on the left upper panel of the main window.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI Delete a virtual COM port: If you want to remove a virtual COM port, select the virtual COM port from the main window then click on the ‘Delete Vcom’ button. The confirmation dialog box will show up, confirm by selecting the ‘Yes’ button to delete the virtual COM port.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI 4.5.2.3 What happen when enabling virtual COM as TCP client on GW21W-MAXI Similarly you can enable virtual COM as TCP client on GW21W-MAXI as explained in 4.5.2.1. However, since Atop virtual COM only supports TCP client running on the monitoring PC which means virtual COM port can’t be established between GW21W-MAXI and the monitoring PC.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI 5. SNMP Setup 5.1 SNMP Network Management Platform Atop GW21W-MAXI 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-MAXI) information can be collected from running the management tools including IP address, DNS name, system descriptions and NIC information etc. 5.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI 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 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI Copyright © 2003 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI 6. Start Writing Your Own Applications Before you start writing your host applications or programs to interact with GW21W-MAXI, please make sure you have done the following. 6.1 Preparing The System 1. Properly connect GW21W-MAXI hardware including power, Ethernet and RS-232/RS-485 cables. 2.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI 1 2 3 4 Status Status 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 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI 7. Diagnostics There are several ways you can check on the status and availability of GW21W-MAXI. 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 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI 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-MAXI. 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 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI Appendix A: GW21W-MAXI Ethernet-Serial Server Specifications A.1. Hardware Specifications Specifications CPU 16-bit Embedded CPU 100MHz Flash Memory 512K Bytes SDRAM 512K Bytes EEPROM 512 Bytes Host Communication IEEE802.11b 11 Mbps Wireless LAN TCP/IP, UDP, SNMP, HTTP, Telnet, ARP, BOOTP Reset Built-in reset key to restore factory default settings Watch Dog Timer 1.34 second hardware auto reset Power failure threshold: 4.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI A.2. Software Specifications Item Protocol Specifications TCP, UDP, ARP, ICMP, SNMP, HTTP, Telnet, BOOTP Configuration Configuration information for both TCP/IP and serial ports is kept in the EEPROM. Configuration utilities of Windows 95/98/NT are provided for configuring settings.
User manual Version 1.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI 2. Terminal Block Connector RS-485 only uses RTS/R- and TxD/R+ for data communication while RS-232 or RS-422 uses RTS/R-, TxD/R+, CTS/T- and RxD/T+ for communicating data. A.3.2 Power terminal block connector Copyright © 2003 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI A.4 Buzzer/LED Message Buzzer “ ^ “ : Beep twice “ = “ : Beep off Description Message ^===^===^===^===^===^===^.. Watchdog problem, return service is required (1sec) ^^^^^^^^^^^^^^^^^^^^^^^.. Memory problem, return service is required ^==^========^^ Startup OK but AP firmware is disabled (5sec) ^==^========^^^ Startup OK and AP firmware is enabled (5sec) Table 1.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI 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 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI 5. GW21W-MAXI will automatically restart each time the firmware is successfully downloaded. Copyright © 2003 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI 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. GW21W-MAXI will restart automatically and the system remains intact. 2. If GW21W-MAXI does not receive any upgrading data within 30 seconds, GW21W-MAXI will restart automatically and the system remains intact. 3.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI Appendix C. Hardware Configuration C.1 Disable System Firmware The AP (application program) firmware of GW21W-MAXI 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 the power off, open the case of GW21W-MAXI. 2.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI 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-MAXI’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 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI 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.3 and above requires gw21le.dll library to function properly. Copyright © 2003 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 1.2 ABLELink® Ethernet-Serial Server GW21W-MAXI 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.