background image

 

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 

 

Summary of Contents for ABLELink GW21W

Page 1: ...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 ...

Page 2: ...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 rig...

Page 3: ...erference 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 supp...

Page 4: ...MMUNICATION 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 ...

Page 5: ...SSUES 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 ...

Page 6: ...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 r...

Page 7: ...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 ...

Page 8: ...User manual Version 2 3 ABLELink Serial Ethernet Server GW21W Copyright 2003 Atop Technologies Inc All rights reserved Designed in Taiwan 7 52 ...

Page 9: ... 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 Lis...

Page 10: ...ormation 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 Vic...

Page 11: ...lity 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 rese...

Page 12: ...ou 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 ...

Page 13: ...ntil 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 v...

Page 14: ...OM1 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 right...

Page 15: ...anual 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 ...

Page 16: ...CP 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 ...

Page 17: ...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 ...

Page 18: ...ort 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 ...

Page 19: ...rial 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 ...

Page 20: ...ter 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 ...

Page 21: ...ate 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 5Mbps 11Mbps or full auto based on 802 11 standard shown in the following figure Copyright 2003 Atop Technologies Inc All rights rese...

Page 22: ...net 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 21 52 ...

Page 23: ...lowing 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 However if there are two access points within the coverage of GW21W it will not connect to either of them in this case you have to specifically input the ESSID of one of the access points for connection From telnet you can input ...

Page 24: ... 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 23 52 ...

Page 25: ...ows Baud rate 9600bps Data bit 8 bits Parity None Stop bit 1bit Flow control None 3 Power on GW21W 4 Wait the device finishing the initialize Listen to the beeper sound 5 Send the character Z or z three times within two seconds 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 s...

Page 26: ...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 The following overview page appears Change the password 1 Click on the Security link and the following screen appears Copyright 2003 Atop Technologies Inc Al...

Page 27: ...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 COM1 Setup Click on the COM1 link and the following screen appears Fill in COM1 param...

Page 28: ...ng 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 27 52 ...

Page 29: ...gure 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 28 52 ...

Page 30: ...BLELink 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 29 52 ...

Page 31: ...on diagram 4 1 Setup of a Virtual COM driver Pre installation requirements Please check the operation system on your PC complied with the following requirements Processor Intel compatible Pentium class Operation system Windows Server 2003 Windows XP Windows 2000 Windows NT 4 0 SP5 or later Windows Me Windows 98 Windows 95 Microsoft NT 2000 Terminal Server Citrix MetaFrame Windows Installer 2 0 Net...

Page 32: ...or ATOP in the list of installed software 3 Click the Add Remove button to remove the program or From Windows Start menu select Programs Serial IP for ATOP Uninstall Serial IP for ATOP to remove the program 4 2 Virtual COM communication Enable virtual COM on GW21W From web browser access to GW21W by typing its IP address click on COM1 or COM2 link to access COM1 or COM2 page on the top half of the...

Page 33: ... 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 32 52 ...

Page 34: ...t in the list 2 For IP Address of Server enter a numeric IP address for the serial server 3 For Port Number enter the TCP port number that the serial server uses to provide its serial ports to the network 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 pa...

Page 35: ...P 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 The Configuration Wizard will recommend a combination of settings Copyright 2003 Atop Technologies Inc All rights reserved Designed in Taiwan 34 52 ...

Page 36: ...a compact network management tool from NetworkView Software Inc www networkview com It discovers all TCP IP nodes in a network using DNS SNMP and ports information and documents with printed maps and reports for future use You may visit their web sites and get a free download To use NetworkView you will need to download and install the tool on your PC Windows NT and Windows 9x only Please refer to...

Page 37: ... 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 The NetworkView tool is limited to information extracting and viewing only 2 To modify the configurations please use the web server Telnet or monitor exe configuration utilities Copyright 2003 Atop Tech...

Page 38: ...User manual Version 2 3 ABLELink Serial Ethernet Server GW21W Copyright 2003 Atop Technologies Inc All rights reserved Designed in Taiwan 37 52 ...

