Measurement CIO-DAC16-I User Manual

Page 1
CIO-DAC08-I
and
CIO-DAC16-I
User’s Manual
Revision 3
October, 2000
Page 2
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 and Measurement Computing Corporatio n are registered trademarks of Measurement Computing Corporation.
IBM, PC, and PC/AT are trademarks of International Business Machines Corp. Windows is a trademark of Microsoft Corp. All other trademarks are the property of their respective owners.
Information furnished by Measurement Computing Corp. is believed to be accurate and reliable. However, no responsibility is assumed by Measurement Computing Corporation 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 Measurement Computing Corporation.
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form by any means, electronic, mechanical, by photocopying, recording
or otherwise without the prior written permission of Measurement Computing Corporation.
Notice
Measurement Computing Corporation does not authorize any Measurement Computing Corporation product for use in life support systems and/or devices without the written approval of the President of Measurement Computing Corporation Life support devices/systems are devices or systems which, a) are intended for surgical implantation into the body, 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 to the testing required to ensure a level of reliability suitable for the treatment and diagnosis of people.
(C) Copyright 2000 Measurement Computing Corp.
HM CIO-DAC##-I.lwp
Page 3
TABLE OF CONTENTS
1 INTRODUCTION 2 SOFTWARE INSTALLATION 3 HARDWARE INSTALLATION
3.1 Initial Board Setup
3.2 Selecting the Base Address
..............................................
................................
................................
..........................................
..................................
3.3 Installing the CIO-DAC##-I in the Computer
3.4 Cabling to the CIO-DAC##-I
3.5 Testing the Installation
3.6 Signal Connection- Current Loop
3.7 Connector Diagram
.........................................
4 REGISTER ARCHITECTURE 5 SPECIFICATIONS
............................................
................................
......................................
............................
.................................
................
1 1 2 2 2 3 4 4 5 6 7
10
Page 4
This page is blank.
Page 5
1 INTRODUCTION
The CIO-DAC-series boards are available in either eight-channel or 16-channel versions and with either voltage or current (I) outputs. In this manual, the current output (I) boards are described and are referred to generically as CIO-DAC##-I unless a specific board is being described.
Analog current outputs are from dual-DAC AD7237s with each output buffered by 2N2222 transistors.
The analog outputs are controlled by writing a digital control and data word as two bytes (actually a data byte and a data nibble along with a nibble containing channel information) to two control registers. The control register is double-buffered so a DAC's output is not updated until both bytes (first low byte, then high byte) are written.
The CIO-DAC08-I and CIO-DAC16-I have a bank of nine address DIP switches. (See Figure 2-1.) There are no other switches or jumpers.
2 SOFTWARE INSTALLATION
An installation program labeled InstaCal™ is on the disk shipped with the board. This program will guide you through board configur ation and switch settings. Refer to the Software Installation Manual for complete instructions regarding installing and using InstaCal. If you decide not to use InstaCal as a guide, the information required for configuring the board is provided in the following section.
1
Page 6
3 HARDWARE INSTALLATION
3.1 Initial Board Setup
The CIO-DAC##-I has only one bank of switches for setting the base address which must be set before installing the board in your computer. The InstaCal calibration and test program included with the CIO-DAC##-I will show how these switches are to be set. Run the program before you open your computer.
The CIO-DAC##-I is setup at the factory as follows:
300h (768 decimal) Same as data sheet.BASE ADDRESS
3.2 Selecting the Base Address
Unless there is already a board in your system that uses address 300h (768 decimal), leave the switches as they are set at the factory.
In the following examples, the board (CIO-DAC08-I or CIO-DAC16-I) are set for a base address of 300h (768 decimal).
NOTE: Use the white numbers on the PCB, not those on the switch.
Certain address are used by the PC, others are free and can be used by the CIO-DAC##-I and other expansion boards.
5
9876
BASE ADDRESS SWITCH -
Address 300H shown
4
32
1
9 200 8 100 780 640 520 410 38 24 12
SWITCH HEX
Figure 3-1. Base Addresses- CIO-DAC08-I, CIO-DAC16-I
2
Page 7
Table 3-1. PC I/O Addresses
FUNCTIONHEX
RANGE
070-071
0F0-0FF
The CIO-DAC##-I BASE ADDRESS switch can be set for address in the range of 000-3FEh so it should not be hard to find a free address area for your board. If not using IBM prototyping cards or any other board which occupies these addresses, 300-31Fh are free to use. Address not specifically listed, such as 390-39Fh, are free.
80287 NUMERIC CO-P (AT)
RANGE
FUNCTIONHEX
EGA2C0-2CF8237 DMA #1000-00F EGA2D0-2DF8259 PIC#1020-021 GPIB (AT)2E0-2E78253 TIMER040-043 SERIAL PORT2E8-2EF8255 PPI (XT)060-063 SERIAL PORT2F8-2FF8742 CONTROLLER (AT)060-064 PROTOTYPE CARD300-30FCMOS RAM & NMI MASK PROTOTYPE CARD310-31FDMA PAGE REGISTERS080-08F HARD DISK (XT)320-32F8259 PIC #2 (AT)0A0-0A1 PARALLEL PRINTER378-37FNMI MASK (XT)0A0-0AF SDLC380-38F8237 #2 (AT)0C0-0DF SDLC3A0-3AF MDA3B0-3BBHARD DISK (AT)1F0-1FF PARALLEL PRINTER3BC-3BBGAME CONTROL200-20F EGA3C0-3CFEXPANSION UNIT (XT)210-21F CGA3D0-3DFBUS MOUSE238-23B SERIAL PORT3E8-3EFALT BUS MOUSE23C-23F FLOPPY DISK3F0-3F7PARALLEL PRINTER270-27F SERIAL PORT3F8-3FFEGA2B0-2BF
3.3 Installing the CIO-DAC##-I in the Computer
1. Turn PC 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 expansion slot in your computer.
4. Push the board firmly down into the expansion bus connector. If it is not seated fully it can 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 board.
3
Page 8
3.4 Cabling to the CIO-DAC##-I
The CIO-DAC##-I connector is accessible thro ugh the PC/AT expansion bracket. The connector is a standard 37-pin D-type male connector. A mating female connector, such as the C37FF-2, is available from Measurement Computing.
Several cabling and screw termination options are available from Measurement Computing.
DFCON-37
C37FF-2
C37FFS-5
CIO-TERMINAL
CIO-SPADE 50
D connector, D shell and termination pins to construct your own cable 2 foot (and longer) ribbon cable with 37 pin D female connectors 5 foot shielded round cable with molded ends housing 37-pin female connectors. Also in 10 ft. 37-position, 4 X 4-in. screw terminal boardCIO-MINI37 4 X 16-in. screw terminal board with on-board prototyping area. A screw terminal board that accepts spade lugs with on-board area for prototyping circuitry.
3.5 Testing the Installation
You can test the installation of the CIO-DAC##-I using InstaCal. Select the Test option to vary the output voltages and monitor them with a Volt Meter.
4
Page 9
3.6 Signal Connection- Current Loop
+
-
4-20mA Control
LLGND
The basic CIO-DAC##-I current output circuit is shown in Figure 3-2. Loop power is from an external power supply. The supply voltage is from 6V to 36V, with 24V or 36V being typical choices.
Figure 3-2. Basic Current Loop
The 4 to 20 mA loop can be configured with either a floating power supply (Figure 3-3) or a floating load (Figure 3-4).
4-20mA Control Board
+
-
4-20mA Control
LLGND
Floating
+
Supply
-
Grounded Load
4-20mA Control Board
+
-
4-20mA Control
LLGND
Figure 3-3. I-Loop, Floating Supply Figure 3-4. I-Loop, Floating Load
5
Load
+
Supply
-
Page 10
3.7 Connector Diagram
The CIO-DAC##-I connector is a 37-pin D-type connector accessible from the rear of the PC through the expansion backplate (Figures 3-5, 3-6).
The connector accepts female 37-pin, D-type connectors, such as those on the C37FF-2, 2-foot cable with connectors.
If frequent changes to signal connections or signal cond itioning is required, refer to the information on the CIO-TERMINAL, CIO-SPADE50 and CIO-MINI37 screw terminal boards in the Measurement Computing catalog.
-12V 19
GND 18
+12V 17 D/A 15 OUT 16 D/A 14 OUT 15 D/A 13 OUT 14 D/A 12 OUT 13 D/A 11 OUT 12 D/A 10 OUT 11
D/A 9 OUT 10
D/A 8 OUT 9 D/A 7 OUT 8 D/A 6 OUT 7
D/A 5 OUT 6 D/A 4 OUT 5 D/A 3 OUT 4 D/A 2 OUT 3 D/A 1 OUT 2 D/A 0 OUT 1
37 GND 36 +5V 35 LLGND 34 LLGND 33 LLGND 32 LLGND 31 LLGND 30 LLGND 29 LLGND 28 LLGND 27 LLGND 26 LLGND 25 LLGND 24 LLGND 23 LLGND 22 LLGND 21 LLGND 20 LLGND
Figure 3-5. CIO-DAC16-I Connector Figure 3-6. CIO-DAC08-I Connector
6
Page 11
4 REGISTER ARCHITECTURE
The CIO-DAC##-I is a simple board to understand. All control and data is read/written with simple I/O read and write commands. No interrupt or DMA control software is required. Thus, the board's outputs are easy to control directly from BASIC, C or PASCAL.
The CIO-DAC##-I has two control and analog output registers.
The first address, or BASE ADDRESS, is determined by the setting of a bank of switches on the board.
The register descriptions all follow the format:
01234567
A0A1A2A3A4A5A6A7
the numbers along the top row are the bit positions within the 8-bit byte and the numbers and symbols in the bottom row are the functions associated with each bit.
To write to or read from a register in decimal or HEX, the following weights apply:
Table 4-1. Register Bit Weights
HEX VALUEDECIMAL VALUEBIT POSITION
110 221 442
883 10164 20325 40646 801287
7
Page 12
In summary form, the registers and their function are listed in the following table.
Table 4-2. Register Map
READ FUNCTIONWRITE FUNCTIONADDRESS
NoneD/A Least Significant ByteBASE + 0
BASE + 1
Channel address
NoneD/A Most Significant Nibble and
These two registers control all of the DACs on the CIO-DAC##-I. The first register, BASE + 0, contains the least significant eight bits of D/A code and is written first.
BASE + 0
01234567
D11D10D9D8D7D6D5
D12
(LSB)
The second register contains the most significant four bits of D/A code and the four bits that determine which channel the data will be sent to. This register is written to second. A write to this register updates the output of the selected D/A with all 12 bits of the D/A code contained in the two registers.
BASE + 1
01234567
CH0CH1CH2CH3
D4D3D2D1
(MSB)
D12: 1 Data bits
CH3:0 Channel value (0000 = channel 0, 0101 = channel 5, etc.)
Updating the output of a particular DAC channel is a matter of calculating the code for the output value desired and combining it with the channel number.
To calculate the data code, you first select the output you desire, then apply a transfer function to that value. The transfer function for code = output is:
FSI / 4095 * CODE = Current Out +4 mA or CODE = Current Out - 4 / 16 * 4095
Full scale current (FSI) is not 20 mA, it is 20 - 4 o r 16 mA. Use this in the equation above.
For Example:
If CODE = 0, current output = 4 mA If CODE = 4095, current output = 20 mA
8
Page 13
After calculating the code required for the D/A data, combine it with the code required for the channel number.
For example, to set the output on channel 3 to 11.890625mA:
CODE = 11.890625mA - 4 / 16 * 4095 = 2020
The digital code for 2020 is 0111 1110 0100.
To this, you would add the value for channel 3 (0011) as the upper nibble for the second register.
The end result is 0011 0111 1110 0100.
This is written to the registers as:
BASE + 0: 228 (or E4 hex) BASE + 1: 55 (or 37 hex)
9
Page 14
5 SPECIFICATIONS
POWER CONSUMPTION
CIO-DAC16-I
+5V supply 320 mA typical, 500 mA max +12V supply 150 mA typical, 190 mA max
12V supply 100 mA typical, 130 mA max
CIO-DAC08-I
+5V supply 320 mA typical, 500 mA max +12V supply 75 mA typical, 100 mA max
12V supply 50 mA typical, 65 mA max
ANALOG OUTPUT
D/A type AD7237 Resolution 12 bits Number of channels
CIO-DAC16-I 16 Current Outputs
CIO-DAC08-I 8 Current Outputs Output Range 4 to 20mA Voltage compliance 6 to 36V
D/A pacing Software paced Data transfer Software
Offset error Adjustable to zero Gain error Adjustable to zero Differential nonlinearity ±1 LSB max Integral nonlinearity ±1 LSB max Monotonicity Guaranteed monotonic to 15 bits over
temperature Gain drift (DAC) ±15 ppm/°C max Bipolar offset drift (DAC) ±5 ppm/°C max Unipolar offset drift (DAC) ±3 ppm/°C max Throughput System dependant Settling time (Full scale step to .01%) 12 µs typ, 19 µs max Miscellaneous Double buffered output latches
DAC output state on power up and reset
undefined
ENVIRONMENTAL
Operating temerature range 0 to 70°C Storage temerature range 40 to 100°C Humidity 0 to 90% non-condensing
10
Page 15
EC Declaration of Conformity
We, Measurement Computing Corp., declare under sole responsibility that the product:
ISA-Type Current output cardCIO-DAC16-I ISA-Type Current output cardCIO-DAC08-I
DescriptionPart Number
to which this declaration relates, meets the essential requirements, is in conformity with, and CE marking has been applied according to the relevant EC Directives listed below using the relevant section o f the following EC standards and other no rmative 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 16
Measurement Computing Corporation
16 Commerce Boulevard,
Middleboro, MA 02346
(508) 946-5100
Fax: (508) 946-9500
E-mail: info@measurementcomputing.com
www. measurementcomputing.com
Loading...