ADAM-4570/4570L/4570S/ ADAM-4571/4571L/4571S/ EDG-4504 1/2/4 Port Ethernet to RS-232/422/485 Data Gateway User’s Manual
Copyright Notice This document is copyrighted, 2001, by Advantech Co., Ltd. All rights are reserved. Advantech Co., Ltd., reserves the right to make improvements to the products described in this manual at any time without notice. No part of this manual may be reproduced, copied, translated or transmitted in any form or by any means without the prior written permission of Advantech Co., Ltd. Information provided in this manual is intended to be accurate and reliable. However, Advantech Co., Ltd.
Advantech Customer Services Each and every Advantech product is built to the most exacting specifications to ensure reliable performance in the unusual and demanding conditions typical of industrial environments. Whether your new Advantech equipment is destined for the laboratory or the factory floor, you can be assured that your product will provide the reliability and ease of operation for which the name Advantech has come to be known. Your satisfaction is our number one concern.
Product Warranty Advantech warrants to you, the original purchaser, that each of its products will be free from defects in materials and workmanship for two years from the date of purchase. This warranty does not apply to any products which have been repaired or altered by other than repair personnel authorized by Advantech, or which have been subject to misuse, abuse, accident or improper installation. Advantech assumes no liability as a consequence of such events under the terms of this Warranty.
product returned without dated proof of purchase is not eligible for warranty service. 5. Write the RMA number visibly on the outside of the package and ship it prepaid to your dealer.
Contents Chapter 1: Overview ........................................ 1 1.1 Introduction ..................................................................... 2 1.2 Features .......................................................................... 3 1.3 Specifications ................................................................. 4 1.4 Package Checklist .......................................................... 6 Chapter 2: Getting Started .............................. 7 2.
Chapter 3: Installation and Configuration .. 29 3.1 Driver and Utility Installation ....................................... 30 3.2 Configuring the EDG Series — The Configuration Utility ............................................. 31 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 Search for Specific EDG Series ..................................... 32 System Configuration ..................................................... 34 Network Configuration ....................................................
Figures Figure 2-1 Figure 2-2 Figure 2-3 Figure 2-4 Figure 2-5 Figure 2-6 Figure 2-7 Figure 2-8 Figure 2-9 Figure 2-10 Figure 2-11 Figure 2-12 Figure 2-13 Figure 2-14 Figure 2-15 Figure 2-16 Figure 2-17 Figure 2-18 Figure 2-19 Installation Flow Chart ............................................................... 8 Network Architecture (1) ........................................................ 10 Network Architecture (2) ........................................................
Figure 3-7 Figure 3-8 Figure 3-9 Figure 3-10 Figure 3-11 Figure 3-12 Figure 3-13 Figure 3-14 Figure 3-15 Figure 3-16 Figure 3-17 Port Configuration Window ..................................................... 38 Security configuration ............................................................. 40 Status messages .................................................................... 41 Unused ports ........................................................................... 43 Assign COM port to EDG Series .
Tables Table 2-1 Table 2-2 Table 2-3 ADAM-4570/4570L/4570S LED Definition ............................... 13 ADAM-4571/4571L/4571S LED Definition ............................... 15 EDG-4504 LED Definition .........................................................
Chapter 1 Overview
1.1 Introduction The Advantech Ethernet Data Gateway series (EDG series) is a lightening fast and cost effective data gateway between RS-232/ 422/485 and Ethernet interfaces. This unit immediately upgrades your existing device for integration into the Internet world. The ADAM-4570/ADAM-4571/EDG-4504 provides multiple RS232/422/485 serial ports easily individually configured for your needs and ADAM-4570L/4571L provides RS-232 serial ports.
In addition, The EDG series comes with a Windows-based configuration and port-mapping utility. The configuration tool can auto-detect all EDG series on the local network. It also lets you adjust all settings easily. The port mapping utility helps you to set up 255 ports for one Windows 95/98/NT/2000/ME/XP platform. This helps users manage all ports for their needs. 1.
1.3 Specifications • Protocol: TCP/IP • Network Port: IEEE 802.3, IEEE 802.
• Diagnostic LEDs: Network: TX/RX, Link, Speed (10/100 Mbps ), Power Serial: TX/RX, Status • Utility Software: Auto-detecting configuration utility Easy-to-manage port mapping utility • Driver Supported: Windows 95/98/NT/2000/ME/XP driver • Power Requirements: unregulated 10 to 30 Vdc with surge protection • Power Consumption: ADAM-4570: 4W ADAM-4571: 3.5W ADAM-4570L/4571L: 1.5W EDG-4504: 4.
1.
Chapter 2 Getting Started
In this chapter, you will be given an overview of the EDG series hardware installation procedures. As mentioned in the previous chapter, the EDG series comes ready for all network connections, including Ethernet, and RS-232/422/485 port connections. We begin this chapter with a brief showing the installation procedure. You can take flow chart for reference.
2.1 Understanding the Advantech EDG Series The EDG series is an advanced data gateway unit. It extends traditional COM ports of a PC with access over a TCP/IP network. Through networking, you can control and monitor remote serial devices either over a LAN or over the WAN. Since the EDG series is connected through a TCP/IP network, you will need to know some basic facts about networking in order to get the server hooked up correctly. 2.1.
The following illustration shows the network architecture as below: Eth ernet ADAM RS-23 2/4 22/4 85 Port 2 Port 1 +Vs GND Figure 2-2 Network Architecture(1) Figure 2-3 Network Architecture(2) 10 Advantech EDG series User’s Manual
2.1.2 Secure Communication Advanced multiple security features protect the system and make data more private and secure. The ADAM-4570S/4571S guards your network and data by multiple security protections: T-DES (Triple Data Encryption Standard, which is specified in FIPS PUB 46-2 and American National Standard X9.25) strong encryption, PKCS#5 (Password-based Cryptographic Standard #5), and IP address authorization.
2.1.2.2 Access Control and Local Password Configuration IP access control can block users from unauthorized hosts; it only allows 32 users to access at one time. In addition, the ADAM-4570S/4571S protects all configuration settings from being changed inadvertently. When this option is enabled, only the corresponding PC can configure the module. The multiple security mechanisms work to prevent unauthorized access to your RS-422/485 networks.
2.1.3 Top / Front / Rear View 2.1.3.1 ADAM-4570/4570L/4570S There are five network status LEDs located on the top panel of ADAM-4570/4570L/4570S, each with its own specific function.
Figure 2-4 ADAM-4570/4570L/4570S—Top Panel Figure 2-5 ADAM-4570/4570L/4570S—Front Panel Figure 2-6 ADAM-4570/4570L/4570S—Back Panel 14 Advantech EDG series User’s Manual
2.1.3.2 ADAM-4571/4571L/4571S There are four LEDs located on the top panel of ADAM-4571/ 4571L/4571S, each with its own specific function.
Figure 2-7 ADAM-4571/4571L/4571S—Top Panel P o rt1 Figure 2-8 ADAM-4571/4571L/4571S—Front Panel Figure 2-9 ADAM-4571/4571L/4571S—Back Panel 16 Advantech EDG series User’s Manual
2.1.3.3 EDG-4504 There are 13 LEDs located on the top panel of EDG-4504, each with its own specific function.
Figure 2-10 EDG-4504—Top Panel Figure 2-11 EDG-4504—Front Panel Figure 2-12 EDG-4504—Front Panel 18 Advantech EDG series User’s Manual
2.1.4 Stickers If you forgot the IP addresses of specific EDG Series or where the host PC is mapped to the ADAM-4570 port, we have provided five stickers for you to note the IP addresses and place in a secure location. For example, 172.20.20.5: The IP address of specific ADAM-4570 160.59.20.89: The IP address of the specific host PC mapped to this port. 2.
Panel Mounting The ADAM-4570/4570L/4570S/4571/4571L/4571S can be attached to a wall using the included metal brackets. Each bracket comes with four screws; first attach the brackets to the bottom of the ADAM-4570/4570L/4570S/4571/4571L/4571S. Next, screw each bracket to a wall.
DIN Rail Mounting You can mount the ADAM-4570/4570L/4570S/4571/4571L/ 4571S on a standard DIN Rail. First, using two screws, attach the metal plate to the DIN Rail bracket. Because the screw heads are beveled, the tops of the screws will be flush with the metal plate. Din Rail Mounting Brackets—Orientation of Metal Plates You can now screw the metal plate with the DIN rail bracket assembly to the bottom of the server is a more convenient way.
Piggyback Stack ADAM-4570/4570L/4570S/4571/4571L/4571S can be stacked as seen in the figure below.
2.2.1.
2.2.2 Network Connection There are two ways to use the 10/100Base-T Ethernet connector located on the EDG Series: 1. For Local Area Network (LAN) applications using the EDG Series, you will simply plug one end of your Ethernetcable into the 10/100Base-T connector, and the other end into the hub connected to your network. 2. When installing and configuring, you will find it convenient to hook the EDG Series directly to your computer’s Ethernet card.
1. Connect the power cable to 2-pin connector 2. Connect power cable to power adapter Figure 2-19 Power Connection for ADAM-4570/4570L/4570S/4571/4571L/ 4571S Figure 2-20 Power Connection for EDG-4504 If the EDG Series is working properly, the green power LED will light up , indicating that the EDG Series is receiving power.
2.2.4 Serial Connection 2.2.4.1 ADAM-4570/4570L/4570S/4571/4571L/4571S The model of the ADAM-4570/4570L/4570S/4571/4571L/ 4571S that you purchased has RJ-48 serial ports on the bottom of module. Depending on your serial device and serial interfaces, there are two options: 1. For an RS-232/422/485 (p.s. ADAM-4570S/4571S don't support RS-232) port you may use a RJ-48 to DB-9 cable which we supply to connect your serial device to the ADAM-4570/4570L/4570S/4571/4571L/4571S.
RJ-48 PIN Name DCD RX TX DTR GND DSR RTS CTS RI RJ-48 1 2 3 4 5 6 7 8 9 DB-9 Chapter 2 Getting Started 27
2.2.4.2 EDG-4504 The model of the EDG-4504 that you purchased has DB-9 serial ports on the bottom of module. Depending on your serial device and serial interfaces, there are two options: 1. For an RS-232/422/485 port you may use a DB-9 cable to connect your serial device to the EDG-4504. Simply plug one end of the cable into the jack, and plug the other end into the serial port jack on your serial device. 2.
Chapter 3 Installation and Configuration
3.1 Driver and Utility Installation In order to use a PC via an Ethernet network to control serial devices connected to the EDG Series, you must first have a host running Windows 95/98/NT/2000/ME/XP. This type of application also requires the host to have an Ethernet card and TCP/ IP protocol installed. Following are the installation instructions to set up the EDG Series. 1. Insert the Advantech industrial communication CD-ROM into the drive (e.g. D:\) on the host PC.
Figure 3-1 Configuration Utility 3.2 Configuring the EDG Series — The Configuration Utility The EDG Series provides easy Windows configuration through Ethernet connection. This Windows utility searches all the EDG Series and devices on the network automatically and you can configure various parameters for TCP/IP configuration easily. For secure administration, it can also restrict the access rights for configuration to only one host PC to enhance network security.
3.2.1 Search for Specific EDG Series If you want to locate specific EDG Series, the configuration utility provides a “Locate” function to assist you. You can select all the EDG Series devices (see Figure 3-2) or select a group of ADAM-4570S/4571S (see Figure 3-3) or just select one ADAM-4570 (see Figure 3-4). When you select a specific device, the LED that stands for “Status” will glow for 8 minutes. When you select another device, the original “Status” LED will turn off. Please follow these steps: 1.
3. The “Status” LED of all ADAM-4570S/4571S on the LAN will turn on 4. It’s the same way to locate one device.
3.2.2 System Configuration Figure 3-5 System Setting Window Configuration utility can only search the EDG Series devices on the local network segment and cannot search beyond a router or gateway. Make sure that all the EDG Series devices that you want to monitor must reside on the same local network segment with the host PC. Ethernet Data Gateway In this column, you will see all the found EDG Series devices are listed when you use the configuration utility to auto-search EDG Series devices.
Device Name Configuration utility provides a default name for device to distinguish a specific EDG Series from other EDG Series. You can update the default device name based on your application. Names longer than 128 characters cannot be used. It is best to choose a name you can remember. Device Description This field is to record the function, application and other information for each EDG Series device in more detail for easy management and maintenance. You are allowed to describe in your own words.
If you don't intend to have any encryption to protect your data transmission, just choose "NONE". The "Input Password" column will be disable Type EDG Series offers three serial interfaces, RS-232, RS-485 and RS-422. You can use any one of these serial interfaces according to your requirements.
3.2.3 Network Configuration Figure 3-6 Network Configuration Window MAC Address This does not need configuration. Link Speed This function will show the current linking speed to be either 10Mbps or 100Mbps. However, the utility will auto-detect the current transmission speed on the network segment and set the transmission speed for the device accordingly without your further efforts.
IP address, Subnet Mask, Default Gateway The IP address identifies your EDG Series device on the global network. Each EDG Series has same default IP address 10.0.0.1. Obtain a specific IP address from your network administrator and then configure each EDG Series with the individual IP address. Note: The EDG Series does not support auto IP address configured by DHCP server. 3.2.
Name To specify which port on the EDG Series is to be connected to the serial device. Description You can give more detailed description of the function of the port for easy management and maintenance. Descriptions longer than 128 characters cannot be used. Type EDG Series offers three kinds of serial interfaces, RS-232, RS485 and RS-422. You can use any of the three serial interfaces according to your requirements. Parity The EDG Series provides five options: Even, Odd, None, Space, Mark.
The functions are mainly to help users to build up a redundant system with ease. The purpose of the “Host Idle Switch” is to prevent system hung-up due to application program failure. If the program fails, ADAM-4570S/4571S will cut off the connection. Another application program or PC can then start to access.
3.3 Status Messages The status message shown at the bottom of the utility window reflects the current status of EDG Series. Figure 3-9 Status messages “Read” The configuration utility has found the EDG Series and it is ready for use. “Searching EDG COMport” The configuration utility is searching the EDG Series “Querying DATA from EDG COMport” The configuration utility is getting data from the EDG Series.
“Lost Connection from the Device” Due to device shut down or network failure, the configuration utility has lost connection after 5 seconds. “Fail to apply this setting to the device” Specific settings are not accepted by EDG Series. “The device fails to respond” The connected device does not respond. “Fail to reset the device” Fail to reset the EDG Series. 3.3.
3.4 Port Mapping Utility The purpose of the port mapping utility is to help you manage all ports which are in one Windows 95/98/NT/2000/ME/XP platform. The utility displays three types of ports: Used ports, Unused ports and EDG Series ports. Please follow the steps. 1. Click the UNUSED PORTS item and select the port which you want to configure. Figure 3-10 Unused ports 2. Click ADD button to assign the COMport to the specific EDG Series. 3. Type IP address of the EDG Series and select ports.
Figure 3-11 Assign COM port to EDG Series Figure 3-12 Warning window 4. The port has been added into EDG Series 5. If you want to remove the COMport, click DELETE to remove this.
6. After you complete the configuration, click ”Apply”. 3.4.1 Security Setting When you select ADAM-4570S or ADAM-4571S in the column "Model of Installed Device", the view of port mapping utility will change, as the figure shown below. As you may have observed, it is added with "Security" setting.
The steps of password setting are the same as introduced in the previous section. Remember that user-defined password set in the configuration utility should be consistent with that set in the port mapping utility. That means if you choose TDES encryption without defining a password in the configuration utility, you have to choose TDES encryption here as well and leave "Input Password" blank; else the security communication with ADAM4570S/4571S will fail. 3.4.
1. Click the Test button in the Port Mapping utility. Figure 3-13 Test window Signal Test • RTS ! CTS: Check the RTS and CTS signals between two ports. • DTR ! RI: Check the DTR and RI signal between two ports. • DTR ! DSR: Check the DTR and DSR signal between two ports. • DTR ! DCD: Check the DTR and DCD signal between two ports. Communication Parameters Test • Baud rate: From 50 bps to 230 Kbps • Data bit: 5,6, 7, 8 • Stop bit: 1, 1.
2. Click OK button to return to the port mapping window. All the ports in the EDG Series are tested ok. Figure 3-14 Loopback test 3.4.3 Upgrading EDG Series’s Firmware Download Advantech continually upgrades its firmware to keep pace with the ever-expanding world of computing. You can use the Download function located on Port Mapping utility to carry out the upgrade procedure. Please access Advantech’s Web site at http://www.advantech.
1. Click on the toolbar Update FW icon. Figure 3-15 Update firmware window 2. Locate and then select the filename of the firmware that you downloaded.
3. After downloading firmware completely, click on the Reboot button. The EDG Series will restart automati cally. Figure 3-17 Download firmware Note: After clicking Reboot button, configuration utility will not reboot EDG Series untill no application program access this EDG Series.
3.4.4 Save The Configuration If you want to save or recover the configuration, you can select the “Import/Export” items. 1. a. Select “File” b. Select “Import” or “Export” 2.
3.4.5 Auto-reconnect function Sometimes, the system crashes because the EDG Series is interrupted or is powered-off by accident. Users want the host PC to re-connect to the EDG Series automatically after such an occurrence. The EDG Series provides an “Auto-reconnect” function to solve this problem. When the EDG Series is powered-off accidentally, the driver will keep trying to reconnect the EDG Series automatically.
Chapter 4 Troubleshooting
This chapter explains how to solve some of the most common problems you could encounter while using EDG Series. If you are still having problems after reading this chapter, contact your dealer, or e-mail Advantech for help. “Configuration Utility can not find EDG Series” 1. Check POWER LED. If it is off, you have to check : • Make sure the EDG Series power cable is plugged in, and the server is receiving power. • Check that the server’s network connector is plugged in properly.
“Cannot change the IP address or other server properties” The network administrator is the only one allowed to modify the EDG Series’s configuration. Keep in mind, even when multiple hosts share the same network, administrative access is still protected. If you need to change any configu ration settings, ask your network administrator for assis tance. “The host PC can acess the EDG Series at this local site but later moves the EDG Series to a remote site that PC cannot access.
56 Advantech EDG series User’s Manual