Measurement Computing CIO-DIO24H User Manual

CIO-DIO24H
Digital Input/Output Board
User’s Guide
Document Revision 1, January, 2007
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 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 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.
Lifetime warranty: Every hardware product manufactured by Measurement Computing Corporation is warranted against defects in materials or workmanship for the life of the product. Products found defective are repaired or replaced promptly.
Lifetime Harsh Environment Warranty®: We will replace any product manufactured by Measurement Computing Corporation that is damaged (even due to misuse) for only 50% of the current list price. I/O boards face some tough operating conditions, some more severe than the boards are designed to withstand. When a board becomes damaged, just return the unit with an order for its replacement at only 50% of the current list price. We don’t need to profit from your misfortune. By the way, we honor this warranty for any manufacturer’s board that we have a replacement for.
30 Day Money Back Guarantee: You may return any Measurement Computing Corporation product 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. Please call for an RMA number first. No credits or returns accepted without a copy of the original invoice. Some software products are subject to a repackaging fee.
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.
HM CIO-DIO24H.doc
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
Chapter 1
Introducing the CIO-DIO24H ................................................................................................................7
Overview: CIO-DIO24H features ......................................................................................................................7
Software features................................................................................................................................................7
Chapter 2
Installing the CIO-DIO24H ....................................................................................................................8
What comes with your CIO-DIO24H shipment? ...............................................................................................8
Hardware .......................................................................................................................................................................... 8
Additional documentation................................................................................................................................................. 8
Optional components..........................................................................................................................................8
Unpacking the CIO-DIO24H .............................................................................................................................9
Installing the software ........................................................................................................................................9
Configuring the CIO-DIO24H ...........................................................................................................................9
Base address.....................................................................................................................................................................10
Interrupt level ..................................................................................................................................................................11
Wait state .........................................................................................................................................................................12
Installing the CIO-DIO24H..............................................................................................................................12
Connecting the board for I/O operations ..........................................................................................................13
Connectors, cables – main I/O connector ........................................................................................................................13
Cabling.............................................................................................................................................................................14
Field wiring, signal termination, and conditioning ..........................................................................................................14
Chapter 3
Functional Details ...............................................................................................................................15
82C55 emulation ..............................................................................................................................................15
Signal level control...........................................................................................................................................15
Digital I/O Isolation..........................................................................................................................................16
Chapter 4
Programming and Developing Applications ....................................................................................17
Programming languages ...................................................................................................................................17
Packaged applications programs ......................................................................................................................17
Register-level programming.............................................................................................................................17
Chapter 5
Specifications......................................................................................................................................18
Digital Input / Output .......................................................................................................................................18
Power consumption ..........................................................................................................................................18
Environmental ..................................................................................................................................................18
Main connector and pin out..............................................................................................................................19
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 CIO-DIO24H so that you get the most out of its analog output 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
The following conventions are used in this manual to convey special information:
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 information relevant to the operation of the CIO-DIO24H.
MCC's Specifications: CIO-DIO24H (the PDF version of the Specifications chapter in this guide) is
available on our web site at www.mccdaq.com/pdfs/CIO-DIO24H.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 LabVIEW
.
.
User’s Guide is available on our web site at
.
.
.
.
CIO-DIO24H User's Guide (this document) is also available on our web site at
.
6
Chapter 1
Introducing the CIO-DIO24H
Overview: CIO-DIO24H features
The CIO-DIO24H is a high-drive TTL board with 24 digital I/O connections, and one 82C55 parallel-interface chip. The I/O is configured as two 8-bit ports and two 4-bit ports based on an 82C55 mode 0 emulation. Each port may be individually programmed as input or output.
All digital inputs are LSTTL. The output signals are buffered, high-output drive TTL. The digital output drivers are 74S244 chips that can sink 64 mA and source 15 mA. The input buffers are 74LS373 chips and have standard high input impedance of the 74LS series devices.
All I/O bits are set to input mode (high impedance) on power up and reset. If you are using the board to control items that must be OFF on reset, install pull-down resistors. The board is equipped with open locations where you can install SIP resistor networks for either pull-up or pull-down.
All signals pass through a 37-pin connector.
Software features
For information on the features of InstaCal and the other software included with your CIO-DIO24H, 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.
.
7
Installing the CIO-DIO24H
What comes with your CIO-DIO24H shipment?
The following items are shipped with the CIO-DIO24H.
Hardware
CIO-DIO24H
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 CIO-DIO24H and information regarding installation of that software. Please read this booklet completely before installing any software or hardware.
). This booklet supplies a brief description of
Optional components
Cables
C37FF-x
Signal termination and conditioning accessories
MCC provides signal conditioning and termination products for use with the CIO-DIO24. Refer to Field
wiring, signal termination, and conditioning on page 14 for a complete list of compatible accessory
products.
C37FFS-x
8
CIO-DIO24H User's Guide Installing the CIO-DIO24H
Unpacking the CIO-DIO24H
As with any electronic device, you should take care while handling to avoid damage from static electricity. Before removing the CIO-DIO24H 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 any components are missing or 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
Installing the software
Quick-Start.pdf.
Configuring the CIO-DIO24H
The CIO-DIO24H has a bank of base address-select switches, an interrupt level select jumper, and a wait-state jumper. The InstaCal calibration and test program included with the CIO-DIO24H will show you how to configure the board. Run InstaCal to verify or change their settings before installing the board in your computer.
The location of each switch and jumper on the CIO-DIO24H is shown in Figure 1.
Base
Address
switches
The CIO-DIO24H is shipped with the factory-default settings listed in the table below.
Interrupt
Level
jumper
Figure 1. Switch and jumper locations
Wait
Stat e
jumper
9
CIO-DIO24H User's Guide Installing the CIO-DIO24H
Factory-configured default settings
Switch/jumper Description Default setting
Base address DIP switches Sets the base address 300h (768 decimal)
Interrupt level jumper Sets the interrupt level "X" position (no interrupt level set)
Wait State jumper Enables/disables the on-board wait-state
generator.
Off (disabled)
Review the following information to change the default configuration of a switch or jumper.
Base address
The easiest way to set the base address is to let InstaCal show you the correct settings. However, if you are already familiar with setting ISA base addresses, you may use the base address switch description below to guide your base address selection.
Each I/O board uses one or more I/O address locations within your computer’s I/O address space. To avoid interference with other installed boards, each board must use unique addresses. The base address is the board’s starting location that software writes to when communicating with the CIO-DIO24H. A set of DIP switches is used to set the base address. By placing the switch down, the CIO-DIO24H address decode logic is instructed to respond to 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.
The board is shipped with the base address set to 300 hex (see
Figure 2
). Unless there is already a board in your
system that uses address 300 hex (768 decimal), leave the switches as they were set at the factory.
HEX
SW
200
A9
9
7
8
Figure 2. Base address switch
543
6
2
A8 A7 A6 A5 A4 A3 A2
100 80 40 20 10 08 04
In the default configuration, addresses 9 and 8 are down, and all others are up. Address 9 = 200 hex (512 decimal), and address 8 = 100 hex (256 decimal). When added together they equal 300 hex (768 decimal).
Disregard the numbers printed on the switch
When setting the base address, refer to the numbers printed in white on the printed circuit board.
Certain addresses are used by the computer. Other addresses are free, and may be used by the CIO-DIO24H. Refer to the following table for a list of I/O addresses.
PC I/O Address Summary
Hex Range Function Hex Range Function
000-00F 8237 DMA #1 2C0-2CF EGA
020-021 8259 PIC #1 2D0-2DF EGA
040-043 8253 TIMER 2E0-2E7 GPIB (AT)
060-063 8255 PPI (XT) 2E8-2EF SERIAL PORT
060-064 8742 CONTROLLER (AT) 2F8-2FF SERIAL PORT
070-071 CMOS RAM & NMI MASK (AT) 300-30F PROTOTYPE CARD
080-08F DMA PAGE REGISTERS 310-31F PROTOTYPE CARD
10
CIO-DIO24H User's Guide Installing the CIO-DIO24H
2
7
X
Hex Range Function Hex Range Function
0A0-0A1 8259 PIC #2 (AT) 320-32F HARD DISK (XT)
0A0-0AF NMI MASK (XT) 378-37F PARALLEL PRINTER
0C0-0DF 8237 #2 (AT) 380-38F SDLC
0F0-0FF 80287 NUMERIC CO-P (AT) 3A0-3AF SDLC
1F0-1FF HARD DISK (AT) 3B0-3BB MDA
200-20F GAME CONTROL 3BC-3BF PARALLEL PRINTER
210-21F EXPANSION UNIT (XT) 3C0-3CF EGA
238-23B BUS MOUSE 3D0-3DF CGA
23C-23F ALT BUS MOUSE 3E8-3EF SERIAL PORT
270-27F PARALLEL PRINTER 3F0-3F7 FLOPPY DISK
2B0-2BF EGA 3F8-3FF SERIAL PORT
You can set the base address switch to any address in the range of 000-3FC. If you are not using IBM prototyping cards or another board which occupies these addresses, the CIO-DIO24H board's default address of 300h is free to use.
Addresses not specifically listed, such as 390-39Fh, are not reserved and may be available. Check your computer for other boards which may use I/O addresses.
Interrupt level
The trigger logic on the CIO-DIO24H is quite simple. Pin 1 (IR Input) of the board's 37-pin connector is an input jumper which maps the interrupt directly onto the PC bus. The signal to the bus is buffered. The buffer is enabled by a LOW level on Pin 2,
IR Enable.
Interrupts are hardware-initiated software routines. Most hardware interrupts are assigned by the computer and are reserved for internal system use. Refer to the following table for some typical interrupt assignments on a computer.
The CIO-DIO24H is shipped with the jumper in the " ( ). Leave the jumper in the default "X" position for now. If your software employs interrupt service
Figure 3
routines, it will direct you to select an IRQ level. Use the jumper block labeled
X" position, which means that no interrupt level is set
IR1 above the PC bus interface
(gold pins) if you want to set the interrupt.
IR1
3456
Figure 3. Interrupt level select jumper (no interrupt level set)
11
CIO-DIO24H User's Guide Installing the CIO-DIO24H
Hardware interrupt assignments
Name Description Name Description
NMI Parity IRQ8 Real Time Clock (AT)
IRQ0 Timer IRQ9 Re-directed to IRQ2
(AT)
IRQ1 Keyboard IRQ10 Unassigned
IRQ2 Reserved (XT) IRQ11 Unassigned
INT 8-15 (AT)
IRQ3 COM OR SDLC IRQ12 Unassigned
IRQ4 COM OR SDLC IRQ13 80287 MUNERIC CO-P
IRQ5 Hard Disk (XT) IRQ14 Hard Disk
LPT (AT)
IRQ6 Floppy Disk IRQ15 Not assigned
IRQ7 LPT
Wait state
The CIO-DIO24H board has a wait state jumper which you can set to enable an on-board wait state generator (see Figure 4). A wait state is an extra delay injected into the processor's clock via the bus. This delay slows down the processor when the processor addresses the CIO-DIO24H board, so that signals from slow devices (chips) will be accepted. The wait state generator is only active when the CIO-DIO24H is being accessed. Your PC will not be slowed down in general by using the wait state.
O F
O
F
N
WAIT
STATE
Figure 4. Wait state jumper
Figure 4The jumper is shown in is configured for OFF (wait state is disabled).
Because all PC expansion board busses are slowed to either 8 MHz or 10 MHz, the wait state will generally not be required. If you experience sporadic errors from the 82C55 digital I/O chip (reset, port direction swaps), try enabling the wait state generator.
Installing the CIO-DIO24H
After you configure the base address, you can install the CIO-DIO24H into your computer. 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.
12
CIO-DIO24H User's Guide Installing the CIO-DIO24H
1.
Turn your computer off, open it up, and insert your board into an available ISA slot.
2.
Close your computer and turn it on.
3.
Software-Quick-Start.pdf for information on how to initially set up and load InstaCal.
Connecting the board for I/O operations
Connectors, cables – main I/O connector
The table below lists the board connector, applicable cables, and compatible accessory products.
Board connector, cables, and accessory equipment
Connector type 37-pin male "D" connector
Compatible cables C37FF-x
C37-FFS-x
DFCON-37 (D-connector, D-shell, and termination pins to construct your own cable)
Compatible accessory products with the C37FF-x cable and C37FFS-x cable
CIO-MINI37
CIO-SPADE50
SSR-RACK08
SSR-RACK24
CIO-ERB08
CIO-ERB24
The CIO-DIO24H connector is a 37-pin D-type male connector that is accessible through the computer's expansion bracket (see ). The signals available are direct connections to the 82C55 digital I/O chip as
Figure 5
well as the PC’s internal power supplies.
GND 19
+5V 18
GND 17
+12V 16
GND 15
-12V 14
GND 13
-5V 12
GND 11 FIRSTPORTB Bit 0 10 FIRSTPORTB Bit 1 9 FIRSTPORTB Bit 2 8 FIRSTPORTB Bit 3 7 FIRSTPORTB Bit 4 6 FIRSTPORTB Bit 5 5 FIRSTPORTB Bit 6 4 FIRSTPORTB Bit 7 3
IR Enable 2
IR Input 1
37 FIRSTPORTA Bit 0 36 FIRSTPORTA Bit 1 35 FIRSTPORTA Bit 2 34 FIRSTPORTA Bit 3 33 FIRSTPORTA Bit 4 32 FIRSTPORTA Bit 5 31 FIRSTPORTA Bit 6 30 FIRSTPORTA Bit 7 29 FIRSTPORTC Bit 0 28 FIRSTPORTC Bit 1 27 FIRSTPORTC Bit 2 26 FIRSTPORTC Bit 3 25 FIRSTPORTC Bit 4 24 FIRSTPORTC Bit 5 23 FIRSTPORTC Bit 6 22 FIRSTPORTC Bit 7 21 GND 20 +5V
Figure 5. I/O connector pin-out
13
CIO-DIO24H User's Guide Installing the CIO-DIO24H
Cabling
37
19
The red stripe
20
1
identifies pin # 1
Figure 6. C37FF-x cable
37
20
19
1
Figure 7. C37FFS-x cable
Field wiring, signal termination, and conditioning
37
20
19
1
37
20
19
1
You can use the following cabling, screw termination, and signal condi
CIO-MINI37
– 37-pin screw terminal board. Details on this product are available on our web site at
www.mccdaq.com/cbicatalog/cbiproduct.asp?dept_id=102&pf_id=1543
CIO-SPADE50 – 16" X 4" termination panel which mates with both 37-pin and 50-pin connectors. Details
SSR-RACK08 – 8-channel, solid-state relay mounting rack for digital signal conditioning. Details on this
tioning products with the CIO-DIO24H.
.
.
ew.pdfon this product are available on our web site at www.mccdaq.com/pdfs/scr
product are available on our web site at
www.mccdaq.com/cbicatalog/cbiproduct.asp?dept_id=122&pf_id=620
SSR-RACK24 – 24-channel, solid-state r
elay mounting rack for digital signal conditioning. Details on this
.
product are available on our web site at
www.mccdaq.com/cbicatalog/cbiproduct.asp?dept_id=122&pf_id=1193
CIO-ERB08 – 24 Form C relays, 6 Amp
relay accessory board for digital signal conditioning. Details on
.
this product are available on our web site at
www.mccdaq.com/cbicatalog/cbiproduct.asp?dept_id=123&pf_id=240
CIO-ERB24 – 24 Form C relays, 6 Amp relay
accessory board for digital signal conditioning. Details on
.
this product are available on our web site at
www.mccdaq.com/cbicatalog/cbiproduct.asp?dept_id=123&pf_id=241
.
formation on signal connections In
General information regarding signal connection and configuration is available in the Guide to Signal Connections. This document is available on our web site at www.mccdaq.com/signals/signals.pdf.
14
Chapter 3
Functional Details
All of the digital outputs and inputs are CMOS TTL (Transistor-Transistor Logic). TTL is an industry term that describes a standard for digital signals which are either at 0 V or 5 V (nominal).
The voltages and currents associated with external devices range from less than a hundred mA at a few volts for lamps etc., to 50 Amps at 220 volts for electric heaters or other high-load equipment. Attempting to connect such loads directly to the CIO-DIO24H will damage the I/O chip. Heavy loads such as these require external relays.
Digital Interfacing
In addition to load matching, digital signal sources often need to be filtered or "de-bounced". Refer to the Guide to Signal Connections at www.mccdaq.com/signals/signals.pdf for information on digital interfacing.
82C55 emulation
The CIO-DIO24H emulates the 82C55 chip. The 82C55 emulation initializes all ports as inputs on power-up and reset. A TTL input is a high impedance input. If you connect another TTL input device to the output, it could be turned on or off every time the board is reset.
To establish a consistent TTL level at power-up, use resistors tied to either +5V (pull-up) or ground (pull­down). There are open locations for pull-up and pull-down resistor packs on the board.
Whenever an 82C55 emulation is powered on or reset, all pins are set to high-impedance input. Based on standard TTL functionality, these inputs will 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, pull all pins either high or low through a 2.2 K resistor.
Signal level control
The 82C55 digital I/O chip initializes all ports as inputs on power- up and reset. A TTL input is a high impedance input. If you connect another TTL input device to the 82C55 it could be turned ON or OFF every time the 82C55 is reset.
To prevent unwanted signal levels, and to drive all inputs on the device you are controlling to a known state after power up or reset, install pull-up or pull-down resistors. If you are using the board to control items that must be OFF on reset, install pull-down resistors.
A pull-up resistor pulls all digital pins up to +5 V (high logic level). A pull-down resistor pulls all digital pins down to 0 V (low logic level).
The CIO-DIO24H has open locations where you can install a single inline package (SIP) resistor network for each port. When installed, the SIP establishes either a high or low logic level at each of the I/O lines on the port.
The SIP is made up of eight 2.2 K resistors. One side of each resistor is connected to a single common point and brought out to a pin. The common line is marked with a dot or line at one end of the SIP. The remaining resistor ends are brought out to the other eight pins (see ). Figure 8
15
CIO-DIO24H User's Guide Functional Details
2.2KOhm SIP
Dot indicates the common line
(LO or HI)
I/O Lines
Figure 8. Eight-resistor SIP schematic
Install the SIP on the CIO-DIO24H board at the locations labeled PORT A, PORT B and PORT C. Fi
gure 9 shows a schematic of an SIP installed in both the pull-up and pull-down positions. Each port provides 10 holes in a line. The end labeled
HI connects to +5V. The end marked LO connects to GND. The eight holes in the
middle (n0 –n7) connect to the eight lines of the Port, A, B or C.
Digital
I/O
Port
n = A, B, or C
+5 VDC
HI
n7
n6
n5
n4
n3
n2
n1
n0
LO (GND)
2.2 K SIP
COM
Dot
Digital
User Connector
Digital I/O Lines
n = A, B, or C
I/O
Port
+5 VDC
HI
n7
n6
n5
n4
n3
n2
n1
n0
LO (GND)
2.2 K SIP
COM
Dot
User Connector
Digital I/O Lines
2.2 K SIP installed for pull-up
2.2 K SIP installed for pull-down
Figure 9. Pull-up and pull-down resistor SIPs schematic
To pull-up lines, orient the SIP with the common pin (dot) toward the HI end; to pull-down, install the resistor with the common pin in the
LO hole.
When installing pull-up and pull-down resistor SIP packs, we recommend using 2.2K, eight-resistor Single Inline Packages (MCC part number SP-K2.29C). Use a different value only if necessary.
Unconnected inputs float
Unconnected inputs typically float high, but not reliably. If you are using a CIO-DIO24H for input and have unconnected inputs, ignore the data from those lines. You do not have to terminate input lines. Unconnected lines will not affect the performance of connected lines. Mask out any unconnected bits in software.
Digital I/O Isolation
To provide external signal conditioning and isolation, you can connect the CIO-DIO24H to a CIO-ERB24 or SSR-RACK24. The CIO-ERB24 provides 24 Form C electromechanical relays. The SSR-RACK24 is a mounting rack for 24 solid-state relays.
16
Chapter 4
Programming and Developing Applications
After following the installation instructions in Chapter 2, your board should now be installed and ready for use. In general there may be no correspondence among registers for different boards. Software written at the register level for other models will not function correctly with your board.
Programming languages
Measurement Computing's Universal Library provides access to board functions from a variety of Windows programming languages. If you are planning to write programs, or would like to run the example programs for Visual Basic or any other language, refer to the Universal Library User's Guide (available on our web site at
Packaged applications programs
Many packaged application programs now have drivers for your board. If the package you own does not have drivers for your board, please fax or e-mail the package name and the revision number from the install disks. We will research the package for you and advise how to obtain drivers.
).
Some application drivers are included with the Universal Library package, but not with the application package. If you have purchased an application package directly from the software vendor, you may need to purchase our Universal Library and drivers. Please contact us 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
Register-level programming
You should use the Universal Library or one of the packaged application programs mentioned above to control your board. Only experienced programmers should try register-level programming.
If you need to program at the register level in your application, refer to the Register Map for the CIO-DIO24, CIO-DIO24H, and CIO-DIO24/CTR3. This document is available on our website at
www.mccdaq.com/registermaps/RegMapCIO-DIO24-Series.pdf
.
17
Chapter 5
Specifications
Typical for 25 °C unless otherwise specified.
Specifications in italic text are guaranteed by design.
Digital Input / Output
Table 1. Digital input/output specifications
Digital type 82C55, mode 0 emulation
Output: 74S244 Input: 74LS373
Configuration 2 banks of 8, 2 banks of 4, programmable by bank as input or output
Number of channels 24 I/O
Output high 2.4 volts min @ -15 mA
Output low 0.5 volts max @ 64 mA
Input high 2.0 volts min, 7 volts absolute max
Input low 0.8 volts max, -0.5 volts absolute min
Power-up / reset state Input mode (high impedance)
Interrupts 2 through 7, jumper selectable
Interrupt enable External (IR Enable), logic low enabled (disabled by default via internal
10k resistor to +5V)
Interrupt sources External (IR Input), rising edge
Miscellaneous Locations provided for installation of pull-up or pull-down resistors.
Power consumption
Table 2. Power consumption specifications
Parameter Specification
+5V
All ports input mode: 550 mA typical, 700 maximum All ports output mode, all bits low: 500 mA typical All ports output mode, all bits high: 360 mA typical
Environmental
Table 3. Environmental specifications
Operating temperature range 0 to 70 °C
Storage temperature range -40 to +100 °C
Humidity 0 to 90% non-condensing
18
CIO-DIO24H User's Guide Specifications
Main connector and pin out
Table 4. Connector specifications
Connector type 37-pin male "D" connector
Compatible cables C37FF-x
C37-FFS-x
DFCON-37 (D-connector, D-shell, and termination pins to construct your own cable)
Compatible accessory products with the C37FF-x cable and C37FFS-x cable
Pin Signal Name Pin Signal Name
1 IR Input 20 +5V 2 IR Enable 21 GND 3 FIRSPORTB Bit 7 22 FIRSPORTC Bit 7 4 FIRSPORTB Bit 6 23 FIRSPORTC Bit 6 5 FIRSPORTB Bit 5 24 FIRSPORTC Bit 5 6 FIRSPORTB Bit 4 25 FIRSPORTC Bit 4 7 FIRSPORTB Bit 3 26 FIRSPORTC Bit 3 8 FIRSPORTB Bit 2 27 FIRSPORTC Bit 2 9 FIRSPORTB Bit 1 28 FIRSPORTC Bit 1 10 FIRSPORTB Bit 0 29 FIRSPORTC Bit 0 11 GND 30 FIRSPORTA Bit 7 12 -5V 31 FIRSPORTA Bit 6 13 GND 32 FIRSPORTA Bit 5 14 -12V 33 FIRSPORTA Bit 4 15 GND 34 FIRSPORTA Bit 3 16 +12V 35 FIRSPORTA Bit 2 17 GND 36 FIRSPORTA Bit 1 18 +5V 37 FIRSPORTA Bit 0 19 GND
CIO-MINI37
CIO-SPADE50
SSR-RACK08
SSR-RACK24
CIO-ERB08
CIO-ERB24
Table 5. Connector pin out
19
Declaration of Conformity
Manufacturer: Measurement Computing Corporation Address: 10 Commerce Way Suite 1008 Norton, MA 02766 USA
Category: Electrical equipment for measurement, control and laboratory use.
Measurement Computing Corporation declares under sole responsibility that the product
CIO-DIO24H
to which this declaration relates is in conformity with the relevant provisions of the following standards or other documents:
EU EMC Directive 89/336/EEC: Electromagnetic Compatibility, EN55022 (1987), EN50082-1
Emissions: Group 1, Class B
EN55022 (1987): Radiated and Conducted emissions.
Immunity: EN50082-1
IEC 801-2 (1987): Electrostatic Discharge immunity, Criteria B. IEC 801-3 (1984): Radiated Electromagnetic Field immunity Criteria A. IEC 801-4 (1988): Electric Fast Transient Burst immunity Criteria B.
Declaration of Conformity based on tests conducted by Chomerics Test Services, Woburn, MA 01801, USA in December, 1995. Test records are outlined in Chomerics Test Report #EMI0168B.95.
We hereby declare that the equipment specified conforms to the above Directives and Standards.
Carl Haapaoja, Director of Quality Assurance
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...