CIO-DIO24/CTR3
DIO and Counter Board
User’s Guide

Document Revision 1A, January, 2007
© Copyright 2007, Measurement Computing Corporation

Trademark and Copyright Information
Measurement Computing Corporation, InstaCal, Universal Library, and the Measurement Computing logo areeither trademarks or registered trademarks of Measurement Computing Corporation. Refer to the Copyrights &Trademarks section on mccdaq.com/legal for more information about Measurement Computing trademarks.
Other product and company names mentioned herein are trademarks or trade names of their respective
companies.
© 2012 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.
NoticeMeasurement 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 ininjury. 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 ofpeople.

HM CIO-DIO24-CTR3.doc

3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-DIO24/CTR3 ........................................................................................................7
Overview: CIO-DIO24/CTR3 features ..............................................................................................................7
Software features ................................................................................................................................................7
Chapter 2

Installing the CIO-DIO24/CTR3 ............................................................................................................8
What comes with your CIO-DIO24/CTR3 shipment? .......................................................................................8
Hardware .......................................................................................................................................................................... 8
Additional documentation................................................................................................................................................. 8

Optional components..........................................................................................................................................8
Unpacking the CIO-DIO24/CTR3 .....................................................................................................................9
Installing the software ........................................................................................................................................9
Configuring the CIO-DIO24/CTR3 ...................................................................................................................9Base address.....................................................................................................................................................................10
Interrupt level ..................................................................................................................................................................11
Wait state .........................................................................................................................................................................12
Clock source ....................................................................................................................................................................12

Installing the CIO-DIO24/CTR3 ......................................................................................................................13
Connecting the board for I/O operations ..........................................................................................................14
Connectors, cables – main I/O connector ........................................................................................................................14
Cabling.............................................................................................................................................................................15
Field wiring, signal termination, and conditioning ..........................................................................................................15

Chapter 3

Functional Details ...............................................................................................................................16Signal level control...........................................................................................................................................16
Digital I/O Isolation..........................................................................................................................................17
Chapter 4

Programming and Developing Applications ....................................................................................18
Programming languages ...................................................................................................................................18
Packaged applications programs ......................................................................................................................18
Register-level programming .............................................................................................................................18
Chapter 5

Specifications......................................................................................................................................19
Digital Input / Output .......................................................................................................................................19
Counters............................................................................................................................................................19
Power consumption ..........................................................................................................................................20
Environmental ..................................................................................................................................................20
Main connector and pin out..............................................................................................................................20

4

Preface

About this User's Guide
What you will learn from this user's guideThis user's guide explains how to install, configure, and use the CIO-DIO24/CTR3 so that you get the most outof 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 arereading.
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-DIO24/CTR3.







MCC's Specifications: CIO-DIO24/CTR3 (the PDF version of the Specifications chapter in this guide) isavailable on our web site at www.mccdaq.com/pdfs/CIO-DIO24-CTR3.pdf.
MCC's Quick Start Guide is available on our web site atwww.mccdaq.com/PDFmanuals/DAQ-Software-Quick-Start.pdf.
MCC's Guide to Signal Connections is available on our web site atwww.mccdaq.com/signals/signals.pdf.
MCC's Universal Library User's Guide is available on our web site atwww.mccdaq.com/PDFmanuals/sm-ul-user-guide.pdf.
MCC's Universal Library Function Reference is available on our web site atwww.mccdaq.com/PDFmanuals/sm-ul-functions.pdf.
MCC's Universal Library for LabVIEW™ User’s Guide is available on our web site atwww.mccdaq.com/PDFmanuals/SM-UL-LabVIEW.pdf.

CIO-DIO24/CTR3 User's Guide (this document) is also available on our web site atwww.mccdaq.com/PDFmanuals/CIO-DIO24-CTR3.pdf.

5Chapter 1

Introducing the CIO-DIO24/CTR3
Overview: CIO-DIO24/CTR3 features
The CIO-DIO24/CTR3 has 24 digital I/O connections, one 82C55 parallel-interface chip. A 82C54 counterchip provides three 16-bit down counters.
Each 82C55 chip controls 24 CMOS/TTL-compatible digital I/O pins. The 82C55 is configured as two 8-bit
ports and two 4-bit ports. Each port is programmable for input or output.
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.
You can configure the counter 0 input to be clocked from an internal 10 MHz crystal oscillator or from anexternal clock source.
All signals pass through a 37-pin connector.
The CIO-DIO24/CTR3 uses eight I/O addresses — the lower four are used by the 82C55 digital I/O chip, andthe upper four are used by the 82C54 counter/timer.

