Advantech Barcode Reader RS 485 User Manual

ADAM-5000 Series  
RS-485 Based Data Acquisition  
and Control System  
User's Manual  
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 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. 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  
We want you to get the 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 answers 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 questions that apply to your problem  
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 products. In fact, most problems  
reported are minor and are able to be easily solved over the phone.  
In addition, free technical support is available from Advantech  
engineers every business day. We are always ready to give advice  
on application requirements or specific information on the installa-  
tion and operation of any of our products.  
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 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.  
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 anything abnormal 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 readily available.  
3. If your product is diagnosed as defective, you have to request  
an RAM number. When requesting an 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 office directly. You should fill in  
the "Problem Repair Form", describing in detail the application  
environment, configuration, and problems 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 dated  
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 outside of the package  
and ship it prepaid to your dealer.  
Contents  
Chapter 1 Introduction............................................................1-1  
1.1 Overview .................................................................. 1-2  
1.2 System Configuration ............................................... 1-3  
1.3 A Few Steps to a Successful System ...................... 1-4  
Chapter 2 Installation Guideline ...........................................2-1  
2.1 General ..................................................................... 2-2  
2.2 Module Installation ................................................... 2-6  
2.3 I/O Slots and I/O Channel Numbering ..................... 2-6  
2.4 Mounting................................................................... 2-7  
2.5 Wiring and Connections............................................ 2-9  
Chapter 3 ADAM-5000 System ................................................3-1  
3.1 Overview .................................................................. 3-2  
3.2 Major Features of the ADAM-5000  
System ...................................................................... 3-2  
3.3 System Setup ............................................................ 3-6  
3.4 Technical Specifications of the  
ADAM-5000 ............................................................ 3-7  
Chapter 4 I/O Modules ............................................................4-1  
4.1 RTD Input Module ................................................... 4-2  
4.2 ADAM-5013 RTD Input Resistance  
Calibration ................................................................ 4-5  
4.3 Analog Input Modules .............................................. 4-7  
4.4 Analog Output Modules ......................................... 4-15  
4.5 Analog I/O Modules Calibration............................. 4-18  
4.6 Digital Input/Output Modules ................................. 4-24  
4.7 Relay Output Modules............................................ 4-38  
4.8 Counter/Frequency Module.................................... 4-41  
Chapter 5 Software Utilities ...................................................5-1  
5.1 ADAM Utility Software........................................... 5-2  
5.2 DLL (Dynamic Link Library) Driver ....................... 5-8  
5.3 DDE (Dynamic Data Exchange) Server ................. 5-9  
5.4 ADAM-4000 and ADAM-5000  
Windows Utility ...................................................... 5-10  
5.4.1 Overview ........................................................................ 5-10  
5.4.2 Save Function ................................................................. 5-11  
5.4.3 COM Port Settings ........................................................ 5-12  
5.4.4 Search Connected modules ............................................. 5-13  
5.4.5 Terminal Emulation ........................................................ 5-14  
5.4.6 Data Scope ..................................................................... 5-16  
5.4.7 Saving a Module’s Configuration to File ........................ 5-17  
5.4.8 Load Module’s Configuration File ................................. 5-19  
5.4.9 Module Configuration .................................................... 5-21  
5.4.10 Module Calibration ........................................................ 5-23  
5.4.11 Data Input and Output .................................................. 5-25  
5.4.12 Alarm Settings ................................................................ 5-27  
5.4.13 Download Procedure ...................................................... 5-28  
Chapter 6 Command Set ........................................................6-1  
6.1 Introduction .............................................................. 6-2  
6.2 Syntax....................................................................... 6-2  
6.3 CPU Command Set.................................................. 6-4  
6.4 ADAM-5013 RTD Input Command Set ................ 6-19  
6.5 Analog Input Command Set ................................... 6-37  
6.6 ADAM-5017H Analog Input Command Set ......... 6-57  
6.7 Analog Input Alarm Command Set ........................ 6-71  
6.8 Analog Output Command Set ................................ 6-90  
6.9 Digital Input/Output Command Set ...................... 6-107  
6.10 ADAM-5080 Counter/Frequency  
Command Set ........................................................6-115  
Chapter 7 Troubleshooting.....................................................7-1  
7.1 Hardware Diagnosis................................................. 7-2  
7.2 Software Diagnosis .................................................. 7-2  
7.3 System Indicators ..................................................... 7-3  
7.4 Communication Problems......................................... 7-5  
7.5 I/O Module Troubleshooting ..................................... 7-6  
Chapter A Quick Start Example ............................................ A-1  
A.1 System Requirements to Setup an  
ADAM-5000 System .............................................. A-2  
A.2 Basic Configuration Hook-up .................................. A-5  
A.3 Baud Rate and Checksum........................................ A-8  
A.4 A Distributed ADAM-5000 Network  
System Hook-up .................................................... A-11  
Chapter B Data Formats and  
I/O Ranges ............................................................ B-1  
B.1 Analog Input Formats.............................................. B-2  
B.2 Analog Input Ranges - ADAM-5017 and 5018 ...... B-4  
B.3 Analog Input Ranges of ADAM-5017H ................. B-7  
B.4 Analog Output Formats ........................................... B-8  
B.5 Analog Output Ranges ............................................ B-8  
B.6 ADAM-5013 RTD Input Format and Ranges ........ B-9  
Chapter C RS-485 Network .................................................... C-1  
C.1 Basic Network Layout ............................................ C-3  
C.2 Line Termination...................................................... C-6  
C.3 RS-485 Data Flow Control ...................................... C-9  
Chapter D How to Use the  
Checksum Feature ............................................... D-1  
D.1 Checksum Enable/Disable....................................... D-2  
Chapter E ADAM-4000/5000 System  
Grounding Installation ......................................... E-1  
E. 1 Power Supplies For relevant wiring issues,  
please refer to the following scheme : ......................E-2  
E.2 Grounding Installation ...............................................E-2  
E.3 External DI, DO, AI, AO Wiring Reference ...........E-3  
E.4 Requirements for RS-485 signal wires .....................E-3  
E.5 Grounding reference (Ground bar for the factory  
environment should have a standard resistance  
below 5 W) ...............................................................E-5  
E.6 Some Suggestions on Wiring Layout ........................E-6  
Chapter F Grounding Reference .......................................... F-1  
F.1 Grounding ................................................................. F-3  
F.2 Shielding ................................................................... F-9  
F.3 Noise Reduction Techniques .................................. F-14  
F.4 Check Point List ..................................................... F-15  
Figures  
Figure 1-1: ADAM-5000 System Configurations ................................. 1-3  
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  
Connection......................................................................2-13  
Figure 2-9: Flexible Communication Port Function Connection....... 2-14  
Figure 3-1: Function block diagram .................................................... 3-8  
Figure 4-1: ADAM-5013 module frontal view....................................... 4-2  
Figure 4-2: RTD inputs ........................................................................ 4-3  
Figure 4-3: Applying calibration resistance ........................................ 4-5  
Figure 4-4: ADAM-5017 module frontal view....................................... 4-7  
Figure 4-5: Millivolt and volt input ........................................................ 4-8  
Figure 4-6: Process current input ....................................................... 4-8  
Figure 4-7: ADAM-5017H module frontal view .................................. 4-10  
Figure 4-8: Millivolt and volt input ...................................................... 4-11  
Figure 4-9: Process current input ..................................................... 4-11  
Figure 4-10: ADAM-5018 module frontal view..................................... 4-14  
Figure 4-11: Thermocouple input........................................................4-14  
Figure 4-12: ADAM-5024 module frontal view..................................... 4-16  
Figure 4-13: Analog output ..................................................................4-17  
Figure 4-14: Applying calibration voltage ............................................4-18  
Figure 4-15: Zero calibration ...............................................................4-19  
Figure 4-16: Span calibration .............................................................. 4-19  
Figure 4-17: Cold junction calibration ................................................. 4-20  
Figure 4-18: Output module calibration .............................................. 4-23  
Figure 4-19: Dip switch setting for digital I/O channel ........................ 4-25  
Figure 4-20: ADAM-5050 module frontal view..................................... 4-25  
Figure 4-21: Dry contact signal input (ADAM-5050) ............................ 4-25  
Figure 4-22: Wet contact signal input (ADAM-5050) ........................... 4-26  
Figure 4-23: Digital output used with SSR (ADAM-5050/5056) .......... 4-26  
Figure 4-24: ADAM-5051 module frontal view.....................................4-27  
Figure 4-25: TTL input (ADAM-5051) ...................................................4-28  
Figure 4-26: Contact closure input (ADAM-5051) ............................... 4-28  
Figure 4-27: ADAM-5051D Module ...................................................... 4-29  
Figure 4-28: TTL Input (ADAM-5051D) ................................................ 4-30  
Figure 4-29: Contact Closure Input (ADAM-5051D)............................4-30  
Figure 4-30: ADAM-5052 module frontal view.....................................4-31  
Figure 4-31: Isolated digital input (ADAM-5052) .................................4-31  
Figure 4-32: ADAM-5056 module frontal view.....................................4-32  
Figure 4-33: Digital output used with SSR (ADAM-5050/5056) .......... 4-33  
Figure 4-34: ADAM-5056D Module ...................................................... 4-34  
Figure 4-35: ADAM-5056D Application Wiring .................................... 4-35  
Figure 4-36: ADAM-5060 module frontal view.....................................4-38  
Figure 4-37: Relay output ....................................................................4-38  
Figure 4-38: ADAM-5068 module frontal view.....................................4-39  
Figure 4-39: Relay output ....................................................................4-40  
Figure 4-40: ADAM-5080 Module ........................................................4-42  
Figure 4-41: Isolated Input Level .........................................................4-42  
Figure 4-42: TTL Input Level................................................................4-43  
Figure 4-43: Counter / Frequency Mode.............................................. 4-43  
Figure 4-44: Wiring for Up/Down Counting ......................................... 4-44  
Figure 4-45: Wiring for Bi-direction Counting......................................4-45  
Figure 4-46: Wiring for Frequency Mode .............................................4-45  
Figure 4-47: Setting Alarm Limit..........................................................4-46  
Figure 4-48: Sending Alarm Signal (recommended settings) ...........4-47  
Figure 4-49: Sending Alarm Signal (settings not recommended) ..... 4-47  
Figure 4-50: Digital Output Mapping ................................................... 4-49  
Figure 4-51: Jumper Location on the ADAM-5080 Module ................. 4-50  
Figure 4-52: TTL/Isolated Input Level Selectting ................................4-50  
Figure 5-1: Main screen ...................................................................... 5-3  
Figure 5-2: Setup options .................................................................... 5-4  
Figure 5-3: Zero Calibration ................................................................ 5-6  
Figure 5-4: Terminal emulation ........................................................... 5-7  
Figure 5-5: Display the connected module ....................................... 5-11  
Figure 5-6: Save the information of connected modules to txt file.... 5-12  
Figure 5-7: Setup options ..................................................................5-12  
Figure 5-8: Checksum function enabled ..........................................5-15  
Figure 5-9: The connection for the Data Scope function .................. 5-16  
Figure 5-10: Monitor the issuing commands from PC#1 ...................5-17  
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-4: 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: Daisychaining .................................................................. 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 locations......................................... C-8  
Figure C-7: RS-485 data flow control with RTS .................................. C-9  
Figure E-1: Grounding Scheme ......................................................... E-2  
Figure E-2: External Terminal Block and Fan ..................................... E-3  
Figure E-3: Grounding for on-site facilities and ADAM-5000/4000  
Systems ........................................................................... E-4  
Figure E-4: Grounding for signal wires .............................................. E-4  
Figure E-5 : Grounding Reference ...................................................... E-5  
Figure F-1: Think the EARTH as GROUND......................................... F-3  
Figure F-2: Grounding Bar. .................................................................. F-4  
Figure F-3: Normal mode and Common mode.................................. F-5  
Figure F-4: Normal mode and Common mode.................................. F-6  
Figure F-5: The purpose of high voltage transmission ...................... F-7  
Figure F-6: wire impedance. ............................................................... F-7  
Figure F-7: Single point groundinF. (1) ............................................... F-8  
Figure F-8: Single point groundinF. (2) ............................................... F-9  
Figure F-9: Single isolated cable ........................................................ F-9  
Figure F-10: Double isolated cable..................................................... F-10  
Figure F-11: System Shielding ............................................................ F-11  
Figure F-12: The characteristic of the cable........................................ F-12  
Figure F-13: System Shielding (1) ...................................................... F-13  
Figure F-14: System Shielding (2) ...................................................... F-13  
Figure F-15: Noise Reduction Techniques ......................................... F-15  
Tables  
Table 4-1: Technical specifications of ADAM-5013 ............................. 4-4  
Table 4-2: Calibration resistances of ADAM-5013 .............................. 4-6  
Table 4-3: Technical specifications of ADAM-5017 ............................. 4-9  
Table 4-4: Technical specifications of ADAM-5017H ........................ 4-12  
Table 4-5: ADAM-5017H input signal ranges.................................... 4-13  
Table 4-6: Technical specifications of ADAM-5018 ........................... 4-15  
Table 4-7: Technical specifications of ADAM-5024 ........................... 4-17  
Table 4-8: Calibration voltage of ADAM-5017/5018 .......................... 4-21  
Table 4-9: Calibration voltage of ADAM-5017H ................................. 4-22  
Table 4-10: Technical specifications of ADAM-5050 ........................... 4-27  
Table 4-11: Technical specifications of ADAM-5051 ........................... 4-28  
Table 4-12: Comparison between ADAM-5051 and ADAM-5051D ....4-30  
Table 4-13: Technical specifications of ADAM-5052 ........................... 4-32  
Table 4-14: Technical specifications of ADAM-5056 ........................... 4-33  
Table 4-15: Main Units Supporting Digital Output Holding Funciton .. 4-36  
Table 4-16: Comparison between ADAM-5056 and ADAM-5056D ....4-37  
Table 4-17: Technical specifications of ADAM-5060 ........................... 4-39  
Table 4-18: Technical specifications of ADAM-5068 ........................... 4-40  
Table 4-19: ADAM-5080 technical specifications ................................4-51  
1
Introduction  
Introduction  
1.1  
Overview  
The ADAM-5000 series is a complete product line that provides a wide  
variety of features in a data acquisition and control application. It  
includes 4 I/O-slotsADAM-5000/485 and 8 I/O-slotsADAM-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 modular  
design also provides more flexibility in the system configuration. The  
following is a summary 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 communication port and one  
built-in RS-485 communication port. The 5000E system includes all of  
the above components, except it has an 8-slot base. Details of the  
system kernel features and more are covered in Chapter 3.  
I/O Configuration  
The ADAM-5000/485 CPU can support up to 64 I/O points with the 4-  
slot base currently available.The ADAM-5000E 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 Modules  
The ADAM-5000 series has a complete range of I/O modules for your  
applications. A full range of digital modules which support 10 to  
30 VDC and relay outputs are offered. The analog modules provide  
16-bit resolution and programmable input and output signal ranges  
(including bipolar).  
Software Utilities  
There are some software utilities available to the ADAM-5000  
systems. The DOS and Windows utility software helps you to  
configure your ADAM-5000. The DLL (Dynamic Link Library) is  
provided to write Windows applications, 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.  
Figure 1-1 ADAM-5000 System Configurations  
Note:  
To avoid system over heating, only four ADAM-5024  
are allowed to be installed on ADAM-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 require-  
ments.  
Step 3: Understand the I/O System Configurations  
It is important to understand how your I/O modules can be configured.  
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 your applications in your host computer with  
the ADAM-5000 systems, it is very helpful to understand how the  
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  
2
Installation Guideline  
Installation Guideline  
2.1  
General  
Environmental Specifications  
The following table lists the environmental specifications that general-  
ly apply to the ADAM-5000 system (System kernel and  
I/O modules).  
Specification  
Rating  
Storage temperature  
-13 to 185°F (-25 to 85°C)  
14 to 158°F (-10 to 70°C)  
Ambient operating  
temperature  
Ambient humidity*  
Atmosphere  
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 VDC power supply, they accept any power  
unit that supplies within the range of +10 to +30VDC. The power supply  
ripple must be limited to 100 mV peak-to-peak, and the immediate ripple  
voltage should be maintained between +10 and +30 VDC.  
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  
2-2  
ADAM-5000  
Chapter 2  
A complete description of the diagnostic indicators and how to use  
them for troubleshooting is explained in Chapter 7.  
Figure 2-1 ADAM-5000 Diagnostic indicators  
Setting the Network Address Switch  
Set the network address using the 8-pin DIP switch. Valid settings  
range from 0 to 255 (00h to FFh) where ON in any of the 8 DIP switch  
positions equates to a binary 1, and OFF equates to a binary 0.  
For example, if the Node ID is 03h the DIP switch settings for switches  
1 and 2 (representing bits 1 and 2) would both be ON while the rest of  
the switches would be OFF. The default Node ID is 01h  
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.  
Module  
Weight  
5000/485 5000E  
5013  
45g  
5017  
79g  
5017H  
45g  
5018  
72g  
5024  
75g  
5050  
63g  
470g  
525g  
Module  
Weight  
5051  
65g  
5051D  
45g  
5052  
68g  
5056  
68g  
5056D  
45g  
5060  
85g  
5068  
65g  
5080  
52g  
ADAM-5000  
2-5  
Installation Guideline  
2.2  
Module Installation  
When inserting modules into the system, align the 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 firmly 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 numbered 0 thru 7. For example, ADAM-5017 is a 8-channel  
analog input module, its channel numbering is 0 through 7.  
2-6  
ADAM-5000  
Chapter 2  
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 ventila-  
tion. You cannot mount the system vertically, upside down or on a flat  
horizontal surface. A standard #7 tating screw (4mm diameter) should  
be used.  
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, you should also consider  
using end 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 retaining  
clips. 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.  
Retaining Clips  
Figure 2-5 ADAM-5000 Rail mounting  
2-8  
ADAM-5000  
Chapter 2  
Figure 2-6 ADAM-5000E Rail mounting  
2.5  
Wiring and Connections  
This section provides basic information on wiring the power supply  
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 VDC. Terminals +VS and GND are  
for power supply wiring.  
Note: The wire(s) used should be at least 2mm2.  
ADAM-5000  
2-9  
Installation Guideline  
INIT* is used for changing baud rate and checksum. COM is provided  
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 and connections  
I/O Modules Wiring  
The system uses plug-in screw terminal blocks for the interface  
between I/O module and field devices. The following information 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 wire, do not combine  
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 wires near high energy wiring  
6. Avoid running input wiring in close proximity 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:  
Pin No.  
Pin 1  
Pin 2  
Pin 3  
Pin 4  
Pin 5  
Pin 6  
Pin 7  
Pin 8  
Pin 9  
Description  
RS-485 Data -  
RS-485 Data +  
Not Used  
Not Used  
RS-485 Signal Ground  
Not Used  
Not Used  
Not Used  
Not Used  
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 field. Further, the ADAM-5000  
system can also be configured as the slave of the host computer  
through this port connection. The pin assignment of the port is as  
follows:  
Pin No.  
Description  
Pin 1 Not Used  
Pin 2 Data Receive (RxD)  
Pin 3 Data Send (TxD)  
Pin 4 Not Used  
Pin 5 RS-232 Signal Ground (GND)  
Pin 6 Not Used  
Pin 7 Not Used  
Pin 8 Not Used  
Pin 9 Not Used  
Built-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 system is at  
fault.  
2-12  
ADAM-5000  
Chapter 2  
This Diagnostic Function requires the RS-485 port of ADAM-5000E to  
be connected to COM1 of host PC, and the RS-232 port of  
ADAM-5000E to COM2 of the previous host PC or other 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.  
Host PC  
COM2  
COM1  
ADAM  
ADAM-4520  
ADAM-5000/E  
ADAM-5000/E  
RS-485  
RS-232  
RS-485  
ComW  
atch  
Hyper  
terminal  
Software  
ADAM  
ADAM-4000  
Notebook  
ADAM  
ADAM-5000/485  
ADAM  
ADAM-5000  
PWR  
RUN  
COMM  
BATT  
RESET  
+5  
V
GND  
INT*  
COM  
DATA+  
DATA-  
Figure 2-8 Built-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 problems.  
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, ADAM-5000E  
can circumvent failed communication on one port by switching to  
another available port to continue program execution.  
ADAM-5000  
2-13  
Installation Guideline  
Host PC  
AFX  
FIX  
COM2  
COM1  
ADAM  
ADAM-4520  
RS-485  
ADAM-5000E  
ADAM-5000E  
ADAM  
ADAM-5000  
ADAM  
ADAM-5000  
PWR  
PWR  
RUN  
RUN  
COMM  
COMM  
BATT  
BATT  
RESET  
RESET  
+5  
V
+5  
V
RS-232  
GND  
INT*  
COM  
GND  
INT*  
COM  
DATA+  
DATA+  
DATA-  
DATA-  
RS-485  
ADAM  
ADAM-4000  
ADAM  
ADAM-5000/485  
ADAM  
ADAM-5000  
PWR  
RUN  
COMM  
BATT  
RESET  
+5  
V
GND  
INT*  
COM  
DATA+  
DATA-  
Figure 2-9 Flexible Communication Port Function Connection  
2-14  
ADAM-5000  
3
ADAM-5000 System  
ADAM-5000 System  
3.1  
Overview  
The ADAM-5000 series is a data acquisition and control system which  
can control, monitor and acquire data through multichannel I/O  
modules. Encased in rugged industrial grade plastic bases, the  
systems provide intelligent signal conditioning, analog I/O, digital I/O,  
RS-232 and RS-485 communication. The ADAM-5000/485 can handle  
up to any 4 combinations of I/O modules (64 I/O points), while the  
ADAM-5000E can handle up to 8 combinations of I/O modules (128 I/  
O points). The systems communicate with their controlling host over a  
multi-drop RS-485 network.  
3.2  
Major Features of the ADAM-5000 System  
The ADAM-5000 system consists of two major parts: the system  
kernel and I/O modules. The system kernel includes a CPU card, power  
regulator, 4-slot base, 8-slot base, built-in RS-232 communication port,  
and a pair of built-in RS-485 ports. It also offers the following major  
features:  
The CPU's Basic Functions  
The CPU is the heart of the system and has the following basic  
functions:  
Data acquisition and control for all I/O modules in the system  
Linearization of T/C (Thermocouple)  
Communication software and command set  
Calibration software and command set  
Alarm monitoring  
Management of the EEPROM device that holds the system  
parameters  
Data transformation  
Diagnosis  
3-2  
ADAM-5000  
Chapter 3  
Diagnosis  
There are 4 LEDs (indicated as PWR, RUN, TX and RX) to provide  
visual information on the general operation of the ADAM-5000  
system. The LEDs also indicate the error status when the  
ADAM-5000 system performs the self test. Besides the LED indica-  
tors, the system also offers software diagnosis via the RS-232 port.  
For details, refer to Chapter 7.  
3-Way Isolation and Watchdog Timer  
Electrical noise can enter a system in many different ways. It may enter  
through an I/O module, a power supply connection or the communica-  
tion ground connection. The ADAM-5000 system provides isolation  
for I/O modules (3000 VDC), communication connection (2500 VDC) and  
communication power connection (3000 VDC). The 3-way isolation  
design prevents ground loops and reduces the effect of electrical  
noise to the system. It also offers better surge protection to prevent  
dangerous voltages or spikes from harming your system. The system  
also provides a Watchdog timer to monitor the microprocessor. It will  
automatically reset the microprocessor in ADAM-5000 system if the  
system fails.  
Remote Software Configuration and Calibration  
The ADAM-5000 system merely issues a command from the host  
computer, you can change an analog input module to accept several  
ranges of voltage input, current input, thermocouple input or RTD  
input. With the exception of system node address, all the parameters  
including speed, parity, HI and LO alarm, and calibration parameters  
setting may be set remotely. Remote configuration can be done by  
using either the provided menu-based software or the command set's  
configuration and calibration commands. By storing configuration and  
calibration parameters in a nonvolatile EEPROM, the systems are able  
to retain these parameters in case of power failure.  
Flexible Alarm Setting  
The ADAM-5000 system provides a flexible alarm setting method via  
an utility software (ADAM.EXE) between analog input modules and  
digital output modules. The user may configure a point of any digital  
output module plugged into any slot as the High alarm or Low alarm  
ADAM-5000  
3-3  
ADAM-5000 System  
output of a channel of an analog input module. The relationship and  
their High/Low alarm limits may be downloaded into the system‘s  
EEPROM by the host computer.  
The alarm functions can be enabled or disabled remotely. When the  
alarm function is enabled, the user may select whether the digital  
output is triggered. If the digital outputs are enabled, they are used to  
indicate the High and Low Alarm state. The High and Low alarm  
states can be read at any time by the host computer.  
Every A/D conversion will be followed by a comparison with the High  
and Low limit. When the input value is over the High limit or below  
the Low limit, the High or Low alarm state is set to ON.  
There are two alarm mode options: Momentary and Latching.  
If the alarm is in Latching mode, the alarm will stay on even when the  
input value returns within limits. An alarm in Latching mode can be  
turned OFF by issuing a Clear Alarm command from the host computer.  
A Latching alarm is cleared by the microprocessor when the opposite  
alarm is set  
For example, the alarm is in latching mode and the High alarm is turned  
ON. When the module receives a value that is lower than the Low  
alarm limit, the microprocessor will clear the High alarm and turn the  
Low alarm ON.  
When the alarm is in Momentary mode, the alarm will be turned ON  
when the input value is outside of alarm limits and OFF while the input  
value remains within alarm limits. The arrangement of coupling High  
and Low alarm states with digital outputs may be utilized to build ON/  
OFF controllers that can operate without host computer involvement.  
Connectivity and Programming  
ADAM-5000 systems can connect to and communicate with all  
computers and terminals. They use either RS-232 or RS-485 transmis-  
sion standards and communicate with ASCII format commands.  
However, users can only select and use one communication port at  
any time. All communications to and from the system are performed in  
ASCII, which means that ADAM-5000 systems can be  
3-4  
ADAM-5000  
Chapter 3  
programmed in virtually any high-level language. The details of all  
commands will be covered in Chapter 6.  
Flexible Communication Connection  
ADAM-5000’s built-in RS-232/485 conversion capability enables users  
to freely choose either RS-232 port or RS-485 port to connect with host  
PC. When user select either port to connect with their host PC, the  
other port could be utilized according to their specific needs.  
For example, if RS-232 port is selected for connection with host PC,  
the RS-485 port can be used for connection with DA&C modules (such  
as ADAM-5000/485, ADAM-5000, ADAM-4000 modules). Thus users  
save extra costs for another RS-232/485 conversion device (e.g.  
ADAM-4520).  
Or if users select RS-485 port for host PC connection, the RS-232 port  
can then have different usage such as described in the following  
sections (see Built-in Communication Ports for Field Diagnostics and  
Flexible Communication Port)  
Built-in Communication Ports for Diagnostics  
(ADAM-5000E only)  
When users utilize application software to control their system,  
ADAM-5000E can provide another port to let user monitor at any time  
the communication quality and condition as a reference to mainte-  
nance and test. When error occurs in the system, users can perform a  
quick diagnostics to locate the fault. A considerable amount of  
troubleshooting efforts can be saved. For example, using popular  
ComWatch software, users can watch the current execution and  
response of a certain command. It is very convenient to identify  
whether it is communication or the hardware product that is causing  
the problem.  
Flexible Communication Port (ADAM-5000E only)  
ADAM-5000E provides a further application. Users can simultaneous-  
ly connect COM1 and COM2 of host PC to RS-232 and RS-485 port of  
ADAM-5000E. When host PC issues a command through one of the  
COM ports but receives no response (the other port will serve as  
backup), the COM Port Backup Function of HMI software (e.g. AFX,  
FIX) will automatically switch to another COM port to continue  
ADAM-5000  
3-5  
ADAM-5000 System  
program execution without undue influence on your system. Probabili-  
ty of a system crash has thus minimized.  
3.3  
System Setup  
A Single System Setup thru the RS-232 Port  
If users would like to use a PC to locally control and monitor a simple  
application, the ADAM-5000 system provides up to 64 points or 128  
points and front-end wiring through the RS-232 port to the host  
computer.  
A Distributed I/O Setup thru the RS-485 Network  
The RS-485 network provides lower-noise sensor readings as the  
systems can be placed much closer to the source. Up to 256  
ADAM-5000 systems may be connected to an RS-485  
multi-drop network by using the ADAM-4510/4510S RS-485 repeaters,  
extending the maximum communication distance to 4,000 ft. The host  
computer is connected to the RS-485 network from one of its COM  
ports through the ADAM-4520/4522 RS-232/RS-485 converter.  
To boost the network's throughput, the ADAM-4510/4510S RS-485  
repeaters use a logical RTS signal to manage the repeater's direction.  
Only two wires are needed for the RS-485 network: DATA+ and  
DATA-. Inexpensive, shielded twisted-pair wiring is employed.  
3-6  
ADAM-5000  
Chapter 3  
3.4  
Technical Specifications of the ADAM-5000  
Processor  
CPU  
80188, 16-bit microprocessor  
RAM  
32 KB  
ROM (Flash)  
128 KB  
4 slots (ADAM-5000/485)  
8 slots (ADAM-5000E)  
I/O Capacity  
Watchdog Timer  
Power Consumption  
Ye s  
1.0 W (ADAM-5000/485)  
4.0 W (ADAM-5000E)  
Communication  
RS-485 Ports  
2, 1 each for input and output  
Extended RS-232 Ports  
Wiring  
1
RS-485, twisted pair  
1200 bps to 115.2 Kbps  
4000 ft. (1.2 Km)  
Speed  
Max. Communication Distance  
Network Expansion  
Up to 256 ADAM-5000 systems  
per host serial port over twisted  
pair wires  
Protection  
Transient supression on RS-485  
communication lines  
Protocol  
ASCII command/respones  
Asynchoronous Data Format  
1 start bit, 8 data bits, 1 stop bit,  
no parity (1 start, 8-N-1)  
Communication Error Check  
With checksum  
ADAM-5000  
3-7  
ADAM-5000 System  
Isolation  
Connection Power  
Input/Output  
3000 Vdc  
3000 Vdc  
2500 Vdc (ADAM-5000/485)  
3000 Vdc (ADAM-5000E)  
Communication  
Diagnosis  
- Power  
- CPU  
Status Indicators  
- Communication  
- I/O modules  
Yes, while on  
Yes  
Self-Test  
Software Diagnosis  
Basic Function Block Diagram  
Memory  
Opto-Coupled  
Isolation  
DATA+  
DATA-  
COMM.  
16 Bit  
up  
Bus  
Controller  
+5V GND  
GND  
+V  
WDT&  
Reset  
P. S.  
Power  
Isolation  
+10~  
+30Vdc  
Rectifier  
&
Power  
Converter  
Filter  
Figure 3-1 Function block diagram  
3-8  
ADAM-5000  
4
I/O Modules  
I/O Modules  
4.1  
RTD Input Module  
ADAM-5013 3-channel RTD input module  
The ADAM-5013 is a 16-bit, 3-channel RTD input module that features  
programmable input ranges on all channels. This module is an extreme-  
ly cost-effective solution for industrial measurement and monitoring  
applications. Its opto-isolated inputs provide 3,000 VDC of isolation  
between the analog input and the module, protecting the module and  
peripherals from damage due to high input line voltage.  
Note:  
Owing to the conversion time required by the A/D  
converter, the initialization time of each ADAM-5013  
module is 5 seconds. Thus the total initialization  
time will be about 20 seconds if all 4 I/O slots in an  
ADAM-5510/P31 main unit contain ADAM-5013  
modules.  
ADAM-5013  
3 RTD  
ADAM-5013  
1
EXC0+  
SEN0+  
SEN0-  
EXC0+  
A.GND  
EXC1+  
SEN1+  
SEN1-  
EXC1+  
A.GND  
EXC2+  
SEN2+  
SEN2-  
EXC2-  
A.GND  
16  
Figure 4-1: ADAM-5013 module frontal view  
4-2  
ADAM-5000  
Chapter 4  
Application wiring  
EXC0+  
SEN0+  
SEN0-  
EXC0-  
A.GND  
2 Wire  
RTD  
EXC0+  
SEN0+  
SEN0-  
EXC0-  
A.GND  
3 Wire  
RTD  
EXC0+  
SEN0+  
SEN0-  
EXC0-  
A.GND  
4 Wire  
RTD  
Figure 4-2: RTD inputs  
ADAM-5000  
4-3  
I/O Modules  
Technical specifications of ADAM-5013  
Analog input channels  
Input type  
three  
Pt or Ni RTD  
RTD type and temperature  
range  
Pt -100 to 100° C a=0.00385  
Pt 0 to 100° C a=0.00385  
Pt 0 to 200° C a=0.00385  
Pt 0 to 600° C a=0.00385  
Pt -100 to 100° C a=0.00392  
Pt 0 to 100° C a=0.00392  
Pt 0 to 200° C a=0.00392  
Pt 0 to 600° C a=0.00392  
Ni -80 to 100° C  
Ni  
0 to 100° C  
3000 VDC  
Isolation voltage  
Sampling rate  
10 samples/sec (total)  
Input impedance  
2 MΩ  
13.1 Hz @ 50 Hz,  
15.72 Hz @ 60 Hz  
Bandwidth  
Input connections  
Accuracy  
2, 3 or 4 wire  
± 0.1% or better  
± 0.015 °C/°C  
± 0.01 °C/°C  
150 dB  
Zero drift  
Span drift  
CMR@50/60 Hz  
NMR@50/60 Hz  
Power consumption  
100 dB  
1.2 W  
Table 4-1: Technical specifications of ADAM-5013  
4-4  
ADAM-5000  
Chapter 4  
4.2  
ADAM-5013 RTD Input Resistance Calibration  
1. Apply power to the ADAM-5510/P31 system that the RTD input  
module is plugged into and let it warm up for about 30 minutes  
2. Make sure that the module is correctly installed and is properly  
configured for the input range you want to calibrate. You can use  
the ADAM utility software to help in this.  
3. Connect the correct reference self resistance between the screw  
terminals of the ADAM-5013 as shown in the following wiring  
diagram. Table 4-2 below shows the correct values of the span and  
zero calibration resistances to be connected. Reference resistances  
used can be from a precision resistance decade box or from discrete  
resistors with the values 60 , 140 , 200 and 440 .  
Resistance  
Decade Box  
Figure 4-3: Applying calibration resistance  
4. First, with the correct zero (offset) calibration resistance connected  
as shown above, issue a Zero Calibration command to the module  
using the Calibrate option in the ADAM utility software.  
5. Second, with the correct span resistance connected as shown  
above, issue a Span Calibration command to the module using the  
Calibrate option in the ADAM utility software. Note that the  
module zero calibration must be completed prior to the span  
calibration.  
ADAM-5000  
4-5  
I/O Modules  
Note:  
If the above procedure is ineffective, the user must  
first issue an RTD Self Calibration command $aaSi2  
to the module and then complete steps 4 and 5 after  
self calibration is complete.  
Calibration resistances (ADAM-5013)  
Input Range Input Range  
Code (Hex)  
Span  
Zero  
Calibration Calibration  
Resistance Resistance  
20  
21  
22  
23  
24  
25  
26  
27  
Pt, -100 to 100° C 140 Ohms  
A = 0.00385  
60 Ohms  
Pt, 0 to 100° C  
A = 0.00385  
140 Ohms  
200 Ohms  
440 Ohms  
60 Ohms  
60 Ohms  
60 Ohms  
60 Ohms  
60 Ohms  
60 Ohms  
60 Ohms  
Pt, 0 to 200° C  
A = 0.00385  
Pt, 0 to 600° C  
A = 0.00385  
Pt, -100 to 100° C 140 Ohms  
A = 0.00392  
Pt, 0 to 100° C  
A = 0.00392  
140 Ohms  
200 Ohms  
440 Ohms  
Pt, 0 to 200° C  
A = 0.00392  
Pt, 0 to 600° C  
A = 0.00392  
28  
29  
Ni, -80 to 100° C 200 Ohms  
Ni, 0 to 100° C 200 Ohms  
60 Ohms  
60 Ohms  
Table 4-2: Calibration resistances of ADAM-5013  
4-6  
ADAM-5000  
Chapter 4  
4.3  
Analog Input Modules  
ADAM-5017 8-channel analog input module  
The ADAM-5017 is a 16-bit, 8-channel analog differential input module  
that provides programmable input ranges on all channels. It accepts  
millivolt inputs (±150mV, ±500mV), voltage inputs (±1V, ±5V and ±10V)  
and current input (±20 mA, requires 125resistor). The module  
provides data to the host computer in engineering units (mV, V or mA).  
This module is an extremely cost-effective solution for industrial  
measurement and monitoring applications. Its opto-isolated inputs  
provide 3,000 VDC of isolation between the analog input and the  
module, protecting the module and peripherals from damage due to  
high input line voltage. Additionally, the module uses analog multi-  
plexers with active overvoltage protection. The active protection  
circuitry assures that signal fidelity is maintained even under fault  
conditions that would destroy other multiplexers. This module can  
withstand an input voltage surge of 70 Vp-p with ±15 V supplies.  
ADAM-5017  
8 AI  
ADAM-5017  
1
V0+  
V0-  
V1+  
V1-  
V2+  
V2-  
V3+  
V3-  
V4+  
V4-  
V5+  
V5-  
V6+  
V6-  
V7+  
V7-  
16  
Figure 4-4: ADAM-5017 module frontal view  
ADAM-5000  
4-7  
I/O Modules  
Application wiring  
1
V0+  
+
V
mV/V  
V0-  
V1+  
V1-  
-
Figure 4-5: Millivolt and volt input  
1
V0+  
+
Iin  
0 - 20 mA  
V0-  
-
V1+  
125  
0.1%  
V1-  
Figure 4-6: Process current input  
Note:  
To keep measurement accuracy please short the  
channels that are not in use.  
4-8  
ADAM-5000  
Chapter 4  
Technical specifications of ADAM-5017  
Analog input channels  
Input type  
Eight differential  
mV, V, mA  
± 150 mV, ± 500 mV, ± 1V,  
±5V, ±10V and ±20 mA  
Input range  
Isolation voltage  
Sampling rate  
3000 VDC  
10 samples/sec (total)  
15 V max.  
Analog input signal limit  
Max. allowable voltage  
difference between two  
connectors in a module  
15 V max.  
2 Mohms  
Input impedance  
Bandwidth  
13.1 Hz @ 50 Hz,  
15.72 Hz @ 60 Hz  
Accuracy  
Zero drift  
± 0.1%  
± 1.5 µV/°C  
± 25 PPM/°C  
92 dB min.  
Span drift  
CMR@50/60 Hz  
+10 to +30 VDC  
(non-regulated)  
Power requirements  
Power consumption  
1.2 W  
Table 4-3: Technical specifications of ADAM-5017  
ADAM-5000  
4-9  
I/O Modules  
ADAM-5017H 8-channel high speed analog input  
module  
The ADAM-5017H is a 12-bit plus sign bit, 8-channel analog differen-  
tial input module that provides programmable input ranges on each  
channel. It accepts millivolt inputs (± 500 mV, 0-500 mV), voltage  
inputs (±1 V, 0-1 V, ±2.5 V, 0-2.5 V, ±5 V, 0-5 V, ±10 V and 0-10 V) and  
current inputs (0-20 mA and 4-20 mA; requires a 125 ohms resistor).  
The module provides data to the host microprocessor in engineering  
units (mV, V or mA) or two’s complement format. Its sampling rate  
depends on the data format received: up to 1,000 Hz (total) in two’s  
complement or 600 Hz (total) in engineering units. Space is reserved for  
125-ohm, 0.1%, 10 ppm resistors (See Figure 4-10). Each input channel  
has 3000 VDC of optical isolation between the outside analog input line  
and the module, protecting the module and peripherals from high input  
line voltages. Additionally, the module uses analog multiplexers with  
active overvoltage protection. The active protection circuitry assures  
that signal fidelity is maintained even under fault conditions that  
would destroy other multiplexers. The analog inputs can withstand a  
constant 70 Vp-p input with ±15 V supplies.  
ADAM-5017H  
8 AI  
ADAM-5017H  
1
V0+  
V0-  
V1+  
V1-  
V2+  
V2-  
V3+  
V3-  
V4+  
V4-  
V5+  
V5-  
V6+  
V6-  
V7+  
V7-  
16  
Figure 4-7: ADAM-5017H module frontal view  
4-10  
ADAM-5000  
Chapter 4  
Application wiring  
1
V0+  
+
V
mV/V  
V0-  
V1+  
V1-  
-
Figure 4-8: Millivolt and volt input  
1
V0+  
+
-
Iin  
0 - 20 mA  
V0-  
V1+  
125  
V1-  
0.1%  
Figure 4-9: Process current input  
ADAM-5000  
4-11  
I/O Modules  
Technical specifications of ADAM-5017H  
Analog Input Channels  
8 differential  
ADC Resolution  
Type of ADC  
12 bits, plus sign bit  
Successive approximation  
3000 VDC  
Isolation Voltage  
Sampling Rate  
1,000 Hz/module no. (total) in two's  
complement data format;  
600 Hz/module no. (total) in  
engineering unit data format  
Input Impedance  
20 Mohms (voltage inputs);  
125 ohms (current inputs)  
Signal Input Bandwidth 1000 Hz for both voltage inputs and  
current inputs  
Analog Signal Range  
±15 V max.  
Analog Signal Range for ±15 V max.  
any two measured Pins  
Power Requirements  
+10 to +30 VDC  
(non-regulated)  
Power Consumption  
1.8 W  
Table 4-4: Technical specifications of ADAM-5017H  
4-12  
ADAM-5000  
Chapter 4  
Input Range With  
Overranging  
Offset  
Offset  
Gain  
Gain  
Error @ Drift  
-10 to  
Offset  
Gain  
Drift  
Display  
Resolution  
Error @ Error @ Error @  
25° C  
-10 to  
25° C  
+70° C  
+70° C  
Voltage 0 ~ 10 V  
Inputs  
0 ~ 11 V  
±1 LSB ±2 LSB  
±1 LSB ±2 LSB  
±1 LSB ±2 LSB  
±1 LSB  
±2 LSB  
17 µV/°C 50  
2.7 mV  
1.3 mV  
ppm/°C  
0 ~ 5 V  
0 ~ 2.5 V  
0 ~ 1 V  
0 ~ 5.5 V  
0 ~ 2.75 V  
0 ~ 1.375 V  
±1.5 LSB ±2 LSB  
±1.5 LSB ±2 LSB  
16 µV/°C 50  
ppm/°C  
20 µV/°C 55  
ppm/°C  
0.67 mV  
0.34 mV  
0.16 mV  
2.7 mV  
±1 LSB ±2.5 LSB ±2 LSB  
±2.5 LSB 20 µV/°C 60  
ppm/°C  
0 ~ 500 mV 0 ~ 687.5 mV  
-
±5 LSB  
±3 LSB  
±1 LSB  
±3.5 LSB 20 µV/°C 67  
ppm/°C  
± 10 V  
± 5 V  
±11 V  
±1 LSB ±2 LSB  
±1 LSB ±2 LSB  
±1 LSB ±2 LSB  
±2 LSB  
17 µV/°C 50  
ppm/°C  
±0 ~ 5.5 V  
±0 ~ 2.75 V  
±0 ~ 1.375 V  
±0 ~ 687.5 mV  
±1.5 LSB ±2 LSB  
±1.5 LSB ±2 LSB  
17 µV/°C 50  
ppm/°C  
1.3 mV  
± 2.5 V  
± 1 V  
20 µV/°C 55  
ppm/°C  
0.67 mV  
0.34 mV  
0.16 mV  
±1 LSB ±2.5 LSB ±2 LSB  
±2.5 LSB 20 µV/°C 60  
ppm/°C  
± 500 mV  
-
±5 LSB  
±3 LSB  
±3.5 LSB 20 µV/°C 67  
ppm/°C  
Current 0 ~ 20 mA 22 mA  
±1 LSB ±1 LSB  
±1 LSB ±1 LSB  
±1.5 LSB ±2 LSB  
±1.5 LSB ±2 LSB  
nA/°C  
nA/°C  
ppm/°C  
5.3 µΑ  
5.3 µΑ  
Inputs  
4 ~ 20 mA 22 mA  
ppm/°C  
Table 4-5: ADAM-5017H input signal ranges  
ADAM-5018 7-channel thermocouple input module  
The ADAM-5018 is a 16-bit, 7-channel thermocouple input module  
that features programmable input ranges on all channels. It accepts  
millivolt inputs (±15 mV, ±50 mV, ±100 mV, ±500 mV), voltage inputs (±1  
V, ±2.5 V), current inputs (±20 mA, requires 125 resistor) and  
thermocouple inputs (J, K, T, R, S, E, B).  
The module forwards the data to the host computer in engineering  
units (mV, V, mA or temperature °C). An external CJC on the plug-in  
terminal is designed for accurate temperature measurement.  
ADAM-5000  
4-13  
I/O Modules  
ADAM-5018  
7 T/C  
ADAM-5018  
1
V0+  
V0-  
V1+  
V1-  
V2+  
V2-  
V3+  
V3-  
V4+  
V4-  
V5+  
V5-  
V6+  
V6-  
CJC+  
CJC-  
16  
Figure 4-10: ADAM-5018 module frontal view  
Application wiring  
1
V0+  
+
T/C  
V0-  
-
V1+  
V1-  
Figure 4-11: Thermocouple input  
4-14  
ADAM-5000  
Chapter 4  
Technical specifications of ADAM-5018  
Analog Input Channels Seven differential  
Input Type  
mV, V, mA, Thermocouple  
Input Range  
± 15 mV, ± 50 mV,  
± 100 mV, ± 500 mV, ± 1 V,  
± 2.5 V and ± 20 mA  
T/C Type and  
J
0 to 760 °C  
Temperature Range  
K
T
E
R
S
B
0 to 1370 °C  
-100 to 400 °C  
0 to 1400 °C  
500 to 1750 °C  
500 to 1750 °C  
500 to 1800 °C  
Isolation Voltage  
Sampling Rate  
Input Impedance  
Bandwidth  
3000 VDC  
10 samples/sec (total)  
2 Mohms  
13.1 Hz @ 50 Hz, 15.72 Hz  
@ 60 Hz  
Accuracy  
± 0.1% or better  
± 0.3 µV/°C  
± 25 PPM/°C  
92 dB min.  
1.2 W  
Zero Drift  
Span Drift  
CMR @ 50/60 Hz  
Power Consumption  
Table 4-6: Technical specifications of ADAM-5018  
4.4  
Analog Output Modules  
ADAM-5024 4-channel analog output module  
The ADAM-5024 is a 4-channel analog output module. It receives its  
digital input from the host computer, via the RS-485 interface of the  
ADAM-5510/P31 main unit. The format of the data is engineering  
units. It then uses the D/A converter controlled by the main unit to  
convert the digital data into output signals.  
ADAM-5000  
4-15  
I/O Modules  
You can specify slew rates and start up currents through the configu-  
ration software. The analog output can also be configured as current  
or voltage output through the software utility. The module protects  
your equipment from ground loops and power surges by providing  
opto-isolation of the D/A output and transformer based isolation up to  
500 VDC.  
Slew rate  
The slew rate is defined as the slope (the ascending or descending rate  
per second) of the analog output from the present to the required  
value.  
ADAM-5024  
4 AO  
ADAM-5024  
1
I0+  
I0-  
I1+  
I1-  
I2+  
I2-  
I3+  
I3-  
V0+  
V0-  
V1+  
V1-  
V2+  
V2-  
V3+  
V3-  
16  
Figure 4-12: ADAM-5024 module frontal view  
4-16  
ADAM-5000  
Chapter 4  
Application wiring  
I3+  
I3-  
mA Output  
V0+  
VO-  
V Output  
Figure 4-13: Analog output  
Technical specifications of ADAM-5024  
Analog Output  
Channels  
Four  
Output Type  
V, mA  
Output Range  
Isolation Voltage  
Output Impedance  
Accuracy  
0-20mA, 4-20mA, 0-10V  
3000 Vdc  
0.5 Ohms  
±0.1% of FSR for current  
output  
±0.2% of FSR for voltage  
output  
Zero Drift  
Voltage output: ±30 µV/ºC  
Current output: ±0.2 µA/ºC  
Resolution  
±0.015% of FSR  
±25 PPM/ºC  
Span Temperature  
Coefficient  
Programmable Output 0.125-128.0 mA/sec  
Slope  
0.0625-64.0 V/sec  
Current Load Resistor 0-500 Ohms (source)  
Power Consumption  
2.5W (Max.)  
Table 4-7: Technical specifications of ADAM-5024  
ADAM-5000  
4-17  
I/O Modules  
4.5  
Analog I/O Modules Calibration  
Analog input/output modules are calibrated when you receive them.  
However, calibration is sometimes required. No screwdriver is neces-  
sary because calibration is done in software with calibration parame-  
ters stored in the ADAM-5000 analog I/O module's onboard EEPROM.  
The ADAM-5510/P31 system comes with the ADAM utility software  
that supports calibration of analog input and analog output. Besides  
the calibration that is carried out using the utility software, the  
modules incorporate automatic Zero Calibration and automatic Span  
Calibration at bootup or reset.  
Analog input module calibration  
Modules: ADAM-5017, 5017H, 5018  
1. Apply power to the ADAM-5510/P31 system that the analog input  
module is plugged into and let it warm up for about 30 minutes  
2. Assure that the module is correctly installed and is properly  
configured for the input range you want to calibrate. You can do  
this by using the ADAM utility software. (Refer to Chapter 5)  
3. Use a precision voltage source to apply a span calibration voltage  
to the module's V0+ and V0- terminals. (See Tables 4-8 and 4-9 for  
reference voltages for each range.)  
1
V0+  
V0-  
V1+  
Voltage  
Source  
V1-  
Figure 4-14: Applying calibration voltage  
4-18  
ADAM-5000  
Chapter 4  
4. Execute the Zero Calibration command (also called the Offset  
Calibration command). This is also done with the ADAM utility  
software. (See the “Zero Calibration” option in the Calibration sub-  
menu of the ADAM utility software.)  
Figure 4-15: Zero calibration  
5. Execute the Span Calibration command. This can be done with  
the ADAM utility software. (See the “Span Calibration” option in  
the Calibration sub-menu of the ADAM utility software.)  
Figure 4-16: Span calibration  
ADAM-5000  
4-19  
I/O Modules  
6. Only for ADAM-5018: Execute the CJC (cold junction sensor)  
Calibration command. This can be done with the ADAM utility  
software. (See the “CJC Calibration” option in the Calibration  
submenu of the ADAM utility software.)  
Figure 4-17: Cold junction calibration  
* Note:  
Zero calibration and span calibration must be com-  
pleted before CJC calibration. To calibrate CJC, the  
thermocouple attached to ADAM-5018 and a stan-  
dard thermometer should be used to measure a  
standard known temperature, such as the freezing  
point of pure water.The amount of offset between the  
ADAM-5018 and the standard thermometer is then  
used in the ADAM utility to complete CJC calibration.  
4-20  
ADAM-5000  
Chapter 4  
Calibration voltage (ADAM-5017/5018)  
Module Input Range Input Range  
Code (Hex)  
Span Calibration  
Voltage  
00h  
01h  
02h  
03h  
04h  
05h  
06h  
0Eh  
±15 mV  
±50 mV  
±100 mV  
±500 mV  
±1V  
+15 mV  
+50 mV  
+100 mV  
+500 mV  
+1 V  
5018  
±2.5V  
+2.5 V  
±20 mA  
+20 mA (1)  
J thermocouple +50 mV  
0 to 760 ºC  
0Fh  
10h  
11h  
12h  
13h  
14h  
K thermocouple +50 mV  
0 to 1000 ºC  
T thermocouple +22 mV  
-100 to 400 ºC  
E thermocouple +80 mV  
0 to 1000 ºC  
R thermocouple +22 mV  
500 to 1750 ºC  
S thermocouple +22 mV  
500 to 1750 ºC  
B thermocouple +15 mV  
500 to 1800 ºC  
07h  
08h  
09h  
0Ah  
0Bh  
0Ch  
0Dh  
Not used  
5017  
±10 V  
+10 V  
±5 V  
+5 V  
±1 V  
+1 V  
±500 mV  
±150 mV  
±20 mA  
+500 mV  
+150 mV  
+20 mV (1)  
Table 4-8: Calibration voltage of ADAM-5017/5018  
ADAM-5000  
4-21  
I/O Modules  
Calibration voltage (ADAM-5017H)  
Module Input Range  
Input Range  
Span Calibration  
Voltage  
Code (Hex)  
5017H  
00h  
±10 V  
+10 V  
+10 V  
+5 V  
01h  
02h  
03h  
04h  
05h  
06h  
07h  
08h  
09h  
0ah  
0bh  
0 ~ 10 V  
±5 V  
0 ~ 5 V  
±2.5 V  
+5 V  
+2.5 V  
+2.5 V  
+1 V  
0 ~ 2.5 V  
±1 V  
0 ~ 1 V  
±500 mV  
0 ~ 500 mV  
4 ~ 20 mA  
0 ~ 20 mA  
+1 V  
+500 mV  
+500 mV  
*(1)  
*(1)  
Table 4-9: Calibration voltage of ADAM-5017H  
(1) Note: You can substitute 2.5 V for 20 mA if you remove the  
current conversion resistor for that channel. Howev-  
er, the calibration accuracy will be limited to 0.1%  
due to the resistor's tolerance.  
4-22  
ADAM-5000  
Chapter 4  
Analog output module calibration  
The output current of analog output modules can be calibrated by  
using a low calibration value and a high calibration value. The analog  
output modules can be configured for one of two ranges: 0-20 mA and  
4-20 mA. Since the low limit of the 0-20 mA range (0 mA) is internally  
an absolute reference (no power or immeasurably small power), just  
two levels are needed for calibration: 4 mA and 20 mA.  
1. Apply power to the ADAM-5510/P31 system including the analog  
output module for about 30 minutes.  
2. Assure that the module is correctly installed and that its  
configuration is according to your specifications and that it  
matches the output range you want to calibrate. You can do this  
by using the ADAM utility software. (Refer to Chapter 5, Utility  
Software)  
3. Connect either a 5-digit mA meter or voltmeter with a shunt resistor  
(250 , .01 % and 10 ppm) to the screw terminals of the module.  
ammeter  
Figure 4-18: Output module calibration  
4. Issue the Analog Data Out command to the module with an output  
ADAM-5000  
4-23  
I/O Modules  
value of 4 mA.  
5. Check the actual output value at the modules terminals. If this  
does not equal 4 mA, use the "Trim" option in the "Calibrate"sub-  
menu to change the actual output. Trim the module until the mA  
meter indicates exactly 4 mA, or in the case of the voltmeter with  
shunt resistor, trim until the meter indicates exactly 1 V. (When  
calibrating for 20 mA using a voltmeter and shunt resistor, the  
correct voltage should be 5 V.)  
6. Issue the 4 mA Calibration command to indicate that the output is  
calibrated and to store the calibration parameters in the module's  
EEPROM.  
7. Execute an Analog Data Out command with an output value of  
20 mA. The module's output will be approximately 20 mA.  
8. Execute the Trim Calibration command as often as necessary until  
the output current is equal to exactly 20 mA.  
9. Execute the 20 mA Calibration command to indicate that the present  
output is exactly 20 mA. The analog output module will store its  
calibration parameters in the unit's EEPROM.  
4.6  
Digital Input/Output Modules  
ADAM-5050 16-channel universal digital I/O module  
The ADAM-5050 features sixteen digital input/output channels. Each  
channel can be independently configured to be an input or an output  
channel by the setting of its DIP switch. The digital outputs are open-  
collector transistor switches that can be controlled from the ADAM-  
5510/P31. The switches can also be used to control solid-state relays,  
which in turn can control heaters, pumps and power equipment. The  
ADAM-5510/P31 can use the module’s digital inputs to determine the  
state of limit or safety switches, or to receive remote digital signals.  
Warning! A channel may be destroyed if it is subjected to an  
input signal while it is configured to be an output  
channel.  
4-24  
ADAM-5000  
Chapter 4  
Dip Switch Key  
ON = Digital Output  
OFF = Digital Input  
CH0  
CH15  
Figure 4-19: Dip switch setting for digital I/O channel  
ADAM-5050  
16 UDIO  
ADAM-5050  
1
V0  
V1  
V2  
V3  
V4  
V5  
V6  
V7  
V8  
V9  
V10  
V11  
V12  
V13  
V14  
V15  
16  
Figure 4-20: ADAM-5050 module frontal view  
Application wiring  
Figure 4-21: Dry contact signal input (ADAM-5050)  
ADAM-5000  
4-25  
I/O Modules  
Figure 4-22: Wet contact signal input (ADAM-5050)  
+Vss  
limits current to 100 mA  
-Vss  
Power  
Ground  
Power  
Ground  
Figure 4-23: Digital output used with SSR (ADAM-5050/5056)  
4-26  
ADAM-5000  
Chapter 4  
Technical specifications of ADAM-5050  
Points  
16  
Channel Setting  
Bitwise selectable by DIP  
switch  
Digital Input  
Dry Contact  
Logic Level 0: close to GND  
Logic Level 1: open  
Wet Contact  
Logic Level 0: +2 V max  
Logic Level 1: +4 V to 30 V  
Digital Output  
Open collector to 30 V,  
100mA max load  
Power Dissipation  
450 mW  
0.4 W  
Power Consumption  
Table 4-10: Technical specifications of ADAM-5050  
ADAM-5051 16-channel digital input module  
The ADAM-5051 provides sixteen digital input channels. The ADAM-  
5510/P31 can use the module’s digital inputs to determine the state of  
limit or safety switches or to receive remote digital signals.  
ADAM-5051  
16 DI  
ADAM-5051  
1
O
DI  
1
DI  
2
DI  
3
DI  
4
DI  
5
DI  
6
DI  
7
DI  
8
DI  
9
DI  
10  
DI  
11  
DI  
12  
DI  
13  
DI  
14  
DI  
15  
DI  
16  
Figure 4-24: ADAM-5051 module frontal view  
ADAM-5000  
4-27  
I/O Modules  
Application wiring  
+5 VDC  
10K  
TTL Input  
Digital  
Input  
Internal  
Logic  
Power GND  
Figure 4-25: TTL input (ADAM-5051)  
+5 VDC  
10K  
Contact  
Closure  
Digital  
Input  
Internal  
Logic  
Power GND  
Figure 4-26: Contact closure input (ADAM-5051)  
Technical specifications of ADAM-5051  
Points  
16  
Logic level 0: + 1 V max  
Logic level 1: + 3.5 to 30 V  
Pull up current: 0.5 mA  
10 kresistor to + 5 V  
Digital input  
Power consumption  
0.3 W  
Table 4-11: Technical specifications of ADAM-5051  
4-28  
ADAM-5000  
Chapter 4  
Overview  
Compatible ADAM-5000 Series Main Units  
ADAM-5051D is designed to be implemented with the following  
Advantech ADAM-5000 series main units:  
ADAM-5000/485  
ADAM-5000E  
ADAM-5510  
ADAM-5510/P31  
ADAM-5051D 16-channel Digital Input W/ LED Module  
The ADAM-5051D has all of the same features as the ADAM-5051,  
except that it is also equipped with sixteen LEDs. These are located  
beside the module's panel.The purpose of an LED is to tell the user the  
state in which the channel is in at the time. If the LED lights up, it  
means that the channel is in Logic Level "1". If the LED remains dark, it  
means that the channel is in Logic Level "0". This is illustrated in the  
table on the following page.  
ADAM-5051D Module Diagram  
Figure 4-27: ADAM-5051D Module  
ADAM-5000  
4-29  
I/O Modules  
ADAM-5051D Application Wiring  
+5 VDC  
10K  
TTL Input  
Digital  
Input  
Power GND  
Figure 4-28: TTL Input (ADAM-5051D)  
+5 VDC  
10K  
Contact  
Closure  
Digital  
Input  
Power GND  
Figure 4-29: Contact Closure Input (ADAM-5051D)  
Technical Specification of ADAM-5051/5051D  
ADAM-5051  
ADAM-5051D  
Number of  
Channels  
16  
16  
Input Voltage  
Logic Level  
30 Vmax  
30 Vmax  
Logic Level 0 : 0~1V  
Logic Level 1 : 3.5 ~30V  
Logic Level 0 : 0~1V  
Logic Level 1 : 3.5 ~30V  
Indicate Input State of each  
channel  
LED Indicator  
Circuit Type  
No  
On: Input logic level "1"  
: Input Floating  
Off: Input logic level "0"  
Pull-Up current = 0.5mA  
(Source Type)  
Pull-Up current = 0.5mA  
(Source Type)  
Power  
Consumption  
0.4 W (max.)  
0.8 W (max.)  
Table 4-12: Comparison between ADAM-5051 and ADAM-5051D  
4-30  
ADAM-5000  
Chapter 4  
ADAM-5052 8-channel isolated digital input module  
The ADAM-5052 provides eight fully independent isolated channels.  
All have 5000 V isolation to prevent ground loop effects and to  
prevent damage RfrMoSm power surges on the input lines.  
ADAM-5052  
8 DI  
ADAM-5052  
1
DIO  
+
-
DIO  
DI1  
DI1  
DI2  
DI2  
DI3  
DI3  
DI4  
DI4  
DI5  
DI5  
DI6  
DI6  
DI7  
DI7  
+
-
+
-
+
-
+
-
+
-
+
-
+
-
16  
Figure 4-30: ADAM-5052 module frontal view  
Application wiring  
Figure 4-31: Isolated digital input (ADAM-5052)  
ADAM-5000  
4-31  
I/O Modules  
Technical specifications of ADAM-5052  
Points  
8 Differential  
Logic level 0: + 1 V max  
Logic level 1: + 3.5 to 30 V  
Isolation voltage: 5000 V  
Digital input  
Power consumption  
RMS  
Resistance: 3 k/ 0.5 W  
0.4 W  
Table 4-13: Technical specifications of ADAM-5052  
ADAM-5056 16-channel digital output module  
The ADAM-5056 features sixteen digital output channels. The digital  
outputs are open-collector transistor switches that you can control  
from the ADAM-5510/P31. You also can use the switches to control  
solid-state relays.  
ADAM-5056  
16 DO  
ADAM-5056  
1
O
DO  
1
DO  
2
DO  
3
DO  
4
DO  
5
DO  
6
DO  
7
DO  
8
DO  
9
DO  
10  
DO  
11  
DO  
12  
DO  
13  
DO  
14  
DO  
15  
DO  
16  
Figure 4-32: ADAM-5056 module frontal view  
4-32  
ADAM-5000  
Chapter 4  
Application wiring  
+ Vss  
Internal Logic  
R2 limit current to 100 mA  
Power Ground  
Open  
Collector  
- Vss  
Power Ground  
Figure 4-33: Digital output used with SSR (ADAM-5050/5056)  
Technical specifications of ADAM-5056  
There are 16-point digital input and 16-point digital output modules in  
the ADAM-5000 series. The addition of these solid state digital I/O  
devices allows these modules to control or monitor the interfaces  
between high power DC or AC lines and TTL logic signals. A com-  
mand from the host converts these signals into logic levels suitable for  
the solid-state I/O devices.  
Points  
16  
Open collector to 30 V  
100 mA max load  
Digital output  
Power dissipation  
450 mW  
0.25 W  
Power consumption  
Table 4-14: Technical specifications of ADAM-5056  
ADAM-5000  
4-33  
I/O Modules  
Compatible ADAM-5000 Series Main Units  
ADAM-5056D is designed to be implemented within the following  
Advantech ADAM-5000 series main units:  
ADAM-5000/485  
ADAM-5000E  
ADAM-5510  
ADAM-5510/P31  
ADAM-5056D 16-channel Digital Output W/ LED Module  
ADAM-5056D is a 16-channel digital output W/ LED module, which is  
based on ADAM-5056. In addition to the original functions inherited  
from its predecessor, the ADAM-5056D is further enhanced with the  
following features:  
LED display  
16 LED indicators are added to the panel. Users can monitor the status  
of each channel at a glance. When a LED indicator is on, it means that  
this channel is now in logic level "1" status. When a LED indicator is  
off, it means this channel is in logic level "0" status.  
LED indicators  
Figure 4-34: ADAM-5056D Module  
4-34  
ADAM-5000  
Chapter 4  
+Vss  
limits current to 100 mA  
-Vss  
Power  
Ground  
Power  
Ground  
Figure 4-35: ADAM-5056D Application Wiring  
Digital Output Holding Function  
A yellow mini jumper is added to the PCB, the major function of which  
is to hold the digital output value at its last status so that it won't be  
erased when the RESET button of your system is pressed or your  
system software going into reset.  
To enble your Digital Output Holding Funciton, you must first set the  
yellow mini jumper on. When the Digital Output Holding Function is  
enabled, the digital output value of ADAM-5060D will first be cleared  
during system power-on. When the RESET button is pressed or when  
a system software reset occurs, its digital output value will be held at  
the last value.  
To disable your Digital Output Holding Funciton, you must set the  
mini jumper off. When the jumper is off, it's functions just like an  
ADAM-5056.  
ADAM-5000  
4-35  
I/O Modules  
Main Units Supporting Digital Output Holding Function  
The Digital Output Holding Function is applicable only to ADAM-  
5510 and ADAM-5511. Other main units, such as ADAM-5000/485,  
ADAM-5000/CAN and ADAM-5000E, do not support this function,  
since their firmwares will automatically clear the digital output.  
Although the firmware of ADAM-5510 and ADAM-5511 will not  
automatically clear the digital output value, it is nevertheless left as  
user's free choice to write a program either to clear the digital output or  
to set the initial value for the system.  
The digital output behaviors during power-on and reset are summa-  
rized in the following table:  
ADAM-5056D Digital Output during Power-on and Reset  
Power-on  
DO. clear  
DO. clear  
DO. clear  
DO. clear  
DO. clear  
Reset  
ADAM-5000/485  
ADAM-5000/CAN  
ADAM-5000E  
ADAM-5510  
DO. clear  
DO. clear  
DO. clear  
DO. hold  
DO. hold  
ADAM-5511  
Table 4-15: Main Units Supporting Digital Output Holding Funciton  
4-36  
ADAM-5000  
Chapter 4  
Technical Specification of ADAM-5056/5056D  
ADAM-5056  
16  
ADAM-5056D  
Number of  
Channels  
16  
Operating Voltage  
Digital Output  
30 Vmax  
30 Vmax  
Open Collector to 30V  
100mA max load  
Open Collector to 30V  
100mA max load  
On: Output logic 1  
Off: Output logic 0  
LED indicator  
No  
450 mW for each  
channel  
450 mW for each  
channel  
Power Dissipation  
Power  
Consumption  
0.25 W  
0.8 W  
Table 4-16: Comparison between ADAM-5056 and ADAM-5056D  
ADAM-5000  
4-37  
I/O Modules  
4.7  
Relay Output Modules  
ADAM-5060 relay output module  
The ADAM-5060 relay output module is a low-cost alternative to SSR  
modules. It provides 6 relay channels, two of Form A and four of Form  
C.  
ADAM-5060  
6 Relay  
ADAM-5060  
1
0
NO  
COM  
0
1
1
NO  
COM  
2
NO  
2
NC  
2
3
4
5
COM  
3
NO  
3
NC  
COM  
NO  
NC  
4
4
COM  
5
NO  
NC  
5
COM  
16  
Figure 4-36: ADAM-5060 module frontal view  
Application wiring  
NO  
Form A  
(NO)  
C
NC  
NO  
C
Form C  
Figure 4-37: Relay output  
4-38  
ADAM-5000  
Chapter 4  
Technical specifications of ADAM-5060  
Points  
6, two Form A and four Form C  
AC: 125 V @ 0.6A; 250 V @ 0.3 A  
DC: 30 V @ 2 A; 110 V @ 0.6 A  
Contact rating  
Breakdown voltage  
Relay on time (typical)  
Relay off time (typical)  
Total switching time  
Insulation resistance  
Power consumption  
500 VAC (50/60 Hz)  
3 ms  
1 ms  
10 ms  
1000 Mmin. @ 500 VDC  
0.7 W  
Table 4-17: Technical specifications of ADAM-5060  
ADAM-5068 relay output module  
The ADAM-5068 relay output module provides 8 relay channels of  
Form A. Switches can be used to control the solid-state relays.  
ADAM-5068  
8 Relay  
ADAM-5068  
1
0
NO  
COM  
0
NO  
1
COM  
NO 2  
COM  
1
2
3
4
5
NO  
3
COM  
NO  
4
COM  
NO  
5
COM  
NO  
6
COM  
6
7
NO  
7
COM  
16  
Figure 4-38: ADAM-5068 module frontal view  
ADAM-5000  
4-39  
I/O Modules  
Application wiring  
NO  
C
Form A  
(NO)  
Figure 4-39: Relay output  
Technical specifications of ADAM-5068  
Points  
8 Form A  
Contact Rating  
AC: 120 V @ 0.5 A  
DC: 30 V @ 1 A  
Breakdown Voltage  
Relay On Time (typical)  
Relay Off Time (typical)  
Total Switching Time  
Power Consumption  
500 VAC (50/60 Hz)  
7 msec.  
3 msec.  
10 msec.  
2.0 W  
Table 4-18: Technical specifications of ADAM-5068  
4-40  
ADAM-5000  
Chapter 4  
4.8  
Counter/Frequency Module  
Overview  
Compatible ADAM-5000 Series Main Units  
ADAM-5080 is a 4-channel counter/frequency module designed to be  
implemented within the following Advantech ADAM-5000 series main  
units:  
ADAM-5000/485 (with firmware Version A2.3 or above)  
ADAM-5510  
(with library Version V1.00 or above)  
ADAM-5510/P31 (with I/O driver Version V1.00 or above)  
Please make sure that the ADAM-5080 counter/frequency  
module is properly inserted into the compatible main units.  
ADAM-5080 4-channel Counter/Frequency Module  
With ADAM-5080 4-Channel Counter/Frequency Module, users can  
select either counter or frequency mode for data output. ADAM-5080  
offers users a variety of very flexible and versatile applications such as  
below:  
Counter Mode or Frenquency Mode  
If you want to measure the number of input signals for totalizer  
function, you may use counter mode to measure quantities such as  
movement and flow quantity. Alternatively, you can also select  
frequency mode to calculate the instantaneous differential of quanti-  
ties such as rotating speed, frequency or flow rate, and present them in  
specific engineering formats.  
Up/Down or Bi-direction Function  
When operating in counter mode, you can choose either the Up/  
Down function or the Bi-direction function for different application  
purposes. The counter will count up or down according to your  
applications. This counting function helps users obtain the most  
accurate data.  
Alarm Setting Function  
While in counter mode, you can set alarm status--Disable and Latch. If  
you want to disable it, you can select Disable.If Latch status is  
ADAM-5000  
4-41  
I/O Modules  
selected, it means the Alarm status will be "latched" whenever the  
alarm being triggered. Once the alarm status being "latched," it will  
thereafter stay in that triggered state. Users will have to issue a "Clear  
Alarm Status" command to return the "latched" alarm status back to  
normal. Users can designate the high-limit value and low-limit value to  
regulate your alarm behavior through the utility program.  
Digital Output Mapping  
Users can either run the utility program or issue a "Set Alarm Connet-  
ion" command to designate a specific digital output module for the  
alarm signal to be sent through.  
ADAM-5080 Module Diagram  
4 C/F  
ADAM-5080  
C0A+  
COA-  
GND  
COB+/D+  
COB-/D-  
GND  
C1A+  
C1A-  
GND  
C1B+/D+  
C1B-/D-  
GND  
C2A+  
C2A-  
GND  
C2B+/D+  
C2B-/D-  
GND  
C3A+  
C3A-  
GND  
C3B+/D+  
C3B-/D-  
GND  
ISOLATE  
TTL  
Figure 4-40: ADAM-5080 Module  
ADAM-5080 Application Wiring  
Vcc  
V
0
Internal Logic  
Figure 4-41: Isolated Input Level  
4-42  
ADAM-5000  
Chapter 4  
Vcc  
Internal logic  
Figure 4-42: TTL Input Level  
ADAM-5080 Counter/Frequency Mode Selection  
Users can select Bi-direction, Up/Down Counter or Frequency option  
as shown in Figure 4.  
Figure 4-43: Counter / Frequency Mode  
Note:  
All four channels of ADAM-5080 will operate simulta-  
neously in the mode you have selected. i.e. If you  
switch the ADAM-5080 to Counter Mode, all four  
channels will operate in Counter Mode.  
ADAM-5000  
4-43  
I/O Modules  
Features -- Counter Mode  
Up/Down Counting  
The Up/Down Counter Function offers two types of counting:  
Up Couting (increasingly) and Down Counting (decreasingly).  
Up Counting : when C0A+ and C0A- sense any input signals, the  
counter counts up.  
Down Counting : when C0B+ and C0B- sense any input signals, the  
counter counts down.  
On receiving Up and Down signal simultaneously, the counter will not  
perform each specific counting accordingly, but will remain at the  
previous counting value, since these simultaneous signals won't have  
any effect on counting values.  
C0A+  
C0A-  
C0B+/D+  
C0B-/D-  
Figure 4-44: Wiring for Up/Down Counting  
Note:  
If you need only one type of counting, connect C0A+  
and C0A- for Up Counting only; or connect C0B+  
and C0B- for Down Counting only.  
Bi-direction Counting  
For implementing Bi-derection Counting, you need to connect C0B+/  
D+ and C0B-/D- to implement the control function for  
Up/Down Counting.  
4-44  
ADAM-5000  
Chapter 4  
Up Counting : when the input signal is within logic level "1", the  
counter value increases.  
Down Counting : when the input signal is within logic level "0", the  
counter value decreases.  
C0A+  
C0A-  
C0B+/D+  
C0B-/D-  
Figure 4-45: Wiring for Bi-direction Counting  
Note:  
If users select TTL mode and don't connect C0B+  
C0B-, the counter value will increase. If users select  
Isolated mode and don't connect C0B+ C0B-, the  
counter value will decrease.  
Features -- Frequency Mode  
If users want to select frequency mode, they can only utilize Up  
Counting type, and can only connect to C0A+ and C0A-.  
C0A+  
C0A-  
C0B+/D+  
C0B-/D-  
Figure 4-46: Wiring for Frequency Mode  
ADAM-5000  
4-45  
I/O Modules  
Features -- Alarm Setting  
According to your application purposes, you can run the utility  
program to set different limit values for High/Low Alarm.  
Figure 4-47 Setting Alarm Limit  
Setting Initial Counter Value  
In oder to utilize the alarm function, users have to set a high-alarm  
limit value and/or a low alarm limit value, and a initial value to fulfill the  
requirements for a basic alarm setting.  
4-46  
ADAM-5000  
Chapter 4  
Max value  
High alarm limit value  
Initial value  
Sending High alarm  
Sending Low alarm  
Low alarm limit value  
Min value  
Figure 4-48: Sending Alarm Signal (recommended settings)  
Max value  
Initial value  
Sending High alarm  
Sending low alarm  
High alram Initial value  
Low alarm limit value  
Min value  
Figure 4-49: Sending Alarm Signal (settings not recommended)  
ADAM-5000  
4-47  
I/O Modules  
Overflow Value  
Overflow value is the number of times the counter value exceeds the  
Max/Min values you specified. When the counter value exceeds  
Maximum value, the overflow value increases; When the counter value  
goes under Minimum value, the overflow value decreases. Besides,  
when the counter value runs beyond the range of Max/Min value, it  
will continue counting from the initial value. Furthermore, if users want  
to check the counter value to see if it is higher or lower than the Max/  
Min value, they can run the "$aaSi7" command to gain a readout of the  
overflow value.  
Getting the Totalizer Value  
If users want to get the actual counter value, a formula such as follows  
can facilitate an easy calculation from the initial counter value,  
overflow value and current counter value:  
Vtol = {|Vini -Vmin (or Vmax) |+1} x |Vvf| + |Vini - Vcur|  
Vtol : totalizer value  
Vini : initial counter value  
Vmin : min. couner value = 0 (fixed value)  
Vmax : max. counter value = 2 32 = 4,294,967,295 (fixed value)  
Vvf : overflow value  
Vcur : current counter value  
Example:  
If the initial value =10, overflow value =4, min. value = 0, current  
counter value = 3, the totalizer value could be calculated as  
totalizer value = {|10 - 0| + 1} x| 4 |+ |10 -3| = 51  
4-48  
ADAM-5000  
Chapter 4  
Features--Digital Output Mapping  
If users want to use Digital Output function, ADAM utility is available  
for setting specifically which module, channel or slot to receive the  
alarm signals.  
1
2
3
4
5
6
Figure 4-50: Digital Output Mapping  
1: High Alarm State--Set Alarm state to "Latch" or "Disable".  
2: High Alarm Limt--Set Alarm limit from 0 to 4,294,967,295.  
3: High Alarm Output Mode--Enable or Disable D.O. Mapping.  
4: High Alarm Output Slot--Users can select D.O Modules such as  
ADAM-5050, ADAM-5056, ADAM-5060, ADAM-5068 for the  
alarm signal to be sent through.  
5: High Alarm Output Channel--Select Alarm Output Channel  
6: Clear Latch Alarm--Users can Select "Enable" or "Disable"  
option. When selecting "Enable", the latch will be relieved and the  
alarm state will return to normal. Once the alarm state returns to  
normal, the Clear Latch Alarm will return to "Disable".  
ADAM-5000  
4-49  
I/O Modules  
TTL/Isolated Input Level  
According to your need, you can select either TTL or Isolated Input  
Level by setting the configuration for the jumpers. Select the proper  
jumper settings for either TTL or Isolated Input according to Figure  
Figure 10. Please note that you must configure all six jumpers to the  
correct configuration for proper function.  
Figure 4-51: Jumper Location on the ADAM-5080 Module  
TTL Input Level  
Isolated Input Level  
Figure 4-52: TTL/Isolated Input Level Selectting  
4-50  
ADAM-5000  
Chapter 4  
ADAM-5080 Technical Specifications  
Channel  
4
0.3 ~ 1000 Hz max. (Frequency mode)  
5000 Hz max. (Counter mode)  
Input Frequency  
Input Level  
Isolated or TTL level  
500 µ sec. (Frequency mode)  
100 µ sec. (Counter mode)  
Minimum Pulse Width  
Minimum Input  
Current  
2mA (Isolated)  
Logic Level 0 : +1 VMAX  
Logic Level 1 : + 3.5 V to 30 V  
Isolated Input Level  
TTL Input Level  
Logic Level 0 : 0 V to 0.8 V  
Logic Level 1 : 2.3 to 5 V  
RMS  
Isolated Voltage  
Mode  
1000 V  
Counter (Up/Down, Bi-direction)  
Frequency  
Programmable  
Digital Noise Filter  
8 ~ 65000 µ sec  
Table 4-19: ADAM-5080 technical specifications  
ADAM-5000  
4-51  
I/O Modules  
4-52  
ADAM-5000  
5
Software Utilities  
Software Utilities  
There are some software utilities available to the ADAM-5000 sys-  
tems. The DOS and Windows utility software helps you to configure  
your ADAM-5000. A DLL (Dynamic Link Library) driver is provided  
to write Windows applications, and a DDE (Dynamic Data Exchange)  
server is a service that links the ADAM-5000 systems to popular  
Windows packages such as Intouch, FIX DMACS, ONSPEC, Genesis  
and Excel.  
5.1  
ADAM Utility Software  
Together with the ADAM-5000 systems you will find a utility disk  
containing utility software with the following capabilities:  
System and Module Configuration  
Module Calibration  
Data Input and Output  
Alarm settings between analog inputs and digital outputs  
Autoscan of connected modules  
Terminal emulation  
The following text will give you some brief instructions on how to use  
the included utility.  
Main Menu  
The main screen consists of a menu bar at the top side of the screen  
and a status field which displays information about the connected  
modules. When you first start the program, it will automatically scan  
for any attached modules and display their data. The status field lists  
module characteristics, module configuration parameters and input or  
output values.  
5-2  
ADAM-5000  
Chapter 5  
Figure 5-1 Main screen  
Normally you will use the Search command to scan the network.  
Highlight the Search command on the menu bar and press <Enter> (or  
simply press the "s" key). The "Search Installed Modules" window  
will then appear to prompt you to enter the range it should scan. Input  
a value between 0 and 256 decimal.  
Note:  
When changing configuration, calibration or alarm  
parameters, you should always make sure that a  
window appears notifying you that the target module  
has confirmed the changes.  
An asterix sign "*" before the module's address  
indicates that the module is in the INIT* state.  
Setup  
Select Setup from the top bar and a selection bar will appear in the  
status field. First, move the selection bar over the module you wish to  
configure and select it by pressing <Enter>. A configuration screen  
will appear with the setting available for its module type and the  
ADAM-5000  
5-3  
Software Utilities  
current values of its inputs. An example is shown in Figure 5-2 for an  
ADAM-5000 system.  
Figure 5-2 Setup options  
There are three different options: System Setting, Module Setting and  
Output Data.  
Highlight the parameter you wish to change and press <Enter>. A  
window will appear with the configuration options for that parameter.  
Highlight the proper value and hit <Enter>. For some parameters, you  
will need to type in a specific value after selecting the parameter.  
System Setting  
The Checksum and Baud rate options need special attention since  
they can only be changed when an ADAM-5000 is in the INIT* state.  
To place a system in INIT* state, its INIT terminal should be connect-  
ed to its GND terminal. If the ADAM-5000 is not in INIT* mode, an  
error message will appear. When it is in INIT* mode, a window to  
change the Checksum or an option window showing you the valid  
baud rates will appear, depending on your choice.  
5-4  
ADAM-5000  
Chapter 5  
After you have made the changes for a block of parameters, press  
<ESC>. You will be asked if you are satisfied with the changes you  
have made or not. Answer "Y" to keep the changes you have made or  
"N" to leave the values unchanged.  
Module Setting  
A similar procedure applies for module setting. Note that only the  
ADAM-5017 and ADAM-5018 analog input modules provide alarm  
functions.  
Once module setting is selected, the proper I/O module can be  
highlighted. To choose the highlighted module, press <Enter>. If an  
analog input module was selected, then options to change I/O type,  
Alarm functions or Channel settings are presented.  
Pressing <Enter> for each available parameter will present a window  
with possible settings. Highlight the preferred setting and press  
<Enter> to select.  
Channel setting configuration allows you to selectively Enable/Disable  
any of the 8 channels numbered from 0-7. This option is only func-  
tional in ADAM-5017 and ADAM-5018 modules. Highlight the  
channel(s) which you wish to change and press the <Spacebar> to  
toggle between enable or disable. Press <Enter> to accept the  
change(s) and return to the main menu.  
After you have made the changes for a block of parameters, press  
<ESC>. You will be asked if you are satisfied with the changes you  
have made or not. Answer "Y" to keep the changes you have made or  
"N" to leave the values unchanged.  
Output Data  
If you wish to set the values of a module's outputs, select the proper  
module from the screen and press <Enter>. Next, highlight the output  
channel and type its value. Note that digital outputs cannot be used  
when alarm functions are activated. After you have typed the chang-  
es, press <ESC> to exit.  
ADAM-5000  
5-5  
Software Utilities  
Calibration  
Press <Enter> on the Calibrate option on the top bar and a selection  
bar appears in the status field. Move the selection bar over the  
module you wish to configure and select it by pressing <Enter>. Only  
analog input and output modules can be calibrated. If the module is an  
analog input module, you will be able to choose, for example, Zero  
Calibration. The screen will then look like Figure 5-3.  
Figure 5-3 Zero Calibration  
File  
This option allows you to update the status field using the Save  
option and can give you a hardcopy of all the connected modules that  
are shown on the screen by using the Print option.  
Terminal  
This option allows you to directly send and receive commands on the  
RS-485 line. It has two options: Command Test and Terminal Emula-  
tion.  
Choose the Single Line option to use the Command Test mode. You  
send commands one at a time by typing them on the Command line  
and pressing <Enter>. The response appears in the Response line  
5-6  
ADAM-5000  
Chapter 5  
underneath. To resend a command simply press <Enter>.  
Choose Full Screen to select Terminal Emulation mode. This mode  
provides additional information on the configuration status under  
Settings shown at the right side of the screen. Previous commands  
and responses will remain on the screen for reference. To repeatedly  
send a command, press <F10> and a dialog box will appear into which  
you can enter the command. Press <Enter> to send the command  
which will automatically repeat. Press any key to stop repeating the  
command.  
Figure 5-4 Terminal emulation  
Download Procedure: New ADAM-5000/485 Firmware  
A new set of firmware is provided for the ADAM-5000/485 to account  
for use of new ADAM-5000 I/O modules with the ADAM-5000  
system. Follow the steps provided below to download the new  
firmware before attempting to use the new ADAM-5000 I/O modules.  
1. Connect the COM port of the host computer with the RS-232 port  
on the ADAM-5000.  
ADAM-5000  
5-7  
Software Utilities  
2. Set the node ID of the ADAM-5000/485 system to “0” and reset  
the ADAM-5000 system.  
3. Run the ADAM Utility (ADAM.exe) under DOS to search for the  
ADAM-5000/485 at address “00h”.  
4. When the ADAM-5000/485 appears on the screen, choose “Setup”  
and select “Download”.  
5. Follow the steps listed on the screen to complete the firmware  
download  
Note:  
The files ADAM.EXE, DOWNLOAD.IMG and  
RSROM.IMG should be installed in the same directo-  
ry.  
Quit  
Choosing the Quit option exits the ADAM utility program.  
5.2  
DLL (Dynamic Link Library) Driver  
The ADAM-5000 API Dynamic Link Library (DLL) enables you to  
quickly and easily write Windows applications for ADAM-5000  
systems. The library supports both C++ and Visual Basic. Since  
ADAM-5000 systems communicate with a host computer through the  
host‘s COM port, no additional driver (DRV or VxD) needs to be  
installed. The DLL includes all necessary function calls to utilize the  
ADAM-5000 systems to their fullest extent.  
Together with the DLL driver you‘ll find the source code of a Visual  
Basic example on your diskette. The example provides several control  
windows to communicate with all types of ADAM-5000 modules. You  
can customize the source code to create your own tailor-made  
ADAM-5000 setup program or monitoring system.  
For details on the ADAM-5000 function calls refer to the Help file  
included on the ADAM-5000 API diskette.  
5-8  
ADAM-5000  
Chapter 5  
5.3  
DDE (Dynamic Data Exchange) Server  
The ADAM-5000 DDE server takes advantage of DDE, a built-in  
Windows communication service. The DDE server acquires data from  
the ADAM-5000 systems and passes it to your application program  
via the hot link (DDE). The software can also pass control and  
configuration commands to the ADAM-5000 systems using the DDE  
protocol. You can now use ADAM-5000 systems with most Windows-  
based data acquisition software that supports DDE. Examples include  
Intellution's FIX DMACS, Wonderware’s InTouch, ONSPEC, Paragon  
and Excel.  
For details on the ADAM-5000 DDE server refer to the DDE server  
manual for the ADAM-5000.  
ADAM-5000  
5-9  
Software Utilities  
5.4  
ADAM-4000 and ADAM-5000 Windows Utility  
The ADAM-4000 and 5000 Windows Utility offers a graphical interface  
that helps you configure the ADAM-4000 and ADAM-5000 DA&C  
Modules. This windows utility makes it very convenient to monitor  
your Data Acquisition and Control system. The following guidelines  
will give you some brief instructions on how to use the utility.  
Overview  
COM port settings  
Search connected modules  
Terminal emulationl  
Data Scope  
Save module’s configuration to file  
Load module’s configuration file to configure module  
Module configuration  
Module calibration  
Data input and output  
Alarm settings  
Download procedure  
5.4.1 Overview  
Main Menu  
The window utility consists of a toolbar on the top and a display area  
that shows forth the relevant information about the connected  
modules. The utility’s main toolbar is as shown below:  
The main toolbar buttons are shortcuts to some commonly used menu  
items:  
Save: Saves the connected module to PC.  
Save the information of all connected modules to .txt file .By doing  
this, users can keep track of every different setting environment.  
5-10  
ADAM-5000  
Chapter 5  
Search: Search for the address of connected modules on  
network.  
Terminal: Issue commands and receives response.  
Data Scope: Display the current data.  
Save Configuration: Saves the configuration of selected  
module into txt file.  
Load Configuration: Download the previous configuration file  
Help: Display the Online Help for the ADAM utility.  
5.4.2 Save Function  
Save the settings of current module (e.g. Baud rate, Address, Modules  
Name) to txt file.  
Example:  
Figure 5-5 Display the connected module  
ADAM-5000  
5-11  
Software Utilities  
Figure 5-6 Save the information of connected modules to txt file  
5.4.3 COM Port Settings  
Figure 5-7 Setup options  
Baud rate:  
The communication speed (baud rate) can be configured from 1200 bps  
to 115.2 Kbps.  
Prefix Char:  
The Prefix Char is added to each ADAM command as follows:  
[Prefix Char] + [ ADAM Command]  
Note:  
This is a special command only for ADAM-4521,  
ADAM-4541 and ADAM-4550.  
5-12  
ADAM-5000  
Chapter 5  
Timeout:  
Timeout means the time limit for waiting a response after the system  
has issued a command. If no response has been received when timeout  
has passed, we’ll see the “Timeout !” message on the screen.  
5.4.4 Search Connected modules  
When you use the Search command, it will search for any connected  
modules on network and display their data. There are three ways to  
search for:  
1. Click the Toolbar button:  
2. Click the right mouse button:  
ADAM-5000  
5-13  
Software Utilities  
3. Click the Tools menu and choose the Search command:  
4. The connected modules on network is currently being searched:  
5.4.5 Terminal Emulation  
You can issue commands and receive response by clicking the  
Terminal button. There are two ways to issue commands:  
1. Issue single command:  
Enable or  
Disable  
5-14  
ADAM-5000  
Chapter 5  
2. Batch command  
Users can compose a sequence of commands and save them into a .txt  
file. Just click the Browse button to list all the .txt files available and  
select the file for continuous execution of the batch of commands  
therein.  
3.  
Back to the main menu.  
Note:  
If you select the checksum function on previous  
main menu, you have to select the checksum  
function in this menu.  
Enable or  
Disable  
Figure 5-8 Checksum function enabled  
ADAM-5000  
5-15  
Software Utilities  
5.4.6 Data Scope  
Data Scope enables you to monitor the issue of commands and the  
responses on another connected PC within your system. The follow-  
ing example illustrates the working connection for the Data Scope  
function:  
Figure 5-9 The connection for the Data Scope function  
When you issue commands from PC#1, you will get response.  
: Send single command or batch command .  
5-16  
ADAM-5000  
Chapter 5  
: Send a single command or batch command repeatedly.  
: Stop issuing commands.  
: Save history of the terminal emulation to txt file.  
On PC#3, you can observe all commands issued from PC#1. Mean-  
while, you can also observe all responses received at PC#2.  
Address  
of selected  
modules  
Figure 5-10 Monitor the issuing commands from PC#1  
When your system is connected with multiple ADAM-4000 or  
ADAM-5000 modules, just click the addresses of the modules to see  
relevant information (multiple selection from 00 to FF is allowed). Then  
check the Filter option and click Update button to see relevant  
information of the modules. Note that the information about other  
unselected modules won’t show forth.  
5.4.7 Saving a Module’s Configuration to File  
Save the input range, baud rate, data format, checksum status and/  
or integration time and Alarm Status for a specified analog input  
module.  
ADAM-5000  
5-17  
Software Utilities  
Save the output range, baud rate, data format, checksum status and  
slew rate for a specified analog output module.  
Save the baud rate and checksum status for a digital I/O module.  
Save the input mode, baud rate, checksum status and/or frequency  
gate time, input signal mode, gate mode, alarm status, etc. for a  
specified counter/frequency module.  
There are three ways to save a configuration file:  
1. Click the Toolbar button  
2. Click the right mouse button  
3. Click the Tools menu. Choose the “Save Configuration file”  
command  
5-18  
ADAM-5000  
Chapter 5  
and then specify the file name.  
The configuration file is now saved.  
5.4.8 Load Module’s Configuration File  
Reload previous settings. Sets the input range, baud rate, data  
format, checksum status and/or integration time and alarm status  
for a specified analog input module.  
Sets the output range, baud rate, data format, checksum status and  
slew rate for a specified analog output module.  
Sets the baud rate and checksum status for a digital I/O module.  
Sets the input mode, baud rate, checksum status and/or frequency  
gate time, input signal mode, gate mode, alarm status, etc. for a  
specified counter/frequency module.  
Note:  
Baud rate and checksum can only be changed in the  
INIT* state. Changed settings can only take effect  
after a module is rebooted.  
ADAM-5000  
5-19  
Software Utilities  
There are three ways to load a configuration file:  
1. Click the Toolbar button:  
2. Click the right mouse button:  
3. Click the Tools menu and choose Download configuration file to  
set the environment command:  
5-20  
ADAM-5000  
Chapter 5  
4. Choose the file name:  
The configuration file is now loaded.  
5.4.9 Module Configuration  
Sets the input range, baud rate, data format, checksum status, and/  
or integration time for a specified analog input module.  
Sets the output range, baud rate, data format, checksum status and  
slew rate for a specified analog output module.  
Sets the baud rate and checksum status for a digital I/O module.  
Sets the input mode, baud rate, checksum status and/or frequency  
gate time for a specified counter/frequency module.  
Note:  
Baud rate and Checksum can only be changed in the  
INIT* state. Changed settings only take effect after a  
module is rebooted.  
ADAM-5000  
5-21  
Software Utilities  
For Example: The configuration of ADAM-4011  
Address: Represents the address of the module. The Range is from  
0 to 255.  
Baudrate: Represents the baud rate.  
Checksum: Represents the checksum status, i.e., Disabled/  
Enabled.  
Firmware Ver: Represents the version of firmware.  
Input range: Represents the input range of modules. You can refer  
to Chapter 4.  
Data format: Represents the data format (e.g. engineering format).  
You can refer to Chapter 4.  
5-22  
ADAM-5000  
Chapter 5  
5.4.10 Module Calibration  
Calibration is to adjust the accuracy of ADAM module. There are  
several modes for module’s calibration: Zero calibration and span  
calibration. Only analog input and output modules can be calibrated.  
For example: ADAM 4011, 4011D, 4012, 4016, 4017, 4018, 4018M, 5013,  
5017, 5017H, and 5018.  
Zero Calibration  
1. Apply power to the module and let it warm up for 30 minutes.  
2. Make sure the module is correctly installed and properly config-  
ured for the input range you want to calibrate.  
3. Use a precision voltage source to apply a calibration voltage to the  
+IN and -IN terminals of the ADAM-4011, 4011D, and 4012  
modules. Use a precision voltage source to apply a calibration  
voltage to the Vin+ and Vin- terminals (or Iin+ and Iin-) of the  
ADAM-4014D and 4016 modules. Use a precision voltage source  
to apply a calibration voltage to the Vin0+ and Vin0- terminals for  
ADAM-4017, 4018, and 4018M modules.  
4. Click the Execute button.  
Span Calibration  
Click the Execute button.  
ADAM-5000  
5-23  
Software Utilities  
CJC Calibration  
1. Prepare an accurate voltage source.  
2. Run the zero calibration and span calibration function.  
3. Use a temperature emulation device (such as Micro-10) to send a  
temperature signal to the ADAM module and then compare this  
signal with the value from the ADAM module. If the value is  
different from the signal, adjust the CJC value to improve it.  
Note:  
CJC (cold junction sensor) calibration only applies to  
the ADAM 4011, 4011D, 4018, 4018M, 5018  
Analog Input Resistance Calibration  
Modules: ADAM 4013  
Analog Output Calibration  
ADAM 4021, ADAM 5024: 4 mA and 20 mA  
ADAM 4016: 0 V and 10 V  
5-24  
ADAM-5000  
Chapter 5  
5.4.11 Data Input and Output  
Analog Input Module with Digital Output  
The function can only be used when the alarm status is “Disable”.  
Digital Output Module  
Click the item to turn it on or off.  
Analog Output Module  
ADAM-5000  
5-25  
Software Utilities  
Enter a value that users want to get  
Fast Decrease  
decrease  
increase  
fast increase  
5-26  
ADAM-5000  
Chapter 5  
5.4.12 Alarm Settings  
Set the alarm status, high alarm value, low alarm value, and then  
click the Update button.  
Alarm setting: Disables or enables the alarm either in Latching or  
Momentary mode.  
High alarm value: Downloads the high alarm limit value into the  
module. The format is always in engineering  
units.  
Low alarm value: Downloads the low alarm limit value into the  
module. The format is always in engineering units.  
Digital Filter  
High level voltage: Set the high trigger level for non-isolated input  
signals. The range is from 0.1 V to 5.0 V. This  
high trigger level must be higher than the low  
trigger level at all times.  
ADAM-5000  
5-27  
Software Utilities  
Low level voltage: Set the low trigger level for non-isolated input  
signals. The range is from 0.1 V to 5.0 V.  
High level minimum width: Set the minimum width at high level.  
The unit is µsec (microseconds) and  
its resolution is 1 µsec. Users can set  
value from 2 to 65535.  
Low level minimum width: Set the minimum width at low level. The  
unit is µsec (microseconds) and its  
resolution is 1 µsec. Users can set  
value from 2 to 65535.  
5.4.13 Download Procedure  
1. Click the Download Firmware button.  
2. Click Yes.  
5-28  
ADAM-5000  
Chapter 5  
3. Choose the baud rate.  
4. Choose Download file.  
ADAM-5000  
5-29  
Software Utilities  
Firmware download in progress.  
Firmware download complete.  
5-30  
ADAM-5000  
6
Command Set  
Command Set  
6.1  
Introduction  
To avoid communication conflicts when several devices try to send  
data at the same time, all actions are instigated by the host computer.  
The basic form is a command/response protocol with the host initiat-  
ing the sequence.  
When systems are not transmitting they are in listen mode. The host  
issues a command to a system with a specified address and waits a  
certain amount of time for the system to respond. If no response  
arrives, a time-out aborts the sequence and returns control to the host.  
Changing ADAM-5000/5000E system's configuration might require the  
system to perform auto calibration before changes can take effect.  
This is especially true when changing the range as the system has to  
perform all stages of auto calibration that it performs when booted.  
When this process is underway, the system does not respond to any  
other commands. The command set includes information on the  
delays that might occur when systems are reconfigured.  
6.2  
Syntax  
Command Syntax: [delimiter character][address][slot][channel]  
[command][data][checksum][carriage return]  
Every command begins with a delimiter character. There are four valid  
characters: $, #, % and @.  
The delimiter character is followed by a two character address (hexa-  
decimal) that specifies the target system. The two characters following  
the address specifies the module slot and channel.  
Depending on the command, an optional data segment may follow the  
command string. An optional two character checksum may also be  
appended to the command string. Every command is terminated with a  
carriage return (cr).  
Note:  
All commands should be issued in UPPERCASE  
characters only!  
6-2  
ADAM-5000  
Chapter 6  
The command set is divided into the following five categories:  
CPU Command Set  
Analog Input Command Set  
Analog Input Alarm Command Set  
Analog Output Modules Command Set  
Digital I/O Modules Command Set  
Every command set category starts with a command summary of the  
particular type of module, followed by datasheets that give detailed  
information about individual commands.  
Although commands in different subsections sometime share the same  
format, the effect they have on a certain module can be completely  
different than that of another. Therefore, the full command set for each  
type of module is listed along with a description of the effect the  
command has on the given module.  
Note:  
Before setting commands, the user needs to know  
the type of main unit being used. If ADAM-5000/485  
is being used, the "i" in Si can be set at 0 to 3. If  
ADAM-5000E is being used, the "i" in Si can be set  
at 0 to 7. This is illustrated in the table below:  
Command Syntax  
Main Unit  
#aaSiCj  
i = 0 to 3  
i = 0 to 7  
ADAM-5000  
ADAM-5000E  
ADAM-5000  
6-3  
CPU  
Command Set  
6.3  
CPU Command Set  
Command Syntax Command Name Description  
%aannccff  
Configuration  
Sets the baudrate and  
checksum status for a  
specified ADAM-5000  
system  
$aa2  
$aaM  
$aaF  
Configuration  
Status  
Returns the configuration  
status for a specified  
ADAM-5000 system  
Read Module  
Name  
Returns the module name  
from a specified  
ADAM-5000 system  
Read Firmware  
Version  
Returns the firmware  
version code from a  
specified ADAM-5000  
system  
$aaT  
Read I/O Type  
Reset Status  
Returns the I/O model No.  
of all slots for a specified  
ADAM-5000 system  
$aa5  
$aaE  
Returns the reset status  
for a specified  
ADAM-5000 system  
Software  
Diagnostics  
Requests the specified  
ADAM-5000 system to  
return the error status  
6-4  
ADAM-5000  
Chapter 6  
%aannccff  
%aannccff  
Name  
Configuration  
Description Sets baud rate and checksum status for a specified  
ADAM-5000 system.  
Syntax  
%aannccff(cr)  
% is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system you want to  
configure.  
nn is reserved for system use. Its default value is 00h.  
cc represents the baud rate code.  
ff is a hexadecimal number that equals the 8-bit parame-  
ter representing checksum status. The sixth bit repre-  
sents the checksum status; 1 means enabled while 0  
means disabled. The other bits are not used and are set  
to 0.  
(cr) is the terminating character, carriage return (0Dh).  
!aa(cr) if the command is valid.  
Response  
?aa(cr) if an invalid parameter was entered or if the  
INIT* terminal was not grounded when attempting to  
change baud rate or checksum settings. There is no  
response if the module detects a syntax error, communi-  
cation error or if the specified address does not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was in-  
valid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
ADAM-5000  
6-5  
CPU  
Command Set  
%aannccff  
%aannccff  
(cr) is the terminating character, carriage return (0Dh).  
command: %23000A40(cr)  
Example  
response: !23(cr)  
The ADAM-5000 system with address 23h is configured  
to a baud rate of 115.2 Kbps and with checksum genera-  
tion or validation.  
The response indicates that the command was received.  
Wait 7 seconds to let the new configuration setting take  
effect before issuing a new command to the system.  
Note:  
All configuration parameters can be changed dynami-  
cally, except checksum and baud rate parameters.  
They can only be altered when the INIT* terminal is  
grounded.  
Baud Rate  
Code  
Baud Rate  
03h  
04h  
05h  
06h  
07h  
08h  
09h  
0Ah  
1200 bps  
2400 bps  
4800 bps  
9600 bps  
19.2 Kbps  
38.4 Kbps  
57.6 Kbps  
115.2 Kbps  
Figure 6-1 Baud rate codes  
6-6  
ADAM-5000  
Chapter 6  
$aa2  
$aa2  
Name  
Configuration Status  
Description Returns the configuration status for a specified system  
module.  
Syntax  
$aa2(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadeci-  
mal address of the ADAM-5000 system you want to  
interrogate.  
2 is the Configuration Status command.  
(cr) is the terminating character, carriage return (0Dh).  
!aaccff(cr) if the command is valid.  
Response  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax  
error, communication error or if the specified address  
does not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was in-  
valid.  
aa (range 00-FF) represents the 2-character hexadeci-  
mal address of an ADAM-5000 system.  
cc represents the baud rate code.  
ff is a hexadecimal number that equals the 8-bit parame-  
ter representing checksum status. The sixth bit repre-  
sents the checksum status; 1 means enabled while 0  
means disabled. The other bits are not used and are set  
to 0.  
(cr) is the terminating character, carriage return (0Dh).  
ADAM-5000  
6-7  
CPU  
Command Set  
$aa2  
$aa2  
(See also the %aannccff configuration command)  
Example  
command: $452(cr)  
response: !450600(cr)  
The command requests the ADAM-5000 system at  
address 45h to send its configuration status.  
The ADAM-5000 system at address 45h responds with a  
baud rate of 9600 bps and with no checksum function or  
checksum generation.  
6-8  
ADAM-5000  
Chapter 6  
$aaM  
$aaM  
Name  
Read Module Name  
Description Returns the module name from a specified ADAM-5000  
system.  
Syntax  
$aaM(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system you want to  
interrogate.  
M is the Module Name command.  
(cr) is the terminating character, carriage return (0Dh).  
!aa5000(cr) if the command is valid.  
Response  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax  
error, communication error or if the specified address  
does not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was in-  
valid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
(cr) is the terminating character, carriage return (0Dh).  
ADAM-5000  
6-9  
CPU  
Command Set  
$aaM  
$aaM  
Example  
command: $15M(cr)  
response: !155000(cr)  
The command requests the system at address 15h to  
send its module name.  
The system at address 15h responds with module name  
5000 indicating that there is an ADAM-5000 at address  
15h.  
6-10  
ADAM-5000  
Chapter 6  
$aaF  
$aaF  
Name  
Read Firmware Version  
Description Returns the firmware version code from a specified  
ADAM-5000 system.  
Syntax  
$aaF(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadeci-  
mal address of the ADAM-5000 system you want to  
interrogate.  
F is the Firmware Version command.  
(cr) is the terminating character, carriage return (0Dh).  
!aa(version)(cr) if the command is valid.  
?aa(cr) if an invalid operation was entered.  
Response  
There is no response if the module detects a syntax  
error, communication error or if the specified address  
does not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was in-  
valid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
(version) represents the firmware version of the ADAM-  
5000 system.  
(cr) is the terminating character, carriage return (0Dh).  
ADAM-5000  
6-11  
CPU  
Command Set  
$aaF  
$aaF  
Example  
command: $17F(cr)  
response: !17A1.06(cr)  
The command requests the system at address 17h to  
send its firmware version.  
The system responds with firmware version A1.06.  
6-12  
ADAM-5000  
Chapter 6  
$aaT  
$aaT  
Name  
Read I/O Type  
Description Returns the I/O module no. of all slots for a specified  
ADAM-5000 system.  
Syntax  
$aaT(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadeci-  
mal address of the ADAM-5000 system you want to  
interrogate.  
T is the I/O Module Types command.  
(cr) is the terminating character, carriage return (0Dh).  
!aabbccddee(cr) if the command is valid.  
?aa(cr) if an invalid operation was entered.  
Response  
There is no response if the module detects a syntax  
error, communication error or if the specified address  
does not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was in-  
valid.  
aa (range 00-FF) represents the 2-character hexadeci-  
mal address of an ADAM-5000 system.  
bb, cc, dd, ee represent the I/O Module No. of all slots  
from slot 0 thru 3 of the ADAM-5000 system.  
(cr) is the terminating character, carriage return (0Dh).  
ADAM-5000  
6-13  
CPU  
Command Set  
$aaT  
$aaT  
Example  
command: $12T(cr)  
response: !1218245160(cr)  
The command requests the ADAM-5000 system at  
address 12h to send all existing I/O module numbers.  
The system at address 12h responds with I/O module  
numbers 18, 24, 51 and 60 in slots 0-3. This means that  
the ADAM-5000 system contains an ADAM-5018,  
ADAM-5024, ADAM-5051 and ADAM-5060 in slots 0  
thru 3.  
6-14  
ADAM-5000  
Chapter 6  
$aa5  
$aa5  
Name  
Reset Status  
Description Checks the reset status of the addressed ADAM-5000  
system to see whether it has been reset since the last  
Reset Status command was issued to the ADAM-5000  
system.  
Syntax  
$aa5(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system whose Reset Status  
is to be returned.  
5 is the Reset Status command.  
(cr) is the terminating character, carriage return (0Dh)  
!aas(cr) if the command is valid.  
Response  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
s represents the Status bit that is returned by the  
ADAM-5000 system. If s=1, the system has been reset  
or powered up since the last time it was issued a Reset  
Status command. If s=0, the system has not been reset.  
(cr) is the terminating character, carriage return (0Dh)  
ADAM-5000  
6-15  
CPU  
Command Set  
$aa5  
$aa5  
Example  
command: $395(cr)  
response: !391(cr)  
The ADAM-5000 system at address 39h was reset or  
powered up since the last Reset Status command was  
issued.  
6-16  
ADAM-5000  
Chapter 6  
$aaE  
$aaE  
Name  
Software Diagnostics  
Description Requests the specified ADAM-5000 system to return  
the error status  
Syntax  
$aaE(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system you want to  
interrogate.  
E is Software Diagnostics command.  
(cr) is the terminating character, carriage return (0Dh)  
!aabbccddee(cr) if the command is valid.  
?aa(cr) if an invalid operation was entered.  
Response  
There is no response if the system detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
bbccddee are hexadecimal numbers representing the error  
code from slot 0 thru slot 3 of the system.  
(cr) is the terminating character, carriage return (0Dh)  
ADAM-5000  
6-17  
CPU  
Command Set  
Error Code Error Message  
00h  
01h  
02h  
04h  
08h  
10h  
20h  
No errors  
Span calibration error of Analog Input Module  
Self-calibration error of Analog Input Module  
Zero calibration error of Analog Input Module  
Data Reading error of Analog Input Module  
CJC Reading error  
EEPROM read/write error in AI/AO module  
Figure 6-2 Analog module error codes  
Example:  
command: $01E(cr)  
response: !0100000001  
The command diagnoses the system at address 01h and  
responds with its error status code.  
The system responds that the module in slot 3 has a  
span calibration error.  
6-18  
ADAM-5000  
Chapter 6  
6.4  
ADAM-5013 RTD Input Command Set  
Command Syntax  
Command Name  
Description  
$aaSiArrff  
RTD Configuration  
Sets slot index, input  
range, data format  
and integration time  
for a specified RTD  
input module in a  
specified system  
$aaSiB  
$aaSi  
RTD Configuration  
Status  
Returns the  
configuration  
parameters for a  
specified RTD input  
module in a specified  
system  
All RTD Data In  
Returns the input  
values of all channels  
of a specified RTD  
input module of a  
specified system in  
engineering units  
$aaSiCj  
Specified RTD Data  
In  
Returns the input  
value of a specified  
channel for a  
specified RTD input  
module of a specified  
system in engineering  
units  
$aaSiER  
Initialize EEPROM  
Data  
Initializes all EEPROM  
data in a specified  
RTD input module to  
their default values  
$aaSi5mm  
Enable/Disable  
Channels for  
Multiplexing  
Enables/disables  
multiplexing  
simultaneously for  
separate channels of  
the specified input  
module  
ADAM-5000  
6-19  
Command Set  
5013 RTD Input  
Command Syntax  
Command Name  
Description  
$aaSi6  
Read Channels Status Asks a specified input  
module to return the  
status of all channels  
$aaSi0  
$aaSi1  
RTD Span Calibration Calibrates a specified  
RTD input module to  
correct for gain errors  
RTD Zero Calibration Calibrates a specified  
RTD input module to  
correct for offset  
errors  
$aaSi2  
RTD Self Calibration Causes a specified  
RTD input module of  
a specified system to  
do a self calibration.  
Note:  
The ADAM-5013 module also has "Alarm Setting"  
functions. The alarm command set for the ADAM-  
5013 is the same as that for the ADAM-5017, ADAM-  
5017H, and the ADAM-5018. Please refer to pages  
6-71 to 6-89 for this set of commands.  
6-20  
ADAM-5000  
Chapter 6  
$aaSiArrff  
$aaSiArrff  
Name  
RTD Configuration  
Description Sets slot index, input range, data format and integration  
time for a specified RTD input module in a specified  
system.  
Syntax  
$aaSiArrff(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system you want to  
configure.  
Si identifies the desired slot i (i:0to3).  
A represents the I/O module configuration command.  
rr represents the 2-character hexadecimal code of the  
input range. (See Appendix B)  
ff is a hexadecimal number that equals the 8-bit parame-  
ter representing data format. Bits 0 and 1 represent data  
format. Bit 7 represents integration time. The layout for  
the 8-bit parameter is shown in Figure 6-3 (See page 6-  
38). The other bits are not used and are set to 0. (cr) is  
the terminating character, carriage return (0Dh).  
Response  
!aa(cr) if the command is valid.  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
ADAM-5000  
6-21  
Command Set  
5013 RTD Input  
$aaSiArrff  
$aaSiArrff  
address of an ADAM-5000 system.  
(cr) is the terminating character, carriage return (0Dh).  
command: $35S3A2000(cr)  
Example  
response: !35(cr)  
The RTD input module in slot 3 of the ADAM-5000  
system at address 35h is configured to an RTD type  
Pt -100 to 100° C, engineering unit data format, and  
integration time 50ms (60Hz). The response indicates  
that the command has been received.  
6-22  
ADAM-5000  
Chapter 6  
$aaSiB  
$aaSiB  
Name  
RTD Configuration Status  
Description Returns the configuration parameters for a specified  
RTD input module in a specified system.  
Syntax  
$aaSiB(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system you want to  
interrogate.  
Si identifies the desired slot i (i:0to3)  
B represents the configuration status command  
(cr) is the terminating character, carriage return (0Dh).  
!aarrff(cr) if the command is valid.  
Response.  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
rr represents the 2-character hexadecimal code of the  
input range. (See Appendix B)  
ff is a hexadecimal number that equals the 8-bit parame-  
ter representing data format. Bits 0 and 1 represent data  
format. Bit 7 represents integration time (See RTD  
Configuration Command $aaSiArrff).  
ADAM-5000  
6-23  
Command Set  
5013 RTD Input  
$aaSiB  
$aaSiB  
(cr) is the terminating character, carriage return (0Dh).  
command: $35S3B(cr)  
Example  
response: !352000(cr)  
The RTD input module in slot 3 of the ADAM-5000  
system at address 35h responds with an RTD type Pt  
-100 to 100° C, engineering unit data format, and  
integration time 50ms (60Hz).  
6-24  
ADAM-5000  
Chapter 6  
$aaSi  
$aaSi  
Name  
All RTD Data In  
Description Returns the input values of all channels of a specified  
RTD input module in a specified system in engineering  
units only.  
Syntax  
$aaSi(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system you want to  
interrogate.  
Si is the I/O slot of the ADAM-5000 system you want to  
read.  
(cr) is the terminating character, carriage return (0Dh).  
>(data)(data)(data)(cr) if the command is valid.  
?aa(cr) if an invalid operation was entered.  
Response.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
> delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system.  
(data) is the input value in engineering units of the  
interrogated module of the specified system. The (data)  
from all channels is shown in sequence from 0 to 2. If  
(data)=“ ”, it means the channel is invalid.  
(cr) is the terminating character, carriage return (0Dh).  
ADAM-5000  
6-25  
Command Set  
5013 RTD Input  
$aaSi  
$aaSi  
Example  
command: $35S3(cr)  
response: >+80.01 +20.00 -40.12(cr)  
The command requests the RTD input module in slot 3  
of the ADAM-5000 system at address 35h to return the  
input values of all channels.  
The RTD input module responds with input values of all  
channels in sequence from 0 to 2 : +80.01° C, +20.00° C,  
-40.12° C.  
6-26  
ADAM-5000  
Chapter 6  
$aaSiCj  
$aaSiCj  
Name  
Specified RTD Data In  
Description Returns the input value of a specified channel for a  
specified RTD input module of a specified system in  
engineering units only.  
Syntax  
$aaSiCj(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system you want to  
interrogate.  
SiCj identifies the desired slot i (i:0 to 3) and the desired  
channel j (j:0 to 2) of the module you want to interrogate.  
(cr) is the terminating character, carriage return (0Dh).  
>(data)(cr) if the command is valid.  
Response.  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
> delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
(data) is the input value in engineering units of the  
specified channel for the specified RTD input module of  
the specified system. If (data)=“ ”, it means the channel  
is invalid.  
(cr) is the terminating character, carriage return (0Dh).  
ADAM-5000  
6-27  
Command Set  
5013 RTD Input  
$aaSiCj  
$aaSiCj  
Example  
command: $35S3C0(cr)  
response: >+80.01(cr)  
The command requests the RTD input module in slot 3  
of the ADAM-5000 system at address 35h to return the  
input value of channel 0. The RTD input module  
responds that the input value of channel 0 is +80.01° C.  
6-28  
ADAM-5000  
Chapter 6  
$aaSiER  
$aaSiER  
Name  
Initialize EEPROM Data  
Description Initializes all EEPROM data in a specified analog input  
module to their default values. This command is sent  
following a failed attempt to calibrate a module (the  
module shows no effect from an attempted calibration).  
Following initialization, the problem module should  
readily accept calibration.  
Syntax  
$aaSiER(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system.  
Si identifies the I/O slot in which you wish to initialize all  
EEPROM data.  
ER represents the initialize EEPROM data command.  
(cr) is the terminating character, carriage return (0Dh)  
!aa(cr) if the command is valid.  
Response  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
(cr) is the terminating character, carriage return (0Dh)  
ADAM-5000  
6-29  
Command Set  
5013 RTD Input  
$aaSi5mm  
$aaSi5mm  
Name  
Enable/Disable Channels for multiplexing  
Description Enables/Disables multiplexing for separate channels of  
the specified input module  
Syntax  
$aaSi5mm(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system.  
Si identifies the I/O slot of the system.  
5 represents the enable/disable channels command.  
mm are two hexadecimal values. Each value is interpret-  
ed by the module as 4 bits. The first 4-bit value is 0. The  
second 4-bit value represents the status of channels 0 to  
3. A value of 0 means the channel is disabled, while a  
value of 1 means the channel is enabled. (See the Read  
Channel Status Command $aaSi6).  
Note: Bit 4 can not enable a channel in the ADAM-  
5013 since the module is physically limited to 3  
channels.  
(cr) is the terminating character, carriage return (0Dh)  
Response  
!aa(cr) if the command is valid.  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
6-30  
ADAM-5000  
Chapter 6  
$aaSi5mm  
$aaSi5mm  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
(cr) is the terminating character, carriage return (0Dh)  
Example  
command: $00S1501(cr)  
response: !00(cr)  
The command enables/disables the channels of the  
analog input module in slot 1 of the system at address  
00h. Hexadecimal 0 is a fixed value. Hexadecimal 1 equals  
binary 0001, which enables channel 0 and disables  
channels 1 and 2.  
ADAM-5000  
6-31  
Command Set  
5013 RTD Input  
$aaSi6  
$aaSi6  
Name  
Read Channels Status  
Description Asks a specified input module to return the status of all  
channels  
Syntax  
$aaSi6(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system you want to  
interrogate.  
Si identifies the I/O slot of the system you want to read  
channels status. The channel status defines whether a  
channel is enabled or disabled.  
6 represents the read channels status command.  
(cr) is the terminating character, carriage return (0Dh)  
!aamm(cr) if the command is valid.  
Response  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
mm are two hexadecimal values. Each value is interpret-  
ed as 4 bits. The first 4-bit value is 0. The second 4-bit  
value represents the status of channels 0-3. A value of 0  
means the channel is disabled, while a value of 1 means  
the channel is enabled.  
6-32  
ADAM-5000  
Chapter 6  
$aaSi6  
$aaSi6  
(cr) is the terminating character, carriage return (0Dh)  
command: $00S16(cr)  
Example  
response: !0001(cr)  
The command asks the analog input module in slot 1 of  
the system at address 00h to send the status of its input  
channels. The analog input module responds that  
channel 0 of its multiplex channels is enabled, the others  
are disabled (01h equals 0000 and 0001).  
ADAM-5000  
6-33  
Command Set  
5013 RTD Input  
$aaSi0  
$aaSi0  
Name  
RTD Span Calibration  
Description Calibrates a specified RTD input module of a specified  
system to correct for gain errors.  
Syntax  
$aaSi0(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system which contains the  
RTD module.  
Si identifies the slot i (i:0 to 3) containing the RTD  
module to be calibrated.  
0 represents the span calibration command.  
(cr) is the terminating character, carriage return (0Dh).  
!aa(cr) if the command is valid.  
Response.  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
> delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
(cr) is the terminating character, carriage return (0Dh).  
6-34  
ADAM-5000  
Chapter 6  
$aaSi1  
$aaSi1  
Name  
RTD Zero Calibration  
Description Calibrates a specified RTD input module of a specified  
system to correct for offset errors.  
Syntax  
$aaSi1(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system which contains the  
module which is to be calibrated.  
Si identifies the slot i (i:0 to 3) containing the RTD  
module to be calibrated.  
1 represents the zero calibration command.  
(cr) is the terminating character, carriage return (0Dh).  
!aa(cr) if the command is valid.  
Response.  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
(cr) is the terminating character, carriage return (0Dh).  
ADAM-5000  
6-35  
Command Set  
5013 RTD Input  
$aaSi2  
$aaSi2  
Name  
RTD Self Calibration  
Description Causes a specified RTD input module of a specified  
system to do a self calibration.  
Note:This command is for use when RTD Zero and  
Span calibration commands have been tried and had  
no effect. A user first issues an RTD self calibration  
command, and then issues zero and span calibration  
commands.  
Syntax  
$aaSi2(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system which contains the  
module to be calibrated.  
Si identifies the desired slot i (i:0 to 3) containing the  
module to be calibrated.  
2 represents the self calibration command.  
(cr) is the terminating character, carriage return (0Dh).  
!aa(cr) if the command is valid.  
Response.  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
(cr) is the terminating character, carriage return (0Dh).  
6-36  
ADAM-5000  
Chapter 6  
6.5  
Analog Input Command Set  
Command Syntax  
Command Name  
Description  
$aaSiArrff  
Configuration  
Sets slot index, input range,  
data format and integration time  
for a specified analog input  
module in a specified system.  
$aaSiB  
Configuration Status  
Returns the configuration  
parameters for a specified  
analog input module of a  
specified system.  
$aaSi5mm  
$aaSi6  
Enable/Disable  
Channels for  
multiplexing  
Enables/Disables multiplexing  
for separate channels of the  
specified input module  
Read Channels Status Asks a specified input module  
to return the status of all  
channels  
#aaSi  
All Analog Data In  
Returns the input value of all  
channels for a specified analog  
input module of a specified  
system in engineering units only.  
#aaSiCj  
Specified Analog  
Data In  
Returns the input value of a  
specified channel for a specified  
analog input module of a  
specified system in engineering  
units only  
$aaSiER  
$aaSiØ  
$aaSi1  
$aaSi3  
Initialize EEPROM  
Data  
Initializes all EEPROM data in a  
specified analog input module to  
their default values.  
Span Calibration  
Zero Calibration  
CJC Status  
Calibrates a specified analog  
input module to correct for gain  
errors  
Calibrates a specified analog  
input module to correct for offset  
errors  
Returns the value of the CJC  
(Cold Junction Compensation)  
sensor for a specified analog  
input module  
$aaSi9shhhh  
CJC Zero Calibration Calibrates a CJC sensor for  
offset errors  
Note:  
See pages 71-89 for Analog Input Alarm Command  
Set.  
ADAM-5000  
6-37  
Command Set  
5017/5018 Analog Input  
$aaSiArrff  
$aaSiArrff  
Name  
Configuration  
Description Sets slot index, input range, data format and integration  
time for a specified analog input module in a specified  
system.  
Syntax  
$aaSiArrff(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system you want to  
configure.  
Si identifies the I/O slot you want to configure.  
A is I/O module configuration command.  
rr represents the 2-character hexadecimal code of the  
input range. (See Appendix B)  
ff is a hexadecimal number that equals the 8-bit parame-  
ter representing data format. Bits 0 and 1 represent data  
format. Bit 7 represents integration time. The layout of  
the 8-bit parameter is shown in Figure 6-3. The other bits  
are not used and are set to 0.  
(cr) is the terminating character, carriage return (0Dh)  
7 6 5 4 3 2 1 0  
Not used  
Data Format  
00: Engineering units  
Integration Time  
0: 50 ms (Operation under 60 Hz power)  
1: 60 ms (Operation under 50 Hz power)  
Figure 6-3 Data format for 8-bit parameters  
6-38  
ADAM-5000  
Chapter 6  
$aaSiArrff  
$aaSiArrff  
Response  
!aa(cr) if the command is valid.  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
(cr) is the terminating character, carriage return (0Dh)  
command: $35S3A0000(cr)  
Example  
response: !35(cr)  
The analog input module in slot 3 of the ADAM-5000  
system at address 35h is configured to an input range  
±15mV, engineering units data format, and integration  
time 50ms (60Hz).  
The response indicates that the command has been  
received.  
Note:  
An analog input module requires a maximum of 7  
seconds to perform auto calibration and ranging after  
it is reconfigured. During this time span, the module  
cannot be addressed to perform any other actions.  
ADAM-5000  
6-39  
Command Set  
5017/5018 Analog Input  
$aaSiB  
$aaSiB  
Name  
Configuration Status  
Description Returns the configuration status parameters for a  
specified analog input module of a specified system.  
Syntax  
$aaSiB(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system you want to  
interrogate.  
Si identifies the I/O slot you want to read.  
B is configuration status command.  
(cr) is the terminating character, carriage return (0Dh)  
!aarrff(cr) if the command is valid.  
Response  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
rr represents the 2-character hexadecimal code of the  
input range.  
ff is a hexadecimal number that equals the 8-bit parame-  
ter representing data format. Bit 0 and 1 represent data  
format. Bit 7 represents integration time. (See Configura-  
tion Command $aaSiArrff).  
6-40  
ADAM-5000  
Chapter 6  
$aaSiB  
$aaSiB  
(cr) is the terminating character, carriage return (0Dh)  
command: $26S1B  
Example  
response: !260000  
The ADAM-5018 analog input module in slot 1 of the  
ADAM-5000 system at address 26h responds with an  
input range ±15mV, engineering units data format, and  
integration time 50ms (60Hz).  
ADAM-5000  
6-41  
Command Set  
5017/5018 Analog Input  
$aaSi5mm  
$aaSi5mm  
Name  
Enable/Disable Channels for multiplexing  
Description Enables/Disables multiplexing for separate channels of  
the specified input module  
Syntax  
$aaSi5mm(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system.  
Si identifies the I/O slot of the system.  
5 identifies the enable/disable channels command.  
mm are two hexadecimal values. Each value is interpret-  
ed as 4 bits. The first 4-bit value represents the status of  
channels 4-7, the second 4 bit value represents the  
status of channels 0-3. A value of 0 means the channel  
is disabled, while a value of 1 means the channel is  
enabled. (See the Read Channel Status Command  
$aaSi6)  
Note:  
Bit 7 cannot be enabled in the ADAM-5018 since the  
module is physically limited to 7 channels.  
(cr) is the terminating character, carriage return (0Dh)  
!aa(cr) if the command is valid.  
Response  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
6-42  
ADAM-5000  
Chapter 6  
$aaSi5mm  
$aaSi5mm  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
(cr) is the terminating character, carriage return (0Dh)  
command: $00S1581(cr)  
Example  
response: !00(cr)  
The command enables/disables channels of the analog  
input module in slot 1 of the system at address 00h.  
Hexadecimal 8 equals binary 1000, which enables  
channel 7 and disables channels 4, 5 and 6. Hexadecimal  
1 equals binary 0001, which enables channel 0 and  
disables channels 1, 2 and 3.  
ADAM-5000  
6-43  
Command Set  
5017/5018 Analog Input  
$aaSi6  
$aaSi6  
Name  
Read Channels Status  
Description Asks a specified input module to return the status of all  
channels  
Syntax  
$aaSi6(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system you want to  
interrogate.  
Si identifies the I/O slot of the system you want to read  
channels status. The channel status defines whether a  
channel is enabled or disabled.  
6 is the read channels status command.  
(cr) is the terminating character, carriage return (0Dh)  
!aamm(cr) if the command is valid.  
Response  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
mm are two hexadecimal values. Each value is interpret-  
ed as 4 bits. The first 4-bit value represents the status of  
channels 4-7, the second 4 bits represents the status of  
6-44  
ADAM-5000  
Chapter 6  
$aaSi6  
$aaSi6  
channels 0-3. A value of 0 means the channel is  
disabled, while a value of 1 means the channel is  
enabled.  
(cr) is the terminating character, carriage return (0Dh)  
command: $02S16(cr)  
Example  
response: !02FF(cr)  
The command asks the analog input module in slot 1 of  
the system at address 02h to send the status of its input  
channels. The analog input module responds that all its  
multiplex channels are enable (FF equals 1111 and 1111).  
ADAM-5000  
6-45  
Command Set  
5017/5018 Analog Input  
#aaSi  
#aaSi  
Name  
All Analog Data In  
Description Returns the input value of all channels for a specified  
analog input module of a specified system in engineer-  
ing unit only.  
Syntax  
#aaSi(cr)  
# is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system you want to  
interrogate.  
Si is the I/O slot of ADAM-5000 system you want to  
read.  
(cr) is the terminating character, carriage return (0Dh)  
Response  
>(data) (data) (data) (data) (data) (data) (data) (data) (cr)if  
the command is valid.  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
> is a delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
(data) is the input value in engineering units of a channel  
in the interrogated module of the specified system. The  
(data) from all channels is shown in sequence from 7 to  
0. If (data) = “ ”, it means the channel is invalid.  
(cr) is the terminating character, carriage return (0Dh)  
6-46  
ADAM-5000  
Chapter 6  
#aaSi  
#aaSi  
Example  
command: #12S1(cr)  
response: +1.4567 +1.4852 +1.4675 +1.4325 +1.4889  
+1.4235 +1.4787 +1.4625(cr)  
The command requests the analog input module in slot 1  
of the ADAM-5000 system at address 12h to return the  
input values of all channels.  
The analog input module responds that input values of  
all channels are in sequence from 7 to 0: +1.4567,  
+1.4852, +1.4675, +1.4325, +1.4889, +1.4235, +1.4787 and  
+1.4625.  
ADAM-5000  
6-47  
Command Set  
5017/5018 Analog Input  
#aaSiCj  
#aaSiCj  
Name  
Specified Analog Data In  
Description Returns the input value of a specified channels for a  
specified analog input module of a specified system in  
engineering unit only.  
Syntax  
#aaSiCj(cr)  
# is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system you want to  
interrogate.  
Si identifies the I/O slot you want to interrogate.  
Cj identifies the channel you want to read.  
(cr) is the terminating character, carriage return (0Dh)  
>(data) if the command is valid.  
Response  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
> is a delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
(data) is the input value in engineering units of the  
specified channel for a specified analog input module of  
the specified system. If (data) = “ ”, it means the  
channel is invalid.  
(cr) is the terminating character, carriage return (0Dh)  
6-48  
ADAM-5000  
Chapter 6  
#aaSiCj  
#aaSiCj  
Example  
command: #22S2C2(cr)  
response: >+1.4567  
The command requests the analog input module in slot 2  
of the ADAM-5000 system at address 22h to return the  
input value of channel 2.  
The analog input module responds that the input value  
of channel 2 is +1.4567.  
ADAM-5000  
6-49  
Command Set  
5017/5018 Analog Input  
$aaSiER  
$aaSiER  
Name  
Initialize EEPROM data  
Description Initializes all EEPROM data in a specified analog input  
module to their default values. This command is sent  
following a failed attempt to calibrate a module (the  
module shows no effect from an attempted calibration).  
Following initialization, the problem module should  
readily accept calibration.  
Syntax  
$aaSiER(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system.  
Si identifies the I/O slot for which you wish to initialize  
all EEPROM data.  
ER is Initialize all EEPROM data command.  
(cr) is the terminating character, carriage return (0Dh)  
!aa(cr) if the command is valid.  
Response  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
(cr) is the terminating character, carriage return (0Dh)  
6-50  
ADAM-5000  
Chapter 6  
$aaSiØ  
$aaSi0  
Name  
Span Calibration  
Description Calibrates a specified analog input module to correct for  
gain errors  
Syntax  
$aaSiØ(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system which is to be  
calibrated.  
Si identifies the I/O slot which is to be calibrated.  
Ø represents the span calibration command.  
(cr) is the terminating character, carriage return (0Dh)  
!aa(cr) if the command is valid.  
Response  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
(cr) is the terminating character, carriage return (0Dh)  
Note:  
In order to successfully calibrate an analog input  
module's input range, a proper calibration input signal  
should be connected to the analog input module  
before and during the calibration process. (See also  
Chapter 4, Section 4.5 on Calibration)  
ADAM-5000  
6-51  
Command Set  
5017/5018 Analog Input  
$aaSi1  
$aaSi1  
Name  
Zero Calibration  
Description Calibrates a specified analog input module to correct for  
offset errors  
Syntax  
$aaSi1(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system which is to be  
calibrated.  
Si identifies the I/O slot which is to be calibrated.  
1 represents the zero calibration command.  
(cr) is the terminating character, carriage return (0Dh)  
!aa(cr) if the command is valid.  
Response  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
(cr) is the terminating character, carriage return (0Dh)  
Note:  
In order to successfully calibrate an analog input  
module's input range, a proper calibration input signal  
should be connected to the analog input module  
before and during the calibration process. (See also  
Chapter 4, Section 4.5 on Calibration)  
6-52  
ADAM-5000  
Chapter 6  
$aaSi3  
$aaSi3  
Name  
CJC Status Command (ADAM-5018 only)  
Description Returns the value of the CJC (Cold Junction Compensa-  
tion) sensor for a specified analog input module  
Syntax  
$aaSi3(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system.  
Si identifies the I/O slot which contains the CJC Status  
you wish to retrieve.  
3 is CJC Status command.  
(cr) is the terminating character, carriage return (0Dh)  
>(data)(cr) if the command is valid.  
Response  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
>delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
(data) is the value that is retrieved by the module by  
reading its CJC sensor. The data format, in degrees  
Celsius, consists of a “+” or “-” sign followed by five  
decimal digits and a fixed decimal point. The resolution  
of the data is 0.1°C.  
(cr) is the terminating character, carriage return (0Dh)  
ADAM-5000  
6-53  
Command Set  
5017/5018 Analog Input  
$aaSi3  
$aaSi3  
Example  
command: $09S13(cr)  
response: >+0036.8(cr)  
The command requests the analog input module in slot 1  
of the ADAM-5000 system at address 09h to read its  
CJC sensor and return the data. The analog input  
module responds with 36.8°C.  
6-54  
ADAM-5000  
Chapter 6  
$aaSi9shhhh  
$aaSi9shhhh  
Name  
CJC Zero Calibration (ADAM-5018 only)  
Description Calibrates an analog input module to adjust for offset  
errors of its CJC (Cold Junction Compensation) sensor  
Syntax  
$aaSi9shhhh(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system.  
Si identifies the I/O slot which contains the CJC Status  
you wish to retrieve.  
9 is CJC Status command.  
s sign, + or -, indicates whether to increase or decrease  
the CJC offset value.  
hhhh is a four character hexadecimal “count” value.  
Each count equals approximately 0.009°C. The value can  
range from 0000 to FFFF.  
(cr) is the terminating character, carriage return (0Dh)  
!aa(cr) if the command is valid.  
Response  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
(cr) is the terminating character, carriage return (0Dh)  
ADAM-5000  
6-55  
Command Set  
5017/5018 Analog Input  
$aaSi9shhhh  
$aaSi9shhhh  
Example  
command: $07S29+0042(cr)  
response: !07(cr)  
The command increases the CJC offset value of the  
analog input module in slot 2 of the system at address  
07h with 66 counts (42 hex) which equals about 0.6°C.  
Note:  
An analog input module requires a maximum of 2  
seconds to perform auto calibration and ranging after  
it receives a CJC Calibration command. During this  
interval, the module cannot be addressed to perform  
any other actions.  
6-56  
ADAM-5000  
Chapter 6  
6.6 ADAM-5017H Analog Input Command Set  
Command  
Syntax  
Command  
Name  
Description  
Remarks  
$aaSiCjArrFF  
Set Input Range Sets input range for See page  
a specified channel 6-59  
of an analog input  
module in a  
specified system  
$aaSiCjB  
Read Input  
Range  
Returns the input  
range for a  
See page  
6-61  
specified channel of  
a specified analog  
input module in a  
specified system  
$aaSiAFFff  
Set Data  
Format  
Sets data format in See page  
engineering units or 6-63  
two's complement  
for a specified  
analog input  
module in a  
specified system  
$aaSiB  
Read Data  
Format  
Returns the data  
format for a  
See page  
6-65  
specified analog  
input module in a  
specified system  
$aaSi5mm  
$aaSi6  
Enable/Disable Enables/Disables  
Same as  
ADAM-5017  
Channels for  
Multiplexing  
multiplexing for  
separate channels See page  
of the specified  
input module  
6-42  
Read Channels Asks the specified Same as  
Status input module to ADAM-5017  
return the status of See page  
all channels 6-44  
ADAM-5000  
6-57  
Command Set  
5017H Analog Input  
Command  
Syntax  
Command  
Name  
Description  
Remarks  
#aaSi  
All Analog Data Returns the input  
See page  
In  
value of all channels 6-67  
for a specified  
analog input  
module of a  
specified system in  
currently configured  
data format  
#aaSiCj  
Specified  
Returns the input  
See page  
Analog Data In value of a specified 6-69  
channel of a  
specified analog  
input module of a  
specified system in  
currently configured  
data format  
$aaSiER  
$aaSi0  
$aaSi1  
Initialize  
Initializes all  
Same as  
EEPROM Data EEPROM data in a ADAM-5017  
specified analog  
input module to  
their default values.  
See page  
6-50  
Span  
Calibration  
Calibrates a  
specified analog  
input module to  
correct for gain  
errors  
Same as  
ADAM-5017  
See page  
6-51  
Zero Calibration Calibrates a  
specified analog  
Same as  
ADAM-5017  
See page  
6-52  
input module to  
correct for offset  
errors  
Note:  
The ADAM-5017H module also has "Alarm Setting"  
functions. The alarm command set for the ADAM-  
5017H is the same as that for the ADAM-5013,  
ADAM-5017, and ADAM-5018. Please refer to pages  
6-71 to 6-89 for this set of commands.  
6-58  
ADAM-5000  
Chapter 6  
$aaSiCjArrFF  
$aaSiCjArrFF  
Name  
Set Input Range  
Description Sets the input range for a specified channel of a speci-  
fied analog input module in a specified system.  
Syntax  
$aaSiCjArrFF  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system you want to  
configure.  
SiCj identifies the slot i (i:0 to 3) of the ADAM-5000  
system and the channel j (j:0 to 7) of the ADAM-5017H  
whose range you want to set.  
A represents the set input range command.  
rr represents the 2-character hexadecimal code of the  
input range. (See Appendix B)  
Note:  
Each channel in a ADAM-5017H module may be set  
to a different range, but the data formats of all  
channels in this module must be the same.  
(cr) is the terminating character, carriage return (0Dh).  
!aa(cr) if the command is valid.  
Response  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
ADAM-5000  
6-59  
Command Set  
5017H Analog Input  
$aaSiCjArrFF  
$aaSiCjArrFF  
address of an ADAM-5000 system.  
(cr) is the terminating character, carriage return (0Dh).  
Example  
command: $35S3C1A0bFF(cr)  
response: !35(cr)  
Channel 1 of the ADAM-5017H module in slot 3 of the  
ADAM-5000 system at address 35h is set to the input  
range 0-20 mA, engineering unit data format. The  
response indicates that the command has been received  
as a valid command.  
6-60  
ADAM-5000  
Chapter 6  
$aaSiCjB  
$aaSiCjB  
Name  
Read Input Range  
Description Returns the input range in engineering units for a  
specified channel of a specified analog input module in a  
specified system.  
Syntax  
$aaSiCjB  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system you want to  
interrogate.  
SiCj identifies the slot i (i:0 to 3) of the ADAM-5000  
system and the channel j (j:0 to 7) of the ADAM-5017H  
module you want to interrogate.  
B represents the read input range command.  
(cr) is the terminating character, carriage return (0Dh).  
!aarr00(cr) if the command is valid.  
Response  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
rr represents the 2-character hexadecimal code of the  
input range. (See Appendix B)  
(cr) is the terminating character, carriage return (0Dh).  
ADAM-5000  
6-61  
Command Set  
5017H Analog Input  
$aaSiCjB  
$aaSiCjB  
Example  
command: $35S3C1B(cr)  
response: !350b00(cr)  
Channel 1 of the ADAM-5017H module in slot 3 of the  
ADAM-5000 system at address 35h responds with an  
input range 0-20 mA, engineering unit data format.  
6-62  
ADAM-5000  
Chapter 6  
$aaSiAFFff  
$aaSiAFFff  
Name  
Set Data Format  
Description Sets the data format in engineering units or in two's  
complement format for a specified analog input module  
in a specified system.  
Syntax  
$aaSiAFFff  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system you want to  
configure.  
Si identifies the I/O slot of the ADAM-5000 system  
containing the ADAM-5017H module you want to  
configure.  
AFF represents the set data format command.  
ff represents the 2-character hexadecimal code of the  
data format. 00 is for engineering unit format. 02 is for  
two’s complement format.  
Note:  
Each channel in an ADAM-5017H module may be set  
to a different range, but the data formats of all  
channels in this module must be the same.  
(cr) is the terminating character, carriage return (0Dh).  
!aa(cr) if the command is valid.  
Response  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
ADAM-5000  
6-63  
Command Set  
5017H Analog Input  
$aaSiAFFff  
$aaSiAFFff  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
(cr) is the terminating character, carriage return (0Dh).  
Example  
command: $35S3AFF00(cr)  
response: !35(cr)  
The data format of the ADAM-5017H module in slot 3 of  
the ADAM-5000 system at address 35h is configured for  
engineering unit format. The response indicates that the  
command has been received as a valid command.  
6-64  
ADAM-5000  
Chapter 6  
$aaSiB  
$aaSiB  
Name  
Read Data Format  
Description Returns the data format for a specified analog input  
module in a specified system.  
Syntax  
$aaSiB  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system you want to  
interrogate.  
Si identifies the I/O slot of the ADAM-5000 system  
containing the ADAM-5017 H module you want to  
interrogate.  
B represents the read data format command.  
(cr) is the terminating character, carriage return (0Dh).  
!aaFFff(cr) if the command is valid.  
Response  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
ff represents the 2-character hexadecimal code of the  
data format. 00 is for engineering unit format. 02 is for  
two’s complement format.  
(cr) is the terminating character, carriage return (0Dh).  
ADAM-5000  
6-65  
Command Set  
5017H Analog Input  
$aaSiB  
$aaSiB  
Example  
command: $35S3B(cr)  
response: !35FF00(cr)  
The ADAM-5017H module in slot 3 of the ADAM-5000  
system at address 35h responds that it is configured for  
engineering unit data format.  
6-66  
ADAM-5000  
Chapter 6  
#aaSi  
#aaSi  
Name  
All Analog Data In  
Description Returns the input value of all channels for a specified  
analog input module of a specified system in engineer-  
ing units or two’s complement data format  
Syntax  
#aaSi  
# is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system you want to  
interrogate.  
Si identifies the I/O slot (i:0 to 3) of ADAM-5000 system  
you want to read.  
(cr) is the terminating character, carriage return (0Dh).  
Response  
!(data)(data)(data)(data)(data)(data)(data)(data)(cr) ifthe  
command is valid. (Engineering Unit Data Format)  
!(dddd)(dddd)(dddd)(dddd)(dddd)(dddd)(dddd)(dddd)(cr)if  
the command is valid. (Two’s Complement Data Format)  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
(data) is the input value in engineering units of the  
interrogated module of the specified system. The (data)  
from all channels is shown in sequence from 7 to 0. If  
(data)=” “, it means the channel is invalid.  
(dddd) is the input value in two’s complement format of  
ADAM-5000  
6-67  
Command Set  
5017H Analog Input  
#aaSi  
#aaSi  
the interrogated module of the specified system. The  
(dddd) from all channels is shown in sequence from 7 to  
0. If (dddd)=” “, it means the channel is invalid.  
(cr) is the terminating character, carriage return (0Dh).  
Example  
command: #35S3(cr)  
response: +6.000 +7.000 +8.125 +4.250 +10.000  
+8.500 +7.675 +5.445 (cr)  
The command requests the ADAM-5017H module in  
slot 3 of the ADAM-5000 system at address 35h to  
return the input values of all channels.  
The analog input module responds with the input values  
of all channels, in sequence from 0 to 7: +6.000, +7.000,  
+8.125, +4.250, +10.000, +8.500, +7.675, +5.445.  
6-68  
ADAM-5000  
Chapter 6  
#aaSiCj  
#aaSiCj  
Name  
Specified Analog Data In  
Description Returns the input value of a specified channel of a  
specified analog input module in a specified ADAM-  
5000 system in engineering units or two’s complement  
data format  
Syntax  
#aaSiCj(cr)  
# is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system you want to  
configure.  
Si identifies the I/O slot (i:0 to 3) of ADAM-5000 system  
you want to read.  
Cj identifies the channel you want to read.  
(cr) is the terminating character, carriage return (0Dh).  
Response  
!(data)(cr) if the command is valid. (Engineering Unit  
Data Format)  
!(dddd)(cr) if the command is valid. (Two’s Complement  
Data Format)  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
(data) is the input value in engineering units of the  
specified channel of the specified analog input module.  
ADAM-5000  
6-69  
Command Set  
5017H Analog Input  
#aaSiCj  
#aaSiCj  
If (data)=” “, it means the channel is invalid.  
(dddd) is the input value in two’s complement format of  
the specified channel of the specified module. If  
(dddd)=” “, it means the channel is invalid.  
(cr) is the terminating character, carriage return (0Dh).  
Example  
command: #35S3C2(cr)  
response: +9.750 (cr)  
The command requests the ADAM-5017H module in  
slot 3 of the ADAM-5000 system at address 35h to  
return the input value of channel 2.  
The analog input module responds that the input value  
of channel 2 is +9.750.  
6-70  
ADAM-5000  
Chapter 6  
6.7 Analog Input Alarm Command Set  
Command Syntax Command Name  
Description  
$aaSiCjAhs  
$aaSiCjAh  
Set Alarm Mode  
Sets the High/Low alarm  
in either Momentary or  
Latching mode.  
Read Alarm Mode  
Enable/Disable Alarm  
Returns the alarm mode  
for the specified  
channel.  
$aaSiCjAhEs  
Enables or Disables the  
High/Low alarm of the  
specified channel  
$aaSiCjCh  
Clear Latch Alarm  
Resets a latched alarm  
$aaSiCjAhCSkCn  
Set Alarm Connection  
Connects the High/Low  
alarm of a specified  
input channel to a  
specified digital output  
channel  
$aaSiCjRhC  
$aaSiCjAhU(data)  
$aaSiCjRhU  
$aaSiCjS  
Read Alarm Connection Returns the alarm limit  
output connection of a  
specified input channel  
Set Alarm Limit  
Sets the High/Low alarm  
limit value for the  
specified input channel  
Read Alarm Limit  
Read Alarm Status  
Returns the High/Low  
alarm limit value for the  
specified input channel  
Reads whether an alarm  
occurred for a specified  
input channel  
Note:  
This command set applies to the ADAM-5013,  
ADAM-5017, ADAM-5017H and the ADAM-5018.  
ADAM-5000  
6-71  
5013/5017/5017H/5018  
Analog Input Alarm  
Command Set  
$aaSiCjAhs  
$aaSiCjAhs  
Name  
Set Alarm Mode  
Description Sets the High/Low alarm of the specified input channel  
in the addressed ADAM-5000 system to either Latching  
or Momentary mode.  
Syntax  
$aaSiCjAhs(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of anADAM-5000 system.  
SiCj identifies the desired slot i (i : 0 to 3) and the  
desired channel j (j : 0 to 7).  
Ahs is the Set Alarm Mode command.  
h indicates alarm type and can have the value H = High  
alarm, L = Low alarm  
s indicates alarm mode and can have the value M =  
Momentary mode, L = Latching mode  
(cr) represents terminating character, carriage return  
(0Dh)  
Response  
!aa(cr) if the command was valid  
There is no response if the system detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
aa represents the 2-character hexadecimal address of the  
corresponding ADAM-5000 system.  
(cr) represents terminating character, carriage return  
(0Dh)  
6-72  
ADAM-5000  
Chapter 6  
$aaSiCjAhs  
$aaSiCjAhs  
Example  
command: $03S0C1AHL(cr)  
response: !03(cr)  
Channel 1 of slot 0 in the ADAM-5000 system at  
address 03h is instructed to set its High alarm in  
Latching mode.  
The module confirms that the command has been  
received.  
ADAM-5000  
6-73  
5013/5017/5017H/5018  
Analog Input Alarm  
Command Set  
$aaSiCjAh  
$aaSiCjAh  
Name  
Read Alarm Mode  
Description Returns the alarm mode for the specified channel in the  
specified ADAM-5000 system.  
Syntax  
$aaSiCjAh(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
SiCj identifies the desired slot i (i : 0 to 3) and the  
desired channel j (j : 0 to 7).  
Ah is the Read Alarm Mode command.  
h indicates alarm type and can have the value H = High  
alarm, L = Low alarm  
(cr) represents terminating character, carriage return  
(0Dh)  
Response  
!aas(cr) if the command was valid  
There is no response if the system detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
aa represents the 2-character hexadecimal address of the  
corresponding ADAM-5000 system.  
s indicates alarm mode and can have the value M =  
Momentary mode, L = Latching mode  
(cr) represents terminating character, carriage return  
(0Dh)  
6-74  
ADAM-5000  
Chapter 6  
$aaSiCjAh  
$aaSiCjAh  
Example  
command: $03S0C1AL(cr)  
response: !03M(cr)  
Channel 1 of slot 0 in the ADAM-5000 system at  
address 03h is instructed to return its Low alarm mode.  
The system responds that it is in Momentary mode.  
ADAM-5000  
6-75  
5013/5017/5017H/5018  
Analog Input Alarm  
Command Set  
$aaSiCjAhEs  
$aaSiCjAhEs  
Name  
Enable/Disable Alarm  
Description Enables/Disables the High/Low alarm of the specified  
input channel in the addressed ADAM-5000 system  
Syntax  
$aaSiCjAhEs(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
SiCj identifies the desired slot i (i : 0 to 3) and the  
desired channel j (j : 0 to 7).  
AhEs is the Set Alarm Mode command.  
h indicates alarm type and can have the value H = High  
alarm, L = Low alarm  
s indicates alarm enable/disable and can have the value  
E = Enable, D = Disable  
(cr) represents terminating character, carriage return  
(0Dh)  
Response  
!aa(cr) if the command was valid  
There is no response if the system detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
aa represents the 2-character hexadecimal address of the  
corresponding ADAM-5000 system.  
(cr) represents terminating character, carriage return  
(0Dh)  
6-76  
ADAM-5000  
Chapter 6  
$aaSiCjAhEs  
$aaSiCjAhEs  
Example  
command: $03S0C1ALEE(cr)  
response: !03(cr)  
Channel 1 of slot 0 in the ADAM-5000 system at  
address 03h is instructed to enable its Low alarm  
function.  
The module confirms that its Low alarm function has  
been enabled.  
Note:  
An analog input module requires a maximum of 2  
seconds after it receives an Enable/Disable Alarm  
command to let the setting take effect. During this  
interval, the module cannot be addressed to perform  
any other actions.  
ADAM-5000  
6-77  
5013/5017/5017H/5018  
Analog Input Alarm  
Command Set  
$aaSiCjCh  
$aaSiCjCh  
Name  
Clear Latch Alarm  
Description Sets the High/Low alarm to OFF (no alarm) for the  
specified input channel in the addressed ADAM-5000  
system  
Syntax  
$aaSiCjCh(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
SiCj identifies the desired slot i (i : 0 to 3) and the  
desired channel j (j : 0 to 7).  
Ch is the Clear Latch Alarm command.  
h indicates alarm type and can have the value H = High  
alarm, L = Low alarm  
(cr) represents terminating character, carriage return  
(0Dh)  
Response  
!aa(cr) if the command was valid  
There is no response if the system detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
aa represents the 2-character hexadecimal address of the  
corresponding ADAM-5000 system.  
(cr) represents terminating character, carriage return  
(0Dh)  
6-78  
ADAM-5000  
Chapter 6  
$aaSiCjCh  
$aaSiCjCh  
Example  
command: $03S0C1CL(cr)  
response: !03(cr)  
Channel 1 of slot 0 in the ADAM-5000 system at  
address 03h is instructed to set its Low alarm state to  
OFF.  
The system confirms it has done so accordingly.  
ADAM-5000  
6-79  
5013/5017/5017H/5018  
Analog Input Alarm  
Command Set  
$aaSiCjAhCSkCn  
$aaSiCjAhCSkCn  
Name  
Set Alarm Connection  
Description Connects the High/Low alarm of the specified input  
channel to the specified digital output in the addressed  
ADAM-5000 system  
Syntax  
$aaSiCjAhCSkCn(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
SiCj identifies the desired slot i (i : 0 to 3) and the  
desired analog input channel j (j : 0 to 7).  
AhC is the Set Alarm Connection command.  
h indicates alarm type and can have the value H = High  
alarm, L = Low alarm  
SkCn identifies the desired slot k (k : 0 to 3) and the  
desired digital output point n (n : 0 to F). To disconnect  
the digital output, k and n should be set as ‘*’.  
(cr) represents terminating character, carriage return  
(0Dh)  
Response  
!aa(cr) if the command was valid  
There is no response if the system detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
aa represents the 2-character hexadecimal address of the  
corresponding ADAM-5000 system.  
(cr) represents terminating character, carriage return  
(0Dh)  
6-80  
ADAM-5000  
Chapter 6  
$aaSiCjAhCSkCn  
$aaSiCjAhCSkCn  
Example  
command: $03S0C1ALCS1C0(cr)  
response: !03(cr)  
Channel 1 of slot 0 in the ADAM-5000 system at  
address 03h is instructed to connect its Low alarm to the  
digital output of point 0 of slot 1 in the same ADAM-  
5000 system.  
The system confirms it has done so accordingly.  
ADAM-5000  
6-81  
5013/5017/5017H/5018  
Analog Input Alarm  
Command Set  
$aaSiCjRhC  
$aaSiCjRhC  
Name  
Read Alarm Connection  
Description Returns the High/Low alarm limit output connection of a  
specified input channel in the addressed ADAM-5000  
system  
Syntax  
$aaSiCjRhC(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
SiCj identifies the desired slot i (i : 0 to 3) and the  
desired analog input channel j (j : 0 to 7).  
RhC is the Read Alarm Connection command.  
h indicates alarm type and can have the value H = High  
alarm, L = Low alarm  
(cr) represents terminating character, carriage return  
(0Dh)  
Response  
!aaSkCn(cr) if the command was valid  
There is no response if the system detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
aa represents the 2-character hexadecimal address of the  
corresponding ADAM-5000 system.  
SkCn identifies the desired slot k (k : 0 to 3) and the  
desired digital output point n (n : 0 to F) to which the  
input alarm is connected. If the values of k and n are ‘*’,  
the analog input has no connection with a digital output  
point.  
6-82  
ADAM-5000  
Chapter 6  
$aaSiCjRhC  
$aaSiCjRhC  
(cr) represents terminating character, carriage return  
(0Dh)  
Example  
command: $03S0C1RLC(cr)  
response: !03S1C0(cr)  
Channel 1 of slot 0 in the ADAM-5000 system at  
address 03h is instructed to read its Low alarm output  
connection.  
The system responds that the Low alarm output  
connects to the digital output at point 0 of slot 1 in the  
same ADAM-5000 system.  
ADAM-5000  
6-83  
5013/5017/5017H/5018  
Analog Input Alarm  
Command Set  
$aaSiCjAhU(data)  
$aaSiCjAhU(data)  
Name  
Set Alarm Limit  
Description Sets the High/Low alarm limit value for the specified  
input channel of a specified ADAM-5000 system.  
Syntax  
$aaSiCjAhU(data)(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
SiCj identifies the desired slot i (i : 0 to 3) and the  
desired analog input channel j (j : 0 to 7).  
AhU is the Set Alarm Limit command.  
h indicates alarm type and can have the value H = High  
alarm, L = Low alarm  
(data) represents the desired alarm limit setting. The  
format is always in engineering units.  
(cr) represents terminating character, carriage return  
(0Dh)  
Response  
!aa(cr) if the command was valid  
There is no response if the system detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
aa represents the 2-character hexadecimal address of the  
corresponding ADAM-5000 system.  
(cr) represents terminating character, carriage return  
(0Dh)  
6-84  
ADAM-5000  
Chapter 6  
$aaSiCjAhU(data)  
$aaSiCjAhU(data)  
Example  
command: $03S0C1AHU+080.00(cr)  
response: !03(cr)  
Channel 1 of slot 0 in the ADAM-5000 system at  
address 03h is configured to accept type-T thermocou-  
ple input. The command will set its High alarm limit to  
+80°C.  
The system confirms the command has been received.  
Note:  
An analog input module requires a maximum of 2  
seconds after it receives a Set Alarm Limit command  
to let the settings take effect. During this interval,  
the module cannot be addressed to perform any  
other actions.  
ADAM-5000  
6-85  
5013/5017/5017H/5018  
Analog Input Alarm  
Command Set  
$aaSiCjRhU  
$aaSiCjRhU  
Name  
Read Alarm Limit  
Description Returns the High/Low alarm limit value for the specified  
input channel in the addressed ADAM-5000 system  
Syntax  
$aaSiCjRhU(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
SiCj identifies the desired slot i (i : 0 to 3) and the  
desired analog input channel j (j : 0 to 7).  
RhU is the Read Alarm Limit command.  
h indicates alarm type and can have the value H = High  
alarm, L = Low alarm  
(cr) represents terminating character, carriage return  
(0Dh)  
Response  
!aa(data)(cr) if the command was valid  
There is no response if the system detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
aa represents the 2-character hexadecimal address of the  
corresponding ADAM-5000 system.  
(data) represents the desired alarm limit setting. The  
format is always in engineering units.  
(cr) represents terminating character, carriage return  
(0Dh)  
6-86  
ADAM-5000  
Chapter 6  
$aaSiCjRhU  
$aaSiCjRhU  
Example  
command: $03S0C1RHU(cr)  
response: !03+2.0500(cr)  
Channel 1 of slot 0 in the ADAM-5000 system at  
address 03h is configured to accept 5V input. The  
command instructs the system to return the High alarm  
limit value for that channel.  
The system responds that the High alarm limit value in  
the desired channel is 2.0500 V.  
ADAM-5000  
6-87  
5013/5017/5017H/5018  
Analog Input Alarm  
Command Set  
$aaSiCjS  
$aaSiCjS  
Name  
Read Alarm Status  
Description Reads whether an alarm occurred for the specified input  
channel in the specified ADAM-5000 system  
Syntax  
$aaSiCjS(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
SiCj identifies the desired slot i (i : 0 to 3) and the  
desired analog input channel j (j : 0 to 7).  
S is the Read Alarm Status command.  
(cr) represents terminating character, carriage return  
(0Dh)  
Response  
!aahl(cr) if the command was valid  
There is no response if the system detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
aa represents the 2-character hexadecimal address of the  
corresponding ADAM-5000 system.  
h represents the status of High alarm. ‘1’ means the High  
alarm occurred, ‘0’ means it did not occur.  
l represents the status of Low alarm. ‘1’ means the Low  
alarm occurred, ‘0’ means it did not occur.  
(cr) represents terminating character, carriage return  
(0Dh)  
6-88  
ADAM-5000  
Chapter 6  
$aaSiCjS  
$aaSiCjS  
Example  
command: $03S0C1S(cr)  
response: !0301(cr)  
The command instructs the system at address 03h to  
return its alarm status for channel 1 of slot 0.  
The system responds that a High alarm has not occurred  
and that a Low alarm has occurred.  
ADAM-5000  
6-89  
Command Set  
5024 Analog Output  
6.8 Analog Output Command Set  
Command Syntax Command Name  
Description  
$aaSiCjArrff  
Configuration  
Sets the output range, data  
format and slew rate for a  
specified channel in a  
specified analog output  
module in a specified  
system.  
$aaSiCjB  
Configuration Status  
Analog Data Out  
Returns the configuration  
parameters of a specified  
channel in a specified analog  
output module of a specified  
system.  
#aaSiCj(data)  
Sends a digital value from  
the host computer to a  
specified channel of a  
specified slot in a specified  
ADAM-5000 system for  
output as an analog signal.  
$aaSiCj4  
Start-Up Output  
Current/Voltage  
Configuration  
Stores a default output value  
in a specified channel. The  
output value will take effect  
upon startup or reset.  
$aaSiCj0  
$aaSiCj1  
4 mA Calibration  
20 mA Calibration  
Directs the specified channel  
to store parameters following  
a calibration for 4 mA output  
Directs the specified channel  
to store parameters following  
a calibration for 20 mA  
output  
$aaSiCj3hh  
$aaSiCj6  
Trim Calibration  
Trims the specified channel a  
specified number of units up  
or down  
Last Value Readback Returns either the last value  
sent to the specified channel  
by a #aaSiCj(data)  
command, or start-up output  
current/voltage.  
6-90  
ADAM-5000  
Chapter 6  
$aaSiCjArrff  
$aaSiCjArrff  
Name  
Configuration  
Description Sets the output range, data format and slew rate for a  
specified channel of a specified analog output module in  
a specified system.  
Syntax  
$aaSiCjArrff(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system you want to  
configure.  
SiCj identifies the I/O slot i (i : 0 to 3) and the channel  
j (j : 0 to 3) of the module you want to configure.  
A is I/O module configuration command.  
rr represents the 2-character hexadecimal code of the  
output range. (See Appendix B)  
ff is a hexadecimal number that equals the 8-bit parame-  
ter representing the status of data format and slew rate.  
Bits 0 and 1 represent data format. Bits 2,3,4,5 represent  
slew rate. The layout of the 8-bit parameter is shown in  
Figure 6-4. The other bits are not used and are set to 0.  
(cr) is the terminating character, carriage return (0Dh)  
!aa(cr) if the command is valid.  
Response  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
ADAM-5000  
6-91  
Command Set  
5024 Analog Output  
$aaSiCjArrff  
$aaSiCjArrff  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
(cr) is the terminating character, carriage return (0Dh)  
command: $35S3C0A3110(cr)  
response: !35(cr)  
Example  
The analog output channel 0 in slot 3 of the ADAM-  
5000 system at address 35h is configured to an output  
range 4 to 20mA, engineering units data format, and a  
slew rate of 1.0mA/sec.  
The response indicates that the command has been  
received.  
Note:  
An analog output module requires a maximum of 20  
milliseconds to perform auto calibration and ranging  
after it is reconfigured. During this time span, the  
module cannot be address to perform any other  
actions.  
Figure 6-4 Data format of 8-bit parameters  
6-92  
ADAM-5000  
Chapter 6  
$aaSiCjB  
$aaSiCjB  
Name  
Configuration Status  
Description Returns the configuration parameters of a specified  
channel in a specified analog output module of a  
specified system.  
Syntax  
$aaSiCjB(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system you want to  
interrogate.  
SiCj identifies the I/O slot i (i : 0 to 3) and the channel j (j  
: 0 to 3) you want to read.  
B is configuration status command.  
(cr) is the terminating character, carriage return (0Dh)  
!aarrff(cr) if the command is valid.  
Response  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
rr represents the 2-character hexadecimal code of the  
output range.  
ff is a hexadecimal number that equals the 8-bit parame-  
ter representing the status of data format and slew rate.  
ADAM-5000  
6-93  
Command Set  
5024 Analog Output  
$aaSiCjB  
$aaSiCjB  
Bits 0 and 1 represent data format. Bits 2, 3, 4 and 5  
represent slew rate. The other bits are not used and are  
set to 0. (See Configuration command $aaSiCjArrff)  
(cr) is the terminating character, carriage return (0Dh)  
command: $24S1C1B  
Example  
response: !243210  
The analog output channel 1 in slot 1 of the ADAM-  
5000 system at address 24h responds with an output  
range 0 to 10V, engineering units data format, and a slew  
rate of 1.0mA/sec.  
6-94  
ADAM-5000  
Chapter 6  
#aaSiCj(data)  
#aaSiCj(data)  
Name  
Analog Data Out  
Description Sends a digital value from the host computer to a  
specified channel of a specified slot in a specified  
ADAM-5000 system for output as an analog signal.  
Upon receipt, the analog output module in the specified  
slot will output an analog signal corresponding to the  
digital value received.  
Syntax  
#aaSiCj(data)(cr)  
# is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system.  
SiCj identifies the I/O slot i (i : 0 to 3) and the channel  
j (j : 0 to 3) of the analog output module that is to output  
an analog signal.  
(data) is a digital value incoming to the module, which  
corresponds to the desired analog output value (always  
in engineering units) to be output from the module. The  
analog value output will depend on the module's range  
configuration. (See also Appendix B, Data Formats and  
I/O Ranges)  
(cr) is the terminating character, carriage return (0Dh)  
>(cr) if the command is valid.  
Response  
?aa(cr) if a value was sent that is out of range. Note that  
when the analog output module receives such a value, it  
will try to use a value that is close to the one received,  
but within the module‘s configured range.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
> is a delimiter character indicating a valid command was  
received.  
ADAM-5000  
6-95  
Command Set  
5024 Analog Output  
#aaSiCj(data)  
#aaSiCj(data)  
? delimiter character indicating the command was  
invalid.  
(cr) is the terminating character, carriage return (0Dh)  
Example  
command: #33S1C115.000(cr)  
response: >(cr)  
The command instructs the module in slot 1 of the  
ADAM-5000 system at address 33h to output a value of  
15 mA from it's channel 1. The module should be an  
analog output module with it's channel 1 configured for  
a range of 0-20 mA or 4-20 mA. If it is an analog output  
module configured for the range 0-10 V, it's output value  
will be 10 V and the response will be ?33(cr).  
6-96  
ADAM-5000  
Chapter 6  
$aaSiCj4  
$aaSiCj4  
Name  
Start-Up Output Current/Voltage Configuration  
Description Stores a default output value in a specified channel. The  
output value will take effect upon startup or reset.  
Syntax  
$aaSiCj4(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system.  
SiCj identifies the I/O slot i (i : 0 to 3) and the channel j (j  
: 0 to 3) of the module you want to set.  
4 is the Start-Up Output Current/Voltage Configuration  
command.  
(cr) is the terminating character, carriage return (0Dh)  
!aa(cr) if the command is valid.  
Response  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
(cr) is the terminating character, carriage return (0Dh)  
ADAM-5000  
6-97  
Command Set  
5024 Analog Output  
$aaSiCj4  
$aaSiCj4  
Example  
command: $0AS1C14(cr)  
response: !0A(cr)  
Presume the present output value of channel 1 of slot 1  
in the ADAM-5000 system at address 0Ah is 9.4 mA.  
The command tells the analog output module to store  
the present output value in its non-volatile memory.  
When the system is powered up or reset, its default  
output value will be 9.4 mA.  
The response from the ADAM-5000 system at address  
0Ah indicates the command has been received.  
Note:  
An analog output module requires a maximum of 6  
milliseconds after it receives a Startup Output  
Current/Voltage Configuration command to let the  
settings take effect. During this interval, the module  
cannot be addressed to perform any other actions.  
6-98  
ADAM-5000  
Chapter 6  
$aaSiCj0  
$aaSiCj0  
Name  
4 mA Calibration  
Description Directs the specified channel to store parameters  
following a calibration for 4 mA output  
Syntax  
$aaSiCj0(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system.  
SiCj identifies the I/O slot i (i : 0 to 3) and the channel  
j (j : 0 to 3) of the module you want to calibrate.  
0 is the 4 mA calibration command.  
(cr) is the terminating character, carriage return (0Dh)  
!aa(cr) if the command is valid.  
Response  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
(cr) is the terminating character, carriage return (0Dh)  
Note:  
Before issuing the 4 mA Calibration command, the  
analog output module should be trimmed to the  
correct value using theTrim Calibration command.  
Either a mA meter or a resistor and voltmeter should  
ADAM-5000  
6-99  
Command Set  
5024 Analog Output  
$aaSiCj0  
$aaSiCj0  
be connected to the module's output. (See also the  
analog output module'sTrim Calibration command in  
Chapter 4, Section 4.5, Analog Output Module  
Calibration for a detailed description.)  
6-100  
ADAM-5000  
Chapter 6  
$aaSiCj1  
$aaSiCj1  
Name  
20 mA Calibration  
Description Directs the specified channel to store parameters  
following a calibration for 20 mA output  
Syntax  
$aaSiCj1(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system.  
SiCj identifies the I/O slot i (i : 0 to 3) and the channel  
j (j : 0 to 3) of the module you want to calibrate.  
1 is the 20 mA calibration command.  
(cr) is the terminating character, carriage return (0Dh)  
!aa(cr) if the command is valid.  
Response  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
(cr) is the terminating character, carriage return (0Dh)  
Note:  
Before issuing the 20 mA Calibration command, the  
analog output module should be trimmed to the  
correct value using theTrim Calibration command.  
Either a mA meter or a resistor and voltmeter should  
ADAM-5000  
6-101  
Command Set  
5024 Analog Output  
$aaSiCj1  
$aaSiCj1  
be connected to the module's output. (See also the  
analog output module'sTrim Calibration command in  
Chapter 4, Section 4.5, Analog Output Module  
Calibration for a detailed description.)  
6-102  
ADAM-5000  
Chapter 6  
$aaSiCj3hh  
$aaSiCj3hh  
Name  
Trim Calibration  
Description Trims the specified channel a specified number of units  
up or down  
Syntax  
$aaSiCj3hh(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system.  
SiCj identifies the I/O slot i (i : 0 to 3) and the channel  
j (j : 0 to 3) of the module you want to calibrate.  
3 is the trim calibration command.  
hh is the 2-character twos complement hexadecimal  
value that represents the number of counts by which to  
increase or decrease the output current. Each count  
equals approximately 1.5µA. Values range from 00 to 5F  
and from A1 to FF (hexadecimal), where 00 represents 0  
counts, 5F represents +95 counts, A1 represents -95  
counts and FF represents -1 counts. Negative values  
decrease and positive numbers increase the output  
current according to the number of counts.  
(cr) is the terminating character, carriage return (0Dh)  
!aa(cr) if the command is valid.  
Response  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
ADAM-5000  
6-103  
Command Set  
5024 Analog Output  
$aaSiCj3hh  
$aaSiCj3hh  
(cr) is the terminating character, carriage return (0Dh)  
command: $07S1C2314(cr)  
Example  
response: !07(cr)  
The command tells channel 2 of the analog output  
module in slot 1 of the ADAM-5000 system at address  
07h to increase its output value by 20 (14h) counts  
which is approximately 30 µA.  
The analog output module confirms the increase.  
Note:  
In order to perform aTrim Calibration, either a mA  
meter or a resistor and voltmeter should be connect-  
ed to the module's output prior to calibration. (See  
also the 4 mA and 20 mA Calibration commands of  
the analog output module's command set. Refer also  
to Chapter 4, Section 4.5, Analog Output Calibration  
for a detailed description.)  
6-104  
ADAM-5000  
Chapter 6  
$aaSiCj6  
$aaSiCj6  
Name  
Last Value Readback  
Description Returns either the last value sent to the specified  
channel by a #aaSiCj(data) command, or the start-up  
output current/voltage.  
Syntax  
$aaSiCj6(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system.  
SiCj identifies the I/O slot i (i : 0 to 3) and the channel  
j (j : 0 to 3) for the module you want to return a prior  
value.  
6 is the last value readback command.  
(cr) is the terminating character, carriage return (0Dh)  
!aa(data)(cr) if the command is valid.  
Response  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
(data) is the value that is returned by the analog output  
module. The format of the data depends on the module‘s  
configurated data format.  
(cr) is the terminating character, carriage return (0Dh)  
ADAM-5000  
6-105  
Command Set  
5024 Analog Output  
$aaSiCj6  
$aaSiCj6  
Example  
command: $0AS2C16(cr)  
response: !0A03.000(cr)  
The command tells channel 1 of the analog output  
module in slot 2 of the ADAM-5000 system at address  
0Ah to return the last output value it received from an  
Analog Data Out command, or its start-up output  
current /voltage.  
The analog output module returns the value 3.000 mA  
(this assumes that the module was configured for the  
range 0-20 mA).  
6-106  
ADAM-5000  
Chapter 6  
6.9 Digital Input/Output Command Set  
Command Syntax Command Name  
Description  
$aaSi6  
Digital Data In  
Returns the values of digital  
I/O channels for a specified  
module  
#aaSiBB(data)  
Digital Data Out  
Sets output values of a single  
digital output channel or of all  
digital output channels  
simultaneously for a  
specified module.  
$aaSiM  
Read Channel  
Masking Status  
Asks the specified module to  
return the masking status of  
all digital output channels.  
ADAM-5000  
6-107  
5050/5051/5052/5056/  
5060/5068 Digital I/O  
Command Set  
$aaSi6  
$aaSi6  
Name  
Digital Data In  
Description This command requests that the specified module in an  
ADAM-5000 system at address aa return the status of  
its digital input channels and a readback value of its  
digital output channels.  
Syntax  
$aaSi6(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system.  
Si identifies the I/O slot of the system you want to read.  
6 is the Digital Data In command.  
(cr) is the terminating character, carriage return (0Dh)  
Response  
!aa(datainput)(datainput)00(cr) if the command is valid.  
(ADAM-5051)  
!aa(dataoutput)(dataoutput)00(cr) if the command is  
valid. (ADAM-5056)  
!aa(dataoutput)0000(cr) if the command is valid.  
(ADAM-5060, ADAM-5068)  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
6-108  
ADAM-5000  
Chapter 6  
$aaSi6  
$aaSi6  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
(datainput) a 2-character hexadecimal value representing  
the input values of the digital input module.  
(dataoutput) a 2-character hexadecimal value which is the  
readback of a digital output channel or relay.  
(cr) is the terminating character, carriage return (0Dh)  
command: $33S26(cr)  
Example  
response: !33112200(cr)  
The command asks the digital input module in slot 2 of  
the ADAM-5000 system at address 33h to return the  
values of all of its channels.  
The first 2-character portion of the response indicates  
the address of the ADAM-5000 system. The second 2-  
character portion of the response, value 11h (00010001),  
indicates that digital input channels 8 and 12 are ON,  
channels 9, 10, 11, 13, 14 and 15 are OFF. The third 2-  
character portion of the response, value 22h (00100010),  
indicates that digital input channels 1 and 5 are ON, and  
channels 0, 2, 3, 4, 6 and 7 are OFF.  
ADAM-5000  
6-109  
5050/5051/5052/5056/  
5060/5068 Digital I/O  
Command Set  
#aaSiBB(data)  
#aaSiBB(data)  
Name  
Digital Data Out  
Description This command either sets a single digital output channel  
or sets all digital output channels simultaneously.  
Syntax  
#aaSiBB(data)(cr)  
# is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system.  
Si identifies the slot i (i:0 to 3) of the ADAM-5000  
system which contains the module whose output values  
you want to set.  
BB is used to indicate which channel(s) either single or  
all will be set.  
Writing to all channels (write a byte): both characters  
should be equal to zero (BB=00).  
Writing to a single channel (write a bit): first character is  
1, second character indicates channel number which can  
range from 0h to Fh. The ADAM-5056 can range from  
0h to Fh, and the ADAM-5060/5068 can range from 0h to  
7h).  
(data) is the hexadecimal representation of the digital  
output value(s).  
When writing to a single channel (bit) the first character  
is always 0. The value of the second character is either 0  
or 1.  
When writing to all channels (byte) 2 or 4-characters  
are significant. The digital equivalent of these  
hexadecimal characters represent the channels' values.  
Note that the number of channels on the ADAM-5056  
and ADAM-5060/5068 differ.  
6-110  
ADAM-5000  
Chapter 6  
#aaSiBB(data)  
#aaSiBB(data)  
A 4-character hexadecimal value is used to set the  
channels, from 15 thru 0, of the ADAM-5056. A 2 char-  
acter hexadecimal value is used to set the channels, from  
5 thru 0, of the ADAM-5060. Bits 6 and 7 always default  
to 0 in the ADAM-5060. A 2 character hexadecimal  
value is used to set the channels, from 7 thru 0, of the  
ADAM-5068.  
Response  
>(cr) if the command was valid.  
?aa(cr) if an invalid command has been issued.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
> delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system that is responding.  
(cr) is the terminating character, carriage return (0Dh)  
command: #15S11201(cr)  
Example  
response: >(cr)  
An output bit with value 1 is sent to channel 2 of a  
digital output module in slot 1 of the ADAM-5000  
system at address 15h - either ADAM-5056 or ADAM-  
5060/5068. Channel 2 of the digital output module is set  
to ON.  
command: #14S1001234(cr)  
response: >(cr)  
An output byte with value 1234h (0001001000110100) is  
ADAM-5000  
6-111  
5050/5051/5052/5056/  
5060/5068 Digital I/O  
Command Set  
#aaSiBB(data)  
#aaSiBB(data)  
sent to the digital output module (ADAM-5056) in slot 1  
of the ADAM-5000 system at address 14h. Channels 2,  
4, 5, 9 and 12 will be set to ON, and all other channels are  
set to OFF.  
command: #15S0003A(cr)  
response: >(cr)  
An output byte with value 3Ah (00111011) is sent to the  
digital output module (ADAM-5060) in slot 0 of the  
ADAM-5000 system at address 15h. Channels 0, 1, 3, 4  
and 5 will be set to ON while channel 2 is set to OFF.  
Bits 6 and 7 are not used and always default to 0.  
Note:  
If any channel of the digital output module is config-  
ured as the output for an analog input alarm, it  
cannot be reconfigured via digital output commands.  
Channels used for analog input alarms always have a  
higher priority.  
6-112  
ADAM-5000  
Chapter 6  
$aaSiM  
$aaSiM  
Name  
Read Channel Masking Status  
Description Asks the specified module to return the masking status  
of digital output channels  
Syntax  
$aaSiM(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system.  
Si identifies the I/O slot of the system you want to read.  
M is Channel Masking Status command.  
(cr) is the terminating character, carriage return (0Dh)  
!aa(data)(cr) if the command is valid.  
Response  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system that is responding.  
(data) is the hexadecimal value representing the status of  
all digital output channels. A 4-character value repre-  
sents the output channels in sequence from 15 thru 0 in  
an ADAM-5056 module. A 2-character value represents  
the output channels in sequence from 5 thru 0 in an  
ADAM-5060 module. And a 2-character value repre-  
sents the output channels in sequence from 7 thru  
ADAM-5000  
6-113  
5050/5051/5052/5056/  
5060/5068 Digital I/O  
Command Set  
$aaSiM  
$aaSiM  
0 in an ADAM-5068 module. Each bit represents a  
channel. A value of 1 means the channel is masked,  
while a value of 0 means the channel is valid.  
(cr) is the terminating character, carriage return (0Dh)  
command: $19S1M(cr)  
Example  
response: !191322(cr)  
The command asks the digital output module in slot 1 of  
the ADAM-5000 system at address 19h to return the  
masking status of all of its channels.  
The first 2-character portion of the response indicates  
the address of the ADAM-5000 system. The second 2-  
characters portion of the response, value 13h (00010011),  
indicates that digital output channels 8, 9 and 12 are  
masked, while channels 10, 11, 13, 14 and 15 are valid.  
The third 2-character portion of the response, value 22h  
(00100010), indicates that digital output channels 1 and 5  
are masked, while channels 0, 2, 3, 4, 6 and 7 are valid.  
6-114  
ADAM-5000  
Chapter 6  
6.10 ADAM-5080 Counter/Frequency Command Set  
Command Syntax  
Command Name  
Description  
Returns the module  
name from a specified  
ADAM-5000 system.  
$aaT  
Read Module Name  
Returns the firmware  
version code from a  
specified ADAM-5000  
system.  
Read Firmware  
Version  
$aaF  
Set slot index and  
counter mode  
$aaSiArrff  
$aaSiB  
Set Configuration  
The command  
requests the  
Read Configuration  
Configuration of slot  
Returns the input value  
of all channels for the  
specified input module  
for a specified system  
in engineering unit only.  
#aaSi  
Read All Channel  
Counter (Frequency)  
Data  
The command will  
return the input value  
from one of the four  
channels of a specified  
module.  
Read One Channel  
Counter (Frequency)  
Data  
#aaSiCj  
Set the filter seconds  
$aaSiØ(data)  
$aaSiØ  
Set Digital filter Scale to start to measure the  
input signal.  
Read the filter  
Read Digital filter  
scale  
seconds to start to  
measure the input  
signal.  
Request the  
addressed  
Set Counter  
Start/Stop  
$aaSiCj5s  
counter/frequency  
module to start or stop  
the counting.  
ADAM-5000  
6-115  
5080 Counter/  
Frequency Module  
Command Set  
Command Syntax  
Command Name  
Description  
Clear the counters of  
the specified  
counter/frequency  
module  
$aaSiCj6  
$aaSi7  
Clear Counter  
The command  
requests the  
addressed module to  
return the status of the  
overflow flag of  
counter.  
Read Overflow Flag  
Set initial counter value  
for counter of the  
specified counter  
module.  
Set Initial Counter  
Value  
@aaSiCjP(data)  
@aaSiCjG  
Read initial of the  
specified counter  
module.  
Read Counter Initial  
Value  
The addressed counter  
module is instructed to  
set alarm disable or  
latch.  
$aaSiCjAhEs  
Set Alarm  
Disable/Latch  
Returns the alarm  
mode for the specified  
channel.  
Read Alarm  
Disable/Latch  
$aaSiCjAh  
$aaSiCjCh  
Returns the alarm  
status to normal  
Clear Alarm Status  
Connects the High/Low  
alarm of the specified  
input channel to the  
specified digital output  
in the addressed  
$aaSiCjAhCSkCn  
Set Alarm Connection  
ADAM-5000 system  
Returns the High/Low  
alarm limit output  
Read Alarm  
Connection  
connection of a  
specified input channel  
in the addressed  
$aaSiCjRhC  
ADAM-5000 system  
6-116  
ADAM-5000  
Chapter 6  
Command Syntax  
Command Name  
Description  
Sets the High/Low  
alarm limit value for the  
specified input channel  
of a specified ADAM-  
5000 system.  
$aaSiCjAhU(data)  
Set Alarm Limit  
Returns the High/Low  
alarm limit value for the  
specified input channel  
in the addressed  
$aaSiCjRhU  
$aaSiCjS  
Read Alarm Limit  
Read Alarm Status  
ADAM-5000 system  
Reads whether an  
alarm occurred for the  
specified input channel  
in the specified  
ADAM-5000 system  
ADAM-5000  
6-117  
5080 Counter/  
Frequency Module  
Command Set  
$aaT  
$aaT  
Name  
Read Module Name  
Description Returns the module name from a specified ADAM-5000  
system.  
Syntax  
$aaT(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system you want to  
interrogate.  
T is the command for reading Module Name.  
(cr) is the terminating character, carriage return (0Dh).  
!aaFFFFFFFF(cr) if the command is valid.  
?aa(cr) if an invalid operation was entered.  
Response  
There is no response if the module detects a syntax  
error, communication error or if the specified address  
does not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
FFFFFFFF indicates the I/O slot which ADAM-5080  
module is in.  
(cr) is the terminating character, carriage return (0Dh).  
6-118  
ADAM-5000  
Chapter 6  
$aaT  
$aaT  
Example  
command: $25T(cr)  
!25FF80FFFF(cr)  
Response  
ADAM-5080 is plug in slot 1 and the command requests  
the system at address 25h to send its module name.  
ADAM-5000  
6-119  
5080 Counter/  
Frequency Module  
Command Set  
$aaF  
$aaF  
Name  
Read Firmware Version  
Description Returns the firmware version code from a specified  
ADAM-5000 system.  
Syntax  
$aaF(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character  
hexadecimal address of the ADAM-5000 system you  
want to interrogate.  
F is the command for reading Firmware Version.  
(cr) is the terminating character, carriage return (0Dh).  
!aa(version)(cr) if the command is valid.  
Response  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax  
error, communication error or if the specified address  
does not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
(version) represents the firmware version of the  
ADAM-5000 system.  
(cr) is the terminating character, carriage return (0Dh).  
6-120  
ADAM-5000  
Chapter 6  
$aaF  
$aaF  
Eample  
command: $18F(cr)  
response: !18A2.3(cr)  
The command requsets the system at address 18h to  
send its firmware version.  
The system responds with firmware version A2.3.  
ADAM-5000  
6-121  
5080 Counter/  
Frequency Module  
Command Set  
$aaSiArrff  
$aaSiArrff  
Name  
Set Configuration  
Description Set slot index and counter mode.  
Syntax  
$aaSiArrff(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system you want to  
configure.  
Si identifies the I/O slot i you want to configure.  
A is command for setting I/O module configuration.  
rr indicates which mode is.  
rr=00 represents Bi-direction counter mode.  
rr=01 represenrs UP/DOWN counter mode.  
rr=02 represents Frequency mode.  
ff indicates which format is  
ff=00 represents the engineer format.  
ff=02 represents the hexdecimal format.  
Response  
!aa(cr) if the command is valid.  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exists.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
(cr) is the terminating character, carriage return (0Dh)  
6-122  
ADAM-5000  
Chapter 6  
$aaSiArrff  
$aaSiArrff  
Example  
command: $24S1A0002(cr)  
response: !24(cr)  
The ADAM-5080 in Slot 1 of ADAM-5000 system at  
address 24h is in Bi-direction mode and configured for  
hexdecimal format.  
ADAM-5000  
6-123  
5080 Counter/  
Frequency Module  
Command Set  
$aaSiB  
$aaSiB  
Name  
Read Configuration.  
Description The command requests the Configuration of slot  
Syntax  
$aaSiB(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system you want to  
interrogate.  
Si identifies the desired slot i  
B represents the configuration status command  
(cr) is the terminating character, carriage return (0Dh).  
!aarrff(cr) if the command is valid.  
Response.  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command is  
received.  
? delimiter character indicating the command is invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
rr=00 represents Bi-direction counter mode.  
rr=01 represenrs UP/DOWN counter mode.  
rr=02 represents Frequency mode.  
ff indicates which format is  
ff=00 represents the engineer format.  
ff=02 represents the hexdecimal format.  
(cr) is the terminating character, carriage return (0Dh).  
6-124  
ADAM-5000  
Chapter 6  
$aaSiB  
$aaSiB  
Example  
command: $35S3B(cr)  
response: !350100(cr)  
The ADAM-5080 in Slot 3 of ADAM-5000 system at  
address 35h responds that it is configured in UP/DOWN  
counter mode and for engineering unit data format.  
ADAM-5000  
6-125  
5080 Counter/  
Frequency Module  
Command Set  
#aaSi  
#aaSi  
Name  
Read All Channel Counter (Frequency) Data  
Description Return the input value of all channels for the specified  
input module for a specified system in engineering unit  
only.  
Syntax  
#aaSi(cr)  
# is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system you want to  
interrogate.  
Si is the I/O slot of ADAM-5000 system you want to  
read.  
(cr) is the terminating character, carriage return (0Dh)  
>(data) (data) (data) (data) (cr) if the command is valid.  
?aa(cr) if an invalid operation was entered.  
Response  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exists.  
> is a delimiter character.  
? is a delimiter character indicating the command being  
invalid.  
(data) is the input value in engineering units of the  
interrogated module of the specified system. If the  
numbers of (data) are ten ,counter/frequency mode is in  
decimal format.If the numbers of (data) are  
eight,counter/frequency mode is in hexdecimal format.  
If (data) = “ ”, it means the channel is invalid.  
(cr) is the terminating character, carriage return (0Dh).  
6-126  
ADAM-5000  
Chapter 6  
#aaSi  
#aaSi  
Example  
command: #16S2(cr)  
response:  
If the response you got is in Counter mode, you'll see  
one similiar to the example below:  
>1235458013267521306934521463051832106549(cr)  
What you see here is actually the input values of all  
channels that is returned from slot 2 of the ADAM-5000  
system at address 16h.  
As all 4 values are concatenated into one numerical  
string such as above, we can still easily discern the  
values of 4 channels specifically as:  
1235458013, 2675213069, 3452146305 and  
1832106549  
If the response is  
>0e88fa63c33697b52a68d61fe2ca6915(cr)  
The command requests the module in slot 2 of the  
ADAM-5000 system at address 16h to return the input  
values of all channels.  
The module response that input values if all channels  
are hexdecimal:  
0e88fa63,c33697b5,2a68d61f,e2ca6915  
ADAM-5000  
6-127  
5080 Counter/  
Frequency Module  
Command Set  
#aaSi  
#aaSi  
However, if the response is in frequency mode , you'll  
see one similar to the example below:  
>0000098700000006490000000762000000011600(cr)  
As all 4 values are concatenated into one numerical  
string such as above, we can still easily discern the  
values of 4 channels specifically as:  
0000098700,0000064900,0000076200,0000011600  
What you see here is actually the input values of all  
channels returned from slot 2 of the ADAM-5000 system  
at address 16h and in decimal format. However, it is not  
the actual frequency.  
Each actual frequency can be obtained by dividing the  
response value by 100. Therefore, taking an example of  
the value above, the actual frequency should be:  
actual frequency = 98700/100 = 987  
If the response is:  
>0000F1000002000000031000000DD400(cr)  
The command requests the module in slot 2 of the  
ADAM-5000 system at address 16h to return the input  
values of all channels.  
The module response that input values if all channels  
are hexdecimal:  
0000F100,00020000,00031000,000DD400  
The actual frequency can be obtained by transfering  
hexdecimal format to decimal format .Then divide the  
response value by 100. Therefore, taking an example of  
the value above, the actual frequency should be:  
F100 (hexdecimal)=24100 (decimal)  
actual frequency = 24100/100 = 241  
6-128  
ADAM-5000  
Chapter 6  
#aaSiCj  
#aaSiCj  
Name  
Read One Channel Counter (Frequency) Data  
Description The command will return the input value from one of the  
four channels of a specified module.  
Syntax  
#aaSiCj(cr)  
# is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system you want to  
interrogate.  
Si identifies the I/O slot you want to interrogate.  
Cj identifies the channel you want to read.  
(cr) is the terminating character, carriage return (0Dh)  
>(data) if the command is valid.  
Response  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exists.  
> is a delimiter character.  
? delimiter character indicating the command was  
invalid.  
(data) is the input value in engineering units of the  
interrogated module of the specified system. If the  
numbers of (data) are ten ,counter/frequency mode is in  
decimal format.If the numbers of (data) are eight  
,counter/frequency mode is in hexdecimal format.If  
(data) = “ ”, it means the channel is invalid.  
(cr) is the terminating character, carriage return (0Dh)  
ADAM-5000  
6-129  
5080 Counter/  
Frequency Module  
Command Set  
#aaSiCj  
#aaSiCj  
Example  
command: $35S3C2(cr)  
response: >0000000451(cr)  
The command requests the ADAM-5080 module in slot  
3 of the ADAM-5000 system at address 35h to return the  
input value of channel 2.  
The counter module responds that the input value of  
channel 2 is 451.  
6-130  
ADAM-5000  
Chapter 6  
$aaSiØ(data)  
$aaSiØ(data)  
Name  
Set Digital filter Scale  
Description Set the filter seconds to start to measure the input signal.  
Syntax  
$aaSiØ(data)(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system which is to be  
calibrate.  
Si identifies the sepcified slot.  
Ø is the command for setting digital filter scale.  
(data) represents filter secends from 8µs~65000 µs. Be  
aware that (data) has 5 characters.  
(cr) is the terminating character, carriage return (0Dh)  
!aa(cr) if the command is valid.  
Response  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exists.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
(cr) is the terminating character, carriage return (0Dh)  
ADAM-5000  
6-131  
5080 Counter/  
Frequency Module  
Command Set  
$aaSiØ(data)  
$aaSiØ(data)  
Example  
command: $26S3000765(cr)  
response: !26(cr)  
The ADAM-5080 in slot 3 of the ADAM-5000 system at  
address 26h need 765µ seconds to start to measure the  
input.  
6-132  
ADAM-5000  
Chapter 6  
$aaSiØ  
$aaSiØ  
Name  
Read Digital filter scale  
Description Read the filter seconds to start to measure the input  
signal.  
Syntax  
$aaSiØ(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system which is to be  
calibrate.  
Si identifies the I/O slot which is to be accessed.  
Ø is the command for reading digital filter scale.  
(cr) is the terminating character, carriage return (0Dh)  
!aa(data)(cr) if the command is valid.  
Response  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exists.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
(data) represents filter secends from 8 µs~65000 µs. Be  
aware that (data) has 5 characters.  
(cr) is the terminating character, carriage return (0Dh)  
ADAM-5000  
6-133  
5080 Counter/  
Frequency Module  
Command Set  
$aaSiØ  
$aaSiØ  
Example  
command: $26S30(cr)  
response: !2600765(cr)  
The command requests the ADAM-5080 in slot 3 of the  
ADAM-5000 system at address 26h to read the filter  
seconds. The module responds with 765µ seconds.  
6-134  
ADAM-5000  
Chapter 6  
$aaSiCj5s  
$aaSiCj5s  
Name  
Set Counter Start/Stop  
Description Request the addressed counter/frequency module to  
start or stop the counting.  
Syntax  
$aaSiCj5s(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system.  
SiCj identifies the I/O slot i and the channel j of the  
module you want to set.  
5 is the command for setting counter Start/Stop.  
s represents start/stop command.  
s=0 indicate stop counter.  
s=1 indicate start counter.  
(cr) is the terminating character, carriage return (0Dh)  
!aa(cr) if the command is valid.  
Response  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exists.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
(cr) is the terminating character, carriage return (0Dh)  
ADAM-5000  
6-135  
5080 Counter/  
Frequency Module  
Command Set  
$aaSiCj5s  
$aaSiCj5s  
Example  
command: $26S3C251(cr)  
response: !26(cr)  
The command requests channel 2 of ADAM-5080 in slot  
3 in ADAM-5000 system at address 26h to start counter.  
6-136  
ADAM-5000  
Chapter 6  
$aaSiCj5  
$aaSiCj5  
Name  
Read counter Start/Stop  
Description Requests the addressed counter/frequency module to  
indicate whether counters are active.  
Syntax  
$aaSiCj5(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system.  
SiCj identifies the I/O slot i and the channel j of the  
module you want to set.  
5 is the command for reading counter Start/Stop.  
(cr) is the terminating character, carriage return (0Dh)  
!aas(cr) if the command is valid.  
Response  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exists.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
s represents start/stop command.  
s=0 indicate stop counter.  
s=1 indicate start counter.  
(cr) is the terminating character, carriage return (0Dh)  
ADAM-5000  
6-137  
5080 Counter/  
Frequency Module  
Command Set  
$aaSiCj5  
$aaSiCj5  
Example  
command: $26S3C25(cr)  
response: !261(cr)  
The channel 2 of ADAM-5080 in slot 3 in ADAM-5000  
system at address 26h is instructed to return its counter  
status. The counter status is in start status.  
6-138  
ADAM-5000  
Chapter 6  
$aaSiCj6  
$aaSiCj6  
Name  
Clear Counter  
Description Clear the counters of the specified counter/frequency  
module  
Syntax  
$aaSiCj6(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system.  
SiCj identifies the I/O slot i and the channel  
j for the module you want to return a prior value.  
6 is the command for clearing counter.  
(cr) is the terminating character, carriage return (0Dh)  
!aa(cr) if the command is valid.  
Response  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
(cr) is the terminating character, carriage return (0Dh)  
ADAM-5000  
6-139  
5080 Counter/  
Frequency Module  
Command Set  
$aaSiCj6  
$aaSiCj6  
Example  
command: $26S3C26(cr)  
response: !26(cr)  
The command requests the channel 2 of ADAM-5080 in  
slot 3 in ADAM-5000 system at address 26h to clear  
counter value.  
6-140  
ADAM-5000  
Chapter 6  
$aaSi7  
$aaSi7  
Name  
Read Overflow Flag  
Description The command requests the addressed module to return  
the status of the overflow flag of counter.  
Syntax  
$aaSi7(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system.  
Si identifies the I/O slot i (i : 0 to 3).  
7 is the command for the last value readback.  
!aaff ff ff ff(cr) if the command is valid.  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
Response  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
ffffffff is the number of overflow for a specified channel.  
(ffffffff represents 0~3 channels, each of which is  
represented by one ff).  
(cr) is the terminating character, carriage return (0Dh)  
Note:  
When this command is issued, the overflow value is  
cleared and starts afresh.  
ADAM-5000  
6-141  
5080 Counter/  
Frequency Module  
Command Set  
$aaSi7  
$aaSi7  
Example  
command: $26S37(cr)  
response: !2600000001(cr)  
The command requests the ADAM-5080 of slot 3 in  
ADAM-5000 system at address 26h to return the  
overflow value. The overflow value in channel 3 is 01.  
The others are 00.  
6-142  
ADAM-5000  
Chapter 6  
@aaSiCjP(data)  
@aaSiCjP(data)  
Name  
Set Initial Counter Value  
Description Set initial counter value for counter of the specified  
counter module.  
Syntax  
@aaSiCjP(data)(cr)  
@ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system.  
SiCj identifies the I/O slot i and the channel  
j for the module you want to return a prior value.  
P represents Set Initial Counter Value command.  
(data) is initial value from 0 to 4294967296. Be aware that  
(data) has 10 characters.  
(cr) is the terminating character, carriage return (0Dh)  
!aa(cr) if the command is valid.  
Response  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
(cr) is the terminating character, carriage return (0Dh)  
ADAM-5000  
6-143  
5080 Counter/  
Frequency Module  
Command Set  
@aaSiCjP(data)  
@aaSiCjP(data)  
Example  
command: @26S3C2P0000004369(cr)  
response: !26(cr)  
The channel 2 of ADAM-5080 in slot 3 in ADAM-5000  
system at address 26h is instructed to set initial counter  
value. The initial counter value is 4369.  
6-144  
ADAM-5000  
Chapter 6  
@aaSiCjG  
@aaSiCjG  
Name  
Read Initial Counter  
Description Read initial counter value of specified module.  
Syntax  
@aaSiCjG(cr)  
@ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of the ADAM-5000 system.  
SiCj identifies the I/O slot i and the channel j for the  
module you want to return a prior value.  
G is the last value readback command.  
(cr) is the terminating character, carriage return (0Dh)  
!aa(data)(cr) if the command is valid.  
Response  
?aa(cr) if an invalid operation was entered.  
There is no response if the module detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
? delimiter character indicating the command was  
invalid.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
(data) is initial value from 0 to 4294967295.Be aware that  
(data) has 10 characters.  
(cr) is the terminating character, carriage return (0Dh)  
ADAM-5000  
6-145  
5080 Counter/  
Frequency Module  
Command Set  
@aaSiCjG  
@aaSiCjG  
Example  
command: @26S3C2G(cr)  
response: !260000004369(cr)  
The channel 2 of ADAM-5080 in slot 3 in ADAM-5000  
system at address 26h is instructed to return counter  
initial value. The initial counter value is 4369.  
6-146  
ADAM-5000  
Chapter 6  
$aaSiCjAhEs  
$aaSiCjAhEs  
Name  
Set Alarm Disable/Latch  
Description The addressed counter module is instructed to set alarm  
disable or latch.  
Syntax  
$aaSiCjAhEs(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
SiCj identifies the desired slot i and the desired channel j.  
AhEs is the command for setting Alarm Disable/Latch  
Mode command.  
h indicates alarm type and can have the value H = High  
alarm, L = Low alarm  
s indicates alarm enable/disable and can have the value  
D = Disable, E=Enable  
(cr) represents terminating character, carriage return (0Dh)  
!aa(cr) if the command was valid  
Response  
There is no response if the system detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
aa represents the 2-character hexadecimal address of the  
corresponding ADAM-5000 system.  
(cr) represents terminating character, carriage return (0Dh)  
ADAM-5000  
6-147  
5080 Counter/  
Frequency Module  
Command Set  
$aaSiCjAhEs  
$aaSiCjAhEs  
Example  
command: $03S0C1ALED(cr)  
response: !03(cr)  
Channel 1 of slot 0 of ADAM-5080 in ADAM-5000  
system at address 03h is instructed to disable its Low  
alarm function.  
The module confirms that its Low alarm function has  
been disable.  
6-148  
ADAM-5000  
Chapter 6  
$aaSiCjAh  
$aaSiCjAh  
Name  
Read Alarm Disable/Latch  
Description Return the alarm mode for the specified channel.  
Syntax  
$aaSiCjAh(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
SiCj identifies the desired slot i and the desired channel j.  
A is the Read Alarm Mode command.  
h indicates alarm type and can have the value H = High  
alarm, L = Low alarm  
(cr) represents terminating character, carriage return (0Dh)  
!aap(cr) if the command was valid  
Response  
There is no response if the system detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
aa represents the 2-character hexadecimal address of the  
corresponding ADAM-5000 system.  
p indicates alarm mode.  
p=D, if alarm is Disable.  
P=L, if alarm is Latch.  
(cr) represents terminating character, carriage return (0Dh)  
ADAM-5000  
6-149  
5080 Counter/  
Frequency Module  
Command Set  
$aaSiCjAh  
$aaSiCjAh  
Example  
command: $03S0C1AL(cr)  
response: !03L(cr)  
Channel 1 of slot 0 of ADAM-5080 in ADAM-5000  
system at address 03h is instructed to return its Low  
alarm mode.  
The system responds that it is latched.  
6-150  
ADAM-5000  
Chapter 6  
$aaSiCjCh  
$aaSiCjCh  
Name  
Clear Alarm Status  
Description Returns the alarm status to normal  
Syntax  
$aaSiCjCh(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
SiCj identifies the desired slot i and the desired channel j.  
C is the clear Alarm Mode command.  
h indicates alarm type and can have the value H = High  
alarm, L = Low alarm  
(cr) represents terminating character, carriage return  
(0Dh)  
Response  
!aa(cr) if the command was valid  
There is no response if the system detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
aa represents the 2-character hexadecimal address of the  
corresponding ADAM-5000 system.  
(cr) represents terminating character, carriage return  
(0Dh)  
ADAM-5000  
6-151  
5080 Counter/  
Frequency Module  
Command Set  
$aaSiCjCh  
$aaSiCjCh  
Example  
command: $03S0C1CL(cr)  
response: !03(cr)  
Channel 1 of slot 0 of ADAM-5080 in ADAM-5000  
system at address 03h is instructed to set its Low alarm  
state to normal.  
The system confirms it has done so accordingly.  
6-152  
ADAM-5000  
Chapter 6  
$aaSiCjAhCSkCn  
$aaSiCjAhCSkCn  
Name  
Set Alarm Connection  
Description Connect the High/Low alarm of the specified input  
channel to the specified digital output in the addressed  
ADAM-5000 system  
Syntax  
$aaSiCjAhCSkCn(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
SiCj identifies the desired slot i and the desired channel j .  
AhC is the command for setting Alarm Connection  
command.  
h indicates alarm type and can have the value H = High  
alarm, L = Low alarm  
SkCn identifies the desired slot k and the desired digital  
output point n (n : 0 to F). To disconnect the digital  
output, k and n should be set as ‘*’.  
(cr) represents terminating character, carriage return (0Dh)  
!aa(cr) if the command was valid  
Response  
There is no response if the system detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
aa represents the 2-character hexadecimal address of the  
corresponding ADAM-5000 system.  
(cr) represents terminating character, carriage return (0Dh)  
ADAM-5000  
6-153  
5080 Counter/  
Frequency Module  
Command Set  
$aaSiCjAhCSkCn  
$aaSiCjAhCSkCn  
Example  
command: $03S0C1ALCS1C0(cr)  
response: !03(cr)  
Channel 1 of slot 0 of ADAM-5080 in ADAM-5000  
system at address 03h is instructed to connect its Low  
alarm to the digital output of point 0 of slot 1 in the same  
ADAM-5000 system.  
The system confirms it has dome so accordingly.  
6-154  
ADAM-5000  
Chapter 6  
$aaSiCjRhC  
$aaSiCjRhC  
Name  
Read Alarm Connection  
Description Return the High/Low alarm limit output connection of a  
specified input channel in the addressed ADAM-5000  
system  
Syntax  
$aaSiCjRhC(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
SiCj identifies the desired slot i and the desired channel j.  
RhC is the command for reading Alarm Connection.  
h indicates alarm type and can have the value H = High  
alarm, L = Low alarm  
(cr) represents terminating character, carriage return (0Dh)  
!aaSkCn(cr) if the command was valid  
Response  
There is no response if the system detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
aa represents the 2-character hexadecimal address of the  
corresponding ADAM-5000 system.  
SkCn identifies the desired slot k and the desired digital  
output point n (n : 0 to F) to which the input alarm is  
connected. If the values of k and n are ‘*’, the analog  
input has no connection with a digital output point.  
(cr) represents terminating character, carriage return (0Dh)  
ADAM-5000  
6-155  
5080 Counter/  
Frequency Module  
Command Set  
$aaSiCjRhC  
$aaSiCjRhC  
Example  
command: $03S0C1RLC(cr)  
response: !03SØC1(cr)  
Channel 1 of slot 0 of ADAM-5080 in ADAM-5000  
system at address 03h is instructed to read its Low alarm  
output connection.  
The system responds that the Low alarm output  
connects to the digital output at point 0 of slot 1 in the  
same ADAM-5000 system.  
6-156  
ADAM-5000  
Chapter 6  
$aaSiCjAhU(data)  
$aaSiCjAhU(data)  
Name  
Set Alarm Limit  
Description Set the High/Low alarm limit value for the specified input  
channel of a specified ADAM-5000 system.  
Syntax  
$aaSiCjAhU(data)(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
SiCj identifies the desired slot i and the desired channel j.  
AhU is the Set Alarm Limit command.  
h indicates alarm type and can have the value H = High  
alarm, L = Low alarm  
(data) represents the desired alarm limit setting. The  
value is from 0 to 4294967295. Be aware that (data) has  
10 characters.  
(cr) represents terminating character, carriage return (0Dh)  
!aa(cr) if the command was valid  
Response  
There is no response if the system detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
aa represents the 2-character hexadecimal address of the  
corresponding ADAM-5000 system.  
(cr) represents terminating character, carriage return (0Dh)  
ADAM-5000  
6-157  
5080 Counter/  
Frequency Module  
Command Set  
$aaSiCjAhU(data)  
$aaSiCjAhU(data)  
Example  
command: $03SØC1AHU0000000020(cr)  
response: !03(cr)  
The channel 1 of slot 0 of ADAM-5080 in ADAM-5000  
system at address 03h is configured to set High alarm  
limit value to 20.  
6-158  
ADAM-5000  
Chapter 6  
$aaSiCjRhU  
$aaSiCjRhU  
Name  
Read Alarm Limit  
Description Return the High/Low alarm limit value for the specified  
input channel in the addressed ADAM-5000 system  
Syntax  
$aaSiCjRhU(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
SiCj identifies the desired slot i and the desired channel  
j.  
RhU is the Read Alarm Limit command.  
h indicates alarm type and can have the value H = High  
alarm, L = Low alarm  
(cr) represents terminating character, carriage return  
(0Dh)  
Response  
!aa(data)(cr) if the command was valid  
There is no response if the system detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
aa represents the 2-character hexadecimal address of the  
corresponding ADAM-5000 system.  
(data) represents the desired alarm limit setting. The  
format is always in engineering units. Be aware that  
(data) has 10 characters.  
(cr) represents terminating character, carriage return  
(0Dh)  
ADAM-5000  
6-159  
5080 Counter/  
Frequency Module  
Command Set  
$aaSiCjRhU  
$aaSiCjRhU  
Example  
command: $03SØC1RHU(cr)  
response: !030000000026(cr)  
The channel 1 of slot 0 of ADAM-5080 in the ADAM-  
5000 system at address 03h is configured to return the  
High alarm limit value.  
The High alarm limit value is 26.  
6-160  
ADAM-5000  
Chapter 6  
$aaSiCjS  
$aaSiCjS  
Name  
Read Alarm Status  
Description Read whether an alarm occurred for the specified input  
channel in the specified ADAM-5000 system  
Syntax  
$aaSiCjS(cr)  
$ is a delimiter character.  
aa (range 00-FF) represents the 2-character hexadecimal  
address of an ADAM-5000 system.  
SiCj identifies the desired slot i and the desired channel j.  
S is the Read Alarm Status command.  
(cr) represents terminating character, carriage return (0Dh)  
!aahl(cr) if the command was valid  
Response  
There is no response if the system detects a syntax error  
or communication error or if the specified address does  
not exist.  
! delimiter character indicating a valid command was  
received.  
aa represents the 2-character hexadecimal address of the  
corresponding ADAM-5000 system.  
h represents the status of High alarm. ‘1’ means the High  
alarm occurred, ‘0’ means it did not occur.  
l represents the status of Low alarm. ‘1’ means the Low  
alarm occurred, ‘0’ means it did not occur.  
(cr) represents terminating character, carriage return (0Dh)  
ADAM-5000  
6-161  
5080 Counter/  
Frequency Module  
Command Set  
$aaSiCjS  
$aaSiCjS  
Example  
command: $03SØC1S  
response: !0311(cr)  
The channel 1 of slot 0 of ADAM-5080 in the ADAM-  
5000 system at address 03h is configured to read alarm  
status.  
The High alarm has occured and low alarm has occured.  
6-162  
ADAM-5000  
7
Troubleshooting  
Troubleshooting  
Diagnosis  
The ADAM-5000 system provides two kinds of diagnosis: hardware  
diagnosis and software diagnosis to help the user detect and identify  
various types of system and I/O module failures.  
7.1  
Hardware Diagnosis  
When the ADAM-5000 is first powered on, the system does a self-  
diagnosis. The diagnosis information will be indicated on the LEDs of  
the system module in the following sequence:  
1. The LEDs will come on according to the following sequence: PWR  
-> RUN -> TX -> RX,  
2. Then all LEDs will go off  
3. If the system self test is OK, the LEDs will follow the sequence  
outlined in Steps 1 and 2. If the system has some problems, the  
LEDs indicate errors as shown in the following table.  
LED Status  
Error Type  
PWR LED On  
RUN LED On  
Checksum error  
EEPROM Read/Write  
error on CPU board  
TX LED On  
RX LED On  
RS-232 malfunction  
RS-485 malfunction  
7.2  
Software Diagnosis  
The ADAM-5000 provides an ASCII command $AAE (Refer to the  
command set in Chapter 6) to read the status of I/O modules through  
the RS-232 port for field diagnosis or RS-485 port for remote diagnosis.  
The response of such a command is !AAFFFFFFFF (FF represents the  
error message of a slot from 0 to 3). The error messages are detailed in  
the following table:  
7-2  
ADAM-5000  
Chapter 7  
Error Code Error Type  
00h  
01h  
02h  
04h  
08h  
10h  
20h  
OK  
AI module span calibration error  
AI module self-calibration error  
AI module zero calibration error  
AI module data reading error  
CJC reading error  
EEPROM read/write error of  
AI/AO modules  
7.3  
System Indicators  
While the ADAM-5000 system is in operation the indicators on the  
front can help you diagnose problems with the system. The table  
below gives a quick reference of potential problems associated with  
each status indicator.  
Indicator Status Potential Problems  
PWR (Off)  
1. System voltage incorrect  
2. Power supply is faulty  
3. Other components such as I/O  
modules have power supply shorts  
RUN (Off)  
TX (Off)  
CPU board is faulty  
Data not sent to adjacent node  
Data not received from adjacent node  
RX (Off)  
PWR Indicator  
In general there are 3 reasons for the system power status LED (PWR)  
to be OFF.  
ADAM-5000  
7-3  
Troubleshooting  
1. External power to the system is incorrect or is not applied.  
2. Power supply is faulty.  
3. Other component(s) have the power supply shut down.  
Incorrect External Power  
If the voltage to the power supply is not correct, the system may not  
operate properly or may not operate at all. Use the following guidelines  
to correct the problem.  
1. First, turn off the system power and check all incoming wiring for  
loose connections.  
2. If the connections are acceptable, reconnect the system power and  
measure the voltage at the power terminal strip to insure it is within  
specification. If the voltage is not correct, shut down the system  
and correct the problem.  
3. If all wiring is connected correctly and the incoming power is within  
the specifications required, the system module should be returned  
for repair.  
Faulty Power Supply  
Substitute a power supply known to be good to see if this corrects the  
problem. If you have experienced major power surges, it is possible  
that the system and power supply have been damaged. If you suspect  
this is the cause of the power supply damage, a line conditioner which  
removes damaging voltage spikes should be used in the future.  
Device or Module causing Power Supply to Shutdown  
It is possible a faulty module or external device using the system 5V  
can shut down the power supply. This 5V can be coming from the  
system module.  
To test for a device causing this problem:  
1. Turn off power to the system module  
2. Disconnect all external devices (such as communication  
cables) from the system module.  
3. Reapply power to the system.  
7-4  
ADAM-5000  
Chapter 7  
If the power supply operates normally, you probably have either a  
shorted device or a shorted cable. If the power supply does not  
operate normally, then test for a module causing the problem by using  
the following procedure.  
To isolate which module is causing the problem, disconnect the  
external power and remove one module at one time till the PWR LED  
operates normally. Follow the procedure below:  
1. Turn off power to the base.  
2. Remove a module from the base.  
3. Reapply power to the base.  
RUN Indicator  
If the self test for the system has passed, the RUN LED is still on  
except no power.  
7.4  
Communication Problems  
If you cannot establish communications with the system module,  
check these items:  
The cable is disconnected  
The cable has a broken wire or has been wired incorrectly  
The cable is improperly terminated or grounded  
The device connected is not operating at the correct baud rate  
The device connected to the port is sending data incorrectly  
A grounding difference exists between the two devices  
Electrical noise is causing intermittent errors  
The system module has a bad communication port and it should be  
replaced  
ADAM-5000  
7-5  
Troubleshooting  
7.5  
I/O Module Troubleshooting  
There is a LED to indicate the connection between the base and an  
I/O module in any ADAM-5000 system. The LED is on when the  
connection is good. If you suspect an I/O error, there are several  
things that could be causing the problem.  
A loose terminal block  
The power supply has failed  
The module has failed  
Some Quick Steps  
When troubleshooting the ADAM-5000 series digital I/O modules,  
there are a few facts you should be aware of. These facts may assist  
you in quickly correcting an I/O problem.  
The digital output modules can not detect shorted or open output  
points. If you suspect one or more points on an output module to  
be faulty, you should measure the voltage drop from the common  
to the suspect point.  
Leakage current can be a problem when connecting field devices to  
I/O modules. False input signals can be generated when the  
leakage current of an output device is great enough to turn on the  
connected input device. To correct this, install a resistor in parallel  
with the input or output of the circuit. The value of this resistor  
will depend on the amount of leakage current and the voltage  
applied but usually a 10K to 20 Kresistor will work. Insure the  
wattage rating of the resistor is correct for your applications.  
The easiest method to determine if a module has failed is to replace  
it if you have a spare. However, if you suspect another device to  
have caused the failure in the replacement module as well. As a  
point of caution, you may want to check devices or power supplies  
connected to the failed module before replacing it with a spare  
module.  
7-6  
ADAM-5000  
A
Quick Start Example  
Quick Start Example  
This chapter provides guidelines to what is needed to set up and  
install a distributed ADAM-5000 network system. A quick hookup  
scheme is provided that lets you configure a single system before you  
install a network system.  
Be sure to carefully plan the layout and configuration of your network  
before you start. Guidelines regarding layout are given in Appendix B:  
RS-485 Network.  
A.1 System Requirements to Setup an ADAM-5000  
System  
Before you setup an ADAM-5000 system, you can follow the steps to  
install I/O modules into the ADAM-5000 base.  
1. Align the module with the grooves on the top and bottom of the  
base.  
2. Push the unit straight into the base until it is firmly seated in the  
backplane connector.  
3. Push-in the retaining clips at the top and bottom of the unit to  
secure the module to the base.  
The following list gives an overview of what is needed to setup, install  
and configure an ADAM-5000 environment.  
ADAM-5000/485 and I/O Modules  
A host computer, such as an IBM PC/AT compatible, that can  
output ASCII characters with an RS-232C or RS-485 port  
Power supply for the ADAM-5000 system (+10 to +30 VDC)  
ADAM Series Utility Software  
ADAM Isolated RS-232/RS-485 Converter (optional)  
ADAM Repeater (optional)  
A-2  
ADAM-5000  
Appendix A  
Host Computer  
Any computer or terminal that can output in ASCII format over either  
RS-232 or RS-485 can be connected as the host computer. When only  
RS-232 is available, an ADAM RS-232/RS-485 Converter is required to  
transform the host signals to the correct RS-485 protocol. The  
converter also provides opto-isolation and transformer -based  
isolation to protect your equipment.  
Power Supply  
For the ease of use in industrial environments the ADAM-5000  
systems designed to accept industry standard +24 VDC unregulated  
power. Operation is guaranteed when using any power supply  
between +10 and +30 VDC. Power ripples must be limited to 100 mV  
peak to peak while the voltage in all cases must be maintained between  
+10 and +30 VDC. When the systems are powered remotely the effects  
of line voltage drops must be considered.  
All systems onboard switching regulators to sustain good efficiency  
over the 10-30 V input range, therefore, we can assume that the actual  
current draw is inversely proportional to the line voltage. The follow-  
ing example shows how to calculate the required current that a power  
supply should be able to provide.  
Assume that a +24 VDC will be used to power an ADAM-5000/485 and  
four ADAM-5017 input modules. The distance from Power supply to  
modules is not so big that significant line voltage drop will occur. One  
ADAM-5000/485 system and one ADAM-5017 module consume a  
maximum of 1.0 W (ADAM-5000) and 1.2 W (ADAM-5017). The total  
required power will equal 1 W + 4 x 1.2 W = 5.8 Watts. A power supply  
of +24 VDC should, therefore, be able to supply a minimal current of 5.8  
/ 24 = 0.25 Amps.  
Small systems may be powered by using wall-mounted modular power  
supplies. Also when systems operate on long communication lines  
(>500 feet) it is often more reliable to power the systems locally with  
modular power supplies. These inexpensive units can easily be  
obtained from any electronics retail store.  
The power cables should be selected according to the number of  
systems connected and the length of the power lines. When using a  
ADAM-5000  
A-3  
Quick Start Example  
network with long cables, we advise the use of thicker wire to limit the  
line voltage drop. In addition to serious voltage drops, long voltage  
lines can also cause interference with communication wires.  
+
-
+Vs  
POWER SUPPLY  
+10~+30 VDC  
GND  
INIT*  
COM  
DATA+  
DATA-  
Figure A-1 Power supply connections  
It is advisable to use standard coding colors for the power lines:  
+Vs  
(R)  
(B)  
Red  
GND  
Black  
Communication Wiring  
It is recommended that shielded, twisted-pair cables that comply with  
the EIA RS-485 standard be used with the ADAM-5000 network to  
reduce interference. Only one set of twisted-pair cables is required to  
A-4  
ADAM-5000  
Appendix A  
transmit both DATA and RTS signals. It is advisable that the follow-  
ing standard colors be used for the communication lines:  
DATA+ (Y)  
DATA- (G)  
Yellow  
Green  
ADAM Utility Software  
A menu-driven utility program is provided for ADAM-5000 system  
configuration, monitoring and calibration. It also includes a terminal  
emulation program that lets you easily communicate through the  
ADAM command set. (See Chapter 5, Utility Software)  
ADAM Isolated RS-232/RS-485 Converter (optional)  
When the host computer or terminal has only a RS-232 port, an  
ADAM Isolated RS-232/RS-485 Converter, connected to the host's RS-  
232 port, is required. Since this module is not addressable by the host,  
the baud rate must be set using a switch inside the module. The  
factory default setting is 9600 baud.  
ADAM Repeater (optional)  
When communication lines exceed 4000ft (1200 meters) or the number  
of ADAM-5000 systems connected is more than 32, a repeater should  
be connected to expand the first segment. Up to 32 repeater modules  
can be connected allowing connection of up to 256 ADAM-5000  
systems. As with the converter module, the repeater module is not  
addressable by the host and the baud rate must be set by changing  
the switch inside the module. The factory default setting is 9600 baud.  
A.2 Basic Configuration Hook-up  
Before placing the system in an existing network, the system should be  
configured properly. Though the system is initially configured at the  
factory, it is recommended you check that the baud rate is set correctly.  
ADAM-5000  
A-5  
Quick Start Example  
Default Factory Settings  
Baud rate: 9600 Bits/sec.  
Address: 01 (hexadecimal)  
The basic hook-up for system configuration is show below:  
13-CHANNEL RTD INPUT  
17-CHANNEL T/C INPUT  
18-CHANNEL ANALOG INPUT  
16-CHANNEL DIGITAL INPUT  
14-CHANNEL ANALOG OUTPUT  
16-CHANNEL RELAY OUTPUT  
18-CHANNEL RELAY OUTPUT  
16-CHANNEL DIGITAL OUTPUT  
Figure A-2 ADAM-5000 system hook-up and configuration  
The following items are required to configure an ADAM-5000 system:  
a personal computer with RS-232 port (baud rate sent to 9600) and the  
ADAM utility software.  
Configuration with the ADAM Utility Software  
The easiest way to configure the ADAM system is by using the  
ADAM utility software. The easy-to-use, menu driven software will  
guide you through every step of the configuration process. (See  
Chapter 5, Utility Software).  
A-6  
ADAM-5000  
Appendix A  
Configuration with the ADAM Command Set  
ADAM systems can also be configured by issuing direct command  
from within the terminal emulation program that is included with the  
ADAM utility software.  
The following example guides you through the setup of an analog  
input module. Assume that an ADAM-5018 Thermocouple Input  
module in slot 1 on an ADAM-5000/485 system still has its default  
settings (baud rate 9600 and address 01h). The system is first request-  
ed to send its default settings and then reconfigured.  
Note:  
An analog input module requires a maximum of 7  
seconds to perform auto calibration and ranging after  
it is rebooted or powered on. During this time span,  
the module cannot be addressed to perform any  
other actions.  
Example:  
Make sure that the module is properly connected as shown in Chapter  
4, Figure 4-3. Power up all the connected devices, start the terminal  
emulation program, and issue the following command:  
$01S1B(cr)  
This command requests the module in slot 1 of the ADAM-5000  
system at address 01h to send its configuration status  
!010500  
The module of the system at address 01h responds that it is config-  
ured for an input range of ±2.5 V, integration time of 50 ms (60 Hz),  
format = engineering units and no checksum checking or generation.  
To change the configuration setting of the analog input module, the  
following command is issued:  
$01S1A0F00(cr)  
$ = change configuration  
01 = target module at address 01  
ADAM-5000  
A-7  
Quick Start Example  
0F = set input range to type K thermocouple  
00 = set data format to engineering units, 50ms (60Hz)  
(See Chapter 6, Command Set for a full description of the syntax of the  
configuration command for an analog input module)  
When the module received the configuration command it will respond  
with its new address:  
!01(cr)  
Wait 7 seconds to let the new configuration settings take effect before  
issuing a new command to the module.  
Note:  
All reconfiguration except changing of baud rate and  
checksum values can be done dynamically, i.e. the  
modules need not be reset. When changing baud  
rate or checksum, these changes should be made for  
all connected devices. After reconfiguration, all  
modules should be powered down and then powered  
up to force a reboot and let the changes take effect.  
See the next section for a strategy for changing baud  
rate and or checksum for an entire network.  
A.3 Baud Rate and Checksum  
ADAM-5000 systems contain an EEPROM to store configuration  
information and calibration constants. The ROM replaces the usual  
array of switches and pots required to specify baud rate, input/output  
range, etc. The ADAM-5000 system can be configured remotely  
through their communication ports, without having to physically alter  
pot or switch settings.  
Since there is no visual indication of a system's configuration status, it  
is not possible to visually determine baud rate and other system  
settings. It might not be possible to establish communications with a  
system whose baud rate and address are unknown. To overcome this  
problem, every system has an input terminal labeled INIT*. By  
booting the system while connecting the INIT* terminal with the  
system's GND terminal, the system configuration is forced into a  
A-8  
ADAM-5000  
Appendix A  
known state. This state is called the INIT* state.  
INIT* state defaults:  
Baud rate: 9600  
Address: 00h  
Checksum: disabled  
Forcing the system into the INIT* state does not change any parame-  
ters in the system's EEPROM. When the system is in the INIT* state  
with its INIT* and GND terminal shorted, all configuration settings can  
be changed and the system will respond to all other commands  
normally.  
Changing Baud Rate and Checksum  
Baud rate and checksum setting have several things in common:  
They should be the same for all systems and host computer.  
Their setting can only be changed by putting a system in the INIT*  
state.  
A changed setting can only take effect after a system is rebooted.  
To alter baud rate or checksum settings you must perform the follow-  
ing steps:  
1. Power on all components except the ADAM-5000 system  
2. Power the ADAM-5000 system ON while shorting the INIT*  
and GND terminals as shown in Figure A-3.  
ADAM-5000  
A-9  
Quick Start Example  
+
-
+Vs  
GND  
INIT*  
COM  
DATA+  
DATA-  
Figure A-3 Grounding the INIT* terminal  
3. Wait at least 7 seconds to let self-calibration and ranging takeef-  
fect.  
4. Configure the baud rate and/or checksum status.  
5. Switch the power to the ADAM-5000 system OFF.  
6. Remove the grounding on the INIT* terminal and power the  
ADAM-5000 system ON.  
7. Wait at least 7 seconds to let self-calibration and ranging takeef-  
fect.  
8. Check the settings. (If the baud rate has changed, the settings on  
the host computer should be changed accordingly)  
A-10  
ADAM-5000  
Appendix A  
A.4 A Distributed ADAM-5000 Network System  
Hook-up  
The figure below gives an example of how multiple ADAM systems  
should be connected:  
B=BLOCK  
R=RED  
Rt=Terminator  
Resistor  
G=GREEN  
Y=YELLOW  
DATA-(G)  
HOST  
Rt  
Rt  
DATA+(Y)  
RS-485  
GND(B)  
+VS(R)  
-
-
LOCAL  
POWER SUPPLY  
POWER  
+10 TO +30 VDC  
SUPPLY  
+
+
R
B
Y
G
R
B
Y
G
R
B
Y
G
Figure A-4 ADAM-5000 network system hook-up  
ADAM-5000  
A-11  
Quick Start Example  
This page intentionally left blank  
A-12  
ADAM-5000  
B
Data Formats  
and I/O Ranges  
Data Formats and I/O Ranges  
B.1 Analog Input Formats  
The ADAM analog input modules can be configured to transmit data  
to the host in Engineering Units.  
Engineering Units  
Data can be represented in Engineering Units by setting bits 0 and 1 of  
the data format/checksum/integration time parameter to 0.  
This format presents data in natural units, such as degrees, volts,  
millivolts, and milliamps. The Engineering Units format is readily  
parsed by the majority of computer languages because the total data  
string length, including sign, digits and decimal point, does not exceed  
seven characters.  
The data format is a plus (+) or minus (-) sign, followed by five decimal  
digits and a decimal point. The input range which is employed  
determines the resolution, or the number of decimal places used, as  
illustrated in the following table:  
Input Range  
Resolution  
±15 mV, ±50 mV  
1 µV (three decimal places)  
10 µV (two decimal places)  
±100 mV, ±150 mV,  
±500 mV  
±1 V, ±2.5 V, ±5 V  
±10 V  
100 µV (four decimal places)  
1 mV (three decimal places)  
1 µA (three decimal places)  
0.01ºC (two decimal places)  
±20 mA  
Type J and T  
thermocouple  
Type K, E, R, S, and B 0.1ºC (one decimal place)  
thermocouple  
B-2  
ADAM-5000  
Appendix B  
Example 1  
The input value is -2.65 and the corresponding analog input module is  
configured for a range of ±5 V. The response to the Analog Data In  
command is:  
-2.6500(cr)  
Example 2  
The input value is 305.5ºC. The analog input module is configured for  
a Type J thermocouple whose range is 0ºC to 760ºC. The response to  
the Analog Data In command is:  
+305.50(cr)  
Example 3  
The input value is +5.653 V. The analog input module is configured for  
a range of ±5 V range. When the engineering units format is used, the  
ADAM Series analog input modules are configured so that they  
automatically provide an over range capability. The response to the  
Analog Data In command in this case is:  
+5.6530(cr)  
ADAM-5000  
B-3  
Data Formats and I/O Ranges  
B.2 Analog Input Ranges - ADAM-5017 and 5018  
Module Range Input Range Data Formats +F.S.  
Code Description  
Zero  
-F.S.  
Displayed  
Resolution  
Engineering +10.000  
Units  
±00.000 -10.000 1 mV  
±000.00 -100.00 0.01%  
08h  
09h  
±10 V  
% of FSR  
+100.00  
Two's  
Complement  
7FFF  
0000  
8000  
1 LSB  
Engineering +5.0000  
Units  
±0.0000 -5.0000 100.00 µV  
±000.00 -100.00 0.01%  
±5 V  
% of FSR  
+100.00  
Two's  
7FFF  
0000  
8000  
1 LSB  
Complement  
Engineering +1.0000  
Units  
±0.0000 -1.0000 100.00 µV  
±000.00 -100.00 0.01%  
ADAM- 0Ah  
5017  
±1 V  
% of FSR  
+100.00  
Two's  
7FFF  
0000  
8000  
1 LSB  
Complement  
Engineering +500.00  
Units  
±000.00 -500.00 10 µV  
±000.00 -100.00 0.01%  
0Bh  
0Ch  
0Dh  
±500 mV  
±150 mV  
±20 mA  
% of FSR  
+100.00  
Two's  
Complement  
7FFF  
0000  
8000  
1 LSB  
Engineering +150.00  
Units  
±000.00 -150.00 10 µV  
±000.00 -100.00 0.01%  
% of FSR  
+100.00  
Two's  
Complement  
7FFF  
0000  
8000  
1 LSB  
Engineering +20.000  
Units  
±00.000 -20.000 1 µA  
±000.00 -100.00 0.01%  
% of FSR  
+100.00  
Two's  
7FFF  
0000  
8000  
1 LSB  
Complement  
B-4  
ADAM-5000  
Appendix B  
Module Range Input Range  
Code Description  
Data Formats +F.S.  
Zero  
-F.S.  
Displayed  
Resolution  
Engineering  
Units  
+15.000 ±00.000 -15.000  
+100.00 ±000.00 -100.00  
1 µV  
00h  
±15 mV  
±50 mV  
±100 mV  
±500 mV  
±1 V  
% of FSR  
0.01%  
1 LSB  
1 µV  
Two's  
Complement  
7FFF  
0000  
8000  
Engineering  
Units  
+50.000 ±00.000 -50.000  
+100.00 ±000.00 -100.00  
01h  
% of FSR  
0.01%  
1 LSB  
10 µV  
0.01%  
1 LSB  
10 µV  
0.01%  
1 LSB  
100 µV  
0.01%  
1 LSB  
100 µV  
0.01%  
1 LSB  
1 µA  
Two's  
Complement  
7FFF  
0000  
8000  
Engineering  
Units  
+100.00 ±000.00 -100.00  
+100.00 ±000.00 -100.00  
ADAM- 02h  
5018  
% of FSR  
Two's  
Complement  
7FFF  
0000  
8000  
Engineering  
Units  
+500.00 ±000.00 -500.00  
+100.00 ±000.00 -100.00  
03h  
04h  
05h  
% of FSR  
Two's  
Complement  
7FFF  
0000  
8000  
Engineering  
Units  
+1.0000 ±0.0000 -1.0000  
+100.00 ±000.00 -100.00  
% of FSR  
Two's  
Complement  
7FFF  
0000  
8000  
Engineering  
Units  
+2.5000 ±0.0000 -2.5000  
+100.00 ±000.00 -100.00  
±2.5 V  
% of FSR  
Two's  
Complement  
7FFF  
0000  
8000  
Engineering  
Units  
+20.000 ±00.000 -20.000  
+100.00 ±000.00 -100.00  
06h  
07h  
±20 mA  
% of FSR  
0.01%  
1 LSB  
Two's  
7FFF  
0000  
8000  
Complement  
Not Used  
ADAM-5000  
B-5  
Data Formats and I/O Ranges  
Module Range Input Range  
Data Formats Maximum Minimum Displayed  
Specified Specified Resolution  
Code  
Description  
Signal  
Signal  
Engineering  
Units  
+760.00  
+000.00  
0.1ºC  
0.01%  
1 LSB  
0.1ºC  
0.01%  
1 LSB  
0.1ºC  
0.01%  
1 LSB  
0.1ºC  
0.01%  
1 LSB  
0.1ºC  
0.01%  
1 LSB  
0.1ºC  
0.01%  
1 LSB  
0.1ºC  
0.01%  
1 LSB  
Type J  
0Eh  
Thermocouple % of FSR  
+100.00  
7FFF  
+000.00  
0000  
0ºC to 760ºC  
Two's  
Complement  
Engineering  
Units  
+1000.0  
+100.00  
7FFF  
+0000.0  
+000.00  
0000  
Type K  
0Fh  
Thermocouple % of FSR  
0ºC to 1000ºC Two's  
Complement  
Engineering  
Units  
+400.00  
+100.00  
7FFF  
-100.00  
-025.00  
E000  
Type T  
ADAM- 10h  
5018  
Thermocouple % of FSR  
-100ºC to  
400ºC  
Two's  
Complement  
Engineering  
Units  
+1000.0  
+100.00  
7FFF  
+0000.0  
+000.00  
0000  
Type E  
11h  
12h  
13h  
14h  
Thermocouple % of FSR  
0ºC to 1000ºC Two's  
Complement  
Engineering  
Units  
+1750.0  
+100.00  
7FFF  
+0500.0  
+028.57  
2492  
Type R  
Thermocouple % of FSR  
500ºC to  
1750ºC  
Two's  
Complement  
Engineering  
Units  
+1750.0  
+100.00  
7FFF  
+0500.0  
+028.57  
2492  
Type S  
Thermocouple % of FSR  
500ºC to  
1750ºC  
Two's  
Complement  
Engineering  
Units  
+1800.0  
+100.00  
7FFF  
+0500.0  
+027.77  
2381  
Type B  
Thermocouple % of FSR  
500ºC to  
1800ºC  
Two's  
Complement  
B-6  
ADAM-5000  
Appendix B  
B.3 Analog Input Ranges of ADAM-5017H  
Range Input  
Data  
+Full  
Zero -Full Scale Displayed  
Code Range  
Formats  
Scale  
Resolution  
00h  
01h  
02h  
03h  
04h  
05h  
06h  
07h  
08h  
09h  
0ah  
0bh  
±10 V  
0-10 V  
±5 V  
Engineering 11  
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
4.0  
-11  
2.7 mV  
Two's Comp 0FFF  
Engineering 11  
EFFF  
1
Don't care 2.7 mV  
Two's Comp 0FFF  
Engineering 5.5  
Two's Comp 0FFF  
Engineering 5.5  
Two's Comp 0FFF  
Engineering 2.75  
Two's Comp 0FFF  
Engineering 2.75  
Two's Comp 0FFF  
Engineering 1.375  
Two's Comp 0FFF  
Engineering 1.375  
Two's Comp 0FFF  
Don't care  
-5.5  
1
1.3 mV  
1
EFFF  
0-5 V  
±2.5 V  
0-2.5 V  
±1 V  
Don't care 1.3 mV  
Don't care  
-2.75  
1
0.67 mV  
1
EFFF  
Don't care 0.67 mV  
Don't care  
-1.375  
1
0.34 mV  
1
EFFF  
0-1 V  
Don't care 0.34 mV  
Don't care  
-687.5  
1
±500 mV Engineering 687.5  
Two's Comp 0FFF  
0.16 mV  
1
EFFF  
0-500 mV Engineering 687.5  
Two's Comp 0FFF  
Don't care 0.16 mV  
Don't care  
Don't care 5.3 µA  
1
4-20 mA Engineering 22  
Two's Comp 0FFF 02E9 Don't care  
1
0-20 mA Engineering 22  
Two's Comp 0FFF  
0
0
Don't care 5.3 µA  
Don't care  
1
Note:  
The full scale values in this table are theoretical  
values for your reference; actual values will vary.  
ADAM-5000  
B-7  
Data Formats and I/O Ranges  
B.4 Analog Output Formats  
You can configure ADAM analog output modules to receive data from  
the host in Engineering Units.  
Engineering Units  
Data can be represented in engineering units by setting bits 0 and 1 of  
the data format/checksum/integration time parameter to 0.  
This format presents data in natural units, such as milliamps. The  
Engineering Units format is readily parsed by the majority of computer  
languages as the total data string length is fixed at six characters: two  
decimal digits, a decimal point and three decimal digits. The resolution  
is 5 µA.  
Example:  
Channel 1 of the analog output module in slot 0 of an ADAM-5000  
system at address 01h is configured for a 0 to 20 mA range. If the  
output value +4.762 mA is desired, the format of the Analog Data Out  
command would be #01S0C14.762<cr>  
B.5 Analog Output Ranges  
Range Output Range Data Formats Maximum Minimum Displayed  
Code Description  
(hex)  
Specified Specified Resolution  
Signal  
Signal  
Engineering  
Units  
20.000  
00.000  
5 µA  
% of Span  
+100.00 +000.00 5 µA  
30h  
31h  
32h  
0 to 20 mA  
4 to 20 mA  
0 to 10 V  
Hexadecimal FFF  
Binary  
000  
5 µA  
5 µA  
Engineering  
Units  
20.000  
04.000  
% of Span  
+100.00 +000.00 5 µA  
Hexadecimal FFF  
Binary  
000  
5 µA  
Engineering  
Units  
10.000  
00.000  
2.442 mV  
% of Span  
+100.00 +000.00 2.442 mV  
Hexadecimal FFF  
Binary  
000  
2.442 mV  
B-8  
ADAM-5000  
Appendix B  
B.6 ADAM-5013 RTD Input Format and Ranges  
Range  
Input Range Data  
Maximum Minimum Displayed  
Specified Specified Resolution  
Code (hex) Description Formats  
Signal  
Signal  
20h  
21h  
22h  
23h  
24h  
25h  
26h  
27h  
100 Ohms  
Platinum  
RTD -100 to  
100° C  
Engineering +100.00  
Units  
-100.00  
+-0.1° C  
a=0.00385  
100 Ohms  
Platinum  
RTD 0 to  
100° C  
Engineering +100.00  
Units  
+000.00 +-0.1° C  
+000.00 +-0.2° C  
+000.00 +-0.6° C  
a=0.00385  
100 Ohms  
Platinum  
RTD 0 to  
200° C  
Engineering +200.00  
Units  
a=0.00385  
100 Ohms  
Platinum  
RTD 0 to  
600° C  
Engineering +600.00  
Units  
a=0.00385  
100 Ohms  
Platinum  
RTD -100 to  
100° C  
Engineering +100.00  
Units  
-100.00  
+-0.1° C  
a=0.00392  
100 Ohms  
Platinum  
RTD 0 to  
100° C  
Engineering +100.00  
Units  
+000.00 +-0.1° C  
+000.00 +-0.2° C  
+000.00 ±0.6° C  
a=0.00392  
100 Ohms  
Platinum  
RTD 0 to  
200° C  
Engineering +200.00  
Units  
a=0.00392  
100 Ohms  
Platinum  
RTD 0 to  
600° C  
Engineering +600.00  
Units  
a=0.00392  
28h  
29h  
120 Ohms  
Nickel RTD Units  
-80 to  
Engineering +100.00  
-80.00  
±0.1° C  
100° C  
120 Ohms  
Engineering +100.00  
+000.00 ±0.1° C  
Nickel RTD Units  
0 to 100° C  
ADAM-5000  
B-9  
Data Formats and I/O Ranges  
B-10  
ADAM-5000  
C
RS-485 Network  
RS-485 Network  
EIA RS-485 is the industry’s most widely used bidirectional, balanced  
transmission line standard. It is specifically developed for industrial  
multi-drop systems that should be able to transmit and receive data at  
high rates or over long distances.  
The specifications of the EIA RS-485 protocol are as follows:  
Maximum line length per segment: 1200 meters (4000 feet)  
Throughput of 10 Mbaud and beyond -Differential transmission  
(balanced lines) with high resistance against noise  
Maximum 32 nodes per segment  
Bi-directional master-slave communication over a single set of  
twisted-pair cables  
Parallel connected nodes, true multi-drop  
ADAM-5000 systems are fully isolated and use just a single set of  
twisted pair wires to send and receive! Since the nodes are connected  
in parallel they can be freely disconnected from the host without  
affecting the functioning of the remaining nodes. An industry stan-  
dard, shielded twisted pair is preferable due to the high noise ratio of  
the environment.  
When nodes communicate through the network, no sending conflicts  
can occur since a simple command/response sequence is used. There  
is always one initiator (with no address) and many slaves (with  
addresses). In this case, the master is a personal computer that is  
connected with its serial, RS-232, port to an ADAM RS-232/RS-485  
converter. The slaves are the ADAM-5000 systems. When systems are  
not transmitting data, they are in listen mode. The host computer  
initiates a command/response sequence with one of the systems.  
Commands normally contain the address of the module the host wants  
to communicate with. The system with the matching address carries  
out the command and sends its response to the host.  
C-2  
ADAM-5000  
Appendix C  
C.1 Basic Network Layout  
Multi-drop RS-485 implies that there are two main wires in a segment.  
The connected systems tap from these two lines with so called drop  
cables. Thus all connections are parallel and connecting or discon-  
necting of a node doesn’t affect the network as a whole. Since  
ADAM-5000 systems use the RS-485 standard and an ASCII-based  
commands set, they can connect and communicate with all ASCII-  
based computers and terminals. The basic layouts that can be used for  
an RS-485 network are:  
Daisychain  
The last module of a segment is a repeater. It is directly connected to  
the main-wires thereby ending the first segment and starting the next  
segment. Up to 32 addressable systems can be daisychained . This  
limitation is a physical one. When using more systems per segment the  
IC driver current rapidly decreases, causing communication errors. In  
total, the network can hold up to 256 addressable systems. The  
limitation on this number is the two-character hexadecimal address  
code that can address 256 combinations. The ADAM converter,  
ADAM repeaters and the host computer are non addressable units  
and therefore are not included in these numbers.  
Setgment  
1
Setgment  
2
Coverter  
Repeater  
RS232/RS485  
1
RS-485  
RS-232  
1
2
N
1
Figure C-1 Daisychaining  
ADAM-5000  
C-3  
RS-485 Network  
Star Layout  
In this scheme the repeaters are connected to drop-down cables from  
the main wires of the first segment. A tree structure is the result. This  
scheme is not recommended when using long lines since it will cause a  
serious amount of signal distortion due to signal reflections in several  
line-endings.  
Figure C-2 Star structure  
C-4  
ADAM-5000  
Appendix C  
Random  
This is a combination of daisychain and hierarchical structure.  
Figure C-3 Random structure  
ADAM-5000  
C-5  
RS-485 Network  
Combination of an ADAM-4000 and an ADAM-5000 in a  
RS-485 Network  
The following figure shows how to integrate ADAM-4000 and  
ADAM-5000 systems in a network.  
Coverter  
Repeater  
RS232/RS485  
2
RS-485  
RS-232  
repeater  
1
ADAM-5000  
SYSTEM  
1
2
3
ADAM-4000 I/O  
MODULES  
Figure C-4 ADAM-4000 and ADAM-5000 in a network  
Note:  
The speed of ADAM-4000 and ADAM-5000 in a RS-  
485 network should be the same.  
C.2 Line Termination  
Each discontinuity in impedance causes reflections and distortion.  
When a impedance discontinuity occurs in the transmission line the  
immediate effect is signal reflection. This will lead to signal distortion.  
Specially at line ends this mismatch causes problems. To eliminate this  
discontinuity, terminate the line with a resistor.  
C-6  
ADAM-5000  
Appendix C  
Figure C-5 Signal distortion  
The value of the resistor should be a close as possible to the charac-  
teristic impedance of the line. Although receiver devices add some  
resistance to the whole of the transmission line, normally it is sufficient  
to the resistor impedance should equal the characteristic impedance of  
the line.  
Example:  
Each input of the receivers has a nominal input impedance of 18 kΩ  
feeding into a diode transistor- resistor biasing network that is  
equivalent to an 18 kinput resistor tied to a common mode voltage of  
2.4 V. It is this configuration which provides the large common range of  
the receiver required for RS-485 systems! (See Figure C-6 below).  
ADAM-5000  
C-7  
RS-485 Network  
Figure C-6 Termination resistor locations  
Because each input is biased to 2.4 V, the nominal common mode  
voltage of balanced RS-485 systems, the 18 kon the input can be  
taken as being in series across the input of each individual receiver.  
If thirty of these receivers are put closely together at the end of the  
transmission line, they will tend to react as thirty 36kresistors in  
parallel with the termination resistor. The overall effective resistance  
will need to be close to the characteristics of the line. The effective  
parallel receiver resistance RP will therefore be equal to:  
RP = 36 x 103/30 = 1200 Ω  
While the termination receptor RT will equal:  
RT = RO / [1 - RO/RP]  
Thus for a line with a characteristic impedance of 100 resistor  
RT = 100/[1 - 100/1200] = 110 Ω  
Since this value lies within 10% of the line characteristic impedance.  
Thus as already stated above the line termination resistor RT will  
normally equal the characteristic impedance Zo.  
C-8  
ADAM-5000  
Appendix C  
The star connection causes a multitude of these discontinuities since  
there are several transmission lines and is therefore not recommend.  
Note:  
The recommend method wiring method, that causes  
a minimum amount of reflection, is daisy chaining  
where all receivers tapped from one transmission line  
needs only to be terminated twice.  
C.3 RS-485 Data Flow Control  
The RS-485 standard uses a single pair of wires to send and receive  
data. This line sharing requires some method to control the direction of  
the data flow. RTS (Request To Send) and CTS (Clear To Send) are the  
most commonly used methods.  
Figure C-7 RS-485 data flow control with RTS  
Intelligent RS-485 Control  
ADAM-4510 and ADAM-4520 are both equipped with an I/O circuit  
which can automatically sense the direction of the data flow. No  
handshaking with the host (like RTS, Request to Send) is necessary to  
receive data and forward it in the correct direction. You can use any  
software written for half-duplex RS-232 with an ADAM network  
without modification. The RS-485 control is completely transparent to  
the user.  
ADAM-5000  
C-9  
RS-485 Network  
This page intentionally left blank  
C-10  
ADAM-5000  
D
How to Use the  
Checksum Feature  
How to Use the Checksum Feature  
A checksum helps you to detect errors in commands from the host to  
the modules, and in responses from the modules to the host. The  
feature adds two extra checksum characters to the command or  
response string, which does reduce the throughput.  
D.1 Checksum Enable/Disable  
To enable configuration of a module’s checksum feature, its INIT*  
terminal should be shorted to its GND terminal, after which the module  
should be rebooted. The checksum feature is enabled by setting bit 6  
of the data format/checksum parameter to 1. To disable the checksum,  
set the parameter to 0. Remember that when using the checksum  
feature, it should always be enabled for all connected devices includ-  
ing the host computer.  
The checksum is represented by a 2-character ASCII hexadecimal  
format and is transmitted just prior to the carriage return. The check-  
sum equals the modulo-256 (100h) sum of all the ASCII values in the  
command preceding the checksum. If the checksum in a command is  
missing or incorrect the module will not respond.  
Example 1  
The following is an example of an Analog Data In command and  
response when the checksum is enabled:  
Command:#05S10C(cr)  
Response: +3.56719D(cr)  
The input value at the module in slot 1 of the ADAM-5000 systems at  
address 05h is +3.5671 V. (The date format is engineering units.) The  
command checksum (0Ch) is the sum of the ASCII values of the  
following characters: #, 0, 5, S and 1. The response checksum (9Dh) is  
the sum of the ASCII values of the following characters: “>” “+” “3”  
“4” “5” “6” “7” and “1”  
D-2  
ADAM-5000  
Appendix D  
Example 2  
This example explains how to calculate the checksum value of a Read  
High alarm limit command string:  
Case 1. (If the Checksum feature is disabled)  
Command:$07S1RH(cr)  
Response: !07+2.0500(cr) when the command is valid.  
Case 2. (If the Checksum feature is enabled)  
Command:$07S1RHA9(cr)  
Response: !07+2.0500D8(cr)  
where:  
A9 represents the checksum of this command, and<R>D8 represents  
the checksum of the response.  
The checksum of the command string is derived as shown below:  
A9h = (24h+ 30h + 37h + 53h + 31h + 52h + 48h) MOD 100h  
The hexadecimal ASCII codes for $, 0, 7, S, 1, R and H are 24h, 30h,  
37h, 53h, 31h, 52h and 48h respectively. The sum of these ASCII  
codes is 1A9h. The modulo-256(100h) - of 1A9h is A9h.  
ADAM-5000  
D-3  
How to Use the Checksum Feature  
Printable ASCII Characters  
HEX  
ASCII  
HEX  
40  
41  
42  
43  
44  
45  
46  
47  
48  
49  
4A  
4B  
4C  
4D  
4E  
4F  
50  
51  
52  
53  
54  
55  
56  
57  
58  
59  
5A  
5B  
5C  
5D  
5E  
5F  
ASCII  
@
A
B
C
D
E
F
HEX  
60  
61  
62  
63  
64  
65  
66  
67  
68  
69  
6A  
6B  
6C  
6D  
6E  
6F  
70  
71  
72  
73  
74  
75  
76  
77  
78  
79  
7A  
7B  
7C  
7D  
7E  
ASCII  
`
a
b
c
d
e
f
21  
22  
23  
24  
25  
26  
27  
28  
29  
2A  
2B  
2C  
2D  
2E  
2F  
30  
31  
32  
33  
34  
35  
36  
37  
38  
39  
3A  
3B  
3C  
3D  
3E  
3F  
!
"
#
$
%
&
'
G
H
I
g
h
i
(
)
*
J
j
+
,
K
L
k
l
-
M
N
O
P
Q
R
S
T
m
n
o
p
q
r
.
/
0
1
2
3
4
5
6
7
8
9
:
s
t
U
V
W
X
Y
Z
u
v
w
x
y
z
{
;
[
<
=
>
?
]
|
\
}
^
~
_
D-4  
ADAM-5000  
Appendix E  
E
ADAM-4000/5000  
System Grounding  
Installation  
ADAM-5000  
E-1  
ADAM-4000/5000 System Grounding Installation  
E. 1 Power Supplies For relevant wiring issues,  
please refer to the following scheme :  
E R T  
AC Power Line  
MNFB  
Isolation AC Transformer  
To prevent system control from interferences caused by external power  
Tr3  
A D A M 5 0 0 0  
N F B  
+
-
C
P
+ V  
P /S  
P /S  
I /O  
G N D  
U
D C 1 0 ~ 3 0 V  
N F B  
N F B  
Connect to AI/DI/DO modules (not for Relay output)  
The power sources for DI. DO. and AI. should be independent  
P /S  
D C 2 4 V  
D C  
A C  
Only for Relay output  
Fan, Light...etc.  
P /S  
D C 2 4 V  
E 1 R 1 T 1  
Figure E-1: Grounding Scheme  
E.2 Grounding Installation  
Ø The outer case for the module is made of iron and fitted with a fan  
and convection holes with filters.  
Ø If possible, wiring should be connected to the module through an  
external terminal block (T/B) to avoid external wires directly getting  
into the inside of the module. Its advantages are (1) a clear demar-  
cation for external/internal wiring responsibility, (2) wire numbering  
can be arranged in an explicit and concise manner, and (3) an easy  
diagnostics for the wiring problems and a more aesthetical layout  
plan.  
E-2  
ADAM-5000  
Appendix E  
FAN (Outflowing)  
ADAM 5000/485  
T/B  
Relay  
Figure E-2: External Terminal Block and Fan  
E.3 External DI, DO, AI, AO Wiring Reference  
Ø The common end of some D.I. and D.O. modules is connected with  
the GND of ADAM-5000/4000 system. Therefore, the common end  
of external DI and DO signal wiring should not be grounded with  
those on-site machineries.  
Ø Within an environment that is subject to multiple interferences, it is  
advised that a higher voltage level, e.g. a voltage above 12 VDC,  
should be used to ward off possible interferences.  
Ø The signal wire for AI and AO must be of a shielded type, i.e. with  
surrounding copper mesh and aluminum foil for proper shielding.  
For the specification of the signal wires, please refer to User’s  
Manual.  
E.4 Requirements for RS-485 signal wires  
Ø Use RS-485 twisted-pair as signal wire. The quality of signal  
transmission can be improved in proportion with the number of  
twists per foot of the wire. If the wire has more twists per foot, the  
signal quality could be better.  
Ø Twisted -pair wire compliant with EIA-422 or EIA-485 standards,  
which contains 24AWG thin copper conductor with copper mesh  
and aluminum foil for shielding.  
ADAM-5000  
E-3  
ADAM-4000/5000 System Grounding Installation  
Ø The shielding material of the wires should only be grounded on  
one end as illustrated in the following diagram. This is to avoid  
ground loop.  
ADAM System  
AI  
On-Site Facilities  
Grounding  
Figure E-3: Grounding for on-site facilities and ADAM-5000/4000  
Systems  
Ø Since shielded twisted-pair has been adopted for signal wires, only  
DATA+ and DATA- of ADAM-5000 system should be connected.  
And the shielding materials should be treated in the same manner  
as with AI and AO signal wires, i.e. it should be connected to  
Ground on only one end through the COM port on computer or on  
ADAM-5000 system such as illustrated in the following diagram:  
PC  
DATA+  
DATA -  
Gounded only on one end  
Figure E-4: Grounding for signal wires  
E-4  
ADAM-5000  
Appendix E  
E.5 Grounding reference (Ground bar for the factory  
environment should have a standard resistance below  
5 )  
Since ADAM-4000 / 5000 system comes with a plastic outer case with  
DC power supply, its grounding procedure should be done according  
to the following points:  
Ø Power supply : The E terminal of the external power supply should  
be connected with the panel.  
Ø The outer case of panel should be fixed with two grounding bus.  
Connect the ground of power (E-terminal) to the grounding bus  
with shortest path. Use single contact for connection.  
Ø Another grounding bus is for connection with AI and AO shielded  
signal wires. While AI and AO signal wires enter inside the panel,  
the shielding materials is stripped off and its copper mesh should  
be entangled together (There is no effect leaving alone any single  
wire strand). Connect to grounding bus in the shortest path, and  
then connect the two grounding buses in a way such as the  
following illustration: (Please note that wire length should not be  
too long, otherwise it will compromise the quality of the twisted-  
pair wires)  
T/B  
AI  
ADAM 5000/485  
Grounding Bus  
AO  
DC  
P/S  
Copper mesh for Shielding  
E
(should be grounded only on one end)  
Tr  
Grounding Bus  
Connect to ground bar on the factory.  
The ground bar should have a resistance below 5 ohm.  
E
Figure E-5 : Grounding Reference  
ADAM-5000  
E-5  
ADAM-4000/5000 System Grounding Installation  
E.6 Some Suggestions on Wiring Layout  
Ø Since communication is carried through high-frequency signals, it  
is advisable that the wiring layout should be paid due attention to.  
Any wire should best remain as a single integral wire. Nevertheless,  
if you should need another wire for extended connection, it is  
suggested that you use soldering iron to connect the disparate  
wires together. The parts of copper mesh should be soldered  
together too.  
Ø Generally, factories will layout the power lines, control lines, signal  
lines and communication lines within separate conduits. Since  
communication lines and signal lines are most susceptible to  
interference, you should consider avoid laying them parallel with  
any power line in close distance. Nevertheless, if they should  
remain parallel with the power line, just keep a proper distance  
between them. Basically, an AC current up to 2A should require a  
distance of 50 cm. The bigger the current or voltage, the longer the  
distance is required.  
Ø For communication lines and AI/O signal lines, it is suggested that  
they should be carried within Zinc-gilded tube for crush resistance.  
Meanwhile, one end of the zinc-gilded tube should be connected to  
factory facilities and grounded together.  
Ø While planning your wire layouts, you should consider layouts  
that can save wire length.  
E-6  
ADAM-5000  
Appendix F  
F
Grounding Reference  
ADAM-5000  
F-1  
Grounding Reference  
Field Grounding and Shielding Application  
Overview  
Unfortunately, it’s impossible to finish the system integration task at a  
time. We always meet some troubles in field. Such as communication  
network or system isn’t stable, noise influence, and equipment is  
damaged or hungs up by thunders. However, the most possible issue  
is just the improper wiring; ie, grounding and shieldinF. As you know  
the 80/20 rule in our life: we spend 20% time for 80% works, but 80%  
time for left 20% works. So to system integration, we paid 20% cost for  
Wire / Cable and 80% cost for Equipment. However, 80% reliability  
depends on Grounding and ShieldinF. In a word, we just need to pay  
20% investment and work on those two issues to get a high reliable  
system.  
This application note will bring you some concepts about field  
grounding and shieldinF. Below topics will be illustrated in following  
pages.  
1. Grounding  
1.1  
1.2  
1.3  
1.4  
1.5  
The ‘Earth’ for reference  
The ‘Frame Ground’ and ‘Grounding Bar’  
Normal Mode and Common Mode  
Wire impedance  
Single Point Grounding  
2. Shielding  
2.1  
2.2  
Cable Shield  
System Shielding  
F-2  
ADAM-5000  
Appendix F  
3. Noise Reduction Techniques  
4. Check Point List  
F.1  
Grounding  
1.1 The ‘Earth’ for reference  
Why we think the  
EARTH as GROUND?  
As you know that the EARTH can t be conductive indeed.  
But those parallel resistors make the EARTH as a single  
point and just for reference.  
Figure F-1: Think the EARTH as GROUND.  
Why we think the EARTH as GROUND?  
As you know that the EARTH can not be conductive indeed. But all  
buildings base on EARTH. Steels, concretion and relational cables  
such as Lighting Arrester and power system were connected to  
EARTH. Think them as resistors, then those infinite parallel resistors  
make the EARTH as a single point and just for reference.  
ADAM-5000  
F-3  
Grounding Reference  
1.2 The ‘Frame Ground’ and ‘Grounding Bar’  
N
Single Phase,Three Line  
N
L
N
110V  
N
220V  
110V  
L
G
G
G
G
Neutral is the physical cable from Generator.  
Ground is the local physical cable that connected to  
Ground Bar.  
Figure F-2: Grounding Bar.  
According to previous description, the grounding is the most impor-  
tant issue for our system. Just like ‘Frame Ground’ of the computer,  
this signal offers a reference point of the electronic circuit inside the  
computer. When we want to communicate with this computer, not only  
‘signal ground’, but also ‘frame ground’ should be connected to make  
a reference point of each other’s electronic circuit. Generally speaking,  
it’s necessary to build a individual grounding bar for each system,  
such as computer networks, telecommunication networks, power  
system, . . . , etc. Those individual grounding bars not only provide the  
individual reference point, but also make the earth as a real ground!  
F-4  
ADAM-5000  
Appendix F  
1.3 Normal Mode and Common Mode  
Figure F-3: Normal mode and Common mode.  
Have you ever tried to measure the voltage between ‘Hot’ and  
concrete floor, or measure the voltage between ‘Neutral’ and concrete  
floor? You will get nonsense value with above testinF. ‘Hot’ and  
‘Neutral’ were just a relational signal, so you will get the AC110V or  
AC220V by measure those two signal. Normal mode and common  
mode just show you that the ‘frame ground’ is the most important  
reference signal for all the systems and equipments.  
ADAM-5000  
F-5  
Grounding Reference  
Figure F-4: Normal mode and Common mode.  
Ground-pin is longer than others, for first contact to power system  
and noise bypass.  
Neutral-pin is broader than Live-pin, for reduce contact impedance.  
F-6  
ADAM-5000  
Appendix F  
1.4 Wire impedance  
T/B  
AI  
ADAM 5000/485  
AO  
DC  
P/S  
Grounding Bus  
Grounding Bus  
E
Copper mesh for Shielding  
(should be grounded only on one end)  
Tr  
Connect to ground bar on the factory.  
The ground bar should have a resistance below 5 ohm.  
E
Figure F-5: The purpose of high voltage transmission  
What’s the purpose of high voltage transmission?  
We can see the high voltage tower stand at suburban. The power plant  
raises the voltage while generating the power, then downs the voltage  
when transmits the power to power station. What’s the purpose of  
high voltage transmission do you think? According to the energy  
formula, P = V * I, so the current will be reduced while raising the  
voltage. Besides, as you know that each cable has the wire impedance.  
So, referring to Ohm rule (V = I * R), this decreased current makes the  
low power consumption. So the high voltage transmission just for  
reducing the power consumption.  
Figure F-6: wire impedance.  
ADAM-5000  
F-7  
Grounding Reference  
Above diagram just shows you that the wire impedance will consume  
the power.  
1.5 Single Point Grounding  
Single Point Grounding  
A
D
4 0 1 3  
A
M
A
D
4 0 1 4  
A
M
A
D
4 0 1 7  
A
M
A
D
4 0 2 1  
A
M
+24V  
Power  
Supply  
+16V  
+18V  
+20V  
+22V  
Those devices will influence each other  
with swiftly load change.  
Figure F-7: Single point groundinF. (1)  
What’s Single Point Grounding?  
Maybe you had some displease experiences just like take hot water  
shower in Winter. When someone turns on another hot water hydrant  
near the Heater, you’ll be impressed with the cold water!  
The bottom diagram of above figure just shows that those devices will  
influence each other with swiftly load change. For example, normally  
we turn on all the four hydrants for testinF. When you close the  
hydrant 3 and hydrant 4, the other two hydrants will get a more flow. In  
other words, the hydrant can not keep a constant flow rate.  
F-8  
ADAM-5000  
Appendix F  
Single Point Grounding  
ADAM  
4013  
ADAM  
4014  
ADAM  
4017  
ADAM  
4021  
+24  
V
Power  
Supply  
+16V  
+22V  
+18V  
+22V  
+20V  
+22V  
+22V  
+22V  
ADAM  
4013  
ADAM  
4014  
ADAM  
4017  
ADAM  
4021  
V
+24  
Power  
Supply  
More cable, but more stable system.  
Figure F-8: Single point groundinF. (2)  
Above diagram shows you that single point grounding system will be  
a more stable system. Actually, when you use the thin cable powering  
those devices, the end device will get lower power. The thin cable will  
consume the energy.  
F.2  
Shielding  
2.1 Cable Shield  
Figure F-9: Single isolated cable  
ADAM-5000  
F-9  
Grounding Reference  
Single isolated cable  
Above diagram shows you the structure of the isolated cable. You can  
see the isolated layer spiraling Aluminum foil to cover those wires.  
This spiraled structure makes an isolated layer for isolating the cables  
from the external noise.  
Figure F-10: Double isolated cable  
Double isolated cable  
You can see the double isolated cable structure as figure 10. The first  
isolated layer spiraling Aluminum foil covers those wires. The second  
isolated layer spiraling and crossing several nude conductors cover  
the first layer shielding and those wires. This spiraled structure makes  
an isolated layer for isolating those external noise.  
F-10  
ADAM-5000  
Appendix F  
Besides, following tips just for your reference.  
The shield of cable can’t be used for signal ground.  
The shield is just designed for adhering noise, so the environment  
noise will couple and interfere your system when you use the shield as  
signal ground.  
The density of shield is the higher the better, especially for commu-  
nication network.  
Use double isolated cable for communication network / AI / AO.  
Both sides of shields should be connected to their frame while inside  
the device. (for EMI consideration)  
Don’t strip off too long of plastic cover for solderinF.  
2.2 System Shielding  
ADAM  
4520  
ADAM  
4013  
ADAM  
4017  
ADAM  
4021  
RS-232  
Terminal Block  
+24V  
* Never stripping too long of the plastic cable cover.  
Power  
Supply  
* Cascade those shields together by Soldering  
.
Connect the shield to Frame-Ground of DC Power Supply.  
Figure F-11: System Shielding  
ADAM-5000  
F-11  
Grounding Reference  
Never stripping too long of the plastic cable cover. Otherwise, this  
improper status will destroy the characteristic of the Shielded-  
Twisted-Pair cable. Besides, those nude wires are easy to adhere the  
noise.  
Cascade those shields together by “Soldering”. Please refer to  
following page for further detail explanation.  
Connect the shield to Frame-Ground of DC power supply to force  
those adhered noise flow to the ‘frame ground’ of the DC power  
supply. (The ‘frame ground’ of the DC power supply should be  
connected to the system ground)  
Figure F-12: The characteristic of the cable  
The characteristic of the cable  
Don’t strip off too long of plastic cover for solderinF. Otherwise will  
influence the characteristic of the Shielded-Twisted-Pair cable, and will  
make an easy way to adhere noise.  
F-12  
ADAM-5000  
Appendix F  
Figure F-13: System Shielding (1)  
Shield connection (1)  
When you want to visit somewhere, you must like to find out an  
easiest way to achieve your goal, aren’t you? So as electronic circuit,  
all signals use the easiest way. If we connected those two cables just  
with few wires, it is a difficult way for signal. So the noise will try to  
find out another path for easier way for flow.  
Figure F-14:System Shielding (2)  
ADAM-5000  
F-13  
Grounding Reference  
Shield connection (2)  
Above diagram shows you that the fill soldering just makes a easier  
way for the signal.  
F.3  
Noise Reduction Techniques  
Enclose noise sources in shield enclosures.  
Place sensitive equipment in shielded enclosure and away from  
computer equipment.  
Use separate grounds between noise sources and signals.  
Keep ground/signal leads as short as possible.  
Use Twisted and Shielded signal leads.  
Ground shields on one end ONLY while the reference grounds are  
not the same.  
It’s almost communication problem while system unstable.  
Add another Grounding Bar if necessary.  
The diameter of power apply cable must be over 2.0 mm2.  
Independent grounding is needed for A/I, A/O, and communication  
network while using the jumper box.  
Use noise reduction filters if necessary. (TVS, etc)  
You can also refer to FIPS 94 Standard. FIPS 94 recommends that the  
computer system should be placed closer to its power source to  
eliminate load-induced common mode noise.  
F-14  
ADAM-5000  
Appendix F  
Figure F-15: Noise Reduction Techniques  
F.4  
Check Point List  
Follow the single point grounding rule?  
Normal mode and common mode voltage?  
Separate the DC and AC ground?  
Reject the noise factor?  
The shield is connected suitable?  
The diameter of wire thick enough?  
How about the soldering of connection?  
The terminal screw tightly?  
ADAM-5000  
F-15  
Grounding Reference  
F-16  
ADAM-5000  

ADTRAN 610200094 User Manual
Briggs Stratton NP User Manual
Brother MFC 3420C User Manual
Bryant DURAPAC 551B User Manual
Canon 2022 User Manual
Epson Stylus Deluxe Photo Printer PICTUREMATED User Manual
Friedrich WALLMASTER WY12 User Manual
GE ASR05 User Manual
Haier Air Conditioner HWF05XCL User Manual
Honeywell Barcode Reader 1900 EZ User Manual