Atop ABLELink® Ethernet-Serial Server GW51C-MAXI User Manual Version 1.1 Updated on 2004/08/18 Tel: 886-3-5508137 Fax: 886-3-5508131 www.atop.com.
User manual Version 1.1 ABLELink® Ethernet-Serial Server GW51C-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.1 ABLELink® Ethernet-Serial Server GW51C-MAXI FCC WARNING Class A for Ethernet-Serial Server (Model GW51C-MAXI) 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.
User manual Version 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI Contents 1. INTRODUCTION........................................................................................................5 1.1 PACKAGING ........................................................................................................................... 5 1. 2 APPLICATION CONNECTIVITY ................................................................................................. 6 2. NOMENCLATURE AND SETTINGS..............
User manual Version 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI 7.2 USE MONITOR.EXE CONFIGURATION UTILITY PROGRAM ........................................................ 40 7.3 USE TCPTEST.EXE OR TCPTEST2.EXE SAMPLE PROGRAM ............................................ 41 APPENDIX A: GW51C-MAXI ETHERNET-SERIAL SERVER SPECIFICATIONS........................................................................................................42 A.1. HARDWARE SPECIFICATIONS .....................................
User manual Version 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI 1. Introduction The Atop GW51C-MAXI Ethernet-Serial Server is a gateway between Ethernet (TCP/IP) and RS-232/RS-485 communications. The information transmitted by GW51C-MAXI 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 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI 1. 2 Application Connectivity Copyright © 2004 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI Copyright © 2004 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI 2. Nomenclature and Settings 2.1 Nomenclature of GW51C-MAXI Components Figure 2.1 shows the names of GW51C-MAXI components. In the figure, the indicated switch settings represent factory settings. LED Indicator Mode Switch Mini-Din Pin Assignment Serial Port Mini D Connector Mode Switch Table Serial Port Terminal Block Connector UTP Connector Power Supply Inpu Connector Figure 2.1. Nomenclature of GW51C-MAXI components. 2.
User manual Version 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI 3. Hardware Installation Prepare necessary cables, hub, power cord and RS232/RS485 connector. Connect GW51C-MAXI 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 GW51C-MAXI, 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 GW51C-MAXI functions normally.
User manual Version 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI rear panel, then use Telnet to send the TCP/IP packet with destination port number 1 to GW51C-MAXI, after GW51C-MAXI 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 GW51C-MAXI using system default user name admin and default password null. 2. Only TCP/IP packet with destination port number 1 will lead GW51C-MAXI to reboot and change the IP address. 3.
User manual Version 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI 3.4 TCP/IP Port Number Port number 4660 is default of GW51C-MAXI and is associated with serial port COM1 respectively. After your application program connects to the TCP port 4660 of GW51C-MAXI, data being sent to this TCP connection from your application program are transparent to the COM1 of GW51C-MAXI. Vice versa is also true. Copyright © 2004 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 1.1 ABLELink® Ethernet-Serial Server GW51C-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 GW51C-MAXI. As you can see from the following picture, you can change IP address, gateway IP address, subnet mask, user ID and password of GW51C-MAXI from the utility. For more details of the utility please refer to Appendix-D Configuration Utility. 4.
User manual Version 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI + NOTE: 1. If GW51C-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 GW51C-MAXI. 3.
User manual Version 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI This page allows you to change network settings of the device including IP address, subnet mask, gateway IP address and SNMP information of GW51C-MAXI. 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. 2.
User manual Version 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI Note: You can press the default key of product to reset password to the default value. COM1 Setup Select “4” from “Input choice and enter (0~4):” 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.
User manual Version 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI Configure GW51C-MAXI as TCP client, the destination IP is 10.0.29.123, destination port is 666. Copyright © 2004 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI Configure GW51C-MAXI 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 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI 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 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI 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 GW51C-MAXI, 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 1.1 ABLELink® Ethernet-Serial Server GW51C-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. GW51C-MAXI 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 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI 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 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI 4.3 Configuration set by Hyper Terminal console utility 1. Power off GW51C-MAXI. 2. Set the MODE switch SW1 to ‘OFF’ and SW2 to ‘ON’. 3. Use a PC to connect to GW51C-MAXI’s console with RS-232 cross over cable. 4. Power on GW51C-MAXI. 5. Open a Hyper Terminal program from your computer Start menu -> Programs -> Accessories -> Communication -> Hyper Terminal, set COM2 parameters as follows.
User manual Version 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI same. 6. Once Hyper Terminal is connected, type in username and password then the following Hyper Terminal window appears, 7. The following configuration operations are totally the same as those by Telnet. 8. After finishing console settings, power off GW51C-MAXI, put SW1 and SW2 back to the previous setting. 4.4 Configuration set by web browser It is also possible to modify various settings through the web server interface.
User manual Version 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI 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. All rights reserved. Designed in Taiwan.
User manual Version 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI 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. Network setup Click on the “Networking” link and the following screen appears. Fill in IP information under TCP/IP field.
User manual Version 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI COM1 Setup 1. 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 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI LINK1 Setup 1. Click on the “COM1” link and the following screen appears, you can configure GW51C-MAXI as transparent mode by default. Configure GW51C-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 GW51C-MAXI. Configure GW51C-MAXI as TCP client, the destination IP is 10.0.29.11, destination port is 4660.
User manual Version 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI Configure GW51C-MAXI as UDP mode. Local port is 4660, destination IP is 10.0.29.254 and destination port is 4660. 2. Click on “Save Configuration” to save the changes. 3. If the update is successful, the following screen appears. Copyright © 2004 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 1.1 ABLELink® Ethernet-Serial Server GW51C-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 GW51C-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 GW51C-MAXI that connects the serial line device to the network. The following figure is Atop Virtual COM connection diagram.
User manual Version 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI 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 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI For the users of Mitsubishi A-Series PLC, it may be recommended to enable “Mitsubishi A-Series PLC” 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: Copyright © 2004 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI 4.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: Copyright © 2004 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI 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 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI 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. This important step verifies that the Virtual COM Redirector can communicate with the serial server using the settings you have provided.
User manual Version 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI 5. SNMP Setup 5.1 SNMP Network Management Platform Atop GW51C-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 (GW51C-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.1 ABLELink® Ethernet-Serial Server GW51C-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.1 ABLELink® Ethernet-Serial Server GW51C-MAXI 6. Start Writing Your Own Applications Before you start writing your host applications or programs to interact with GW51C-MAXI, please make sure you have done the following. 6.1 Preparing The System 1. Properly connect GW51C-MAXI hardware including power, Ethernet and RS-232/RS-485 cables. 2.
User manual Version 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI 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 Copyright © 2004 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI 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 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI 7. Diagnostics There are several ways you can check on the status and availability of GW51C-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.1 ABLELink® Ethernet-Serial Server GW51C-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 GW51C-MAXI. Please refer to chapter 6.2 to run the sample programs. Copyright © 2004 Atop Technologies, Inc. All rights reserved. Designed in Taiwan.
User manual Version 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI Appendix A: GW51C-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.3 base band TCP/IP, UDP, SNMP, HTTP, Telnet, ARP, BOOTP, DHCP Reset Built-in default key to restore factory default settings Watch Dog Timer 1.34 second hardware auto reset Power failure threshold: 4.
User manual Version 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI 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 1.
User manual Version 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI Terminal Block Connector RS485 only uses RTS/R- and TxD/R+ for data communication while RS232 or RS422 uses RTS/R-, TxD/R+, CTS/T- and RxD/T+ for communicating data. A.3.2 Ethernet Port (RJ-45) 1. Category 5 UTP cable, 8 core wire. 2. RJ45 Connector. 3.
User manual Version 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI 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.3.3 Power terminal block connector 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 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI A.4.3 COM Port LED Message Description LED off No data is transmitting on COM port LED on blinking state Data is transmitting on COM port Table 3. COM Port LED Message 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.
User manual Version 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI 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 1.1 ABLELink® Ethernet-Serial Server GW51C-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. GW51C-MAXI will restart automatically and the system remains intact. 2. If GW51C-MAXI does not receive any upgrading data within 30 seconds, GW51C-MAXI will restart automatically and the system remains intact. 3.
User manual Version 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI Appendix C. Hardware Configuration C.1 Disable System Firmware The AP (application program) firmware of GW51C-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 GW51C-MAXI case. 2.
User manual Version 1.1 ABLELink® Ethernet-Serial Server GW51C-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 GW51C-MAXI’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 1.1 ABLELink® Ethernet-Serial Server GW51C-MAXI 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 1.1 ABLELink® Ethernet-Serial Server GW51C-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.