Software features
For information on the features of InstaCal and the other software included with your CIO-DIO24/CTR3, referto the Quick Start Guide that shipped with your device. The Quick Start Guide is also available in PDF at
www.mccdaq.com/PDFmanuals/DAQ-Software-Quick-Start.pdf.
Check www.mccdaq.com/download.htm for the latest software version.

6

Chapter 2

Installing the CIO-DIO24/CTR3
What comes with your CIO-DIO24/CTR3 shipment?
The following items are shipped with the CIO-DIO24/CTR3.

Hardware

CIO-DIO24/CTR3

Additional documentation
In addition to this hardware user's guide, you should also receive the Quick Start Guide (available in PDF at
www.mccdaq.com/PDFmanuals/DAQ-Software-Quick-Start.pdf). This booklet supplies a brief description of
the software you received with your CIO-DIO24/CTR3 and information regarding installation of that software.
Please read this booklet completely before installing any software or hardware.

Optional components


CablesC37FF-xC37FFS-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 15 for a complete list of compatible accessory
products.
7

CIO-DIO24/CTR3 User's Guide

Installing the CIO-DIO24/CTR3

Unpacking the CIO-DIO24/CTR3
As with any electronic device, you should take care while handling to avoid damage from static
electricity. Before removing the CIO-DIO24/CTR3 from its packaging, ground yourself using a wrist strap orby 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 byphone, 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
Refer to the Quick Start Guide for instructions on installing the software on the Measurement Computing Data
Acquisition Software CD. This booklet is available in PDF at www.mccdaq.com/PDFmanuals/DAQ-SoftwareQuick-Start.pdf.

Configuring the CIO-DIO24/CTR3
The CIO-DIO24/CTR3 has a bank of base address-select switches, an interrupt level select jumper, a wait-state
jumper, and a bank of clock source jumpers. The InstaCal calibration and test program included with the CIODIO24/CTR3 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-DIO24/CTR3 is shown in Figure 1.

Clock
Sourcejumpers

Base
Address
switches

Interrupt
LeveljumperWait
StatejumperFigure 1. Switch and jumper locations

8

CIO-DIO24/CTR3 User's Guide

Installing the CIO-DIO24/CTR3

The CIO-DIO24/CTR3 is shipped with the factory-default settings listed in the table below.
Factory-configured default settings
Switch/jumper

Description

Default setting

Base address DIP switches
Interrupt level jumper
Wait state jumper

Sets the base address
Sets the interrupt level
Enables/disables the on-board wait-state
generator.
Sets the input signal for each counter

300h (768 decimal)"X" position (no interrupt level set)
Off (disabled)

Clock source jumpers

Not set

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 arealready 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-DIO24/CTR3. A set of DIP
switches is used to set the base address. By placing the switch down, the CIO-DIO24/CTR3 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 yoursystem that uses address 300 hex (768 decimal), leave the switches as they were set at the factory.
9

8

7

6

5

4

3

SW
A9
A8
A7
A6
A5
A4
A3

HEX
200
100
80
40
20
10
08

Figure 2. Base address switch

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 CIODIO24/CTR3. Refer to the following table for a list of I/O addresses.

9

CIO-DIO24/CTR3 User's Guide

Installing the CIO-DIO24/CTR3

PC I/O Address Summary
Hex Range

Function

Hex Range

Function000-00F
020-021040-043060-063060-064070-071080-08F
0A0-0A1
0A0-0AF
0C0-0DF
0F0-0FF
1F0-1FF
200-20F
210-21F
238-23B
23C-23F
270-27F
2B0-2BF

8237 DMA #1
8259 PIC #1
8253 TIMER
8255 PPI (XT)8742 CONTROLLER (AT)
CMOS RAM & NMI MASK (AT)DMA PAGE REGISTERS
8259 PIC #2 (AT)NMI MASK (XT)8237 #2 (AT)80287 NUMERIC CO-P (AT)HARD DISK (AT)GAME CONTROLEXPANSION UNIT (XT)BUS MOUSEALT BUS MOUSEPARALLEL PRINTER
EGA

