26
CIO-DAS801 & CIO-DAS802 User’s Manual Revision 3 October, 2000

CIO-DAS801 CIO-DAS802 User’s Manualwarr/doc/cio-das80x.pdf · 2006-08-30 · LIFETIME WARRANTY Every hardware product manufactured by Measurement Computing Corp. is warranted against

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: CIO-DAS801 CIO-DAS802 User’s Manualwarr/doc/cio-das80x.pdf · 2006-08-30 · LIFETIME WARRANTY Every hardware product manufactured by Measurement Computing Corp. is warranted against

CIO-DAS801 &

CIO-DAS802

User’s Manual

Revision 3October, 2000

Page 2: CIO-DAS801 CIO-DAS802 User’s Manualwarr/doc/cio-das80x.pdf · 2006-08-30 · LIFETIME WARRANTY Every hardware product manufactured by Measurement Computing Corp. is warranted against

LIFETIME WARRANTYEvery hardware product manufactured by Measurement Computing Corp. is warranted against defects in materials or workmanship forthe life of the product, to the original purchaser. Any products found to be defective will be repaired or replaced promptly.LIFETIME HARSH ENVIRONMENT WARRANTY TM

Any Measurement Computing Corp. product which is damaged due to misuse may be replaced for only 50% of the current price. I/Oboards face some harsh environments, some harsher than the boards are designed to withstand. When that happens, just return theboard with an order for its replacement at only 50% of the list price. Measurement Computing Corp. does not need to profit from yourmisfortune. By the way, we will honor this warranty for any other manufacture’s board that we have a replacement for!30 DAY MONEY-BACK GUARANTEEAny Measurement Computing Corp. product may be returned within 30 days of purchase for a full refund of the price paid for theproduct being returned. If you are not satisfied, or chose the wrong product by mistake, you do not have to keep it. Please call for aRMA number first. No credits or returns accepted without a copy of the original invoice. Some software products are subject to arepackaging fee. These warranties are in lieu of all other warranties, expressed or implied, including any implied warranty of merchantability orfitness for a particular application. The remedies provided herein are the buyer’s sole and exclusive remedies. Neither MeasurementComputing Corp., nor its employees shall be liable for any direct or indirect, special, incidental or consequential damage arisingfrom the use of its products, even if Measurement Computing Corp. has been notified in advance of the possibility of such damages. MEGA-FIFO, the CIO prefix to data acquisition board model numbers, the PCM prefix to data acquisition board model numbers,PCM-DAS08, PCM-D24C3, PCM-DAC02, PCM-COM422, PCM-COM485, PCM-DMM, PCM-DAS16D/12, PCM-DAS16S/12,PCM-DAS16D/16, PCM-DAS16S/16, PCI-DAS6402/16, Universal Library, InstaCal, Harsh Environment Warranty andMeasurement Computing Corp. are registered trademarks of Measurement Computing Corp. IBM, PC, and PC/AT are trademarks of International Business Machines Corp. Windows is a trademark of Microsoft Corp. All othertrademarks are the property of their respective owners.Information furnished by Measurement Computing Corp. is believed to be accurate and reliable. However, no responsibility isassumed by Measurement Computing Corp. neither for its use; nor for any infringements of patents or other rights of third parties,which may result from its use. No license is granted by implication or otherwise under any patent or copyrights of MeasurementComputing Corp. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form by anymeans, electronic, mechanical, by photocopying, recording or otherwise without the prior written permission of MeasurementComputing Corp.

NoticeMeasurement Computing Corp. does not authorize any Measurement Computing Corp. product for use in lifesupport systems and/or devices without the written approval of the President of Measurement Computing Corp.Life support devices/systems are devices or systems which, a) are intended for surgical implantation into thebody, or b) support or sustain life and whose failure to perform can be reasonably expected to result in injury.Measurement Computing Corp. products are not designed with the components required, and are not subject tothe testing required to ensure a level of reliability suitable for the treatment and diagnosis of people.

(C) Copyright 2000 Measurement Computing Corp.

HM CIO-DAS80#.lwp

Page 3: CIO-DAS801 CIO-DAS802 User’s Manualwarr/doc/cio-das80x.pdf · 2006-08-30 · LIFETIME WARRANTY Every hardware product manufactured by Measurement Computing Corp. is warranted against

TABLE OF CONTENTS

195: SPECIFICATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .184: COUNTER TIMER CIRCUIT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .143.1 REGISTER LAYOUT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .143: REGISTER ARCHITECTURE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .132.3.6 DIGITAL OUTPUTS & INPUTS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .122.3.2 ANALOG INPUTS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .122.3.1 CONNECTOR DIAGRAM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .122.3 SIGNAL CONNECTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .112.2.7 Isolated Grounds / Differential Inputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .112.2.6 Isolated Grounds / Single-Ended Inputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .102.2.5 Common Mode Voltage Greater Than +/-10V. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .102.2.4 Common Mode Voltage < +/-10V / Differential Inputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .92.2.3 Common Mode Voltage - Less Than +/-10V / Single-Ended Inputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .92.2.2 Common Ground / Differential Inputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .82.2.1 Common Ground / Single-Ended Inputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .82.2 WIRING CONFIGURATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62.1.4 Determine Your System Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62.1.3 System Grounds and Isolation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42.1.2 Differential Inputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42.1.1 Single-Ended Inputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42.1 ANALOG INPUTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .42: ANALOG CONNECTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31.3.5 INSTALLING THE CIO-DAS80#. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31.3.4 WAIT STATE. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31.3.3 INTERRUPT LEVEL SELECT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .21.3.2 DIFFERENTIAL / SINGLE ENDED SELECT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11.3.1 BASE ADDRESS. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11.3 HARDWARE INSTALLATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11.2 SOFTWARE INSTALLATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11.1 INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .11: INSTALLATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Page 4: CIO-DAS801 CIO-DAS802 User’s Manualwarr/doc/cio-das80x.pdf · 2006-08-30 · LIFETIME WARRANTY Every hardware product manufactured by Measurement Computing Corp. is warranted against

This page intentionally left blank.

Page 5: CIO-DAS801 CIO-DAS802 User’s Manualwarr/doc/cio-das80x.pdf · 2006-08-30 · LIFETIME WARRANTY Every hardware product manufactured by Measurement Computing Corp. is warranted against

1: INSTALLATION

1.1 INTRODUCTION

This manual covers two boards, the CIO-DAS801 and the CIO-DAS802. These two boards are identical except for the programmableinput ranges. The CIO-DAS802 offers more choices in the range from 10 volts to 0.625 volts, but the CIO-DAS801 offers a widerrange of choices from 10 volts down to 0.01 volts.

