MC PCIe-DIO24 User Manual

PCIe-DIO24
Digital Input/Output
User's Guide
Document Revision 1, October, 2008
HM PCIe-DIO24.docx
Your new Measurement Computing product comes with a fantastic extra
Management committed to your satisfaction!
Refer to www.mccdaq.com/execteam.html for the names, titles, and contact information of each key executive at Measurement Computing.
Thank you for choosing a Measurement Computing productand 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 PC-based 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 Warranty® 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.
3
Trademark and Copyright Information
TracerDAQ, Universal Library, Harsh Environment Warranty, Measurement Computing Corporation, and the Measurement Computing logo are either trademarks or registered trademarks of Measurement Computing Corporation.
Windows, Microsoft, and Visual Studio are either trademarks or registered trademarks of Microsoft Corporation LabVIEW is a trademark of National Instruments. CompactFlash is a registered trademark of SanDisk Corporation. XBee and XBee-PRO are trademarks of MaxStream, Inc. All other trademarks are the property of their respective owners. Information furnished by Measurement Computing Corporation 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 prior written consent from 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 Corporation 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.
4
Table of Contents
Preface
About this User's Guide ....................................................................................................................... 6
What you will learn from this user's guide ......................................................................................................... 6
Conventions in this user's guide ......................................................................................................................... 6
Where to find more information ......................................................................................................................... 6
Register-level programming ............................................................................................................................... 7
Chapter 1
Introducing the PCIe-DIO24 ................................................................................................................. 8
Overview: PCIe-DIO24 features ........................................................................................................................ 8
Software features ................................................................................................................................................ 8
PCIe-DIO24 block diagram ................................................................................................................................ 9
Chapter 2
Installing the PCIe-DIO24 ................................................................................................................... 10
What comes with your PCIe-DIO24 shipment? ............................................................................................... 10
Hardware .........................................................................................................................................................................10
Additional documentation ................................................................................................................................................10
Optional components .......................................................................................................................................................10
Unpacking the PCIe-DIO24 ............................................................................................................................. 11
Installing the software ...................................................................................................................................... 11
Installing the hardware ..................................................................................................................................... 11
Connecting the board for I/O operations .......................................................................................................... 12
Main I/O connector ..........................................................................................................................................................12
Connector pin out .............................................................................................................................................................12
Cabling .............................................................................................................................................................................13
Field wiring and signal termination .................................................................................................................................13
Chapter 3
Functional Details ............................................................................................................................... 14
82C55 emulation .............................................................................................................................................. 14
Replacing a fuse ............................................................................................................................................... 14
Fuse specifications ...........................................................................................................................................................14
Logic level switch ............................................................................................................................................. 14
Chapter 4
Specifications ...................................................................................................................................... 15
Digital input / output ......................................................................................................................................... 15
Power Consumption ......................................................................................................................................... 15
Environmental .................................................................................................................................................. 15
Mechanical ....................................................................................................................................................... 16
General ............................................................................................................................................................. 16
Main connector and pin out .............................................................................................................................. 16
5
Preface
About this User's Guide
What you will learn from this user's guide
This user's guide explains how to install, configure, and use the PCIe-DIO24 so that you get the most out of its digital I/O features.
This user's guide also refers you to related documents available on our web site, and to technical support resources.
Conventions in this user's guide
For more information on …
Text presented in a box signifies additional information and helpful hints related to the subject matter you are reading.
Caution! Shaded caution statements present information to help you avoid injuring yourself and others,
damaging your hardware, or losing your data.
< : > Angle brackets that enclose numbers separated by a colon signify a range of numbers, such as those assigned
to registers, bit settings, etc.
bold text Bold text is used for the names of objects on the screen, such as buttons, text boxes, and check boxes. For
example:
1. Insert the disk or CD and click the OK button.
italic text Italic text is used for the names of manuals and help topic titles, and to emphasize a word or phrase. For
example: The InstaCal installation procedure is explained in the Quick Start Guide. Never touch the exposed pins or circuit connections on the board.
Where to find more information
The following electronic documents provide helpful information relevant to the operation of the PCIe-DIO24. MCC's Specifications: PCIe-DIO24 (the PDF version of the Specifications chapter in this guide) is
available on our web site at www.mccdaq.com/pdfs/PCIe-DIO24.pdf.
MCC's Quick Start Guide is available on our web site at
MCC's Guide to Signal Connections is available on our web site at
www.mccdaq.com/signals/signals.pdf.
MCC's Universal Library User's Guide is available on our web site at
MCC's Universal Library Function Reference is available on our web site at
MCC's Universal Library for LabVIEWUser’s Guide is available on our web site at
PCIe-DIO24 User's Guide (this document) is also available on our web site at
6
PCIe-DIO24 User's Guide About this User's Guide
Register-level programming
If you need to program at the register level in your application, you can find more information in the Register Map for the PCIe-DIO24. This document is available at www.mccdaq.com/registermaps/RegMapPCIe-
DIO24.pdf.
Only experienced programmers should try register-level programming.
7
Chapter 1
Introducing the PCIe-DIO24
Overview: PCIe-DIO24 features
This manual explains how to install and use the PCIe-DIO24 board. The PCIe-DIO24 is a digital I/O board designed for the PCI Express (PCIe) bus.
The PCIe-DIO24 provides 24 lines of digital I/O with selectable 3.3 V and 5 V logic levels. The 24 DIO lines are organized into three groups of 8-bits each (Port A, Port B, and Port C). Port C can be further divided into two four-bit ports (Port C-HI and Port C-LO). The direction of each port is independently configurable with software for either input or output. Digital outputs are HC logic and can source and sink 2.5 mA.
The PCIe-DIO24 has a 10 k resistor network associated with each digital port. You can configure each port for pull-up or pull-down with software. On power up and reset the configuration of each port is read from EEPROM. The board is shipped with each port configured in the pull-up state.
The PCIe-DIO24 emulates the 82C55 Programmable Peripheral Interface (PPI) chip. Measurement Computing's Universal Library and Windows driver supports mode 0 only.
Digital I/O lines are accessible through a 37-pin D-type connector. The board has two individual slow blow fuses rated at 0.375 amp to protect the +V
Software programs written with the Universal Library for the USB-DIO24/37, PCI-DIO24 and CIO-DIO24 devices are fully compatible with the PCIe-DIO24.
and +12V outputs on the connector. One spare fuse is provided.
DIO
Power is provided by the PCI Express slot. The PCIe-DIO24 board is completely plug-and-play. All board addresses are set by the board's plug-and-play software. Board configuration is controlled by your system's BIOS.
Software features
For information on the features of InstaCal and the other software included with your PCIe-DIO24, refer to the Quick Start Guide that shipped with your device. The Quick Start Guide is also available in PDF at
Check www.mccdaq.com/download.htm for the latest software version.
8
PCIe-DIO24 User's Guide Introducing the PCIe-DIO24
Boot
EEPROM
37-pin I/O Connector
Fuse
Protection
8
8
4
4
8
PORT A
PCI-to-Local
Bus
BADR2
+
BADR3
Bus
Timing
LAD(0:7)
8
PCI Express Edge Connector
x1 Link
PCIe-to-PCI
Bridge
PCI Bus
3.3V3.3V
1.5V
Regulator
3.3V, 32-bit, 66 M Hz
+V
Regulated
DIO
Local
Address
&
Data Bus
3.3V Board Power
Interface
Decode/Status
82C55 Emulation
Logic, Control,
Complex,
Programmable
Logic Device
(CPLD)
User
3.3/5V I/O Switch
5V
(VDD)
3.3 V
PORT A
Buffering
3.3/5V
Direction CTR
PORT B
Buffering
PORT CL Buffering
PORT CH Buffering
PORT B
3.3/5V
Direction CTR
8
PORT CL
3.3/5V
Direction CTR
4
PORT CH
3.3/5V
Direction CTR
4
24
4
Direction
Control
GND
4
EEPROM
switch
+5V (VDD)
10 k
Pull Resistor Network
Buffer
4
Spare Fuse V and 12V
DIO
+V
(pin 18)
DIO
+V
DIO
(pin 20)
+12V
(pin 16)
IRQ Input IRQ Enable
+5 (VDD)
5V
Regulator
Fuse
Protection
+12V
V
DIO
PCIe-DIO24 block diagram
PCIe-DIO24 functions are illustrated in the block diagram shown here.
Figure 1. PCIe-DIO24 functional block diagram
9
C37FF-x
C37FFS-x
Installing the PCIe-DIO24
What comes with your PCIe-DIO24 shipment?
The following items are shipped with the PCIe-DIO24.
Hardware
PCIe-DIO24
Chapter 2
Additional documentation
In addition to this hardware user's guide, you should also receive the Quick Start Guide (available in PDF at
the software you received with your PCIe-DIO24 and information regarding installation of that software. Please read this booklet completely before installing any software or hardware.
Optional components
Cables
10
PCIe-DIO24 User's Guide Installing the PCIe-DIO24
Signal termination and conditioning accessories
Measurement Computing provides signal termination products for use with the PCIe-DIO24. Refer to the section "Field wiring and signal termination" on page 13 for compatible accessory products.
Unpacking the PCIe-DIO24
As with any electronic device, you should take care while handling to avoid damage from static electricity. Before removing the PCIe-DIO24 from its packaging, ground yourself using a wrist strap or by simply touching the computer chassis or other grounded object to eliminate any stored static charge.
If your PCIe-DIO24 is damaged, notify Measurement Computing Corporation immediately by phone, fax, or e­mail.
Phone: 508-946-5100 and follow the instructions for reaching Tech Support. Fax: 508-946-9500 to the attention of Tech Support Email: techsupport@mccdaq.com
For international customers, contact your local distributor where you purchased the PCIe-DIO24.
Installing the software
Install the software included with your board before you install the hardware. Installing the software first ensures that the information required for proper board detection is installed and available at boot up.
Quick-Start.pdf.
Installing the hardware
The PCIe-DIO24 is completely plug-and-play. Configuration is controlled by your system's BIOS. To install your board, follow the steps below.
Install the MCC DAQ software before you install your board
The driver needed to run your board is installed with the MCC DAQ software. Therefore, you need to install the MCC DAQ software before you install your board. Refer to the Quick Start Guide for instructions on installing the software.
1. Power off and unplug the computer, and remove the cover to expose the expansion slots.
2. Touch any metal part of the computer to discharge static electricity that may be present. Static electricity
can damage the board.
3. Insert the PCIe-DIO24 into an unused x1 PCIe expansion slot.
The PCIe-DIO24 is designed to install into an x1 slot. However, you can also install the board into an unused x4, x8, or x16 PCIe slot.
Caution! Ensure that you install the board into a PCIe slot. Installing the PCIe-DIO24 into a non-PCIe slot
can damage both the board and the computer’s motherboard.
4. Close your computer and turn it on.
A dialog box opens as the system loads, indicating that new hardware has been detected. The information file for this board should have already been loaded onto your PC when you installed the Measurement Computing Data Acquisition Software CD supplied with your board, and should be detected automatically by Windows. If you have not installed this software, cancel the dialog and install it now.
5. Run InstaCal to test your installation and to configure the pull direction of the digital port resistors.
Refer to the Quick Start Guide that came with your board for information on how to initially set up InstaCal.
11
PCIe-DIO24 User's Guide Installing the PCIe-DIO24
Connector type
37-pin D-type
Compatible cables
C37FF-x unshielded ribbon cable. x = length in feet. (see Figure 3) C37FFS-x cable shielded round cable. x = length in feet. (see Figure 4)
Compatible accessory products (with the C37FF-x or C37FFS-x cable)
SCB-37 CIO-MINI37 CIO-MINI37-VERT CIO-ERB08
CIO-SERB08 CIO-ERB24 SSR-RACK08 SSR-RACK24
+V * 20
GND 21 PORT C7 22 PORT C6 23 PORT C5 24 PORT C4 25 PORT C3 26 PORT C2 27 PORT C1 28 PORT C0 29
PORT A7 30 PORT A6 31 PORT A5 32 PORT A4 33 PORT A3 34 PORT A2 35 PORT A1 36 PORT A0 37
DIO 1 IRQ INPUT
2 IRQ ENABLE 3 PORT B7 4 PORT B6 5 PORT B5 6 PORT B4 7 PORT B3 8 PORT B2 9 PORT B1 10 PORT B0 11 GND 12 Open 13 GND 14 Open 15 GND 16 +12V* 17 GND 18 +V * 19 GND
DIO
Logic level switch
+5V
3V
Connecting the board for I/O operations
Main I/O connector
The table below lists the board connectors, applicable cables and compatible accessory boards.
Board connectors, cables, accessory equipment
Connector pin out
The I/O connector is a 37-pin, male D-type connector accessible from the rear of the computer through the expansion backplate. The signals available are direct connections to the digital I/O chips as well as the computer's internal power supplies. The logic level switch sets the logic level for either 3.3V or 5V (refer to page 14 for switch information).
* The board has two individual slow blow fuses rated at 1 A. One fuse protects the 12V output at pin 16, and one fuse protects both +V
outputs at pin 18 and pin 20.
DIO
Figure 2. I/O connector
12
PCIe-DIO24 User's Guide Installing the PCIe-DIO24
20
1
37
19
20
1
37
19
The red stripe
identifies pin # 1
20
1
37
19
20
1
37
19
Cabling
Figure 3. C37FF-x cable
Figure 4. C37FFS-x cable
Field wiring and signal termination
You can use the following MCC screw terminal boards and relay racks with the PCIe-DIO24 board using the C37FF-x or C37FFS-x cable:
SCB-37 – 37-conductor, shielded signal connection/screw terminal box that provides two independent 37-
pin connections. Details on this product are available at
www.mccdaq.com/cbicatalog/cbiproduct.asp?dept_id=196&pf_id=1166.
CIO-MINI37 – 4 x 4, 37-pin screw terminal board. Details on this product are available at
www.mccdaq.com/cbicatalog/cbiproduct.asp?dept_id=102&pf_id=255.
CIO-MINI37-VERT – 37-pin screw terminal accessory with vertical 37-pin male D connector. Details on
this product are available on our web site at
www.mccdaq.com/cbicatalog/cbiproduct.asp?dept_id=102&pf_id=256.
SSR-RACK24 – 24-position solid state relay rack. Details on this product are available on our web site at
www.mccdaq.com/cbicatalog/cbiproduct.asp?dept_id=122&pf_id=1193.
SSR-RACK08 – Eight-channel solid state relay rack. Details on this product are available on our web site
at www.mccdaq.com/cbicatalog/cbiproduct.asp?dept_id=122&pf_id=620
CIO-ERB08 – Eight-channel electromechanical relay accessory for digital I/O boards. Details on this
product are available on our web site at
www.mccdaq.com/cbicatalog/cbiproduct.asp?dept_id=123&pf_id=241.
CIO-SERB08 – Eight Form C and ten socketed relay accessory for digital I/O boards. Details on this
product are available on our web site at
www.mccdaq.com/cbicatalog/cbiproduct.asp?dept_id=123&pf_id=680.
CIO-ERB24 – 24-channel electromechanical relay accessory for digital I/O boards. Details on this product
are available on our web site at www.mccdaq.com/cbicatalog/cbiproduct.asp?dept_id=123&pf_id=241.
For additional information about digital interfacing…
Detailed information regarding digital interfacing is contained in MCC's Guide to Signal Connections. This document is available on our web site at www.measurementcomputing.com/signals/signals.pdf.
13
3.3V
5V
S1
Chapter 3
Functional Details
82C55 emulation
The PCIe-DIO24 emulates the 82C55 Programmable Peripheral Interface (PPI) chip. Measurement Computing's Universal Library and Windows driver supports mode 0 only.
Whenever the board is powered on or reset, all pins are set to high-impedance input. Based on standard TTL functionality, these inputs typically float high, and may have enough drive current to turn on external devices. Consequently, if you have output devices such as solid state relays, they may be switched on whenever the computer is powered on or reset. To prevent unwanted switching, and to drive all outputs to a known state after power on or reset, configure each port resistor with InstaCal.
Unconnected inputs float to the pull direction
Unconnected inputs will float in the pull direction that is configured for the port with InstaCal (either up/high or down/low).
Replacing a fuse
The PCIe-DIO24 has two individual 0.375 amp slow blow fuses. One fuse is connected to the 12V output at pin 16, and is labeled F7 on the board. The second fuse is connected to both +V is labeled F6 on the board. A spare fuse is installed on the board at location F4. All fuses are secured to the board with clips for convenient replacement.
outputs at pin 18 and pin 20, and
DIO
A fuse will blow during operation if amperage exceeds 0.375 amp. If you need to replace a fuse, perform the following procedure.
1. Hold the center of the blown fuse and pry it from the fuse holder clip.
2. Insert the replacement fuse into the fuse holder clip.
Fuse specifications
Refer to the information below to purchase additional fuses, if required:
Manufacturer: LittelFuse® Type: 452 Series NANO Part number: 0452.375 0.375 amp, 125 volts, 1.2
Slo-Blo® Subminiature Surface Mount Fuse
Logic level switch
Use switch S1 to set the logic level for either 3.3V or 5V (default). The switch is located above the I/O connector (see Figure 2 on page 12).
Figure 5. Logic level select switch
14
Digital type
82C55 Emulation
Configuration
2 banks of 8, 2 banks of 4, programmable by bank as input or output
Output
Ports A and B: 74HC245A Port C: 74HC126
Input
Ports A and B: 74HC245A Port C: 74HC125
Number of channels
24 I/O
Switch State
Board Silk Screen Reference: S1 - Default +5V
3.3 V Output high
2.8 volts min @ -2.5 mA
Output low
0.3 volts max @ 2.5 mA
Input high
2.6 volts min, 3.6 volts absolute max
Input low
1.3 volts max, -0.5 volts absolute min
5 V Output high
4.5 volts min @ -2.5 mA
Output low
0.3 volts max @ 2.5 mA
Input high
2.6 volts min, 5.5 volts absolute max
Input low
1.3 volts max, -0.5 volts absolute min
Power-up / reset state
Input mode (10 k impedance from pull-up or pull-down)
Pull-up/pull-down resistors
EEPROM stored - Software Programmable driven by 74ACT244 through 10 k bussed resistor networks (shipped in the pull-up state)
Interrupt enable
External (IRQ ENABLE, active low, disabled by default through internal resistor to TTL high) and programmable through PCI9030; 0 = disabled, 1 = enabled (default)
Interrupt sources
External source (IRQ INPUT), polarity programmable through PCI9030; 1 = active high, 0 = active low (default)
+3.3 V operating
515 mA typical
+3.3 V with 5 V I/O
520 mA typical
+V
DIO
User Output
125 mA max. @ +5V; 375 mA max. @ +3.3 V
Fuses: +V
DIO
User Output
+12 V
0452.375 - Littelfuse 0.375A NANO2® Slo-Blo® Subminiature Surface Mount Fuse
Operating temperature range
0 to 50 °C
Storage temperature range
-20 to 70 °C
Humidity
0 to 90% non-condensing
Specifications
All specifications are subject to change without notice. Typical for 25 °C unless otherwise specified.
Digital input / output
Table 1. Digital I/O specifications
Chapter 4
Power Consumption
Table 2. Power consumption specifications
Environmental
Table 3. Environmental specifications
15
PCIe-DIO24 User's Guide Specifications
Card dimensions
167.4 mm (L) x 111.2 mm (H) x 18.72 mm (W)
6.59" (L) x 4.38" (H) x 0.74" (W)
Bus Type
PCI Express 1.1
Bus Width
x1 lane PCI Express
Connector type
37-pin D-type
Compatible cables
C37FF-x unshielded ribbon cable. x = length in feet. C37FFS-x cable shielded round cable. x = length in feet.
Compatible accessory products (with the C37FF-x or C37FFS-x cable)
SCB-37 CIO-MINI37 CIO-MINI37-VERT
Compatible accessory products with S1 in the +5 V position (with the C37FF-x or C37FFS-x cable)
CIO-ERB08 CIO-SERB08 CIO-ERB24
SSR-RACK08 SSR-RACK24
Pin
Signal Name
Pin
Signal Name
1
IRQ INPUT
20
+V
DIO
*
2
IRQ ENABLE
21
GND 3 Port B7
22
Port C7
4
Port B6
23
Port C6
5
Port B5
24
Port C5
6
Port B4
25
Port C4
7
Port B3
26
Port C3
8
Port B2
27
Port C2
9
Port B1
28
Port C1
10
Port B0
29
Port C0
11
GND
30
Port A7
12
OPEN
31
Port A6
13
GND
32
Port A5
14
OPEN
33
Port A4
15
GND
34
Port A3
16
+12V*
35
Port A2
17
GND
36
Port A1
18
+V
DIO
*
37
Port A0
19
GND
Mechanical
Table 4. Environmental specifications
General
Table 5. General specifications
Main connector and pin out
Table 6. Main connector specifications
Table 7. Main connector pin out
* Protected by slow blow fuses rated at 0.375 A. One fuse protects pin 16 (+12V), and the second fuse protects pin 18 (+V
) and pin 20 (+V
DIO
DIO
).
16
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...