ADAM-4570/4570L/4570S/ ADAM-4571/4571L/4571S/ EDG-4504 1/2/4 Port RS-232/422/485 to Ethernet Data Gateway User Manual
Copyright The documentation and the software included with this product are copyrighted 2007 by Advantech Co., Ltd. All rights are reserved. Advantech Co., Ltd. reserves the right to make improvements in 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.
Product Warranty (2 years) 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 persons other than repair personnel authorized by Advantech, or which have been subject to misuse, abuse, accident or improper installation.
Declaration of Conformity CE This product has passed the CE test for environmental specifications when shielded cables are used for external wiring. We recommend the use of shielded cables. This kind of cable is available from Advantech. Please contact your local supplier for ordering information. FCC Class A Note: 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.
Technical Support and Assistance Step 1. Visit the Advantech web site at www.advantech.com/support where you can find the latest information about the product. Step 2. Contact your distributor, sales representative, or Advantech's customer service center for technical support if you need additional assistance.
13. Never open the equipment. For safety reasons, the equipment should be opened only by qualified service personnel. 14. If one of the following situations arises, get the equipment checked by service personnel: a. The power cord or plug is damaged. b. Liquid has penetrated into the equipment. c. The equipment has been exposed to moisture. d. The equipment does not work well, or you cannot get it to work according to the user's manual. e. The equipment has been dropped and damaged. f.
Contents Chapter 1 Overview .......................................................... 2 1.1 1.2 1.3 1.4 Chapter Introduction ....................................................................... 2 Features ............................................................................. 2 Specifications .................................................................... 2 Package Checklist ............................................................ 4 1.4.1 1.4.2 1.4.3 ADAM-4571/4571L/4571S ............
2.2.5 2.2.6 2.3 Chapter Installation ...................................................................... 23 2.3.1 2.3.2 Configuration Utility .................................................... 23 COM Port Mapping Utility .......................................... 26 3 Configuration................................................. 32 3.1 3.2 3.3 3.4 3.5 3.6 Chapter Figure 2.17:Power Connection for EDG-4504 ............ 20 Serial Connection ........................................................
CHAPTER 1 2 Overview
Chapter 1 Overview 1.1 Introduction The Advantech Ethernet Data Gateway series (EDG series) is a fast and cost effective data gateway between RS-232/422/485 and Ethernet interfaces. 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. 1.
• Port: 1/2 Independent RS-232/422/485 Ports ADAM-4571L: 1 x RS-232 ADAM-4571: 1 x RS-232/422/485 ADAM-4571S: 1 x RS-422/485 ADAM-4570L: 2 x RS-232 ADAM-4570: 2 x RS-232/422/485 ADAM-4570S : 2 x RS-422/485 EDG-4504: 4 x RS-232/422/485 Connectors: • Network: • Serial: RJ-45 DB9 for EDG-4504 RJ-48 (RJ-48 to DB-9 cable provided) for ADAM-4571/4571L/4571S/4570/4570L/4570S • Baud Rate: 300 bps to 230 Kbps • Parity bit: odd, even, none, space, mark • Data bit: 5, 6, 7, 8 • Stop bit: 1, 1.
• Placement: DIN-rail, panel mounting, piggyback stack (ADAM-4570/4570L/4570S/4571/4571L/4571S) 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.4 Package Checklist 1.4.
CHAPTER 2 2 Getting Started
Chapter 2 Getting Started In this chapter, you will be given an overview of the EDG series hardware installation procedures. 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.
2.1.3 Data Integrity All records are protected using the symmetry encryption and checksum algorithms. Symmetry encryption protects the data privacy. With checksum, which is protected by encryption, we could guarantee the integrity of data. Transmissions also include a sequence number, which is protected by encryption, so that missing, altered or extra messages are detectable. 2.1.
2.1.5 ADAM-4571/4571L/4571S There are four LEDs located on the top panel of ADAM-4571/4571L/ 4571S, each with its own specific function. Table 2.
Figure 2.1: ADAM-4571/4571L/4571S—Top Panel Figure 2.2: ADAM-4571/4571L/4571S—Front Panel Figure 2.
2.1.6 ADAM-4570/4570L/4570S There are five network status LEDs located on the top panel of ADAM4570/4570L/4570S, each with its own specific function. Table 2.
Figure 2.5: Front Panel Figure 2.
2.1.7 EDG-4504 There are 13 LEDs located on the top panel of EDG-4504, each with its own specific function. Table 2.
Figure 2.8: EDG-4504—Front Panel Figure 2.9: EDG-4504—Front Panel 2.1.8 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.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 EDG Series’s serial port. Note: Before you install EDG Series, you can install other com- munication cards first. 2.2.1 Choosing a Location 2.2.1.
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. Figure 2.
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. Figure 2.
2.2.2 EDG-4504 Figure 2.13: Din-rail Mounting Figure 2.
2.2.3 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 Ethernet cable 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.
2.2.4 Power Connection You should take the following steps to connect EDG Series power. Figure 2.15: Connecting EDG Series series to the hub 1. Connect the power cable to 2-pin connector 2. Connect power cable to power adapter Figure 2.16: Power Connection Figure 2.17: 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.5 Serial Connection ADAM-4571/4571L/4571S/4570/4570L/4570S 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-4571/4571L/4571S/4570/ 4570L/4570S.
DB-9 2.2.6 EDG-4504 The model of the EDG-4504 that you purchased has DB-9 se- rial 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. The DB-9 pinouts is the same as ADAM-4570/4570L/4571 Figure 2.
2.3 Installation 2.3.1 Configuration Utility In order to use a PC and an Ethernet network to control serial devices connected to the EDG series, you must first have a host running Windows NT/2000/XP. This type of application also requires the host to have an Ethernet card and TCP/IP protocol installed. The following are the required steps for EDG series: 1. Insert the Advantech industrial communication CD-ROM into the drive (e.g. D:\) on the host PC. Change the host computer's default drive from C: to D: 2.
4. Carefully read the Software License Agreement, and press "Yes" to continue. 5. The Setup program will specify a default installation path, C:\Program Files\Advantech\EDG COMPort Utility.
6. In this step, you may select a specific program folder or just use the default setting and press "Next". 7. After setup has copied all program files to your computer, click the button to finish the installation.
2.3.2 COM Port Mapping Utility To setup and enable the Virtual COM on the HOST, you must install this utility on this PC. Driver version 1.xxx is suitable for Window NT/2000/ XP. Driver version 2.xxx is WDM driver and suitable for Window 2000/ XP. After installation of WDM driver, the installed COM port will be displayed in Device Manager. This type of application also requires the host to have an Ethernet card and the TCP/IP protocol installed.
4. Carefully read the Software License Agreement, and press "Yes" to continue.
5. The Setup program will specify a default installation path, C:\Program Files\Advantech\COMPort Mapping Utility. 6. In this step, you may select a specific program folder or just use the default setting and press "Next".
7. After setup has copied all program files to your computer, click the button to finish the installation.
ADAM-4570/4571 & EDG-4504 User Manual 30
CHAPTER 3 2 Configuration
Chapter 3 Configuration 3.1 Auto Search EDG-4508(R)+/4516(R)+ provides an easy-to-use configuration utility to configure your Ethernet Data Gateway Device through an Ethernet connection. For secure administration, it can also restrict the access rights for configuration to only one host PC to enhance network security. With this secure function enabled, other PCs will not have permission for configuration.
You can click on the device name to show the features of the specific device. Click on the "+" before the model name (e.g. EDG-4516(R)+), and the utility will expand the tree structure to show the individual device name. For Example, EDG Configuration Utility shows "ADAM-00D0C968E17F" after expanding the tree structure. Note When you run the EDG configuration utility for the first time, the default device name is "MAC ID".
3.2 Locating EDG series The configuration utility provides a "Locate" function to assist you in finding a specific device. You can select the EDG Series as a group or just select one specific module, e.g. ADAM-4570 or ADAM-4571. There are two different options for the Locate function (1) Designated: locates a specific device for you. 1. Select "Designated" and click "Locate" 2. The "Status" LED will remain steady for 8 minutes. 3.
3.3 Device System Configuration Four functional categories Device Name Firmware Version Device List Device Description The configuration utility only searches for EDG Series devices on the local network, and cannot search beyond a router or gateway. Make sure that the EDG Series device you want to monitor resides in the same local network segment as the host PC. Ethernet Data Gateway In this column, you will find a list of EDG products if you use the configuration utility to auto-search.
Password Setting While you select ADAM-4571S or ADAM-4570S, Password section will display. When you press down the "setting" button in Password section,a window pops up asking whether to use TDES encryption by entering user-defined password. The window will ask you to reenter the password for confirmation. If it doesn't match the original one, then you can't proceed other configurations. If you choose to use TDES encryption but leave the password column blank, the utility will apply default password.
3.4 Network Configuration TCP/IP Option Ethernet Option Ethernet Option 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.
3.5 Port Configuration Port Setting Option Port Configuration Option Port Setting You can modify the description for individual port settings in the Port Setting Option. Name Specify which port will be connected to the the serial device 1 Port for ADAM-4571/4571L/4571S 2 Ports for ADAM-4570/4570L/4570S 4 ports for EDG-4504 Description Show individual description for each port. You can give more detailed description of the function of the port for easy management and maintenance.
Port Configuration You can modify port configuration in this Configuration Option such as Type, Parity, Flow Control, Data Bits, Stop Bits, Baud Rate and Host Idle Timeout. Type Serial Port Type EDG Series 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.
Parity Parity Check Type You can follow the parity check type of your connected module. The following types are provided. • None • Odd • Even • Mark • Space Flow Control Flow Control Type You can choose the flow control type of your connected module. The following types are available.
Data Bits Data Bits Type You can choose the number of Data Bits of your connected module to be 5, 6, 7 or 8. Stop Bits Stop Bits Type You can choose 1, 1.
Baud Rate Flow Control Type You can choose the Baud Rate of your connected module. The following rates are available: • 7,200 • 9,600 • 14,400 • 19,200 • 38,400 • 57,600 • 115,200 • 230,400 * Set All Port The ‘Set All Port’ function helps you set all serial ports at one time. All you need is to set one port and click the "Set All Port" button. The other ports will then follow the first port that you have set up.
Host Idle Timeout The ‘Host Idle Timeout’ setting monitors the connection between the host and the device. If the ‘Host Idle Timeout’ setting time is reached, the device will release the resources allocated to the port mapping. This prevents a stalled host from affecting the connected device. .
3.6 Security Configuration For security reasons, you are highly recommended to use EDG’s security features. The EDG configuration utility provides security functions for the network structure. Only configure the allowed IP The system will auto detect the IP address for the currently connected computer. If you enable this function, only your current host computer can access this EDG Device. *If you use Dynamic IP Assignment by the DHCP Server, we suggest that this function is not enabled.
4 CHAPTER 2 Port Mapping Utility
Chapter 4 Port Mapping Utility 4.1 Overview The purpose of the port mapping utility is to help you manage all ports on one Windows NT/2000/XP platform. There are two different COM port mapping utility, version v1.xxx and version v2.xxx. Utility version v1.xxx is suitable for NT/2000/XP and all EDG series devices. Utility v2.xxx is a WDM driver and suitable for 2000/XP platform. Utility doesn't support ADAM-4570S and ADAM-4571S.
2. Click the ADD button to assign a COM port to an EDG device. Module of Installed Device You can choose between all connected EDG devices. In this example, "EDG-4516+" was chosen. IP Address of Installed Device Enter the IP address you assigned in chapter 3.4. Port of Installed Device Choose the port where you want to setup: 1 port for ADAM-4571/4571L/ 4571S and 2 ports for ADAM-4570/4570L/4570S and 4 ports for EDG4504.
Add Click here to add a single port setting to your specification. Add All You can assign all ports to follow current settings by clicking the "Add All" button. This is more convenient than adding ports individually. For this example, we have selected COM21 and made all necessary settings for Port 1 of EDG-4516+. After clicking on the "Add All" button, the COM Port Mapping Utility will assign the COM21 ~ COM36 mapping to Port 1 ~ Port 16.
Note If you assigned a different COM port to the same EDG series module port, the following dialog box will remind you. 4.3 Inquiring Virtual COM Port Setting You can check the virtual COM port setting by clicking on the EDG device’s ports. In this case, COM11 is assigned to Port 1 of EDG-4516+.
4.3.1 Updating EDG Firmware Updating Firmware Advantech continually upgrades its firmware. You can use the download function located on the Port Mapping utility to carry out the upgrade procedure. Please access Advantech's web site at http://www.advantech.com to download the required computer file and then follow these instructions. 1. Click on the Update FW icon in the toolbar. 2. Locate and then select the filename of the firmware that you have downloaded. 3.
4.3.2 Self Test Function Test The purpose of this test is to confirm that the communication from the host PC to the EDG device is OK. When the test is selected, an external test will be performed to check that the connection signal between each port is working properly. For this test, you will need to connect each port to a Loopback tester. Refer to the following chart for specifications of this Loopback tester. The Loopback test only applies to RS-232 mode.
Signal Test • RTS->CTS: Checks the RTS and CTS signals between two ports. • DTR->RI: Checks the DTR and RI signals between two ports. • DTR->DSR: Checks the DTR and DSR signals between two ports. • DTR->DCD: Checks the DTR and DCD signals between two ports. Communication Parameters Test • Baud rate: From 50 bps to 230 kbps • Data bits: 5, 6, 7, 8 • Stop bits: 1, 1.5, 2 • Parity: odd, even, none, space, mark 2. Click the OK button to return to the port mapping window.
Delete You can delete Port Mapping Setting by clicking the [Delete] button. Apply If any changes are made, please press the [Apply] button to confirm your modifications. Exit If you want to finish setting or quit the utility, please click on the [Exit] button. If any changes are made in the COM Port Mapping setting, all change will be enabled after quitting the utility. Note If you delete a virtual COM Port and the COM port is occupied by application, the HOST PC might crash and come out BLUE SCREEN.
4.3.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.
A APPENDIX 2 Pin Assignments
Appendix A Pin Assignments A.1 RS-232 Pin Assignments A.2 RJ-48 Cable PIN Assignment A.2.1 1. RS-422 Pin No. Description 1 Tx- 4 Tx+ 5 GND 7 Rx+ 9 Rx- A.2.2 2. RS-485 Pin No.