This manual will refer to both boards as CIO-DAS80# except in cases where these differences apply.

1.2 SOFTWARE INSTALLATION

Before you open your computer and install the board, install and run InstaCal, the installation, calibration and test utility included withyour board. InstaCal will guide you through switch and jumper settings for your board. Detailed information regarding these settingscan be found below. Refer to the Software Installation Manual for InstaCal installation instructions.

1.3 HARDWARE INSTALLATION

There are two banks of switches and two jumpers to set on the CIO-DAS80# before installing your board into your computer.

1. BASE ADDRESS SWITCH. A base address must be chosen and selected via on-board switches.

2. INPUT SELECT SWITCHES. Analog inputs are differential or single-ended. You may choose either on a channel-by-channelbasis. The set of DIP switches on the board, labeled S2, 0 through 7, correspond to the channels 0 to 7 of the analog inputs.

3. INTERRUPT SELECT JUMPER. In order to take advantage of high speed transfers, you must provide the board with an inter-rupt that is not used by other devices in your computer. Use the IR jumper to select an interrupt level between 2 and 7 or to dis-able interrupts (X).

4. WAIT STATE JUMPER. A wait state jumper allows you to slow down a (future) computer bus that is too fast for the board. (We have not seen the need for it yet.) Set jumper WSt to “ON” to enable wait states.

1.3.1 BASE ADDRESSThe base address of the CIO-DAS80# is set by switching a bank of DIPswitches on the board (Figure 2-1). This bank of switches is labeled ADDRESSand numbered 9 to 3. Refer to the Software Installation Manual for instructionsfor using InstaCal as an aid in setting the base address switches.

Ignore the word ON and the numbers printed on the switch.

The address is derived by the software adding up the weights of individualswitches to yield a base address. A 'weight' is active when the switch is down.Shown to the right, switches 9 and 8 are down, all others are up. Weights 200Hand 100H are active, equaling 300h base address. Refer to Table 2-1 for PC I/Oaddresses.

Figure 1-1. Base Address Select Switches

1

Page 6: CIO-DAS801 CIO-DAS802 User’s Manualwarr/doc/cio-das80x.pdf · 2006-08-30 · LIFETIME WARRANTY Every hardware product manufactured by Measurement Computing Corp. is warranted against

Table 1-1. I/O Addresses

SERIAL PORT3F8-3FFEGA2B0-2BFFLOPPY DISK3F0-3F7PARALLEL PRINTER270-27FSERIAL PORT3E8-3EFALT BUS MOUSE23C-23FCGA3D0-3DFBUS MOUSE238-23BEGA3C0-3CFEXPANSION UNIT (XT)210-21FPARALLEL PRINTER3BC-3BFGAME CONTROL200-20FMDA3B0-3BBHARD DISK (AT)1F0-1FFSDLC3A0-3AF80287 NUMERIC CO-P (AT)0F0-0FFSDLC380-38F8237 #2 (AT)0C0-0DFPARALLEL PRINTER378-37FNMI MASK (XT)0A0-0AFHARD DISK (XT)320-32F8259 PIC #2 (AT)0A0-0A1PROTOTYPE CARD310-31FDMA PAGE REGISTERS080-08FPROTOTYPE CARD300-30FCMOS RAM & NMI MASK (AT)070-071SERIAL PORT2F8-2FF8742 CONTROLLER (AT)060-064SERIAL PORT2E8-2EF8255 PPI (XT)060-063GPIB (AT)2E0-2E78253 TIMER040-043EGA2D0-2DF8259 PIC #1020-021EGA2C0-2CF8237 DMA #1000-00F

FUNCTIONHEXRANGE

FUNCTIONHEXRANGE

1.3.2 DIFFERENTIAL / SINGLE ENDED SELECTThe CIO-DAS80# has differential analog inputs. Differential inputs are 3-wire analog hookups consisting of a signal high, signal lowand chassis ground. The benefits of differential inputs are the ability to reject noise which affects both signal high and low, and theability to compensate for ground loops or potentials between signal low and chassis ground.

Although differential inputs are often preferable to single ended inputs, there are occasions when the floating nature of a differentialinput can confound attempts to make a reading. In those cases, the CIO-DAS80# inputs can be converted to single-ended or modifieddifferential.

The CIO-EXP16 and CIO-EXP32 were designed to interface to a single-ended input. Failure to set the switches to single ended whenan EXP is connected will result in floating, unstable readings from theEXP.

The analog inputs of the CIO-DAS80# may be set up as single ended ordifferential. There are two ways to select between them.

The first method of selecting between the single ended and differentialinputs is with a set of eight switches located near the connector andlabeled 0-7 in white lettering on the board. In the down (off) position,the input associated with that switch is in differential mode. In the up(on) position the input is single-ended.

Figure 1-2 shows one analog input and the single-ended / differentialswitch. Figure 1-2. Input Configuration Switch

2

Page 7: CIO-DAS801 CIO-DAS802 User’s Manualwarr/doc/cio-das80x.pdf · 2006-08-30 · LIFETIME WARRANTY Every hardware product manufactured by Measurement Computing Corp. is warranted against

The second method of converting the inputs to single-ended is toinstall a SIP resistor pack at position RN2. This package of 10K resis-tors provides a reference to ground for each of the eight Low Inputlines. This type of input behaves like a single-ended input since thereis a reference to ground and floating sources may be measured.Figure 1-3 shows one analog input line with the SIP resistor installed.

Note that when the SIP resistor package is installed, all eight analoginputs are single-ended.

If you intend to use an EXP board with the CIO-DAS80#, you shouldnot install the SIP resistor but you should set the Input ConfigurationSwitch to Single Ended for both the EXP channel and the CJCchannel.

1.3.3INTERRUPT LEVEL SELECTThe interrupt jumper need only be set if the software you are using requires it. The Uni-versal Library and other programs which take advantage of the REP-INSW high speedtransfer capability of the board require an interrupt. If you do set the interrupt jumper,please check your PC's current configuration for interrupt conflicts.

There is a jumper block on the CIO-DAS80# located just above the PC bus interface (goldpins). The factory default setting has no interrupt level set (the jumper is in the 'X'position). It is shown in Figure 1-4 set for IRQ 5.

Refer to Table 1-2 for typical IRQ assignments. Figure 1-4. IRQ Level Select Switches

Table 1-2. IRQ Assignments

Note: IRQ8-15 are AT onlyLPTIRQ7UNASSIGNEDIRQ15FLOPPY DISKIRQ6