Page 39: ...tion utility 6 2 Running The Sample Program Sample programs written in VB and VC included in package are provided for your reference source codes are also included Test program can be found in the product CD or diskette under the directory of sample vb_ap and sample vc_ap respectively There are two test programs TCPTEST written in Visual Basic and TCPTEST2 written in Visual C 6 2 1TCPTEST in Visua...

Page 40: ...ceived 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 You can also use modem to connect to the serial server Command AT Od sends standard AT command to the modem which in return responds with OK 0D 0A m...

Page 41: ...est timed out 7 2 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 GW21W 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...

Page 42: ...onnected 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 41 52 ...

Page 43: ...al Port Communication Two serial ports RS 232 or RS 485 is selectable RS 232 EIA RS 232C standard Full Duplex 9 pin Male D type RS 485 2 4 wires Half Full duplex 9 pins Male D type Parameters 1 Baud rate 1200 bps 115200 bps 2 Parity None Even Odd Mark Space 3 Data bits 7 8 4 Stop bits 1 2 5 Packet Delimiter by inter character timeout by characters delimiter 6 Flow Control None Hardware handshake s...

Page 44: ...K bytes TCP transmitting buffer size 16K bytes RS 232 RS 485 receiving buffer size 4K bytes RS 232 RS 485 transmitting buffer size 4K bytes A 3 Connector Pin Assignments A 3 1 COM Port 9 pin D type connector 1 2 6 7 3 5 4 9 8 COM ports may be either the RS 232 full duplex or the RS 485 2 4 wires Pin RS 232 Full Duplex RS 485 2 wire Half Duplex RS 485 4 wire Full Duplex 1 DCD N A N A 2 RXD N A N A ...

Page 45: ... LED blinking Data is transmitting on Ethernet COM1 LED Message Description LED off No data is transmitting on COM1 LED on blinking state Data is transmitting on COM1 COM2 LED Message Description LED off No data is transmitting on COM2 LED on blinking state Data is transmitting on COM2 RUN LED Message Description LED on 1 Jumper JP16 is opened to disable AP firmware in the flash memory 2 Jumper JP...

Page 46: ...grade the firmware in the same TCP IP network Use command ping or monitor exe utility program to verify their availability Prepare the download tool Execute the utility program download bat and press any key to edit its configuration file dapdl cfg dapdl cfg file can be found in the product CD Edit the dapdl cfg file to fit your system need the content of the file looks like as the following Be su...

Page 47: ...ding process finishes the serial server will program the flash memory and buzzer beeps 6 times then restarts Normally it takes around 10 seconds to complete the programming process If an error occurs during the programming process GW21W will clear the corresponding memory and the system remains intact of what it was B 3 Error Messages Firmware upgrade may not be successful if errors occur during t...

Page 48: ... 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 47 52 ...

Page 49: ...ations Please refer to Figure C 1 Component Side of GW21W main board for jumper JP16 location C 2 Choose Type of COM Ports GW21W main board version 1 4 COM ports can be setup either RS 232 or RS 485 by hardware jumper 1 Press two holes at lateral side to open the case of GW21W 2 Set the Jumpers to RS 232 or RS 485 Short all of the upper two pins of JP4 9 to set COM1 as RS 485 short all lower two p...

Page 50: ...art monitor exe utility program 2 Select an item from the Broadcast IP list 3 Specify a number in the Wishes box 4 Click on the Invite button This will display all the devices information you have requested D 3 Configure Devices You may use monitor exe configuration utility to configure the settings of devices on the network To do so please follow the steps below 1 Repeat the steps in the section ...

Page 51: ...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 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 Copyright 2003 Atop Technologies Inc A...

Page 52: ...eset Reset the selected device Config Configure the selected device Exit Exit this utility IP Address Indicate the IP address of the device that replied to your request Leading tag stands for IP address collision possibly caused by duplicated IP addresses on the network Leading tag stands for Mac address collision possibly caused by duplicated Mac addresses on the network MAC Address Indicates the...

Reviews: