ADAM-4570/ADAM-4571/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 .......................................................................... 5 1.3 Specifications ................................................................. 6 1.4 Package Checklist .......................................................... 7 Chapter 2: Getting Started .............................. 9 2.
3.2 Configuring the ADAM-4570/ADAM-4571/EDG-4504 The Configuration Utility ............................................. 33 3.2.1 3.2.2 3.2.3 3.2.4 Search for Specific ADAM-4570/ADAM-4571/EDG-4504 34 System Configuration ..................................................... 36 Network Configuration .................................................... 38 Port Configuration .......................................................... 39 3.2.4.1 Host/Device Idle Protection (ADAM-4570 only) ........ 41 3.2.
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-12 Figure 2-10 Figure 2-11 Figure 2-13 Figure 2-14 Figure2-15 Figure 2-17 Figure 2-16 Figure 2-18 Figure 2-20 Figure 2-19 Figure 2-21 Figure 2-22 Installation Flow Chart ............................................................. 10 Network Architecture(1) ......................................................... 12 Network Architecture(2) ...................................................
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 Figure 3-18 ArchitectureHost idle switch mode .................................... 42 Security configuration ............................................................. 47 Status messages .................................................................... 48 Unused ports ...........................................................................
Tables Table 2-1 Table 2-2 Table 2-3 ADAM-4570 LED Definition ...................................................... 13 ADAM-4571 LED Definition ...................................................... 15 EDG-4504 LED Definition .........................................................
Chapter 1 Overview
1.1 Introduction The ADAM-4570/ADAM-4571/EDG-4504 is a lightning fast and cost effective data gateway between RS232/422/485 and Ethernet interfaces. This unit immediately upgrades your existing device(s) to the Ethernet world. Functionally transparent and efficient, the ADAM-4570/ADAM-4571/EDG-4504 is specially designed for remotely controlling and monitoring devices via the Internet.
space and software development cost. The ADAM4570/ADAM-4571/EDG-4504 also provides a highperformance RISC CPU and real time operating system to reduce CPU load. These components make the ADAM-4570/ADAM-4571/EDG-4504 more stable and reliable. Another benefit is the ADAM-4570/ ADAM-4571/EDG-4504 allows users to remotely download programs to a designated device via Ethernet. This reduces the need for on-site maintenance and diagnosis.
the serial device or communication between the device and the ADAM-4570 fails, the “Device Idle” function will switch the communication port from one port to another port to keep communicating with another device automatically. Thus, another device can send data to the ADAM-4570. Auto-reconnect after networking breaks Sometimes, the system crashes because the ADAM-4570/ ADAM-4571/EDG-4504 is interrupted or powered-off by accident.
is divided into two parts: Signal test and Communication Parameters test. If the results are OK, users can be sure the communication quality between host PC and ADAM-4570/ 4571 is OK. Easy to maintain by downloading firmware remotely Advantech continually upgrades ADAM-4570/ADAM-4571/ EDG-4504’s firmware to keep pace with the ever-expanding world of computing. You can use the Download function located on the Port Mapping utility to carry out the upgrade procedure.
1.3 Specifications • Protocol: TCP/IP • Network Port: IEEE 802.3, IEEE 802.3u • Interface: Network: 10/100 BASE-T standard Serial: RS-232, RS-422, RS-485 • Port: 1/2/4 independent RS-232/422/485 ports • Connector: Network: RJ-45 Serial: RJ-48 (RJ-48 to DB-9 cable provided) • Transmission speed: 300 bps to 230 Kbps • Parity bit: odd, even, none, space, mark • Data bit: 5, 6, 7, 8 • Stop bit: 1, 1.
• Power Consumption: 3.5 Watt (ADAM-4571) 4 Watt (ADAM-4570) 4.5 Watt (EDG-4504) • Placement: DIN-rail, panel mounting, piggyback stack (ADAM-4570/4571) DIN-rail, panel mounting (EDG-4504) • Operating Temperature: 0 ~ 60° C • Storage Temperature: -20 ~ 80° C • Operating Humidity: 20 ~ 95% (non-condensing) • Storage Humidity: 0 ~ 95% (non-condensing) 1.
8 ADAM-4570/ADAM-4571/EDG-4504 User’s Manual
Chapter 2 Getting Started
In this chapter, you will be given an overview of the ADAM-4570/ADAM-4571/EDG-4504 hardware installation procedures. As mentioned in the previous chapter, the ADAM-4570/ADAM-4571/EDG-4504 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 ADAM-4570/ADAM-4571/EDG-4504 The ADAM-4570/ADAM-4571/EDG-4504 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 ADAM-4570/ADAM-4571/EDG-4504 is connected through a TCPIP 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: Figure 2-2 Network Architecture(1) Figure 2-3 Network Architecture(2) 12 ADAM-4570/ADAM-4571/EDG-4504 User’s Manual
2.1.2 Top / Front / Rear View 2.1.2.1 ADAM-4570 There are five network status LEDs located on the top panel of ADAM-4570, each with its own specific function.
Figure 2-4 ADAM-4570—Top Panel Figure 2-5 ADAM-4570—Front Panel Figure 2-6 ADAM-4570—Back Panel 14 ADAM-4570/ADAM-4571/EDG-4504 User’s Manual
2.1.2.2 ADAM-4571 There are four LEDs located on the top panel of ADAM-4571, each with its own specific function.
Figure 2-7 ADAM-4571—Top Panel Figure 2-8 ADAM-4571—Front Panel Figure 2-9 ADAM-4571—Back Panel 16 ADAM-4570/ADAM-4571/EDG-4504 User’s Manual
2.1.2.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 ADAM-4570/ADAM-4571/EDG-4504 User’s Manual
2.1.3 Stickers If you forgot the IP addresses of specific ADAM-4570/ADAM4571/EDG-4504s 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.2 Connecting the Hardware Next, we will explain how to find a proper location for your EDG COMPort series, and then explain how to connect to the network, hook up the power cable, and connect to the ADAM4570/ADAM-4571/EDG-4504’s serial port. Note: Before you install ADAM-4570/ADAM-4571/EDG4504, you can install other communication cards first. 2.2.1 Choosing a Location 2.2.1.
Panel Mounting The ADAM-4570/ADAM-4571 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 ADAM4570/ADAM-4571. Next, screw each bracket to a wall.
DIN Rail Mounting You can mount the ADAM-4570/ADAM-4571 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/ADAM-4571 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 ADAM-4570/ADAM-4571/EDG-4504 : 1. For Local Area Network (LAN) applications using the ADAM-4570/ADAM-4571/EDG-4504, 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 ADAM-4570/ADAM-4571/EDG-4504 directly to your computer’s Ethernet card.
2.2.3 Power Connection You should take the following steps to connect ADAM-4570/ ADAM-4571/EDG-4504 power. 1. Connect the power cable to 2-pin connector 2. Connect power cable to power adapter Figure 2-19 Power Connection for ADAM-4570/4571 Figure 2-20 Power Connection for EDG-4504 If the ADAM-4570/ADAM-4571/EDG-4504 is working properly, the green power LED will light up , indicating that the ADAM-4570/ADAM-4571/EDG-4504 is receiving power.
2.2.4 Serial Connection 2.2.4.1 ADAM-4570/4571 The model of the ADAM-4570/4571 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 port you may use a RJ-48 to DB-9 cable which we supply to connect your serial device to the ADAM-4570/4571. 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.
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 28 ADAM-4570/ADAM-4571/EDG-4504 User’s Manual
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.
30 ADAM-4570/ADAM-4571/EDG-4504 User’s Manual
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 ADAM-4570/ADAM-4571/EDG4504, you must first have a host running Windows 95/98/ME/ NT/2000/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 ADAM-4570/ ADAM-4571/EDG-4504. 1. Insert the Advantech industrial communication CD-ROM into the drive (e.g. D:\) on the host PC.
6. The configuration utility will search for the ADAM-4570/ ADAM-4571/EDG-4504 devices on your local network. Figure 3-1 Configuration Utility 3.2 Configuring the ADAM-4570/ADAM-4571/EDG-4504 — The Configuration Utility The ADAM-4570/ADAM-4571/EDG-4504 provides easy Windows configuration through Ethernet connection. This Windows utility searches all the ADAM-4570/ADAM-4571/ EDG-4504 and devices on the network automatically and you can configure various parameters for TCP/IP configuration easily.
3.2.1 Search for Specific ADAM-4570/ADAM-4571/ EDG-4504 If you want to locate specific ADAM-4570/ADAM-4571/EDG4504s, the configuration utility provides a “Locate” function to assist you. You can select all the ADAM-4570/ADAM-4571/ EDG-4504 devices (see Figure 3-2) or select a group of ADAM4570s (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.
3. The “Status” LED of all ADAM-4570s 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 ADAM-4570/ADAM4571/EDG-4504 devices on the local network segment and cannot search beyond a router or gateway. Make sure that all the ADAM-4570/ADAM-4571/EDG-4504 devices that you want to monitor must reside on the same local network segment with the host PC.
Device Name Configuration utility provides a default name for device to distinguish a specific ADAM-4570/ADAM-4571/EDG-4504 from other ADAM-4570/ADAM-4571/EDG-4504. 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.
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 ADAM-4570/ADAM-4571/ EDG-4504 device on the global network. Each ADAM-4570/ ADAM-4571/EDG-4504 has same default IP address 10.0.0.1. Obtain a specific IP address from your network administrator and then configure each ADAM-4570/ADAM-4571/EDG-4504 with the individual IP address. Note: The ADAM-4570/ADAM-4571/EDG-4504 does not support auto IP address configured by DHCP server. 3.2.
Name To specify which port on the ADAM-4570/ADAM-4571/EDG4504 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 Each ADAM-4570/ADAM-4571/EDG-4504 offers three kinds of serial interfaces, RS-232, RS-485 and RS-422. You can use any of the three serial interfaces according to your requirements.
3.2.4.1 Host/Device Idle Protection (ADAM-4570 only) When building up a system, users sometimes face the following problems. The system crashes because the serial/Host device breaks down; the application program fails or the cable between the host device and the ADAM-4570 breaks etc. For keeping the stability of system, the users usually have to spend lots of efforts to build up “Redundant” function. Now the ADAM-4570 provides new powerful functions to help users to build up it fast and easily.
1. Users set up the time period that the ADAM-4570 waits for the host PC to send commands. 2. If the time is over the set time, the ADAM-4570 will cut the connection between host A and the ADAM-4570. 3. Host B then starts to set up a connection between host B and the ADAM-4570. 4. If host B is in the authority list, it can access the ADAM4570.
Configuration Steps 1. Select “Host Idle” mode. 2. Key-in the Timing. The “Timing” is the time that the ADAM-4570 will wait to receive commands from the host PC. If the ADAM-4570 does not receive any commands from the host PC over this user set period of time, the ADAM-4570 will automatically cut off the connection.
3. Make sure that Host B is in the authority list. Device Idle Switch Mode When the serial device or communication between the device and the ADAM-4570 fails, the data can not be sent to the host PC in the set time period. The purpose of the “Device idle switch” mode is to provide another communication link to the serial device.
5. The ADAM-4570 will transmit data to the same COM 25 of the host PC.
Configuration Steps 1. Select “Device Idle” mode. 2. Key-in the Timing. The “Timing” is the period of time that the ADAM-4570 will wait to receive data from the serial device. If the ADAM4570 does not receive any data from the device over the period of time the user sets up, the ADAM-4570 will switch the communication port to another one.
3.2.5 Security Configuration Figure 3-9 Security configuration Only configure the authorized IP This option is enabled in order to protect all configuration settings from being changed inadvertently. Allow any IP to access If this option is enabled, any PC can access data from this ADAM-4570/ADAM-4571/EDG-4504. The specified IP which can access If you do not want many PCs to have the access right, you can limit at most 32 PCs to access data from this ADAM-4570/ ADAM-4571/EDG-4504.
3.3 Status Messages The status message shown at the bottom of the utility window reflects the current status of ADAM-4570/ADAM-4571/EDG4504. Figure 3-10 Status messages “Read” The configuration utility has found the ADAM-4570/ADAM4571/EDG-4504 and it is ready for use. “Searching EDG COMport” The configuration utility is searching the ADAM-4570/ADAM4571/EDG-4504 “Querying DATA from EDG COMport” The configuration utility is getting data from the ADAM-4570/ ADAM-4571/EDG-4504.
“Device Ready” The ADAM-4570/ADAM-4571/EDG-4504 is ready to be configured and is now waiting for acknowledgement from the device. “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 ADAM-4570/ADAM4571/EDG-4504. “The device fails to respond” The connected device does not respond.
at the remote site to check and see if the power is on, and make sure that the connection is okay. 3.4 Port Mapping Utility The purpose of the port mapping utility is to help you manage all ports which are in one Windows NT or Windows 2000 platform. The utility displays three types of ports: Used ports, Unused ports and ADAM-4570/ADAM-4571/EDG-4504 ports. Please follow the steps. 1. Click the UNUSED PORTS item and select the port which you want to configure. Figure 3-11 Unused ports 2.
Figure 3-12 Assign COM port to ADAM-4570/ADAM-4571/EDG-4504 Note: If you assigned different COMport to the same ADAM4570’s port. The dialog box will appear to remind you. Figure 3-13 Warning window 4. The port has been added into ADAM-4570/ADAM-4571/ EDG-4504 5. If you want to remove the COMport, click DELETE to remove this.
6. After you complete the configuration, click ”Apply”. 3.4.1 Self Test Function The purpose of this test is to make sure the communication from host PC to ADAM -4570 is OK. If there is still an error, you can check the communication from the ADAM-4570/ADAM4571/EDG-4504 to the serial devices. If the test is selected, an external test will be done to check that the connection signals for each port are working properly.
1. Click the Test button in the Port Mapping utility. Figure 3-14 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 ADAM-4570/ADAM-4571/EDG-4504 are tested ok. Figure 3-15 Loopback test 3.4.2 Upgrading ADAM-4570/ADAM-4571/EDG4504’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-16 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 ADAM-4570/ADAM-4571/EDG-4504 will restart automati cally. Figure 3-18 Download firmware Note: After clicking Reboot button, configuration utility will not reboot ADAM-4570/ADAM-4571/EDG-4504 untill no application program access this ADAM-4570/ADAM4571/EDG-4504.
3.4.3 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.4 Auto-reconnect function Sometimes, the system crashes because the ADAM-4570 is interrupted or is powered-off by accident. Users want the host PC to re-connect to the ADAM-4570 automatically after such an occurrence. The ADAM-4570 provides an “Auto-reconnect” function to solve this problem. When the ADAM-4570 is powered-off accidentally, the driver will keep trying to reconnect the ADAM-4570 automatically.
Chapter 4 Troubleshooting
This chapter explains how to solve some of the most common problems you could encounter while using ADAM-4570/ ADAM-4571/EDG-4504. If you are still having problems after reading this chapter, contact your dealer, or e-mail Advantech for help. “Configuration Utility can not find ADAM-4570/ADAM4571/EDG-4504” 1. Check POWER LED. If it is off, you have to check : • Make sure the ADAM-4570/ADAM-4571/EDG-4504 power cable is plugged in, and the server is receiving power.
For security reasons, and to simplify operations, users can give the access right to specific PC. Only these PCs can g e t data from ADAM-4570/ADAM-4571/EDG-4504. Thus, if while using the ADAM-4570/ADAM-4571/EDG-4504, it is advised that you check to see if your PC is on the access right list. “Cannot change the IP address or other server properties” The network administrator is the only one allowed to modify the ADAM-4570/ADAM-4571/EDG-4504’s configuration.
60 ADAM-4570/ADAM-4571/EDG-4504 User’s Manual