HARD DISKIRQ14HARD DISK (XT)LPT (AT)

IRQ580287 NUMERIC CO-PIRQ13COM OR SDLCIRQ4UNASSIGNEDIRQ12COM OR SDLCIRQ3

UNASSIGNEDIRQ11RESERVED (XT)INT 8-15 (AT)

IRQ2UNASSIGNEDIRQ10KEYBOARDIRQ1RE-DIRECTED TO IRQ2 (AT)IRQ9TIMERIRQ0REAL TIME CLOCK (AT)IRQ8PARITYNMI

DESCRIPTIONNAMEDESCRIPTIONNAME

1.3.4 WAIT STATEA wait state may be enabled on the CIO-DAS80# by selecting WAIT STATE ON at the jumper provided on the board. Enabling thewait state causes the personal computer's bus transfer rate to slow down whenever the CIO-DAS80# is written to or read from. Thewait state jumper is provided in case you have a computer with an I/O bus transfer rate which is too fast for the CIO-DAS80#. If yourboard were to fail sporadically in random ways, you could try using it with the wait state ON.

1.3.5 INSTALLING THE CIO-DAS80#1. Turn the power off.2. Remove the cover of your computer. Please be careful not to dislodge any of the cables installed on the boards in your computer

as you slide the cover off.3. Locate an empty ISA expansion slot in your computer4. Push the board firmly down into the expansion bus connector. If it is not seated fully it may fail to work and could short circuit

the PC bus power onto a PC bus signal. This could damage the motherboard in your PC as well as the CIO-DAS80#.

3

Figure 1-3. Analog Input Configuration

Page 8: CIO-DAS801 CIO-DAS802 User’s Manualwarr/doc/cio-das80x.pdf · 2006-08-30 · LIFETIME WARRANTY Every hardware product manufactured by Measurement Computing Corp. is warranted against

2: ANALOG CONNECTIONS

2.1 ANALOG INPUTS

Before making actual connections, you may want to review the basic concepts of single-ended vs. differential inputs, and systemgrounding and isolation.

2.1.1 Single-Ended InputsThe input amplifier amplifies the voltage between the channel input line and LLGND. The single-ended input configuration actuallyrequires only one physical connection (wire) per channel and allows monitoring more channels than the (2-wire) differential configura-tion using the same connector and on-board multiplexer. However, since the input amplifier is amplifying the input voltage relative to its own low level ground, single-ended inputs are moresusceptible to both EMI (electromagnetic interference) and any ground noise at the signal source. Figures 2-1 and 2-2 show the single-ended input configuration.

Figure 2-1. Single-Ended Input

Figure 2-2. Common-Mode voltage on Single-Ended Input

2.1.2 Differential InputsDifferential amplifiers amplify the voltage between two distinct input signals. Within a certain range (referred to as the common moderange), the amplified value is almost independent of signal source to board ground variations. A differential input is also much moreimmune to EMI than a single-ended one. Most EMI noise induced in one lead is also induced in the other. Since the amplifier onlyamplifies the difference between the two leads, and the EMI common to both inputs is ignored. This effect is a major reason for using twisted-pair wire as the twisting assures that both wires are subject to virtually identical external influences. Figure 2-3 below showsthe basic differential input configuration.

4

+

-

InputAmp To A/D

I/OConnector

LL GND

CH IN

Note: Input MUX omitted forclarity.

+

-

Inp utA m p To A /D

LL GND

CH IN

~

12

Vs Vs + V g2 - V g1

An y vo ltage d iffe rentia l betw een groundsg1 and g2 show s up as an e rror signalat the inpu t am p lifier

S in g le -ended input w ith C om m on M ode Vo ltage

gg

Page 9: CIO-DAS801 CIO-DAS802 User’s Manualwarr/doc/cio-das80x.pdf · 2006-08-30 · LIFETIME WARRANTY Every hardware product manufactured by Measurement Computing Corp. is warranted against

Figure 2-3. Differential Input

Before describing grounding and isolation, it is important to understand the concepts of common mode, and common mode range (CMRange). Common mode voltage is labeled in Figure 2-4 as Vcm. Though differential inputs measure the voltage between two signals,without (almost) respect to either signal’s voltages relative to ground, there is a limit to how far away from ground either signal can go.Although the board has differential inputs, it will not measure the difference between 100V and 101V as 1 Volt (because 100V woulddestroy the board!). This limitation or common mode range is depicted graphically in Figure 2-5. The common mode range is +/- 10Volts. Even in differential mode, no input signal can be measured if it is more than +/-10V from the board’s low level ground(LLGND).

Figure 2-4. Common-Mode Voltage at a Differential Input

5

+

-

InputA m p To A /D

D ifferentia l Inpu tI/O

C onnector

LL GN D

CH H igh

CH Low

+

-

Inp u tA m p To A /D

D iffe ren tia lInpu t

LL GND

CH H igh

CH Low

~ VsVs

Vcm

Com m on M ode Voltage (Vcm ) is ignoredby differential input configuration. However,note that Vcm + Vs must rem ain w ithinthe am plifier ’s comm on m ode range of ±10V

Vcm = Vg2 - Vg1gg1 2

Page 10: CIO-DAS801 CIO-DAS802 User’s Manualwarr/doc/cio-das80x.pdf · 2006-08-30 · LIFETIME WARRANTY Every hardware product manufactured by Measurement Computing Corp. is warranted against

Figure 2-5. Common Mode Voltage Allowable Range

2.1.3 System Grounds and IsolationThere are three scenarios possible when connecting your signal source to the board:

1. The board and the signal source may have the same (or common) ground. This signal source may be connected directly tothe board.

2. The board and the signal source may have an offset voltage between their grounds (AC and/or DC). This offset is com-monly referred to as a common mode voltage. Depending on the magnitude of this voltage, it may or may not be possible toconnect the board directly to your signal source. We will discuss this topic further in a later section.

3. The board and the signal source may already have isolated grounds. This signal source may be connected directly to theboard.

2.1.4 Determine Your System TypePerform the following test: using a battery-powered voltmeter, measure the voltage between ground at your signal source and ground atyour PC. Place one voltmeter probe on the PC ground and the other on the signal source ground. Measure both the AC and DC Volt-ages.

If you do not have access to a voltmeter, skip the test and read the following three sections. You may be able to identify your systemtype from the descriptions provided.

If both AC and DC readings are 0.00 volts, you may have a system with common grounds. However, since voltmeters will average outhigh frequency signals, there is no guarantee. Please refer to the section below titled Common Grounds.

