ADAM-4571/4570 1/2-port RS-232/422/485 Serial Device Servers ADAM-4571L/4570L 1/2-port RS-232 Serial Device Servers User Manual
Copyright The documentation and the software included with this product are copyrighted 2010 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.
Safety Instructions 1. Read these safety instructions carefully. 2. Keep this User's Manual for later reference. 3. Disconnect this equipment from any AC outlet before cleaning. Use a damp cloth. Do not use liquid or spray detergents for cleaning. 4. For plug-in equipment, the power outlet socket must be located near the equipment and must be easily accessible. 5. Keep this equipment away from humidity. 6. Put this equipment on a reliable surface during installation.
20° C (-4° F) OR ABOVE 60° C (140° F). THIS COULD DAMAGE THE EQUIPMENT. THE EQUIPMENT SHOULD BE IN A CONTROLLED ENVIRONMENT. 16. CAUTION: DANGER OF EXPLOSION IF BATTERY IS INCORRECTLY REPLACED. REPLACE ONLY WITH THE SAME OR EQUIVALENT TYPE RECOMMENDED BY THE MANUFACTURER, DISCARD USED BATTERIES ACCORDING TO THE MANUFACTURER'S INSTRUCTIONS. The sound pressure level at the operator's position according to IEC 7041:1982 is no more than 70 dB (A).
Contents Chapter 1 Overview .......................................................... 2 1.1 1.2 1.3 1.4 Chapter Introduction ....................................................................... 2 Features ............................................................................. 2 Specifications .................................................................... 3 Package Checklist ............................................................. 5 1.4.1 1.4.2 2 Getting Started .....................
3.4.6 3.5 3.6 Chapter Advanced Settings ....................................................... 43 Security Configuration .................................................... 44 3.5.1 3.5.2 Accessible Function ..................................................... 44 Port Monitor ................................................................. 45 Fulfilling Administrator Functions.................................. 46 3.6.1 3.6.2 3.6.3 3.6.4 3.6.5 Import/Export Serial Port Setting ..................
CHAPTER 1 2 Overview
Chapter 1 Overview 1.1 Introduction Advantech's ADAM-4570 series of Industrial Serial Device Servers are a robust, feature-rich, and cost effective way to network-enable equipment in an industrial automation environment. ADAM-4570 series provide one or two RS-232/422/485 serial ports, and ADAM-4571L/4570L provide one or two RS-232 serial ports. By encapsulating serial data and transporting it over Ethernet, the ADAM-4570 series allows virtual serial links over Ethernet and IP (TCP/ IP, UDP/IP) networks.
1.3 Specifications LAN • Compatibility: IEEE 802.3, IEEE 802.3u • Speed: 10/100 Mbps, auto-sensing • No. of Ports: 1 • Port Connector: 8-pin RJ45 • Protection: Built-in 1.5 KV magnetic isolation Serial Communications • Port Type: ADAM-4570 series: RS-232/422/485 ADAM-4571L/4570L: RS-232 • No. of Ports: ADAM-4571/4571L: 1 ADAM-4570/4570L: 2 • Port Connector: ADAM-4571/4571L: DB9 male ADAM-4570/4570L: 10-pin RJ48 • Data Bits: 5, 6, 7, 8 • Stop Bits: 1, 1.
Software • Driver Support: Windows 2000/XP/Vista • Utility Software: Serial Device Server Configuration Utility • Operation Modes:COM port redirection mode (Virtual COM) TCP/UDP server mode TCP/UDP client mode Pair connection (peer to peer) mode • Configuration Methods: Windows utility, Web Browser, and Telnet Mechanics • Dimensions (H x W x D):130 x 70 x 30 mm • Enclosure: ABS + PC with solid mounting hardware • Mounting: DIN-rail, panel mount, piggyback stack • Weight: ADAM-4571/4571L: 135g ADAM-45
1.4 Package Checklist 1.4.1 ADAM-4571/4571L • 1 x ADAM-4571/4571L Serial Device Server • CD-ROM for utility and manual • 1 x RS-232 loopback DB9 tester • Five stickers • DIN-rail mounting Adapter • Panel mounting bracket • Stand 1.4.
ADAM-4570 Series User Manual 6
CHAPTER 2 2 Getting Started
Chapter 2 Getting Started In this chapter, you will be given an overview of the ADAM-4570 series hardware installation procedures. 2.1 Understanding the Advantech ADAM-4570 Series The ADAM-4570 series are advanced device servers. They extend 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.2 LED Indicators There are three or four LEDs located on the top panel of ADAM-4570 series, each with its own specific function. Table 2.
2.1.3 Dimensions (Unit: mm) Figure 2.1: Top Panel Figure 2.2: Front Panel Figure 2.
2.1.4 Stickers If you forgot the IP addresses of specific ADAM-4570 series or where the host PC is mapped to the ADAM-4570 series 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 series 160.59.20.89: The IP address of the specific host PC mapped to this port. 2.
Panel Mounting The ADAM-4570 series 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 series. Next, screw each bracket to a wall. Figure 2.
DIN-rail Mounting You can mount the ADAM-4570 series 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 series can be stacked as seen in the figure below. Figure 2.
2.2.2 Network Connection There are two ways to use the 10/100Base-T Ethernet connector located on the ADAM-4570 series: 1. For Local Area Network (LAN) applications using the ADAM-4570 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 ADAM-4570 Series directly to your computer’s Ethernet card.
2.2.3 Power Connection You should take the following steps to connect ADAM-4570 series power. 1. Connect the power cable to 2-pin connector 2. Connect power cable to power adapter Figure 2.8: Power Connection If the ADAM-4570 Series is working properly, the green power LED will light up, indicating that the ADAM-4570 Series is receiving power. 2.2.4 Serial Connection The model of the ADAM-4570 Series that you purchased has RJ-48 serial ports or DB-9 male connector on the bottom of module.
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 17 Chapter 2
2.3 Configuration Utility Installation In order to use a PC and an Ethernet network to control serial devices connected to the ADAM-4570 Series, you must first have a host running Windows 2000/XP/Vista. 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 ADAM-4570 Series: Note: Be sure that you have at least version 2.0 of the Microsoft .NET Framework installed on your PC. 1.
4. Carefully read the Software License Agreement, and press "Yes" to continue. 5. The Setup program will specify a default installation path: Advantech eAutomation\Serial Device Server Configuration Utility\ 19 Chapter 2
7. After setup has copied all program files to your computer, click the button to finish the installation.
CHAPTER 3 2 Configuration
Chapter 3 Configuration 3.1 Serial Device Server Configuration Utility Overview The ADAM-4570 series provides an easy-to-use configuration utility to configure your serial device server 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.
There are four major areas in the serial device server configuration utility. 1. Serial Device Server List Area: All devices will be searched and listed in this area. You can arrange different favorite group and virtual COM ports. 2. Serial Device Server Information Area: Click on the serial device server or move cursor to the serial device server, the related information will be shown on this area. 3.
3.2 Discovering Your Serial Device Server 3.2.1 Auto Searching Advantech Serial Device Server Configuration Utility will automatically search all the EKI-1000, EDG-4500, and ADAM-4570 series device servers on the network and show them on the Serial Device Server List Area of the utility. The utility provides an auto-search function to show your device(s) by simply executing the configuration utility program from the Start Menu.
Note When you run the Configuration Utility for the first time, the default device name is "MAC ID". In this case, the device name "ADAM-4570-457001" means the device "MAC ID" is "00 D0 C9 45 70 01". You can change the default device name in System Tab of Device Properties. Select the device in this sub-tree. The first tab on the “Configuration Area” shows the summary of “Basic Information” included device type, version, and name, “Ethernet Information”, and “Serial Port Information”.
Click on each item, you will entry the configuration page to change the setting. The configuration will be introduced on following sections.
3.2.2 Clearing the Device List and Searching Again You can click the button on the “Quick Tool Bar”; utility will clear all list device servers in the Serial Device Server List Area and re-search again. Don’t use this function frequently. The warning message will be pop-up when you double click this button. You can click the button on the “Quick Tool Bar”; utility will search serial device server on local LAN.
3.2.3 Manual Appending Using “Add IP address to Favorite” or “Search a Range of IP addresses” function, you are able to add one device or group of devices to “Favorites”. These devices can locate on local network domain or other network domain.
3.3 Setting Ethernet Parameters This section explains how to configure the ADAM-4570 series network using this utility so that it can communicate over a network with serial devices. Click on the "+" before the model name (e.g. ADAM-4570), and the utility will expand the tree structure to show the individual device name. And click on the “+” before the device name, and the utility will expand the interfaces on this device server. Select the Ethernet interface (Eth1).
Static IP User defines IP address, Subnet Mask, Default Gateway, and DNS. DHCP + Auto-IP DHCP server assigns IP address. BOOTP + Auto-IP BOOTP server assigns IP address. DHCP + BOOTP + Auto-IP DHCP server assigns IP address, Subnet Mask, Default Gateway, and DNS or BOOTP server assigns IP address (If DHCP server does not respond). DNS Setting In order to use DNS feature, you need to set the IP address of DNS server to be able to access the host with the domain name.
DHCP Timeout(s) If you select DHCP as IP configuration mode, the ADAM-4570 will retry DHCP timeout(s) (default: 180s) until network settings are assigned by the DHCP server. If the DHCP/BOOTP server is unavailable, the ADAM-4570 will use Address auto configuration (based on RFC 3330 and RFC 3927) for IP setting. Note When you have finished the configuration of these settings for each category, please press the “Apply” button in order to make these settings effective on the Serial Device Server.
3.4.1 Basic Configuration Description: You can give a more detailed description on the function of the port for easier management and maintenance. Descriptions have a limit of 128 characters. Baud Rate: The ADAM-4570 series supports baud rate from 50 to 921.6Kbps. While setting the baud rate, please note that the value should conform to the current transmission speeds of connected devices. Parity: ADAM-4570 series provides 5 options: None, Odd, Even, Space, and Mark.
Data Bits: The ADAM-4570 series provides four options: 5, 6, 7 and 8. Stop Bits: The ADAM-4570 series provides three options: 1, 1.5 and 2. Flow Control: The ADAM-4570 series provides four options: None, XOn/XOff, RTS/ CTS, and DTR/DSR.
3.4.2 Operation Mode Configuration COM Redirector Setting: The Advantech serial device servers extend traditional COM ports of a PC to Ethernet access. Through Ethernet networking, users can control and monitor remote serial devices and equipments over LAN or WAN. Advantech serial device servers come with a COM port redirector (Virtual COM driver) that transmits all serial signals intact. This means that your existing COM-based software can be preserved, without modifying to fulfill the needs.
Host Idle Timeout (10 to 255 seconds): 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 server will release the resources allocated to the port mapping. This prevents a stalled host from affecting the connective device. Note The default value of "Host Idle Timeout" is 60 seconds. The ADAM-4570 series provides Multi-access function through Ethernet connection path.
Round-Robin mode: Enabling “Response Timeout” parameter, the ADAM-4570 series will operate in “Round-Robin mode”. Each serial port supports up to five simultaneous connections, so multiple hosts can transmit/receive data to/ from the same serial port simultaneously. Every host can transmit data to the same serial port simultaneously, but the ADAM-4570 series will process the data communication in order. ADAM-4570 series will process the first host’s request and reply the response to the first host.
Protocol The ADAM-4570 series provides TCP/IP and UDP two protocols. In settings, you can choose either TCP mode or UDP mode according to your application. Data Listen Port The TCP/UDP port number represents the source port number, and the number is used to identify the channel for remote initiating connections. Range: 1024-65533. If an unknown caller wants to connect to the system and asks for some services, they need to define the TCP/UDP port to carry a long-term conversation.
Command Listen Port Each port has its own command listen port to accept connected request of other network device. So, the command listen port can’t be set the same value. You can use ‘AT command’ to change the port setting via the command listen port. The Command Listen Port should be different from the Data Listen port. Data Idle Timeout The default is 60 seconds. If you want to keep connection continually, you can disable the Data Idle Timeout.
• Round-Robin Mode Enabling “Response Timeout” parameter, the ADAM-4570 series will operate in “Round-Robin mode”. Each serial port supports up to five simultaneous connections, so multiple hosts can transmit/receive data to/ from the same serial port simultaneously. Every host can transmit data to the same serial port simultaneously, but the ADAM-4570 series will process the data communication in order. The ADAM-4570 series will process the first host’s request and reply the response to the first host.
3.4.4 Control Mode (USDG Mode) In controlling mode, the ADAM-4570 series presents a modem interface to the attached serial device: it accepts AT-style modem commands to connect / disconnect to other networking device. If you want serial device running application program to connect/disconnect to different devices dynamically, you can use controlling mode. The “Control mode” provides three kinds of modem AT-style commands.
Please refer to the Data Mode (USDG Mode) to setup the Data Listen Port, Command Listen Port, and Data Idle Timeout. Hangup Character The default character is “+”. After you have connected to another serial device via ADAM-4570 series, you may need to disconnect. Then you can use the command "+++" to disconnect. To do this leaves your keyboard idle (don't press any keys) for at least several seconds, then press "+" three times. You can set "Guard Time" to define the idle time.
3.4.5 AT Command List Command Function ATDT “Forms a TCP connection to the specified host. Ex: ATDT 192.0.55.22:5201 In above example, the ADAM-4570 series serial device server forms a raw TCP connection to the networking device (192.0.55.22). The TCP port is 5301.” ATA Answering an incoming call +++ Returns the user to the command prompt when entered from the serial port during a remote host connection.
3.4.6 Advanced Settings The serial device server provides the advanced settings for some special applications which need critical time requirements. In normal applications, these settings are recommended not to be set to avoid the unusual action happened. Delay Time (ms) When enabled, the serial port will postpone the received data for the time interval you set, and then send the received data to the TCP/IP network.
3.5 Security Configuration 3.5.1 Accessible Function Allow any IP to access: The default option, any host PC can communicate with this serial device server. Specified IP which can access: Type the IP address in the column and click “Add” or “Delete” button to make the accessible IP address list. The limit of this list is 32 IP addresses.
3.5.2 Port Monitor Configuration utility provides an excellent function that allows monitoring the serial ports’ status. It will present each serial port’s operation mode and status. The IP address of Host PC which is communicating with serial port will be list on the right window. Click “Refresh” button, the status will be refresh once. It will be auto refresh after click “Auto Refresh” and the time duration is depending on the setting (the default value is 1000ms).
3.6 Fulfilling Administrator Functions The configuration utility provides several administrator settings for easy management and configuration. Right click the mouse on the device name in the sub-tree of Serial Device Sever List Area, and select these administrator settings. 3.6.1 Import/Export Serial Port Setting The utility allows importing or exporting the serial port setting including “Basic Setting” and “Operation Setting” via “.sps” file format.
3.6.2 Locate Serial Device If there are many serial device servers need your management, you may need to identify which unit is correct to configuration on utility. Click “Locate” to make that unit’s “Status” LED be steady on until you click “Stop Locate”. 3.6.3 Lock Device The configuration utility provides the “Lock Device” function to make it more confidential. You need to set up a password while the first time clicking “Lock Device”.
If you want to disable this function or change the password, click “Change Password” to change the password to default “None” (leave the new password and confirm new password columns blank) to disable this function or other password you want to change. Be sure to click “Reset Device” to restart the serial device server and store the new password into the memory. 3.6.
Then, please power off the serial device server within ten seconds, after reconnecting the power back, the all setting will be reset to the factory default. If the power remains more than ten seconds, the serial device server will not have any changes. 3.6.5 Upgrading the Firmware Advantech continually upgrades its firmware to keep up with the everexpanding world of computing. You can use the update firmware function in the utility to carry out the upgrade procedure.
Select the firmware you want to update. After downloading the firmware completely, click on the “OK” button. The serial device server will restart automatically. Note: Be sure that the host PC Ethernet network domain is as same as the ADAM-4570 series device server while doing the updating firmware process.
CHAPTER 4 2 Setting the COM Redirector
Chapter 4 Setting the COM Redirector Advantech Serial Device Sever Configuration Utility also creates virtual COM ports that Windows applications will use to communicate with remote serial devices. Advantech virtual COM ports follow the same naming/numbering convention as Windows COM ports. 4.
The serial ports that can be assigned to virtual COM will be shown in this window. Select the serial ports you wish to map or click the
4.1.2 Manual Mapping Right click the serial device name on the sub-tree of Device Server List area and select the “Manual Mapping” function. ADAM-4570 series have only one IP address. You select the serial port on the device server and the host COM that you want to set. Press
Auto Reconnect Property: Sometimes, the connection between Advantech serial device server and HOST is interrupted by network traffic or powered-off by accident. In such a situation, the host has to reconnect to Advantech serial device server. The function "Auto Reconnect" is for this purpose, if the Advantech serial device server loses the connection to its host, the COM redirector will try to re-establish the connection while the host’s AP access the virtual COM port.
4.1.4 Remove the Virtual COM Port If you want to remove the virtual COM port, you can remove them one by one or group remove ports. Individually Remove Right click on COM port you have mapped before and select “Remove This Port”. Group Remove Port Right click on Virtual Com Ports on Device Server List Area and select “Group Remove Port”, you can choose which ports you want to remove.
4.2 Running Diagnostic Test The purpose of this test is to make sure the communication from host PC to ADAM-4570 series is OK. If there is still an error, you can check the communication from the ADAM-4570 series to the devices. If the test is selected, an external test will be done to check that the connection signals for each port are working properly. For the test, you will need to connect each port to a loopback tester (provided in the package). The loopback test only applies to RS-232 mode.
Click “Simple Serial Test” on the Tools menu. Select which COM port you want to run diagnostic test, and then press “Test” button to process the testing.
Signal Test • RTS -> CTS check the RTS and CTS signal 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: 50bps ~ 921.6kbps • Data bits: 5, 6, 7, 8 • Stop bit 1, 1.5, 2 • Parity Odd, Even, None, Space, Mark When the test is finish, it will show the test result, the click “Exit” button to return to the utility window.
ADAM-4570 Series User Manual 60
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.
B APPENDIX 2 Creating VCOM
Appendix B Creating VCOM B.1 Configuration Wizard 1. First Step Click //image: button on the "Quick Tool Bar" to start the Configuration Wizard; Select the serial device server you want to create the VCOM. (ex.
2. Second Step Fill in options of serial device server including "Serial Type", "IP address", "Subnet Mask", and "Default Gateway". 3. Third Step Choose Port number of start and select to device port you want to create VCOM, then click "Finish" button.
Now, you have two mapped VCOM in your host! ADAM-4570 Series User Manual 66