Measurement CIO-DO24DD User Manual

CIO-DO24DD
&
CIO-DO48DD
User’s Manual
Revision 5
November, 2000
Your new Measurement Computing product comes with a fantastic extra
Thank you for choosing a Measurement Computing product—and congratulations! You own the finest, and you can now enjoy the protection of the most comprehensive warranties and unmatched phone tech support. It’s the embodiment of our mission:
To provide data acquisition hardware and software that will save time and save money.
Simple installations minimize the time between setting up your system and actually making measurements. We offer quick and simple access to outstanding live FREE technical support to help integrate MCC products into a DAQ system.
Limited Lifetime Warranty: Most MCC products are covered by a limited lifetime warranty against defects in materials or workmanship for the life of the product, to the original purchaser, unless otherwise noted. Any products found to be defective in material or workmanship will be repaired, replaced with same or similar device, or refunded at MCC’s discretion. For specific information, please refer to the terms and conditions of sale.
Harsh Environment Program: Any Measurement Computing product that is damaged due to misuse, or any reason, may be eligible for replacement with the same or similar device for 50% of the current list price. I/O boards face some harsh environments, some harsher than the boards are designed to withstand. Contact MCC to determine your product’s eligibility for this program.
30 Day Money-Back Guarantee: Any Measurement Computing Corporation product may be returned within 30 days of purchase for a full refund of the price paid for the product being returned. If you are not satisfied, or chose the wrong product by mistake, you do not have to keep it.
These warranties are in lieu of all other warranties, expressed or implied, including any implied warranty of merchantability or fitness for a particular application. The remedies provided herein are the buyer’s sole and exclusive remedies. Neither Measurement Computing Corporation, nor its employees shall be liable for any direct or indirect, special, incidental or consequential damage arising from the use of its products, even if Measurement Computing Corporation has been notified in advance of the possibility of such damages.
Trademark and Copyright Information
Measurement Computing Corporation, InstaCal, Universal Library, and the Measurement Computing logo are either trademarks or registered trademarks of Measurement Computing Corporation. Refer to the Copyrights & Trademarks section on
mccdaq.com/legal
mentioned herein are trademarks or trade names of their respective companies.
© 2000 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 prior written consent from Measurement Computing Corporation. Life support devices/systems are devices or systems that, 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 Corporation products are not designed with the components requ ired, and are not subject to the testing required to ensure a level of reliability suitable for the treatment and diagnosis of people.
for more information about Measurement Computing trademarks. Other product and company names
(C) Copyright 2000 Measurement Computing Corporation
HM CIO-DO##DD.lwp
TABLE OF CONTENTS
1.0 INTRODUCTION
......................................
.....................................
...............................
2.0 SOFTWARE INSTALLATION
3.0 HARDWARE INSTALLATION
....................................
4.0 INTERFACING
.......................................
...............................
...............................
................................
5.0 CONTROL & DATA REGISTERS
...................................
6.0 SPECIFICATIONS
..................................
..........................
.............................
............................
.......................
.............................
........................
.......................
..........................
.........................
.....
....
1
11.1 DIRECT DRIVE
11.2 DARLINGTON TRANSISTORS
11.3 CLAMPING VOLTAGE 2 2
23.1 BASE ADDRESS
43.2 INSTALLING IN THE COMPUTER 5
54.1 CONNECTOR DIAGRAMS
64.2 CABLING TO THE CONNECTOR
64.3 CONNECTOR PIN ASSIGNMENTS
64.4 THE OUTPUT CIRCUIT
74.5 SIGNAL CONNECTION
84.6 CLAMPING VOLTAGE INPUT
94.7 TEST CONNECTIONS
10
105.1 INTRODUCTION
115.2 REGISTER FORMATS - BOTH 24- AND 48-BIT VERSIONS
115.3 REGISTER FORMAT-CIO-DO48DD, CONNECTOR P2 ONLY 12
This page is blank.
1.0 INTRODUCTION
CIO-DO24DD and CIO-DD48DD are desig ned for switching circuits of higher voltage and current than standard TTL type components are capable of. They provide 24 and 48 outputs respectively.
The ‘DD’ designation indicates that these boards are capable of ‘Direct Drive.’ The current specification that earns the direct drive designation is a switching capacity of up to 500 mA.
Throughout this manual the part number CIO-DO24DD is used for both products since most of information applies to both. Where necessary, the appropriate part number is noted.
Both the CIO-DO24DD and the CIO-DD48DD are s upported by the Universal Library programming library for DOS and Windows available from Measurement Computing.
1.1 DIRECT DRIVE
The CIO-DO24DD is similar to a set of non-isolated solid state relays. The digital lines of the DD are capable of completing a circuit to ground thereby allowing current to flow in the circuit. Because there is a small amount of OFF current flowing in the circuit, like a solid state relay, the circuits on a DD board are not ideal for switching low level signals. If you have a circuit that is suitable for solid state relays and does not need isolation, the DD board can be substituted.
1.2 DARLINGTON TRANSISTORS
Each output is an NPN Darlington pair. All outputs are open collector and incorporate clamping diodes for transient suppression. The ability to withstand transients, connect directly to voltages up to 50V and sink as much as 500 mA make these outputs ideally suited for controlling lamps, relays, printer hammers and similar loads.
1.3 CLAMPING VOLTAGE
The clamping voltage is th at voltage which, when exceeded, is clam ped to prev ent damage to th e circuit. The clamping voltage of each 8-bit port can be set independently and must be supplied externally. In addition, the open collector points of each 8-bit port can be pulled to a common voltage by connecting an eight-resistor SIP.
1
2.0 SOFTWARE INSTALLATION
On the disk labeled InstaCal there is an installation program. Please run this program and accept the defaults. Refer to th e Extended Software Installation Manual for complete instructions. If you have purchased the Universal L ibrary for programming language support, use that disk to install both InstaCal and the Universal Library.
InstaCal will guide you through switch and jumper settings you may need to make before installing y our board. Detailed information on hardware settings is also provided below.
3.0 HARDWARE INSTALLATION
3.1 BASE ADDRESS
The boards are setup at the factory with the base address set to 300h (768 decimal). If there are no other devices installed in your computer that are using addresses 300h through 304h (or 308h if using the CIO-DO48DD), do not change the base address.
The CIO-DO24DD employs the PC bus for power, communications and data transfer. As such it draw s power from the PC, monitors the address lines and control signals and responds to it’s I/O address, and places data on the eight data lines.
The BASE address is the only user selectable bu s related feature of the CIO-DO24DD. The base address identifies the registers that software writes to when communicating with the CIO-DO24DD.
A block of eight (or seven) DIP switches are used for setting the base address. Each switch position corresponds to one of the PC bus address lines. Placing a switch down asserts that address bit.
A complete address is constructed by calculating the HEX or decimal number which corresponds to all the address bits the board has been instructed to respond to. For example, in Figure 3-1, (for CIO-DO24DD) address switches 9 and 8 for are DOWN, all others UP. See Figure 3-2 for the address select switches for the CIO-DO48DD. Address 9 = 200h (512D) and address 8 = 100h (256 decimal), when added together they equal 300h (768 decimal).
2
Figure 3-1. CIO-DO24DD Address Select Switches
e
NOTE
DISREGARD THE NUMBERS PRINTED ON T HE SWITCH. REFER TO THE NUMBERS PRINTED IN W HITE ON T HE BOARD!
9876
BASE ADDRESS SWITCH
54
3
SW A9 A8 A7 A6 A5 A4 A3
- Address 300H shown her
HEX 200 100 80 40 20 10 08
Figure 3-2. CIO-DO48DD Address Select Switches
Certain addresses are u sed by the PC, others are free and can be u sed by the CIO-DO24DD and other expansion boards. R efer to Table 3-1 for PC register addressing. We recommend BASE = 300h (768 decimal) be tried first.
3
Table 3-1. PC I/O Addresses
FUNCTIONHEX
RANGE
070-071
The CIO-DO24DD BASE switch can be set for address in the range of 000-3FC so it should not be hard to find a free address area for CIO-DO24DD. Once again, if you are not using IBM prototyping cards or s ome other board which occupies these addresses, then 300-31F HEX are free to use.
CMOS RAM & NMI MASK (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-30F PROTOTTYPE 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-3AF80287 NUMERIC CO-P (AT)0F0-0FF MDA3B0-3BBHARD DISK (AT)1F0-1FF PARALLEL PRINTER3BC-3BFGAME 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
Addresses not specifically listed, such as 390-39F, are not reserved and may be available. Check your computer for other boards which may use I/O addresses.
3.2 INSTALLING IN THE COMPUTER
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 expansion slot in your computer.
4. Push the board firmly down into the exp ansion bus connector. If it is not seated fully it m ay fail to work and could short circuit the PC bus power onto a PC bus signal. This could damage the m otherboard in your PC as well as the CIO-DO24DD.
4
4.0 INTERFACING
4.1 CONNECTOR DIAGRAMS
The output connector(s) is a 50-pin header type connector accessible from the rear of the PC through the expansion back plate (Figure 4-1). The output signals are direct connections to the Darlington output transistor.
P1
1A0 1A1 1A2 1A3 1A4 1A5 1A6 1A7 1B0 1B1 1B2 1B3 1B4 1B5 1B6 1B7 1C0 1C1 1C2 1C3 1C4 1C5 1C6 1C7
CIO-DO24DD PIN OUT or CIO-DO48DD, P1 CONNECTOR
P2
4
5
6
2A0 2A1 2A2 2A3 2A4 2A5 2A6 2A7 2B0 2B1 2B2 2B3 2B4 2B5 2B6 2B7 2C0 2C1 2C2 2C3 2C4 2C5 2C6 2C7
CIO-DO48DD, P2 CONNECTOR
Figure 4-1. Connector Pin Outs
The connectors accepts female 50-pin header type connectors, such as th ose on the C50FF-2, a 2-foot cable with female connectors.
If frequent changes to signal co nnections or signal co nditioning is required, please refer to the information on the CIO-TERM100, CIO-SPADE50 and CIO-MINI50 screw terminal boards.
5
4.2 CABLING TO THE CONNECTOR
The CIO-DO24DD connector is accessible through the PC/AT expansion bracket. The connector is a standard 50-pin header connector. A cable with mating connectors (C50FF-##) can be purchased from Measurement Computing Corp. The second output connector for the CIO-DO48DD is on the end of the card opposite the expansion bracket.
4.3 CONNECTOR PIN ASSIGNMENTS
The connector is arranged so that there is generally a ground return for each control line, and each 8 lines of a port are together on the cable.
The signal P ull Up# is the inp ut to the pull-up resistor SIP associated with a p ort. Applying a voltage to that pin will pull up all lines of a port to that voltage through the user-installed SIP resistor when the circuit is open.
The signal Port n Clamp is the clam ping voltage input for that port. For example, if the circuit you are switching at port A is a 24 volt circuit but is subject to 100V spikes, connect 24V to the Port A Clamp input and any signal over 24V will be clamped to 24V.
4.4 THE OUTPUT CIRCUIT
The heart of the CIO-DO24DD is a Darlington pair of transistors. It is composed of a ULN2803 and a few passive components. It works much the same as a solid state relay. A simplified schematic of the circuit is shown in figure 4-2.
The load device is wired to the Output Pin so that your device is energized ON when a path to ground is completed. If desired, a clamping voltage can be supplied to the Port N Clamp input.
The circuit is switched by the PC setting a register bit. When a 1 is written to a bit in the register for a particular port, the Darlington transistors associated with that bit are turned on and your circuit is completed via a path from the output pin to PC Ground.
6
Figure 4-2. Darlington Output Circuit
All outputs share a com mon ground on the board so all your circuits must use the common ground. Also, as with any transistor circuit, there is a small amount of OFF current.
4.5 PULL-UP RESISTORS
There are locations for pull-up resistors on the board. They are marked RN1 through RN3 (through RN6 on the CIO-DO48DD).
These locations are designed to accept 9 pin SIP resistors configured as eig ht individual resistors with one end in common. Each resistor in the SIP package makes a connection between one of the Darlington collectors and the pin labeled “Pull Up #” for the port associated with that particular Darlington transistor.
For example, installing a 9 pin SIP resistor into the location marked “RN1” places a resistor between all of the Darlington collectors for Port A1 and the pin labeled “Pull Up 1”. A voltage applied to this pin becomes the supply voltage for all eight of the Darlington transistors in Port A1.
4.6 SIGNAL CONNECTION
The output circuits are capable of completing a circuit of up to 50 volts and having a current of up to 500 mA.
1. The voltage specification applies only when the transistor is off. The transistor can block up to 50V.
7
2. The current specification applies on ly when the transistor is on. The transistor can pass up to 500 mA.
Figure 4-3 is an example of a simple circuit. It shows a lamp with a 9 volt battery. The positive battery terminal is connected to a contact of the lamp. The other lamp connection is tied to the Darlington output. The negative side of the battery is connected to GND (pin 44). When you write a 1 to the A0 bit, the Darlington turns on completing the circuit and the lamp lights.
Figure 4-3. Darlington Explained
Notice in Figure 4-3 above, that an equivalent, simplified circuit based on a resistor is shown to the right o f the Darlington circuit. The Darlington transistors act like a switch which alternates between two resistors, one of great resistance and one of minimal resistance. Notice that when the Darlington is OFF, th ere is some leakage current flowing. Notice also that when the transistors are ON, there is a small voltage drop across the Darlington. Both these aspects of the switch should be considered in the design of your overall circuit.
The current can only flow from the pins labeled A#, B#, and C# to ground, and the PC must share a common ground with your circuit.
For specifications of the leakage current and ON voltage of the Darlington, please see the specifications in the back of this manual.
8
4.7 CLAMPING VOLTAGE INPUT
The output transistors can be set to clamp voltage spikes and prevent them from damaging your circuit. For example, if you are switching a 9V circuit, connect the 9V to the clamp input as well. This will hold transient voltages to less than 11V (9V + 2V max forward voltage across the clamping diode at 350mA).
4.8 TEST CONNECTIONS
The CIO-DO24DD is a digital switching device. To test the installation and the board you will need a kno wn working circuit to switch, such as a lamp bulb and battery described previously.
After you have the circuit connected, the TEST option of the used to produce an alternating on/off signal at the switch.
Insta
Cal program can be
9
5.0 CONTROL & DATA REGISTERS
5.1 INTRODUCTION
CIO-DO24DD is a direct drive, 24-line digital switching board built up of logic chips. There are n o configuration registers as su ch. There are on ly four (or eight) buffer registers for holding the output values. The output circuits are capable of switching up to 500 mA at up to 50V.
Each board is composed of parallel ou tput chips. Each address contains one latch and one buffer controlling 8 output pins. The ports are arranged in sets of 3, with an intervening unused address. This scheme allows partial compatibility with applications written to control 82C55 based boards in which the 8 2C55 is used for output only. On those boards ev ery fourth address contains a configuration register.
partial
The the CIO-DO24DD or CIO-DO48DD.
To write control data to an o utput register, the individual bits must be set to 0 or 1 then combined to form a byte.
Table 5-1 has the register assignments for the CIO-DO24DD and CIO-DO48DD. Note that the last four registers (Base + 4 to +7) apply only to the CIO-DO48DD.
compatibility arises from the lack of a read back of the output buffers on
Table 5-1. Register Assignments
WRITE FUNCTIONREAD FUNCTIONADDRESS
Port 1A Outputs (24 & 48 bit models)ID CodeBASE + 0 Port 1B Outputs (24 & 48 bit models)NoneBASE + 1 Port 1C Outputs (24 & 48 bit models)NoneBASE + 2 NoneNoneBASE + 3 Port 2A Outputs ( 48 bit model only)NoneBASE + 4 Port 2B Outputs ( 48 bit model only)NoneBASE + 5 Port 2C Outputs ( 48 bit model only)NoneBASE + 6 NoneNoneBASE + 7
Notice that the register layout is very similar to that of a standard 82C55 based digital I/O board and the other high drive digital output boards. The alignment of ports A, B & C are id entical and the position normally occupied by the configuration register is left empty. This is so your existing digital board software will work without modification.
10
5.2 REGISTER FORMATS - BOTH 24- AND 48-BIT VERSIONS
PORT 1A DATA BASE ADDRESS + 0
01234567
1A01A11A21A31A41A51A61A7
PORT 1B DATA BASE ADDRESS + 1
01234567
1B01B11B21B31B41B51B61B7
PORT 1C DATA BASE ADDRESS + 2
01234567
1C01C11C21C31C41C51C61C7
5.3 REGISTER FORMAT-CIO-DO48DD, CONNECTOR P2 ONLY
PORT 2A DATA BASE ADDRESS + 4
01234567
2A02A12A22A32A42A52A62A7
PORT 2B DATA BASE ADDRESS + 5
PORT 2C DATA BASE ADDRESS + 6
01234567
2B02B12B22B32B42B52B62B7
01234567
2C02C12C22C32C42C52C62C7
11
6.0 SPECIFICATIONS
Power consumption
+5V
CIO-DO24DD 275mA typical, 345mA max CIO-DO48DD 425mA typical, 535mA max
Digital Output
Digital Type ULN2803 Darlington (open
collector)
Configuration
CIO-DO24DD 3 banks of 8 outputs each CIO-DO48DD 6 banks of 8 outputs each
Number of channels
CIO-DO24DD 24 CIO-DO48DD 48
Maximum output voltage, V
CE
Maximum continuous current, Ic 500mA Output leakage current
Vo = 50V, Ta = +70 °C 100 µA max Vo = 50V, Ta = +25 °C 50 µA max
Collector-Emitter saturation voltage
= 350mA, iB = 500µA 1.1V typ, 1.6Vmax
i
C
= 200mA, iB = 350µA 0.95V typ, 1.3Vmax
i
C
= 100mA, iB = 250µA 0.85V typ, 1.1Vmax
i
C
Clamp diode reverse leakage current
Vr = 50V, Ta = +25 °C 50 µA max
Clamp diode forward voltage
Diode current = 350mA 1.5V typ, 2.0V max
50V
Environmental
Operating temperature range 0 to 50°C
Storage temperature range 20 to 70°C
Humidity 0 to 90% non-condensing
12
For your notes.
13
For your notes.
14
EC Declaration of Conformity
We, Measurement Computing Corporation, declare under sole responsibility that the product:
CURRENT OUTPUT BOARD CIO-DO24DD &
CIO-DO48DD
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 of the following EC standards and other normative documents:
EU EMC Directive 89/336/EEC
compatibility.
EU 55022 Class B
characteristics of information technology equipment.
EN 50082-1
IEC 801-2
and control equipment.
IEC 801-3
measurements and control equipment.
IEC 801-4
equipment.
Carl Haapaoja, Director of Quality Assurance
: Electrostatic discharge requirements for industrial process measurement
: Radiated electromagnetic field requirements for industrial process
: Electrically fast transients for industrial process measurement and control
: Limits and methods of measurements of radio interference
: EC generic immunity requirements.
: Essential requirements relating to electromagnetic
Measurement Computing Corporation
10 Commerce Way
Suite 1008
Norton, Massachusetts 02766
(508) 946-5100
Fax: (508) 946-9500
E-mail: info@mccdaq.com
www.mccdaq.com
Loading...