2C0-2CF
2D0-2DF
2E0-2E7
2E8-2EF
2F8-2FF
300-30F
310-31F
320-32F
378-37F
380-38F
3A0-3AF
3B0-3BB
3BC-3BF
3C0-3CF
3D0-3DF
3E8-3EF
3F0-3F7
3F8-3FFEGA
EGA
GPIB (AT)SERIAL PORTSERIAL PORTPROTOTYPE CARD
PROTOTYPE CARD
HARD DISK (XT)
PARALLEL PRINTER
SDLC
SDLC
MDA
PARALLEL PRINTEREGACGASERIAL PORTFLOPPY DISKSERIAL PORTYou 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-DIO24/CTR3 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 yourcomputer for other boards which may use I/O addresses.

Interrupt level
The trigger logic on the CIO-DIO24/CTR3 is quite simple. Pin 1 (IR Input) of the board's 37-pin connector isan 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 andare reserved for internal system use. Refer to the following table for some typical interrupt assignments on acomputer.
The CIO-DIO24/CTR3 is shipped with the jumper in the "X" position, which means that no interrupt level is set(Figure 3). Leave the jumper in the default "X" position for now. If your software employs interrupt service
routines, it will direct you to select an IRQ level. Use the jumper block labeled IR above the PC bus interface(gold pins) if you want to set the interrupt.

2 3 4 5 6 7 X

IRFigure 3. Interrupt level select jumper (no interrupt level set)10

CIO-DIO24/CTR3 User's Guide

Installing the CIO-DIO24/CTR3

Hardware interrupt assignments
Name

Description

Name

Description

NMI
IRQ0
(AT)
IRQ1
IRQ2

Parity
Timer

IRQ8
IRQ9

Real Time Clock (AT)
Re-directed to IRQ2

Keyboard
Reserved (XT)INT 8-15 (AT)COM OR SDLCCOM OR SDLC
Hard Disk (XT)
LPT (AT)
Floppy Disk
LPT

IRQ10
IRQ11

Unassigned
Unassigned

IRQ12
IRQ13
IRQ14

Unassigned
80287 MUNERIC CO-P
Hard Disk

IRQ15

Not assigned

IRQ3
IRQ4
IRQ5
IRQ6
IRQ7

Wait state
The CIO-DIO24/CTR3 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-DIO24/CTR3 board, so that signals from slow
devices (chips) will be accepted. The wait state generator is only active when the CIO-DIO24/CTR3 is being
accessed. Your PC will not be slowed down in general by using the wait state.
O
F
F

O
N

WAIT
STATE
Figure 4. Wait state jumper

The jumper is shown in Figure 4 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.

Clock source
The CIO-DIO24/CTR3 board has a bank of jumpers (J2) that you use to configure the clock source for thecounter 0 input (CLK 0), and also to chain the counter signals together (see Figure 5).
You can clock the counter 0 input to be from the board's internal 10 MHz crystal oscillator or from an externalsource.

11

CIO-DIO24/CTR3 User's Guide

Installing the CIO-DIO24/CTR3

J2
OSC
CLK0
OUT0
CLK1
OUT1
CLK2

Figure 5. Clock source jumpersJumper the OSC and CLK0 pins together to connect an internal 10 MHz crystal oscillator signal to thecounter 0 input signal.
Jumper the OUT0 and CLK1 pins to connect the output of counter 0 to the input of counter 1.
Jumper the OUT1 and CLK2 pins to connect the output of counter 1 to the input of counter 2.

You can also connect the counters externally using the signals on the 37-pin connector. However, if you chain
the counters using the connector you must provide an external source for Counter 0.
Since each counter channel is 16-bits, chaining two counters together forms a 32-bit counter. Chaining all three
counters together forms a 48-bit counter.

Installing the CIO-DIO24/CTR3
After you configure the base address, you can install the CIO-DIO24/CTR3 into your computer. Follow thesteps 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.

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.

To test your installation and configure your board, run the InstaCal utility you installed in the previous
section. Refer to the Quick Start Guide that came with your board www.mccdaq.com/PDFmanuals/DAQSoftware-Quick-Start.pdf for information on how to initially set up and load InstaCal.

12

CIO-DIO24/CTR3 User's Guide

Installing the CIO-DIO24/CTR3

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 typeCompatible cables

Compatible accessory productswith the C37FF-x cable and
C37FFS-x cable