If you measure reasonably stable AC and DC voltages, your system has an offset voltage between the grounds category. This offset isreferred to as a Common Mode Voltage. Please be careful to read the following warning and then proceed to the section describingCommon Mode systems.

6

+1V

-13V

+2V

-12V

+3V

-11V

+4V

-10V

+5V

-9V

+6V

-8V

+7V

-7V

+8V

-6V

+9V

-5V

+10V

-4V

+11V

-3V

+12V

-2V

+13V

-1V

Gray area represents com m on m ode rangeBoth V+ and V - m ust a lw ays rem ain w ithinthe com m on m ode range relative to LL Gnd

Vcm (C om m on M ode Voltage) = +5 Volts

Vcm

W ith Vcm = +5VD C,+Vs m ust be less than +5V, or the com m on m ode range w ill be exceeded (>+10V)

Page 11: CIO-DAS801 CIO-DAS802 User’s Manualwarr/doc/cio-das80x.pdf · 2006-08-30 · LIFETIME WARRANTY Every hardware product manufactured by Measurement Computing Corp. is warranted against

WARNINGIf either the AC or DC voltage is greater than 10 volts, do not connect the board to this signal source. You are beyond the board’susable common-mode range. You must either adjust your grounding system or add special isolation signal conditioning to take usefulmeasurements. A ground offset voltage of more than 30 volts will likely damage the board and possibly your computer. Note that anoffset voltage much greater than 30 volts will not only damage your electronics, but it may be hazardous to your health.

If you cannot obtain a reasonably stable DC voltage measurement between the grounds, or the voltage drifts around considerably, thetwo grounds are most likely isolated. The easiest way to check for isolation is to change your voltmeter to it’s ohm scale and measurethe resistance between the two grounds. It is recommended that you turn both systems off prior to taking this resistance measurement.If the measured resistance is more than 100 Kohm, it’s a fairly safe bet that your system has electrically isolated grounds.

a. Systems with Common GroundsIn the simplest (but perhaps least likely) case, your signal source will have the same ground as the board. This would typically occurwhen providing power or excitation to your signal source directly from the board. There may be other common ground configurations,but it is important to note that any voltage between the board’s ground and your signal ground is a potential error voltage if you set upyour system based on a common ground assumption.

As a safe rule of thumb, if your signal source or sensor is not connected directly to an LLGND pin on your board, it’s best to assumethat you do not have a common ground even if your voltmeter measured 0.0 Volts. Configure your system as if there is ground offsetvoltage between the source and the board. This is especially true if you are using high gains, since ground potentials in the sub-millivolt range will be large enough to cause A/D errors, yet will not likely be measured by your handhold voltmeter.

b. Systems with Common Mode (ground offset) VoltagesThe most frequently encountered grounding scenario involves grounds that are somehow connected, but have AC and/or DC offsetvoltages between the board and signal source grounds. This offset voltage my be AC, DC or both and may be caused by a wide arrayof phenomena including EMI pickup, resistive voltage drops in ground wiring and connections, etc. Ground offset voltage is a moreappropriate term to describe this type of system, but since our goal is to keep things simple, and help you make appropriate connec-tions, we’ll stick with our somewhat loose usage of the phrase Common Mode.

c. Small Common Mode VoltagesIf the voltage between the signal source ground and board’s ground is small, the combination of the ground voltage and input signalwill not exceed the board’s +/-10V common mode range, (i.e. the voltage between grounds, added to the maximum input voltage, muststay within +/-10V). This input is compatible with the board and the system may be connected without additional signal conditioning.Fortunately, most systems will fall in this category and have a small voltage differential between grounds.

d. Large Common Mode VoltagesIf the ground differential is large enough, the board’s +/- 10V common mode range will be exceeded (i.e. the voltage between theboard and signal source grounds, added to the maximum input voltage you’re trying to measure exceeds +/-10V). In this case the boardcannot be directly connected to the signal source. You will need to change your system grounding configuration or add isolation signalconditioning. (Please look at our ISO-RACK and ISO-5B-series products to add electrical isolation, or give our technical supportgroup a call to discuss other options.)

NOTEDo not rely on the earth prong of a 120VAC receptacle for signal ground connections. Different ground plugs may have large andpotentially even dangerous voltage differentials. Remember that the ground pins on 120VAC outlets on different sides of the room mayonly be connected in the basement. This leaves the possibility that the “ground” pins may have a significant voltage differential (espe-cially if the two 120VAC outlets happen to be on different phases!)

e. The board and signal source already have isolated groundsSome signal sources will already be electrically isolated from the board. The diagram below shows a typical isolated ground system.These signal sources are often battery powered, or are fairly expensive pieces of equipment (isolation can be expensive). Isolatedground systems provide excellent performance but require extra effort during connections to assure optimum performance is obtained.Please refer to the following sections for further details.

7

Page 12: CIO-DAS801 CIO-DAS802 User’s Manualwarr/doc/cio-das80x.pdf · 2006-08-30 · LIFETIME WARRANTY Every hardware product manufactured by Measurement Computing Corp. is warranted against

2.2 WIRING CONFIGURATIONS

Combining all the grounding and input type possibilities provides us with the following potential connection configurations. The com-binations along with our recommendations on usage are shown in Table 2-1.

Table 2-1. Input Type and Grounding Recommendations

RecommendedDifferential InputsAlready Isolated

Grounds

AcceptableSingle-ended InputsAlready Isolated Grounds

Unacceptable withoutadding Isolation

Differential InputsCommon Mode

Voltage > +/-10V

Unacceptable withoutadding Isolation

Single-Ended InputsCommon Mode

Voltage > +/- 10V

RecommendedDifferential InputsCommon Mode

Voltage < +/-10V

Not RecommendedSingle-Ended InputsCommon Mode

Voltage < +/-10V

AcceptableDifferential InputsCommon Ground

RecommendedSingle-Ended InputsCommon Ground

RecommendationInput ConfigurationGround Category

The following sections have recommended input wiring schemes for input configuration/grounding combinations.

2.2.1 Common Ground / Single-Ended InputsSingle-ended is the recommended configuration for common ground connections. However, if some of your inputs are common groundand some are not, we recommend you use the differential mode. There is no performance penalty (other than loss of channels) forusing a differential input to measure a common ground signal source. However the reverse is not true. Figure 2-6 below shows a rec-ommended connection diagram for a common ground / single-ended input system

Figure 2-6. Single-Ended Input with Common Ground Connection

8

+

-

InputAm p To A /D

A /D BoardI/O

