Atop ABLELink GW21W User manual

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.tw

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. No part of this
publication is to be used for any other purposes, and it is not to be reproduced, copied, disclosed,
transmitted, stored in a retrieval system, or translated into any human or computer language, in any form,
by any means, in whole or in part, without the prior express written consent of Atop Technologies, Inc.
Published by
Atop Technologies, Inc.
2F, No. 146, Sec. 1, Tung-Hsing Rd.
Jubei City, Hsinchu 302
Taiwan, R.O.C.
Tel: 886-3-5508137
Fax: 886-3-5508131
www.atop.com.tw
Copyright © 2003 Atop Technologies, Inc. All rights reserved.
All other product names referenced herein are registered trademarks of their respective companies.
Copyright © 2003 Atop Technologies, Inc.
All rights reserved. Designed in Taiwan.
1/52

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. This
equipment generates, uses and radiates radio frequency energy and, if not installed and used in
accordance with the instructions, may cause harmful interference to radio communications.
Operation of this equipment in a residential area is likely to cause harmful interference in which
case the user will be required to correct the interference at his own expenses.
A shielded-type power cord is required in order to meet FCC emission limits and also to prevent
interference to the nearby radio and television reception. It is essential that only the supplied
power cord can be used.
Use only shielded cables to connect other devices to this equipment by RS-232 / RS-485 ports.
Be cautioned that changes or modifications not expressly approved by the party responsible for
compliance could void your authority to operate the equipment.
Copyright © 2003 Atop Technologies, Inc.
All rights reserved. Designed in Taiwan.
2/52

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.................................................................................................................. 6
2. HARDWARE INSTALLATION ....................................................................8
2.1 CONFIGURATION .................................................................................................................................... 8
2.2 ASSIGNING A NEW IP ADDRESS BY ARP COMMAND .................................................................................. 8
2.3 AUTO IP ................................................................................................................................................ 9
2.4 TCP/IP PORT NUMBER .......................................................................................................................... 9
3. SOFTWARE CONFIGURATION ...............................................................10
3.1 CONFIGURATION SET BY MONITOR.EXE UTILITY ...................................................................................... 10
3.2 CONFIGURATION SET BY TELNET ........................................................................................................... 10
3.3 CONFIGURATION SET BY HYPER TERMINAL CONSOLE UTILITY .................................................................. 24
3.4 CONFIGURATION SET BY WEB BROWSER................................................................................................ 25
4 VIRTUAL COM MODE...............................................................................30
4.1 SETUP OF A VIRTUAL COM DRIVER....................................................................................................... 30
4.2 VIRTUAL COM COMMUNICATION ........................................................................................................... 31
4.2.1RUN SERIAL/IP FOR ATOP PROGRAM ON MONITORING PC .................................................................. 32
5. SNMP SETUP ...........................................................................................35
5.1 SNMP NETWORK MANAGEMENT PLATFORM ......................................................................................... 35
5.2 USING NETWORKVIEW AS AN EXAMPLE................................................................................................ 35
6. START WRITING YOUR OWN APPLICATIONS......................................38
6.1 PREPARING THE SYSTEM ..................................................................................................................... 38
6.2 RUNNING THE SAMPLE PROGRAM ........................................................................................................ 38
6.2.1TCPTEST in Visual Basic ..........................................................................................................38
6.2.2 TCPTEST2 in Visual C .............................................................................................................39
7. DIAGNOSTICS .........................................................................................40
7.1 USE STANDARD TCP/IP UTILITY PING COMMAND .................................................................................. 40
7.2 USE MONITOR.EXE CONFIGURATION UTILITY PROGRAM ......................................................................... 40
7.3 USE TCPTEST.EXE OR TCPTEST2.EXE SAMPLE PROGRAM............................................................. 41
APPENDIX A: GW21W SERIAL-ETHERNET SERVER
SPECIFICATIONS.........................................................................................42
A.1. HARDWARE SPECIFICATIONS ............................................................................................................... 42
A.2. SOFTWARE SPECIFICATIONS ............................................................................................................... 43
A.3 CONNECTOR PIN ASSIGNMENTS........................................................................................................... 43
A.3.1 COM Port..................................................................................................................................43
A.4 BUZZER/LED MESSAGE ...................................................................................................................... 44
Copyright © 2003 Atop Technologies, Inc.
All rights reserved. Designed in Taiwan.
3/52

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.............................................................................................................................. 46
APPENDIX C. HARDWARE CONFIGURATION ..........................................48
C.1 DISABLE SYSTEM FIRMWARE ............................................................................................................... 48
C.2 CHOOSE TYPE OF COM PORTS........................................................................................................... 48
APPENDIX D CONFIGURATION UTILITY...................................................49
D.1 RUN THE UTILITY ................................................................................................................................. 49
D.2 DETECT OPERATIONAL DEVICES .......................................................................................................... 49
D.3 CONFIGURE DEVICES .......................................................................................................................... 49
Copyright © 2003 Atop Technologies, Inc.
All rights reserved. Designed in Taiwan.
4/52

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.
In the computer integration manufacturing or industrial automation area, the Atop GW21W Serial-Ethernet
Server is used for field devices to direct connect to Ethernet network. Terminal Server (main control
program run in GW21W) transforms whatever data received from RS-232/RS-485 to TCP/UDP port then
connect devices to the Ethernet network via a single application program or multiple application programs.
Many control devices provide the ability to communicate with hosts through RS-232/RS-485 however
RS-232/RS-485 serial communication has its limitations. For one, it is hard to transfer data through a long
distance. With Atop GW21W, it is possible to communicate with a remote device in the Intranet
environment or even in the Internet and thus, increases the communication distance dramatically.
GW21W from Atop Technologies Inc. offers two RS-232/ RS-485 ports, one wireless Ethernet
(IEEE802.11b, 11Mbps) and Watch-Dog Timer etc.
1.1 Packaging
Atop Serial-Ethernet Server x 1
Atop Serial-Ethernet Server quick start guide x 1
Power adapter (AC 110V or 230V to DC 12V ) x 1
Product CD containing configuration utility and sample programs x 1
Copyright © 2003 Atop Technologies, Inc.
All rights reserved. Designed in Taiwan.
5/52

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.
6/52