37-pin male "D" connector
C37FF-x
C37-FFS-x
DFCON-37 (D-connector, D-shell, and termination pins to construct your own cable)
CIO-MINI37
CIO-SPADE50
SSR-RACK08
SSR-RACK24
CIO-ERB08
CIO-ERB24

The CIO-DIO24/CTR3 connector is a 37-pin D-type male connector that is accessible through the computer's
expansion bracket (see Figure 6). The signals available are direct connections to the 82C55 digital I/O chip as
well as the PC’s internal power supplies.

CLK 0
GATE 0OUT 0
CLK 1
GATE 1
OUT 1
CLK 2
GATE 2OUT 2FIRSTPORTB Bit 0
FIRSTPORTB Bit 1
FIRSTPORTB Bit 2
FIRSTPORTB Bit 3
FIRSTPORTB Bit 4
FIRSTPORTB Bit 5
FIRSTPORTB Bit 6
FIRSTPORTB Bit 7
IR Enable
IR Input

19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1

37
36
35
34
33
32
31
30
29
28
27
26
25
24
23
22
21
20

FIRSTPORTA Bit 0
FIRSTPORTA Bit 1
FIRSTPORTA Bit 2
FIRSTPORTA Bit 3
FIRSTPORTA Bit 4
FIRSTPORTA Bit 5
FIRSTPORTA Bit 6
FIRSTPORTA Bit 7
FIRSTPORTC Bit 0
FIRSTPORTC Bit 1
FIRSTPORTC Bit 2
FIRSTPORTC Bit 3
FIRSTPORTC Bit 4
FIRSTPORTC Bit 5
FIRSTPORTC Bit 6
FIRSTPORTC Bit 7
GND+5V

Figure 6. I/O connector pin-out

13

CIO-DIO24/CTR3 User's Guide

Installing the CIO-DIO24/CTR3

Cabling

The red stripe
identifies pin # 1
20

19

37

19

37

20

1

1

Figure 7. C37FF-x cable

37

20

19

37

20
1

19

1

Figure 8. C37FFS-x cable

Field wiring, signal termination, and conditioning
You can use the following cabling, screw termination, and signal conditioning products with the CIODIO24/CTR3.








CIO-MINI37 – 37-pin screw terminal board.

CIO-SPADE50 – 16" X 4" termination panel which mates with both 37-pin and 50-pin connectors.
CIO-MINI50 – 50-pin screw terminal board.
SSR-RACK24 – 24-channel, solid-state relay mounting rack for digital signal conditioning.
SSR-RACK48 – 48-channel, solid-state relay mounting rack with quad-format modules.
CIO-ERB24 – 24 Form C relays, 6 Amp relay accessory board for digital signal conditioning.
CIO-ERB48 – 48 Form C relays, 6 Amp, relay, 50-pin accessory board for digital signal conditioning.

Information on signal connections
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 that 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 forlamps etc., to 50 Amps at 220 volts for electric heaters or other high-load equipment. Attempting to connect
such loads directly to the CIO-DIO24/CTR3 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.

Signal level control
The 82C55 digital I/O chip initializes all ports as inputs on power- up and reset. A TTL input is a highimpedance 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 thatmust 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-DIO24/CTR3 has open locations where you can install a single inline package (SIP) resistor networkfor each port. When installed, the SIP establishes either a high or low logic level at each of the I/O lines on theport.
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 9).
2.2KOhm SIP
Dot indicates thecommon line

(LO or HI)

I/O Lines

Figure 9. Eight-resistor SIP schematic

Install the SIP on the CIO-DIO24/CTR3 board at the locations labeled A, B and C. Figure 10 shows aschematic 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.

15

CIO-DIO24/CTR3 User's Guide

Functional Details

2.2 K SIP
COM

HI

n6

n6

User Connector
Digital I/O Lines

n7

n4
n3
n2

n = A, B, or C

HI

n7

n5

DigitalI/O
Port+5 VDCDot

n1

2.2 K SIP

User Connector
Digital I/O Lines+5 VDCn5

Digital
I/O
Port

n4
n3
n2

n = A, B, or C

n1

n0

n0

LO
(GND)

LO
(GND)

2.2 K SIP installed for pull-up

COM

Dot

2.2 K SIP installed for pull-downFigure 10. 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-DIO24/CTR3 for input andhave 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 insoftware.