C onnector

LL G N D

CH IN��

S igna l

S ource w ith

C om m on Gnd

O ptio nal w ires ince s igna l sourceand A /D board sharecom m on g round

S igna l source and A /D board sharing com m on ground connectedto s ing le-ended input.

Page 13: CIO-DAS801 CIO-DAS802 User’s Manualwarr/doc/cio-das80x.pdf · 2006-08-30 · LIFETIME WARRANTY Every hardware product manufactured by Measurement Computing Corp. is warranted against

2.2.2 Common Ground / Differential InputsThe use of differential inputs to monitor a signal source with a common ground is a acceptable configuration though it requires morewiring and offers fewer channels than selecting a single-ended configuration. Figure 2-7 below shows the recommended connections inthis configuration.

Figure 2-7. Differential Input with Common Ground

2.2.3 Common Mode Voltage - Less Than +/-10V / Single-Ended InputsThis configuration is not recommended. Here, the term common-mode has no meaning in a single-ended system and this case would bebetter described as a system with offset grounds. In any case, try this configuration. No system damage should occur and depending onthe overall accuracy you require, you may receive acceptable results.

9

+

-

In p utA m p To A /D

A /D BoardI/OC o n n ec tor

LL G ND

CH H igh

CH Low

��

S igna l

S ource w ith

C om m on G nd

O ptional w ires ince signa l sourceand A /D board sharecom m on g round

Requ ired connectionof LL G ND to CH Low

S igna l source and A /D board sharing com m on ground connectedto d iffe rentia l input.

Page 14: CIO-DAS801 CIO-DAS802 User’s Manualwarr/doc/cio-das80x.pdf · 2006-08-30 · LIFETIME WARRANTY Every hardware product manufactured by Measurement Computing Corp. is warranted against

2.2.4 Common Mode Voltage < +/-10V / Differential InputsAlways monitor systems with varying ground potentials used with differential mode. Care is required to verify that the sum of the inputsignal and the ground differential (referred to as the common-mode voltage) does not exceed the common-mode range of the A/Dboard (+/-10V on the board). Figure 2-8 shows recommended connections in this configuration.

Figure 2-8. Common Mode Voltage < +/-10V / Differential Inputs

2.2.5 Common Mode Voltage Greater Than +/-10VThe board will not directly monitor signals with common mode voltages greater than +/-10V. You will either need to alter the systemground configuration to reduce the overall common mode voltage, or add isolated signal conditioning between the source and yourboard. See Figure 2-9 and 2-10 below.

Figure 2-9. High Common-Mode Voltage and Isolation Barrier Requirement

Figure 2-10. High Common-Mode Voltage & Isolation Barrier w/Pull-Down Resistor

10

+

-

InputA m p To A /D

A /D B oardI/OC onnector

LL G N D

C H H igh

C H L ow

��

Signal Source

w ith Com m on

M ode Voltage

S igna l source and A /D b oard w ith com m on m ode vo ltageconnected to a d iffe ren tia l inpu t.

G ND

The vo ltage d ifferentia lbetween these grounds,added to the m axim um input s igna l m ust s tay w ithin +/-10V

System w ith a Large C om m on Mode Voltage,Connected to a Sing le-Ended Input

I/OC o nn ec to r

+

-

Inp utA m p To A /D

LL GN D

C H IN

A /D Board

��

Large com m on

mode voltage

betw een s ignal

s

ource & A /D board

G N D

Iso lationBarrie r

W h en the voltage d ifferencebetween s ign al source andA /D board gro und is largeenough so the A/D board ’scom m on m ode range isexceede d, iso la ted signalconditioning m ust be added.

System w ith a Large C om m on M ode Voltage,C onnected to a D ifferentia l Input

��

L arge com m on

mod e voltage

between signa l

source & A /D board

G N D

Iso lationB arrie r

W hen the voltage diffe rencebetween signal source a ndA/D boa rd ground is la rgeenough so the A /D board ’scom m on m od e ran ge isexceeded, isolated s ignalconditioning m ust be added.

+

-

Inp u tA m p To A /D

A /D BoardI/OC o n n ec to r

LL GN D

CH H igh

CH Low

10 K

1 0K is a re co m m e nd ed va lu e . You m ay sh o rt LL G N D to C H L owin s te ad , b u t th is w il l re d u ce yo u r sy s tem ’s n o ise im m u n ity.

Page 15: CIO-DAS801 CIO-DAS802 User’s Manualwarr/doc/cio-das80x.pdf · 2006-08-30 · LIFETIME WARRANTY Every hardware product manufactured by Measurement Computing Corp. is warranted against

2.2.6 Isolated Grounds / Single-Ended InputsSingle-ended inputs can be used to monitor isolated inputs, though the use of the differential mode will increase your system’s noiseimmunity. Figure 2-11 shows the recommended connections is this configuration.

Figure 2-11. Isolated Signal Source to Single-Ended Input

2.2.7 Isolated Grounds / Differential InputsOptimum performance with isolated signal sources is assured with the use of differential inputs. Figure 2-11 shows the recommendedconnections for this configuration.

Figure 2-11. Isolated Signal Source Connected to a Differential Input

11

Iso la ted S ignal SourceC onnecte d to a S ing le-Ended Inpu t

I/OC onnector

+

-

Inp utA m p To A /D

LL GND

CH IN

A /D B oard

��

Iso lated

signa l

source

+

-

In p utA m p To A /D

A /D BoardI/OC o n n ec tor

LL G ND

CH H igh

CH Low

��

S igna l S ou rce

and A /D B oard

A lready Iso la ted .

A lready iso la ted signa l source and A /D board connected to a diffe rentia l input.

G N D

T hese g rounds aree lectrica lly iso la ted .

10 K

1 0 K is a reco m m e nd ed va lue . You m a y sho rt LL G N D to C H L o win s te ad , b u t th is w ill re du ce yo ur sys te m ’s n o ise im m u nity.

Page 16: CIO-DAS801 CIO-DAS802 User’s Manualwarr/doc/cio-das80x.pdf · 2006-08-30 · LIFETIME WARRANTY Every hardware product manufactured by Measurement Computing Corp. is warranted against

2.3 SIGNAL CONNECTION

Signal connection is important in applying a data acquisition board. In addition to wrong connections, which is the most commoncause of customer calls to tech support, is the possibility of ground loops, floating signal sources and excessive common mode voltage.Connecting signals to a data acquisition board is not difficult. Please follow the examples shown here and pay close attention to thegrounding shared between the PC and the signal source.

