RS-485 Based Data Acquisition
and Control System
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. assumes no
responsibility for its use, nor for any infringements upon the
rights of third parties which may result from its use.
Acknowledgment
ADAM is a trademark of Advantech Co., Ltd. IBM and PC
are trademarks of International Business Machines Corporation.
CE Nonification
The ADAM-5000 series developed by Advantech Co.,
Ltd. has passed the CE test for environmental specifications. Test
conditions for passing included the equipment being operated
within an industrial enclosure, using shielded twisted-pair RS-485
cables and having SFC-6 sleeve core clamps added to the power
cable and the RS-485 cable. In order to protect the ADAM-5000
system from being damaged by ESD (Electrostatic Discharge) and
EMI leakage, we strongly recommend the use of CE-compliant
industrial enclosure products, shielded twisted-pair RS-485 cables,
and core clamps.
Edition 7.3
Aug. 2007
A Message to the Customer…..
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 i ndustri al envir onm ents. Whet her
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. Here is a guide to
Advantech’s customer services. To ensure you get the full benefit
of our services, please follow the instructions below carefully .
Technical Support
W e want you to get t he maximum performance from your products .
So if you run into technical difficulties, we are here to help. For
most frequently asked questions you can easily find answer s in
your product documentation. These answers are normally a lot
more detailed than the ones we can give over the phone.
So please consult this manual first. If you still can’t find the answer ,
gather all the information or que stions that apply t o y our pro blem
and, with the product close at hand, call your dealer . Our dealers
are well trained and ready to give you the support you need to get
the most from your Advantech prod ucts. In f act, m ost pr obl em s
reported are minor and are able to be easily solved over the phone.
In addition, free technical s upport is availabl e from Advant ech
engineers every business day. We are always ready to give advice
on application requirements or specific information on the installation and operation of any of our p roduc ts.
Product Warranty
Advantech warrants to you, the original purchaser, that each of its
products will be free from defects in materials and workmanship for
one year from the date of purchase.
This warranty does not apply to any products which have been
repaired or altered by other t han 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.
Because of Advantech’s high quality-control standards and
rigorous testing, most of our customers never need to use our
repair service. If an Advantech product ever does prove defective,
it will be repaired or replaced at no charge during the warranty
period. For out-of-warranty repairs, you will be billed according to
the cost of replacement materials, service time and freight. Please
consult your dealer for more details.
If you think you have a defective product, follow these steps:
1 . Collect all the information about the problem encountered
(e.g. type of PC, CPU speed, Advantech products used, other
hardware and software used etc.). Note a nythi ng abnorm al and
list any on-screen messages you get when the problem occurs.
2 . Call your dealer and describe the problem. Please have your
manual, product, and any helpful information readil y available.
3. If your product is diagnosed as defective, you have to
request an RAM number . When requesting a n RMA (Return
Material Authorization) number, please access ADVANTECH's
RMA website: http://www.advantech.com.tw/rma. If the web
sever is shut down, please contact our of fice directly. Y ou
should fill in the "Problem Repair F orm", desc ribing in detail
the applicatio n environm ent, config uration, a nd probl ems
encountered. Note that error descriptions such as "does not
work" and "failure" are so general that we are then required to
apply our internal standard repair process.
4 . Carefully pack the defective product, a completely filled-out
Repair and Replacement Order Card and a photocopy of da ted
proof of purchase (such as your sales receipt) in a shippable
container. A product returned without dated proof of purchase
is not eligible for warranty service.
5 . Write the RMA number visibly on the outsi de of the
Figure 2-1 ADAM-5000 Diagnostic indicators……….…………..2-3
Figure 2-2 ADAM-5000 Network address DIP switch.………….2-4
Figure 2-3 Module alignment and installation………………..…..2-6
Figure 2-4 ADAM-5000 Panel mounting.………………………..2-7
Figure 2-5 ADAM-5000 Rail mounting.…………………..……..2-8
Figure 2-6 ADAM-5000E Rail mounting..………………………..2-9
Figure 2-7 ADAM-5000 Wiring and connections..……………….2-10
Figure 2-8 Built-in Communication Ports for Diagnostic…… …..2-13
Figure 2-9 Flexible Communication Port Function Connection….2-14
Figure 3-1 Function block diagram..………………………..…..3-8
Figure 5-1 Display the connected module…………………....…..5-4
Figure 5-2 Save the information of connected modules to txt file....5-4
Figure 5-3 Setup options………………………………….…..…..5-4
Figure 5-4 Checksum function enabled……………..………..…..5-8
Figure 5-5 The connection for the Data Scope function……...…..5-8
Figure 5-6 Monitor the issing commands from PC#1…………....5-9
Figure 5-7 Zero Calibration………………………………....…..5-16
Figure 5-8 Execute Zero Calibration………………………..…..5-16
Figure 5-9 Span Calibration……………………………..…..…..5-16
Figure 6-1 Baud rate codes………………………….………..…..6-6
Figure 6-2 Analog module error codes……….……………..…..6-18
Figure 6-3 Data format for 8-bit parameters……..…………..…..6-38
Figure 6-2 Data format of 8-bit parameters……..…………..…..6-92
Figure A-1 Power supply connections……………..…………..…..A-4
Figure A-2 ADAM-5000 system hook-up and configuration..…….A-6
Figure A-3 Grounding the INIT* terminal………..………..…..A-10
Figure A-4 ADAM-5000 network system hook-up.…..…….…..A-11
Figure C-1 Daisy chaining………………………..…………..…..C-3
Figure C-2 Star structure ………..……………………….…..…..C-4
Figure C-3 Random structure……………………….………..…..C-5
Figure C-4 ADAM-4000 and ADAM-5000 in a network..………..C-6
Figure C-5 Signal distortion…………………………………..…..C-7
Figure C-6 Termination resistor location……………………..…..C-8
Figure C-7 RS-485 data floe control with RTS…..……………...C-9
1
Introduction
Introduction
1.1 Overview
The ADAM-5000 series is a complete product l ine that provides a wide
variety of features in a data acquisition and control application. It
includes 4 I/O-slots ADAM-5000/485 and 8 I/O-slots ADAM-5000E. They
are remotely controlled by the host computer through a set of commands
and transmitted in a RS-485 network. The system kernel is small, but
offers many good features to the users. The modulardesign also provides
more flexibility in the system configuration. The following is a sum mary
of the major ADAM-5000 system components.
ADAM-5000 System Kernel
The ADAM-5000/485 system kernel includes a CPU card, a power
regulator, a 4-slot base, a built-in RS-232 comm unication port and one
built-in RS-485 communication port. The ADAM-5000E system
includes all of the above components, except i t has an 8-slo t base.
Details of the system kernel features and more are covered in Chapter 3 .
I/O Configuration
The ADAM-5000/485 CPU ca n support up to 64 I/O points with the 4-
slot base currently available.The ADAM-5 000E CPU can support up to
128 I/O points with the 8-slot base currently available. These points
can be assigned as input or output points.
I/O Module
The ADAM-5000 series has a complete range of I/O modules for your
applications. A full range of digita l modules which suppo rt 10 to
30 V
and relay outputs are offered. The analog mod ules provide
DC
16-bit resolution and programmable input and output signal ranges
(including bipolar).
Software Utility
Based on the Modbus standard, the ADAM-5000 and ADAM-5000E
firmware is a built-in Modbus/RTU . Therefore, Advantech provides
the necessary OPC Server, and Windows Utility for users for client
data for the ADAM-5000 and ADAM-5000E. Users can configure this
DA&C system via Windows Utility; integrate with HMI software
package via Modbus/RTU driver or Modbus/RTU OPC Server. and
the DDE (Dynamic Data Exchange) server provides links to popular
Windows packages such as Intouch, FIX DMACS, Advantech
GeniDAQ, etc.
1-2 ADAM-5000
Chapter 1
1.2 System Configuration
The following diagram shows the system configurations possible with
the ADAM-5000.
Note:
To avoid system ov er heating, only f our AD AM-5 024
are allowed to be installed on AD AM-5000E.
ADAM-5000 1-3
Introduction
1.3 A Few Steps to a Successful System
Step 1:Review the installation Guideline
You should always make safety your first priority in any system
application. Chapter 2 provides several guidelines that will
help provide a safer, more reliable system.
Step 2: Understand the System Kernel
The system module is the heart of ADAM-5000 system. Make sure
you take time to understand the various features and setup requirements.
Step 3: Understand the I/O System Configurations
important to understand how y our I/ O m odules can be c onfigure d. It is
also important to understand how the system power budget is
calculated. This can affect your I/O configuration.
Step 4: Understand the Utility Software
Before you begin to link y our appli cations in your host computer with
the ADAM-5000 systems, it is very helpful t o understa nd how t he
DOS and Windows utility software helps you configure your
ADAM-5000.
Step 5: Review the Programming Concepts
All control systems differ in some areas. The ADAM-5000 system
allows you to develop your applications in DOS or Windows.It
provides an ASCII command set, DLL (Dynamic Library Link) and DDE
(Dynamic Data Exchange) server to you.
Step 6: Understand the Troubleshooting Procedures
Many things can be happened on the factory floor: switches fail, the
power supply is incorrect, etc. In most cases, the majority of the
troubleshooting time is spent trying to locate the problems.The
ADAM-5000 system has some built-in features that help you quickly
identify problems.
1-4 ADAM-5000
It is
2
Installation Guideline
Installation Guideline
2.1 General Environmental Specifications
The following table lists the environmental specifications that general ly
2-2 ADAM-5000
apply to the ADAM-5000 system (System kernel and I/O modules).
Specification
Storage temperature -13 to 185°F (-25 to 85°C)
Ambient operating
temperature
Ambient humidity*
Atmosphere
Rating
14 to 158°F (-10 to 70°C)
5 to 95%, non-condensing
No corrosive gases
* Equipment will operate below 30% humidity. However, static
electricity problems occur much more frequently at lower humidity
levels. Make sure you take adequate precautions before you touch
the equipment. Consider using ground straps, antistatic floor
cover- ings, etc. if you use the equipment in low humidity
environments.
Power Requirements
Although the ADAM-5000 systems are designed for standard
industrial unregulated 24 V
that supplies within the range of +10 to +30V
power supply, they accept any power unit
DC
. The power supply
DC
ripple must be limited to 100 mV peak-to-peak, and the immediate ripple
voltage should be maintained between +10 and +30 V
.
DC
Diagnostic Indicators
Diagnostic indicators are located on the front panel of the ADAM
system. They show both normal operation and system status in your
remote I/O system. The indicators are:
•
System status (PWR, RUN)
•
Communication status (TX, RX)
•
I/O module status
Chapter 2
A complete description of the diagnostic indicators and how to use them
for troubleshooting is e xplained in Chapter 7.
Figure 2-1 ADAM-5000 Diagnostic indicators
Setting the Network Address Switch
Set DIP switch 8 to OFF to install Avvantech Protocol , Set the network
address using the 8-pin DIP swi tch. Valid settings range from 0 to 127
(00h to 7Fh) where ON in any of the 8 DIP switch positions equates to a
binary 1, and OFF equates to a binary 0.
Note: 00h is special for initial setting. If 00h is setting by user, the baud
rate setting will be fixed to 9600 bps. It is recommand to setting the range
from 1 to 127 (01h to 7 Fh).
Setting the Network Address Switch
Set DIP switch 8 to ON to install Modbus function , Set the Modbus
address using the 8-pin DIP swi tch. Valid settings range from 0 to 127
(00h to 7Fh) where ON in any of the 8 DIP switch positions equates to a
binary 1, and OFF equates to a binary 0.
ADAM-5000 2-3
Installation Guideline
Figure 2-2 ADAM-5000 Network address DIP switch
Dimensions and Weights(ADAM-5000)
The following diagrams show the dimensions of the system unit and
an I/O unit of the ADAM-5000. All dimensions are in millimeters.
2-4 ADAM-5000
Chapter 2
Dimensions and Weights(ADAM-5000E)
The following diagrams show the dimensions of the system unit and
the I/O unit of the ADAM-5000E. All dimensions are in millimeters.
ADAM-5000 2-5
Installation Guideline
2.2 Module Installation
When inserting modules into the system , align t he PC board of the
module with the grooves on the top and bottom of the system. Push
the module straight into the system until it is firm ly seated in the
backplane connector. Once the module is inserted into the system, push
in the retaining clips (located at the top and bottom of the module) to
firmly secure the module to the system .
Figure 2-3 Module alignment and installation
2.3 I/O Slots and I/O channel Numbering
The ADAM-5000/485 system each provides 4 slots for use with I/O modules.
The I/O slots are numbered 0 thru 3, and the channel numbering of any I/O
module in any slot starts from 0. The ADAM-5000E system each provides 8
slots for use with I/O modules. The slots are num bered 0 thru 7 . For
example, ADAM-5017 is a 8-channel analog input module, its channel
numbering is 0 thru 7.
ADAM-5000
2-6
2.4 Mounting
The ADAM-5000 system can be installed on a panel or DIN rail.
Panel Mounting
Mount the system on the panel horizontally to provide proper ventilation. You cannot mount the system vertically, upside down or on a flat
horizontal surface. A standard #7 tating screw (4mm diameter) should
be used.
Chapter 2
Figure 2-4 ADAM-5000 panel mounting
ADAM-5000 2-7
Installation Guideline
DIN Rail Mounting
The system can also be secured to the cabinet by using mounting rails.
If you mount the system on a rail, y ou sh oul d also c o nside r using e nd
brackets on each end of the rail. The end brackets help keep the system
from sliding horizontally along the rail. This helps minimize the
possibility of accidentally pulling the wiring loose. If you examine the
bottom of the system, you will notice two small retainingclips. To secure
the system to a DIN rail, place the system onto the rail and gently push
up on the retaining clips. The clips lock the system on the rail. To
remove the system, pull down on the retaining clips, lift up on the base
slightly, and pull it away from the rail.
2-8 ADAM-5000
Figure 2-5 ADAM-5000Rail mounting
Chapter 2
2.5 Wiring and Conections
Figure 2-6 ADAM-5000E Rail mountings
This section provides basic inform ation on wiri ng the power s upply
and I/O units, and on connecting the network.
DC Power Supply Unit Wiring
Be sure that the DC power supply voltage remains within the allowed
fluctuation range of between 10 to 30 V
for power supply wiring.
. Terminals +VS and GND are
DC
Note: The wire(s) used should be at least 2mm2.
ADAM-5000 2-9
Installation Guideline
INIT* is used for changi ng ba ud rate an d checks um. C OM is pr ovided
as reference to the RS-485 ground signal. DATA+ and DATA- are
provided for the RS-485 twisted pair connection.
Figure 2-7 ADAM-5000 Wiring Connections
I/O Module Wiring
The system uses plug-in screw terminal blocks for the interface
between I/O module and field devices . The following inf ormation
must be considered when connecting electrical devices to I/O modules.
1. The terminal block accepts 0.5 mm2 to 2.5 mm2 wires
2. Always use a continuous length of w ire, do not co mbine wires to
attain needed length
3. Use the shortest possible wire length
4 . Use the wire trays for routing where possible
2-10 ADAM-5000
Chapter 2
5 . Avoid running wi res near high ener gy wi ring
6 . A void running i nput wiring in close pr oximity to
output wiring where possible
7. Avoid creating sharp bends in the wires
RS-485 Port Connection
There is a pair of DB9 ports in the ADAM-5000 system. The ports are
designed to link the RS-485 through a cable to a network in a system.
The pin assignment of the port is as follows:
Note:
The wiring of the RS-485 should be through a twisted
pair. To reduce electrical noise, it should be twisted
as tightly as possible
ADAM-5000 2-11
Installation Guideline
RS-232 Port Connection
The RS-232 port is designed for field configuration and diagnostics.
Users may connect a notebook PC to the RS-232 port to configure or
troubleshoot your system in the fiel d. Further , the ADAM-5000
system can also be configu red as th e slav e of the host compute r
through this port connection. The pin assignment of the port is as
follows:
Build-in Communication Ports for Diagnostic
Connection (ADAM-5000E only)
The Built-in Communication Ports for Diagnostic Function enables
users to perform a quick diagnostics to locate where the sys tem is at
fault.
This Diagnostic Function requires the RS-485 port of ADAM-5000E
to be connected to COM1 of host PC, and the RS-23 2 port of
ADAM-5000E to COM2 of the previous host PC or othe r PCs.
Then you should install software such as ComWatch or
Hyperterminal and so on to monitor the commands that are being
issued and the subse- quent responses from connected modules.
2-12 ADAM-5000
Chapter 2
Figure 2-8 Build-in Communication Ports for Diagnostic
Connection
Flexible Communication Port Function
Connection(ADAM-5000E only)
The Flexible Communication Port Function prevents ADAM-5000E
from system glitches due to communication line problem s.
This function enables simultaneous connections via COM1 and COM2
port of your host PC to the RS-232 and RS-485 port of ADAM-5000E
specifically. While working in conjunction with specific HMI software
(e.g. AFX, FIX) that offers COM Port Backup Function, A D AM -5000E
can circumvent failed comm unication on one port by switching t o
another available port to continue p rogram execution.
ADAM-5000 2-13
Installation Guideline
Figure 2-9 Flexible Communication Port Function Connection
2-14 ADAM-5000
3
ADAM-5000 System
Loading...
+ 271 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.