User manual Version 2.3
ABLELink Serial-Ethernet Server
GW21W
Copyright © 2003 Atop Technologies, Inc.
All rights reserved. Designed in Taiwan.
7/52

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.exe configuration utility in the product CD or diskette to diagnose GW21W. If it starts up
successfully, you are able to find the IP and MAC addresses of GW21W. You can change the network
parameters of GW21W to join your LAN by changing its IP address, gateway IP address and subnet
mask.
Note: If there are more than one access points, the access point’s ESSID must be the same.
2.1 Configuration
Atop GW21W Serial-Ethernet Server is shipped with default settings shown in the following table:
Property Default Value
IP Address 10.0.50.100
Gateway 10.0.0.254
Subnet Mask 255.255.0.0
User Name Admin
Password Null
COM 1 9600, None, 8, 1, No flow control, buffer disabled, packet delimiter timer 2ms
COM 2 9600, None, 8, 1, No flow control, buffer disabled, packet delimiter timer 2ms
Link 1 Type: TCP Server, Listen port 4660 Filter=0.0.0.0
Link 2 Type: TCP Server, Listen port 4661 Filter=0.0.0.0
SysName of SNMP Name
Syslocation of SNMP Location
SysContact of SNMP Contact
NOTE: Atop provides a reset button to restore system settings including IP address, gateway IP address
and subnet mask etc. to the defaults. Press and hold the reset button for 5 seconds till the server reboots.
2.2 Assigning a new IP Address by ARP command
The following example uses ARP to assign a static IP address of GW21W using its MAC address.
GW21W MAC address is printed on the label of the rear panel.
Copyright © 2003 Atop Technologies, Inc.
All rights reserved. Designed in Taiwan.
8/52

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. After your application program connects to the TCP port 4660 (or 4661) of GW21W,
data being sent to this TCP connection from your application program are transparent to the COM1 (or
COM2) of GW21W. Vice versa is also true.
Copyright © 2003 Atop Technologies, Inc.
All rights reserved. Designed in Taiwan.
9/52

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.2 Configuration set by Telnet
You can use Telnet utility to change configuration settings of GW21W. To do so, please do the following.
Log in to the system
1. Telnet to GW21W using command “Telnet IP_address”.
For example Telnet 10.0.50.100
2. After Telnet to GW21W, system prompts for a password, the default password is null.
Note: You can press the reset button of GW21W to reset the password to the default value.
3. After verifying the password, the following terminal screen appears.
Copyright © 2003 Atop Technologies, Inc.
All rights reserved. Designed in Taiwan.
10/52

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.
Networking
Select “2” from “Input choice and enter (0~6):” to enter Networking page as following:
Copyright © 2003 Atop Technologies, Inc.
All rights reserved. Designed in Taiwan.
11/52

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. 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 reset key of product to reset password to the default value.
Copyright © 2003 Atop Technologies, Inc.
All rights reserved. Designed in Taiwan.
12/52

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. IP filter is disabled by default, if IP filter is enabled, only source IP
10.0.0.154 can connect to GW21W.
Copyright © 2003 Atop Technologies, Inc.
All rights reserved. Designed in Taiwan.
13/52

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.
14/52

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.
15/52

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.
16/52

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. Designed in Taiwan.
17/52

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.
18/52

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.
19/52
Table of contents
Other Atop Server manuals

Atop
Atop ABLELink SW5001 User manual

Atop
Atop SE5404D Series User manual

Atop
Atop ABLELink GW51C-MAXI User manual

Atop
Atop SW550 Series User manual

Atop
Atop MB5202 Series Manual

Atop
Atop ABLELink GW21C-MAXI User manual

Atop
Atop ABLELink GW51W-MAXI User manual

Atop
Atop MB5202 Series Manual

Atop
Atop ABLELink SE5001 User manual

Atop
Atop ABLELink GW21C-MAXI User manual

Atop
Atop ABLELink SW5002 User manual

Atop
Atop PG5916 Manual

Atop
Atop PG5916 Manual

Atop
Atop Smart Security IS150 User manual

Atop
Atop ABLELink GW51C-MAXI User manual

Atop
Atop ABLELink GW51C-MAXI-WDT User manual

Atop
Atop SW550 Series Manual

Atop
Atop ABLELink SE5404 Series User manual

Atop
Atop SE59 Series User manual

Atop
Atop SE5002D-Fm User manual