2.3.1 Connector DiagramThe CIO-DAS80# analog connector is a 37 pin D type connector accessiblefrom the rear of the PC through the expansion backplate (Figure 2-12). Theconnector accepts female 37 D type connectors, such as those on theC73FF-2, 2 foot cable with connectors. The connector pin names Ch# Lowand Ch# High are the differential inputs of the CIO-DAS80#.

If frequent changes to signal connections or signal conditioning arerequired, refer to the information on the CIO-TERMINAL and CIO-MINI37 screw terminal boards. If additional channels or signal condition-ing is required, refer to the information on the CIO-EXP32, 32 channelanalog multiplexer/amplifier. Isolation amplifiers may be mounted usingthe ISO-RACK08 and 5B isolation modules.

2.3.2 Analog InputsAnalog inputs on the CIO-DAS80# are designed to accept voltage signalsfor measurement.The analog inputs may be configured in three different ways:

1. True differential inputs. For sources with a separate ground, com-mon to the PC.

2. Pseudo-differential inputs used for floating sources has noise rejec-tion capability

3. Single ended inputs. Also used for floating sources.

The manner of configuring the analog inputs and the schematic of thoseconfigurations is explained earlier in the manual. This section covers theimplications of a given connection and shows how to make that connection

Figure 2-12. Analog Connector

WARNING - PLEASE READUsing a voltmeter, measure the AC and DC voltage between the ground signal at the signal source and the PC. Placethe red probe on the PC ground and the black probe on the signal ground. If there is more than 10 volts, do not con-nect the CIO-DAS80# to this signal source because you will not be able to make any reading. If there is more than30 volts, DO NOT connect this signal to the board because it will damage the board and possibly the computer.WARNING: Use great care when measuring any voltage. Voltages over 30V can be dangerous to your health.

2.3.3 Single-Ended InputsA single ended input is two wires connected to the CIO-DAS80#; a channel high (CH# HI) and a Low Level Ground (LLGND). TheLLGND signal must be the same ground the PC is on. The CH# HI is the signal voltage. Single-ended mode is selected via a switch.

2.3.4 Floating DifferentialA floating differential input is two wires from the signal source and a 10K ground reference resistor installed at the CIO-DAS80#input. The two signals from the signal source are Signal High (CH# High) and Signal Low (CH# Low). The reference resistor is con-nected between the CIO-DAS80# CH# Low and LLGND pins. This is accomplished with the installation of the SIP resistor pack.

A floating differential hookup is handy when the signal source is floating with respect to ground, such as a battery, 4-20mA transmitteror if the lead lengths are long or subject to EMI interference. The floating differential input will reject up to 10V of EMI on the signalwires.

WARNING! Verify that the signal source really floating. Check it with a ohmmeter before risking the CIO-DAS80# and PC.

12

Page 17: CIO-DAS801 CIO-DAS802 User’s Manualwarr/doc/cio-das80x.pdf · 2006-08-30 · LIFETIME WARRANTY Every hardware product manufactured by Measurement Computing Corp. is warranted against