Digital I/O Isolation
To provide external signal conditioning and isolation, you can connect the CIO-DIO24/CTR3 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 registerlevel 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 atwww.mccdaq.com/PDFmanuals/sm-ul-user-guide.pdf).

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 ourUniversal 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 atwww.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
Configuration
Number of channels
Output highOutput low
Input highInput low
Power-up / reset state
Interrupts
Interrupt enable

82C55
2 banks of 8, 2 banks of 4, programmable by bank as input or output
24 I/O
3.0 volts min @ -2.5 mA
0.4 volts max @ 2.5 mA
2.0 volts min, 5.5 volts absolute max
0.8 volts max, -0.5 volts absolute min
Input mode (high impedance)
2 through 7, jumper selectable
External (IR Enable), logic low enabled (disabled by default via internal
10k resistor to +5V)
External (IR Input), rising edge
Locations provided for installation of pull-up or pull-down resistors.

Interrupt sources
MiscellaneousCounters
Table 2. Power consumption specifications
Counter type
Configuration
Counter 0 - independent, user configurable

Counter 1 - independent, user configurable

Counter 2 - independent, user configurable

Clock input frequency
High pulse width (clock input)
Low pulse width (clock input)
Gate width highGate width low
Input low voltage
Input high voltage
Output low voltage

82C54
3 down counters, 16-bits each
Source:User connector (CLK0) and optionally, 10MHz
on-board xtal oscillator, selectable by jumper
Gate:
User connector (GATE0)
Output:User connector (OUT0) and optionally, counter 1 clock
input, selectable by jumper
Source:User connector (CLK1) and optionally, counter 0
output, selectable by jumper
Gate:
User connector (GATE1)
Output:User connector (OUT1) and optionally, counter 2 clock
input, selectable by jumper
Source:User connector (CLK2) and optionally, counter 1
output, selectable by jumper
Gate:
User connector (GATE2)
Output:User connector (OUT2)
10 MHz max
30 ns min
50 ns min
50 ns min
50 ns min
0.8 V max
2.0 V min
0.4 V max18

CIO-DIO24/CTR3 User's Guide

Specifications

Output high voltage

3.0 V minPower consumption
Table 3. Power consumption specifications
Parameter

Specification+5V

190 mA typical, 300 mA max

Environmental
Table 4. Environmental specifications
Operating temperature range
Storage temperature range
Humidity

0 to 70 °C-40 to +100 °C
0 to 90% non-condensing

Main connector and pin out
Table 5. Connector specifications
Connector typeCompatible cables

Compatible accessory products with the
C37FF-x cable and C37FFS-x cable

37-pin male "D" connector
C37FF-x
C37-FFS-x
DFCON-37 (D-connector, D-shell, and termination pins to construct yourown cable)
CIO-MINI37
CIO-SPADE50
SSR-RACK08
SSR-RACK24
CIO-ERB08
CIO-ERB24
Table 6. Connector pin out

Pin
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

Signal Name
IR Input
IR Enable
FIRSPORTB Bit 7
FIRSPORTB Bit 6
FIRSPORTB Bit 5
FIRSPORTB Bit 4
FIRSPORTB Bit 3
FIRSPORTB Bit 2
FIRSPORTB Bit 1
FIRSPORTB Bit 0
GND
GATE 2
CLK 2
OUT 1
GATE 1
CLK 1
OUT 0
GATE 0
CLK 0

Pin
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37

Signal Name
+5V
GND
FIRSPORTC Bit 7
FIRSPORTC Bit 6
FIRSPORTC Bit 5
FIRSPORTC Bit 4
FIRSPORTC Bit 3
FIRSPORTC Bit 2
FIRSPORTC Bit 1
FIRSPORTC Bit 0
FIRSPORTA Bit 7
FIRSPORTA Bit 6
FIRSPORTA Bit 5
FIRSPORTA Bit 4
FIRSPORTA Bit 3
FIRSPORTA Bit 2
FIRSPORTA Bit 1
FIRSPORTA Bit 0

19

Declaration of Conformity
Manufacturer:
Address:

Category:

Measurement Computing Corporation
10 Commerce Way
Suite 1008
Norton, MA 02766
USAElectrical equipment for measurement, control and laboratory use.

Measurement Computing Corporation declares under sole responsibility that the product

CIO-DIO24/CTR3
to which this declaration relates is in conformity with the relevant provisions of the following standards orother 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