2.3.5 Fully DifferentialA differential signal has three wires from the signal source. The signals are Signal High (CH# High), Signal Low (CH# Low) and Sig-nal Ground (LLGND).

A differential connection allows you to connect the CIO-DAS80# to a signal source with a ground that is different than the PC ground,but less than 10V difference, and still make a true measurement of the signal between CH# High and CH# Low.

EXAMPLE: A laboratory instrument with its own wall plug. There are sometimes voltage differences in wall GND between outlets.

2.3.6 Digital Inputs and OutputsAll the digital inputs and outputs on the CIO-DAS80# are TTL level. TTL is an electronics industry term, short for Transistor Transis-tor Logic, with describes a standard for digital signals which are either at TTL low or TTL high; levels which are detected by all otherTTL devices. For a listing of the TTL level specifications for these digital lines, please see the specifications at the end of this manual.

There are three digital inputs and four digital outputs. The digital inputs are buffered by a register on the board. Each time the registeris read, the current high/low state of the digital I/O lines is obtained. The digital outputs are controlled by a register on the board andare updated each time the register is written to. The lines are pulled high so a logical-one is read if no signal is connected to an input.

The digital lines also are used to control external EXP boards (all four outputs) and to trigger and gate A/D conversions (Digital In 1).

13

Page 18: CIO-DAS801 CIO-DAS802 User’s Manualwarr/doc/cio-das80x.pdf · 2006-08-30 · LIFETIME WARRANTY Every hardware product manufactured by Measurement Computing Corp. is warranted against

3: REGISTER ARCHITECTURE

All of the programmable functions of the CIO-DAS801 and 802 are accessible through the control and data registers.

3.1 REGISTER LAYOUT

The CIO-DAS801 / 802 is controlled and monitored by writing to and reading from 16 consecutive 8-bit I/O addresses. The firstaddress, or BASE ADDRESS, is determined by setting a bank of switches on the board.

Register manipulation is best left to experienced programmers as most of the possible functions are implemented in easy-to-use Uni-versal Library routines.

To write to or read from a register in decimal or hexadecimal, the following weights apply:

801287406462032510164883442221110

HEX VALUEDECIMAL VALUEBIT POSITION

Each register has eight bits which may be a byte of data or eight individual bit read/write functions. To write control words or data to aregister, the individual bits must be set to 0 or 1 then combined to form a byte. Data read from registers is analyzed to determinewhich bits are on or off.

The method of programming required to set/read bits from bytes is beyond the scope of this manual. Summaries of the registers andtheir read and write functions are given on Tables 3-1 through 3-6.

14

Page 19: CIO-DAS801 CIO-DAS802 User’s Manualwarr/doc/cio-das80x.pdf · 2006-08-30 · LIFETIME WARRANTY Every hardware product manufactured by Measurement Computing Corp. is warranted against

Table 3-1. Register Write Functions

Register 8254 Counter/Timer Control Register Base + 7

Cascade Pre-scaler 8254 C/T 2 Control Register Base + 6

A/D Timer 8254 C/T 1 Control Register Base + 5

8254 C/T 0 Control Register Base + 4

Range/Control SelectR0R1R2R3ENHFCS0CS1CSEBase + 3

Scan Limits RegisterSC0SC1SC2EC0EC1EC2NANACS1/0=1/0

Conversion ControlITECASCDTENIEOCEACSGTENNAHCENCS1/0=0/1

Control Register 1MA0MA1MA2INTEOP1OP2OP3OP4CS1/0=0/0

Special Function - (Depends on value of CS0,1)Base + 2

Start Conversion Base + 1

Start Conversion Base + 0

D0D1D2D3D4D5D6D7Register

WriteFunctions Data Bits Function

Table 3-2. Control Register Select Coding

ID RegisterNot defined11

Status Register #2Scan Limits Reg01

Status Register #2Conversion Control Register10

Status Register #2Control Reg # 100

Read FunctionWrite Function CS0CS1

Control Register Selected

Table 3-3. Range (Gain) Select Codes

Uni: 0 to 0.01V (g=1000) Uni: 0 to 1.25V (g=8)1111 Bip: +/- 0.005V(g=1000) Bip: +/- 625mV (g=8)0111 Uni: 0 to 0.1V (g=100) Uni: 0 to 2.5V (g=4)1011 Bip: +/- 0.05V (g=100) Bip: +/- 1.25V (g=4)0011 Uni: 0 to 1V (g=10) Uni: 0 to 5V (g=2)1101 Bip: +/- 0.5V (g=10) Bip: +/- 2.5V (g=2)0101 Uni: 0 to 10V (g=1) Uni: 0 to 10V (g=1)1001 Bip: +/- 10V (g=0.5) Bip: +/- 10V (g=0.5)0001 Bip: +/- 5V (g=1) Bip: +/- 5V (g=1)0000

DAS-801DAS-802R0R1R2R3Range / (Gain)Range (Gain) Select:

15

Page 20: CIO-DAS801 CIO-DAS802 User’s Manualwarr/doc/cio-das80x.pdf · 2006-08-30 · LIFETIME WARRANTY Every hardware product manufactured by Measurement Computing Corp. is warranted against

Table 3-4. Register Read Functions

ID Reg (801=2, 802=3) ID0ID1ID2ID3ID4ID5ID6ID7CS1/0 = 1/1

Status Register 2

ITECASCDTENDTIEOCINTEGTENHCENCS1/0=0/0,0/1,1/0

Function depends on value of CS0/1 bits in Base +3: Base + 7

8254 C/T 2 Status Register Base + 6

8254 C/T 1 Status Register Base + 5

8254 C/T 0 Status Register Base + 4

Gain/Control Status

R0R1R2R3MA0MA1MA2EACSBase + 3

Status Register 1

MA0MA1MA2IRQIP1IP2IP3EOCBase + 2

High byte read

AD4AD5AD6AD7AD8AD9AD10AD11Base + 1

Low byte read

FFEMFFOVFF2FF3AD0AD1AD2AD3Base + 0 D0D1D2D3D4D5D6D7Register

READ Functions Data Bits Function

16

Page 21: CIO-DAS801 CIO-DAS802 User’s Manualwarr/doc/cio-das80x.pdf · 2006-08-30 · LIFETIME WARRANTY Every hardware product manufactured by Measurement Computing Corp. is warranted against

Table 3-5. Bit Definitions

* Asterisk indicates that HCEN is required (as a final step) to make this bit func-tional.

Channel-scan start value.WSC2:0*AD Range bits (See Table 3-3.) RWR3:0Digital Output bits. WOP4:1Mux address bits RWMA2:0Internal Time Base (8254) Enable RWITE*Digital Input bits.RIP3:1Interrupt enable (0 = disable, 1 = enable) RWINTEInterrupt Source (1 = End of Convert, 0 = Ext) RWIEOCHardware Convert Enable RWHCENGate Enable (Req. DTEN to enable HW gate) RWGTEN*FIFO Overflow (full) =1. 0 if HCEN =0. RFFOV*FIFO Empty =1. 0 if HCEN =0. RFFEM* 0 if HCEN =0. 0 if HCEN =1 & FIFO not empty. Undefined if HCEN = 1 and FIFO empty RFF3* 0 if HCEN =0. 0 if HCEN =1 & FIFO not empty. Undefined if HCEN = 1 and FIFO empty RFF2*End-of-conversion (1 = busy, 0 = ready) REOCEnable Interrupt on FIFO Half Full (Req. IEOC=1, HCEN must =1 to enable FIFO) WENHF*Channel-scan end valueWEC2:0*Enable Auto channel-scan RWEACS*External Digital Trigger Enable (Edge trig if GTEN=0) RWDTEN*State of Digital Trigger (1=Trigger occured) RDT*Register Select Enable/Range Select Disable WCSERegister Selection (See Table 3-2.) WCS1:0Cascade AD Pacing Mode Enable (include CT/2) RWCASC*Analog data input (Read low byte first) RAD 11:0

Table 3-6. Special Programming Instructions

External Interrupt is rising edge, External Pacer is falling edgeExternal Interrupt and External (Pacer) Clock are mutually exclusiveINT/XCLK

Bit

"Gate", Requires DTEN=1, GTEN=0LevelGatingRequires DTEN=1, GTEN=0EdgeTriggering

CT/1 decrements each time CT/2 counts to zero; AD converts when CT/1 counts to zero

CascadeCT/2 divides the 1 MHz time base; AD converts when CT/2 counts to zeroNormalPacing

OperatingModes

Not all of the CIO-DAS08 PGA gains are supportedCS1/0 bits can be written only when bit 7 i s 1Range bits can be written only when bit 7 i s 0Gain/Range

ID 1/0: 0/0= (DAS800 [KMB only], 0/1= reserved, 1/0= DAS801, 1/1= DAS802

Only the 1st two bits are needed for software, the upper six are for compatibility with KMB soft-ware

ID

Select Start and End Channel before setting EACSEnding channel (n) can be lower than starting channel (m) : m,...,6,7,0,1,...,n,m...Scan Limits

Set HCEN last, by itself (i.e., write 80h), set the other bits firstHCEN is used as a master enable for AD PacingConv/Control

Register

17

Page 22: CIO-DAS801 CIO-DAS802 User’s Manualwarr/doc/cio-das80x.pdf · 2006-08-30 · LIFETIME WARRANTY Every hardware product manufactured by Measurement Computing Corp. is warranted against

4: COUNTER TIMER CIRCUIT

There is an 82C54 counter timer on board which may be used to:

y Pace analog conversionsy Measure frequencyy Count eventsy Time intervals

The software to support the timer is in the Universal Library. The connections to the hardware are explained here. For detailed infor-mation on the 82C54 registers, please refer to the Intel or AMD data sheet for this part if you wish to program the 82C54 registersdirectly.

The 82C54 contains three counters, each being 16 bits wide. Of the three counters, two are dedicated to the pacing of analog to digitalconversions. These two, CTR1 and CTR2, when not in use by the A/D, are available for other tasks but are limited to some extent bythe wiring and access to I/O pins. The first counter, CTR0 is fully available for your use. Figure 4-1 shows the connections to thecounters. It also shows the 82C54 functions, I/O pins and how these are connected on the CIO-DAS80#.

Figure 4-1. 82C54 Counter Logical Block Diagram

18

10 MHZ CRYSTAL OSCILLATOR

DIVIDE BY 10

CLK 2

CLK 1

CLK 0

CASCADE CONTROL LOGIC

PACERCONTROL LOGIC

OUT 0

OUT 1

OUT 2

CTR 0 OUT

CTR 1 OUT

CTR 2 OUT

+5VDC+5VDCALL10K

2

4

GATE 0

GATE 1

GATE 2

22

INT INPUT / XCLK

25

DIN 1/ TRIG

24

6

5

3

82C54

Page 23: CIO-DAS801 CIO-DAS802 User’s Manualwarr/doc/cio-das80x.pdf · 2006-08-30 · LIFETIME WARRANTY Every hardware product manufactured by Measurement Computing Corp. is warranted against

5: SPECIFICATIONS

Power consumption+5V quiescent 500 mA typical, 750 mA max

Analog input sectionA/D convertor type AD674A, Successive Approximation Resolution 12 bitsNumber of channels 8Programmable ranges (CIO-DAS801) ±10V, ±5V , ±1V, ±0.5V , ±0.1V, ±0.05V, ±0.01V , ±0.005V, 0 to 10V, 0 to 1V,

0 to 0.1V, 0 to 0.01VProgrammable ranges (CIO-DAS802) ±10V, ±5V, ±2.5V, ±1.25V, ±0.625V, 0 to 10V, 0 to 5V, 0 to 2.5V, 0 to 1.25VA/D pacing Programmable: internal counter or external source (IR Input / XCLK, falling edge)

or software polledA/D Trigger sources External hardware (Digital In 1 / Trig, rising edge)Data transfer Interrupt or software polled from 256-sample FIFO bufferPolarity Unipolar/Bipolar programmable

Channel configuration Differential (or pseudo-differential with installation of a SIP resistor) orsingle-ended, switch selectable for each channel

DMA NoneA/D conversion time 20 µsThroughput 50 kHzAccuracy ±0.01% of full scale ±1 LSB typ, ±0.05% of full scale ±1 LSB maxDifferential Linearity error ±0.5 LSB maxIntegral Linearity error ±1 LSBNo missing codes (guaranteed) 12 bits

Gain drift (A/D specs) ±50 ppm/°CZero drift (A/D specs) ±10 ppm/°C

Common Mode Range ±10VCMRR @ 60Hz

Gain = 1 70 dB minGain = 10 90 dB minGain >= 100 100 dB min

Input leakage current (@ 25 deg C) ± 30 nAInput leakage current (over temperature) ±250 nAInput impedance >1000 Megohms typicalAbsolute maximum input voltage ±35V

19

Page 24: CIO-DAS801 CIO-DAS802 User’s Manualwarr/doc/cio-das80x.pdf · 2006-08-30 · LIFETIME WARRANTY Every hardware product manufactured by Measurement Computing Corp. is warranted against

Counter sectionCounter type 82C54Configuration 3 down counters , 16 bit resolution

Counter 0 - independent user counterSource: external, user connector (Counter 0 In)Gate: external, user connector (Gate 0)Output: user connector (Counter 0 Out)

Counter 1 - ADC Pacer Lower Divider or independent user counterSource: user connector (Counter 1 In) and optionally, Counter 2 Out, selectable by

softwareGate: programmable, disabled or user connector (Gate 1)Output: user connector (Counter 1 Out) and optionally to A/D start convert, soft-

ware selectableCounter 2 - ADC Pacer Upper Divider

Source: internal 1MHz oscillatorGate: programmable, disabled or user connector (Gate 2)Output: user connector (Counter 2 Out) and optionally to counter 1 input, software

selectable

Clock input frequency 10 Mhz maxHigh pulse width (clock input) 30 ns minLow pulse width (clock input) 50 ns minGate width high 50 ns minGate width low 50 ns minInput low voltage 0.8V maxInput high voltage 2.0V minOutput low voltage 0.4V maxOutput high voltage 3.0V min

Crystal oscillatorFrequency 10MHzFrequency accuracy 100ppm

Digital I/O sectionDigital type FPGAConfiguration Two ports, 3 input and 4 output

Input low voltage 0.8V maxInput high voltage 2.0V minOutput low voltage (IOL = 4mA) 0.32V maxOutput high voltage (IOH = -4mA) 3.86V min Absolute maximum input voltage −0.5V, +5.5V

Interrupts Jumper selectable: levels 2, 3, 4, 5, 6, 7, or not connectedPositive edge triggered

Interrupt enable ProgrammableInterrupt sources External (IR Input / XCLK), A/D End-of-conversion, A/D FIFO-half-full

EnvironmentalOperating temerature range 0 to 50°CStorage temerature range −20 to 70°CHumidity 0 to 90% non-condensing

20

Page 25: CIO-DAS801 CIO-DAS802 User’s Manualwarr/doc/cio-das80x.pdf · 2006-08-30 · LIFETIME WARRANTY Every hardware product manufactured by Measurement Computing Corp. is warranted against

EC Declaration of Conformity

We, Measurement Computing Corp., declare under sole responsibility that the product:

DescriptionPart NumberCIO-DAS801 & 802

to which this declaration relates, meets the essential requirements, is in conformity with, and CE marking has been applied according tothe relevant EC Directives listed below using the relevant section of the following EC standards and other normative documents:

EU EMC Directive 89/336/EEC: Essential requirements relating to electromagnetic compatibility.

EU 55022 Class B: Limits and methods of measurements of radio interference characteristics of information technology equipment.

EN 50082-1: EC generic immunity requirements.

IEC 801-2: Electrostatic discharge requirements for industrial process measurement and control equipment.

IEC 801-3: Radiated electromagnetic field requirements for industrial process measurements and control equipment.

IEC 801-4: Electrically fast transients for industrial process measurement and control equipment.

Carl Haapaoja, Director of Quality Assurance

Page 26: CIO-DAS801 CIO-DAS802 User’s Manualwarr/doc/cio-das80x.pdf · 2006-08-30 · LIFETIME WARRANTY Every hardware product manufactured by Measurement Computing Corp. is warranted against

Measurement Computing Corporation16 Commerce Boulevard,

Middleboro, Massachusetts 02346(508) 946-5100

Fax: (508) 946-9500E-mail: [email protected]

www. measurementcomputing.com