CIO-DIO192
Digital Input/Output Board
User’s Guide

Document Revision 1A, December, 2006
© Copyright 2006, 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.
© 2006 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-DIO192.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-DIO192.................................................................................................................7
Overview: CIO-DIO192 features .......................................................................................................................7
Software features ................................................................................................................................................7
Chapter 2

Installing the CIO-DIO192.....................................................................................................................8
What comes with your CIO-DIO192 shipment? ................................................................................................8
Hardware .......................................................................................................................................................................... 8
Additional documentation................................................................................................................................................. 8

Optional components..........................................................................................................................................8
Unpacking the CIO-DIO192 ..............................................................................................................................9
Installing the software ........................................................................................................................................9
Configuring the base address switch ..................................................................................................................9Base address switch .......................................................................................................................................................... 9
Wait state jumper .............................................................................................................................................................10

Installing the CIO-DIO192...............................................................................................................................11
Connecting the board for I/O operations ..........................................................................................................11
Connectors, cables – main I/O connector ........................................................................................................................11
Pinout – main I/O connectors ..........................................................................................................................................12
Cabling.............................................................................................................................................................................13
Field wiring, signal termination, and conditioning ..........................................................................................................13

Chapter 3

Functional Details ...............................................................................................................................14Signal level control...........................................................................................................................................14
Digital I/O Isolation..........................................................................................................................................15
Chapter 4

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

Specifications......................................................................................................................................17
Digital input / output ........................................................................................................................................17
Power consumption ..........................................................................................................................................17
Environmental ..................................................................................................................................................17
Main connectors and pin out ............................................................................................................................174

Preface

About this User’s Guide
What you will learn from this user's guideThis user's guide describes the Measurement Computing CIO-DIO192 data acquisition board andlists hardware specifications.

Conventions in this user's guide
For more information
Text presented in a box signifies additional information related to the subject matter.
Caution! Shaded caution statements present information to help you avoid injuring yourself and others,
damaging your hardware, or losing your data.
bold text

Bold text is used for the names of objects on a screen, such as buttons, text boxes, and check boxes.

italic text

Italic text is used for the names of manuals and help topic titles, and to emphasize a word or phrase.

Where to find more information
Additional information about CIO-DIO192 hardware is available on our website atwww.mccdaq.com. You can also contact Measurement Computing Corporation with specific questions.


Knowledgebase: kb.mccdaq.com
Tech support form: www.mccdaq.com/support/support_form.aspx
Email: techsupport@mccdaq.com
Phone: 508-946-5100 and follow the instructions for reaching Tech Support

For international customers, contact your local distributor. Refer to the International Distributors section on our
website at www.mccdaq.com/International.

5Chapter 1

Introducing the CIO-DIO192
Overview: CIO-DIO192 features
The CIO-DIO192 has 192 digital I/O connections, and eight 82C55 parallel-interface chips.
Each 82C55 chip controls 24 CMOS/TTL-compatible digital I/O pins. Each 24-bit group is divided into threeeight-bit ports, or 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. Locations are available for installing
pull-up or pull-down resistors.
All signals pass through a 50-pin connector.

Software features
For information on the features of InstaCal and the other software included with your CIO-DIO192, refer to 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-DIO192
What comes with your CIO-DIO192 shipment?
The following items are shipped with the CIO-DIO192.

Hardware

CIO-DIO192

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-DIO192 and information regarding installation of that software.
Please read this booklet completely before installing any software or hardware.

Optional components


Cables

C50FF-xSignal termination and conditioning accessories
MCC provides signal conditioning and termination products for use with the CIO-DIO192. Refer to Field
wiring, signal termination, and conditioning on page 13 for a complete list of compatible accessory
products.

7

CIO-DIO192 User's Guide

Installing the CIO-DIO192

Unpacking the CIO-DIO192
As with any electronic device, you should take care while handling to avoid damage from static
electricity. Before removing the CIO-DIO192 from its packaging, ground yourself using a wrist strap or bysimply 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/PDFs/manuals/DAQSoftware-Quick-Start.pdf.

Configuring the base address switch
The CIO-DIO192 employs the PC bus for power, communications and data transfer. As such, it draws powerfrom the PC, monitors the address lines and control signals, responds to its I/O address, and receives and places
data on the eight data lines.
The CIO-DIO192 has one bank of base address-select switches, and one wait-state jumper. Verify their settings
before installing the board in your computer.

Base address switch
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.
The base address is the starting location that software writes to when communicating with the CIO-DIO192. A
set of DIP switches is used to set the base address. By placing the switch down, the CIO-DIO192 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 1). 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

ADDRESS

SW
A9
A8
A7
A6
A5

HEX
200
100
80
40
20

Figure 1. 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).
8

CIO-DIO192 User's Guide

Installing the CIO-DIO192

Disregard the numbers printed on the switch
When setting the base address, refer to the numbers printed in white on the printed circuit board.
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-3F8. If you are not using IBM
prototyping cards or another board which occupies these addresses, 300-31Fh are also 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.

Wait state jumper
The CIO-DIO192 board has a wait state jumper which you can set to enable an on-board wait state generator. 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-DIO192 board, so that signals from slow devices (chips) are valid.
The jumper is shown in Figure 2 configured for OFF (wait state is disabled).
O
N

O
F
F

WAIT
STATE
Figure 2. Wait state jumper

The wait state generator is only active when the CIO-DIO192 is being accessed. Your PC will not be slowed
down in general by using the wait state.
Because all PC expansion board buses are slowed to either 8 MHz or 10 MHz, the wait state generally is not
required. If you experience sporadic failures, try enabling the wait state generator.

9

CIO-DIO192 User's Guide

Installing the CIO-DIO192

Installing the CIO-DIO192
After you configure the base address, you can install the CIO-DIO192 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.
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/PDFs/manuals/
DAQ-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 typeCompatible cables
Compatible accessory productswith the C50FF-x cable(4) 50-pin shrouded male header connectors: P1, P2, P3, P4
C50FF-x
CIO-TERM100
CIO-SPADE50
CIO-MINI50
SSR-RACK24, SSR-RACK48
CIO-ERB24, CIO-ERB48

10

CIO-DIO192 User's Guide

Installing the CIO-DIO192

Pinout – main I/O connectors
The CIO-DIO192 connector has four standard 50-pin header connectors (P1 - P4) that are accessible throughthe PC/AT expansion bracket.
Connect FIRSTPORT and SECONDPORT signals to connector P1. Connect THIRDPORT and
FOURTHPORT signals to connector P2.
GND
FIRSTPORTC Bit 0
FIRSTPORTC Bit 2
FIRSTPORTC Bit 4
FIRSTPORTC Bit 6
FIRSTPORTB Bit 0
FIRSTPORTB Bit 2
FIRSTPORTB Bit 4
FIRSTPORTB Bit 6
FIRSTPORTA Bit 0
FIRSTPORTA Bit 2
FIRSTPORTA Bit 4
FIRSTPORTA Bit 6
SECONDPORTC Bit 0
SECONDPORTC Bit 2
SECONDPORTC Bit 4
SECONDPORTC Bit 6
SECONDPORTB Bit 0
SECONDPORTB Bit 2
SECONDPORTB Bit 4
SECONDPORTB Bit 6
SECONDPORTA Bit 0
SECONDPORTA Bit 2
SECONDPORTA Bit 4
SECONDPORTA Bit 6

50
48
46
44
42
40
38
36
34
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2

49
47
45
43
41
39
37
35
33
31
29
27
25
23
21
19
17
15
13
11
9
7
5
3
1

+5V
FIRSTPORTC Bit 1
FIRSTPORTC Bit 3
FIRSTPORTC Bit 5
FIRSTPORTC Bit 7
FIRSTPORTB Bit 1
FIRSTPORTB Bit 3
FIRSTPORTB Bit 5
FIRSTPORTB Bit 7
FIRSTPORTA Bit 1
FIRSTPORTA Bit 3
FIRSTPORTA Bit 5
FIRSTPORTA Bit 7
SECONDPORTC Bit 1
SECONDPORTC Bit 3
SECONDPORTC Bit 5
SECONDPORTC Bit 7
SECONDPORTB Bit 1
SECONDPORTB Bit 3
SECONDPORTB Bit 5
SECONDPORTB Bit 7
SECONDPORTA Bit 1
SECONDPORTA Bit 3
SECONDPORTA Bit 5
SECONDPORTA Bit 7

GND
THIRDPORTC Bit 0
THIRDPORTC Bit 2
THIRDPORTC Bit 4
THIRDPORTC Bit 6
THIRDPORTB Bit 0
THIRDPORTB Bit 2
THIRDPORTB Bit 4
THIRDPORTB Bit 6
THIRDPORTA Bit 0
THIRDPORTA Bit 2
THIRDPORTA Bit 4
THIRDPORTA Bit 6
FOURTHPORTC Bit 0
FOURTHPORTC Bit 2
FOURTHPORTC Bit 4
FOURTHPORTC Bit 6
FOURTHPORTB Bit 0
FOURTHPORTB Bit 2
FOURTHPORTB Bit 4
FOURTHPORTB Bit 6
FOURTHPORTA Bit 0
FOURTHPORTA Bit 2
FOURTHPORTA Bit 4
FOURTHPORTA Bit 6

50
48
46
44
42
40
38
36
34
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2

P1

49
47
45
43
41
39
37
35
33
31
29
27
25
23
21
19
17
15
13
11
9
7
5
3
1

+5V
THIRDPORTC Bit 1
THIRDPORTC Bit 3
THIRDPORTC Bit 5
THIRDPORTC Bit 7
THIRDPORTB Bit 1
THIRDPORTB Bit 3
THIRDPORTB Bit 5
THIRDPORTB Bit 7
THIRDPORTA Bit 1
THIRDPORTA Bit 3
THIRDPORTA Bit 5
THIRDPORTA Bit 7
FOURTHPORTC Bit 1
FOURTHPORTC Bit 3
FOURTHPORTC Bit 5
FOURTHPORTC Bit 7
FOURTHPORTB Bit 1
FOURTHPORTB Bit 3
FOURTHPORTB Bit 5
FOURTHPORTB Bit 7
FOURTHPORTA Bit 1
FOURTHPORTA Bit 3
FOURTHPORTA Bit 5
FOURTHPORTA Bit 7

P2
Figure 3. P1 and P2 pin out

Connect FIFTHPORT and SIXTHPORT signals to connector P3. Connect SEVENTHPORT and
EIGHTHPORT signals to connector P4.
GND
FIFTHPORTC Bit 0
FIFTHPORTC Bit 2
FIFTHPORTC Bit 4
FIFTHPORTC Bit 6
FIFTHPORTB Bit 0
FIFTHPORTB Bit 2
FIFTHPORTB Bit 4
FIFTHPORTB Bit 6
FIFTHPORTA Bit 0
FIFTHPORTA Bit 2
FIFTHPORTA Bit 4
FIFTHPORTA Bit 6
SIXTHPORTC Bit 0
SIXTHPORTC Bit 2
SIXTHPORTC Bit 4
SIXTHPORTC Bit 6
SIXTHPORTB Bit 0
SIXTHPORTB Bit 2
SIXTHPORTB Bit 4
SIXTHPORTB Bit 6
SIXTHPORTA Bit 0
SIXTHPORTA Bit 2
SIXTHPORTA Bit 4
SIXTHPORTA Bit 6

50
48
46
44
42
40
38
36
34
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2

49
47
45
43
41
39
37
35
33
31
29
27
25
23
21
19
17
15
13
11
9
7
5
3
1

GND
SEVENTHPORTC Bit 0
SEVENTHPORTC Bit 2
SEVENTHPORTC Bit 4
SEVENTHPORTC Bit 6
SEVENTHPORTB Bit 0
SEVENTHPORTB Bit 2
SEVENTHPORTB Bit 4
SEVENTHPORTB Bit 6
SEVENTHPORTA Bit 0
SEVENTHPORTA Bit 2
SEVENTHPORTA Bit 4
SEVENTHPORTA Bit 6
EIGHTHPORTC Bit 0
EIGHTHPORTC Bit 2
EIGHTHPORTC Bit 4
EIGHTHPORTC Bit 6
EIGHTHPORTB Bit 0
EIGHTHPORTB Bit 2
EIGHTHPORTB Bit 4
EIGHTHPORTB Bit 6
EIGHTHPORTA Bit 0
EIGHTHPORTA Bit 2
EIGHTHPORTA Bit 4
EIGHTHPORTA Bit 6+5V
FIFTHPORTC Bit 1
FIFTHPORTC Bit 3
FIFTHPORTC Bit 5
FIFTHPORTC Bit 7
FIFTHPORTB Bit 1
FIFTHPORTB Bit 3
FIFTHPORTB Bit 5
FIFTHPORTB Bit 7
FIFTHPORTA Bit 1
FIFTHPORTA Bit 3
FIFTHPORTA Bit 5
FIFTHPORTA Bit 7
SIXTHPORTC Bit 1
SIXTHPORTC Bit 3
SIXTHPORTC Bit 5
SIXTHPORTC Bit 7
SIXTHPORTB Bit 1
SIXTHPORTB Bit 3
SIXTHPORTB Bit 5
SIXTHPORTB Bit 7
SIXTHPORTA Bit 1
SIXTHPORTA Bit 3
SIXTHPORTA Bit 5
SIXTHPORTA Bit 7

49
47
45
43
41
39
37
35
33
31
29
27
25
23
21
19
17
15
13
11
9
7
5
3
1

50
48
46
44
42
40
38
36
34
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2

P4

P3
Figure 4. P3 and P4 pin out

11+5V
SEVENTHPORTC Bit 1
SEVENTHPORTC Bit 3
SEVENTHPORTC Bit 5
SEVENTHPORTC Bit 7
SEVENTHPORTB Bit 1
SEVENTHPORTB Bit 3
SEVENTHPORTB Bit 5
SEVENTHPORTB Bit 7
SEVENTHPORTA Bit 1
SEVENTHPORTA Bit 3
SEVENTHPORTA Bit 5
SEVENTHPORTA Bit 7
EIGHTHPORTC Bit 1
EIGHTHPORTC Bit 3
EIGHTHPORTC Bit 5
EIGHTHPORTC Bit 7
EIGHTHPORTB Bit 1
EIGHTHPORTB Bit 3
EIGHTHPORTB Bit 5
EIGHTHPORTB Bit 7
EIGHTHPORTA Bit 1
EIGHTHPORTA Bit 3
EIGHTHPORTA Bit 5
EIGHTHPORTA Bit 7

CIO-DIO192 User's Guide

Installing the CIO-DIO192

All the digital inputs and outputs are TTL. Under normal operating conditions, the voltages on the I/O pins
range from near 0 volts for the low state, to near 5 volts for the high state. The voltages and currents of external
devices usually exceed these values. Because of this, external relays are usually employed to handle higher
current and voltage loads.
In addition to load matching, digital signal sources often need to be filtered or "de-bounced". Refer to the Guide
to Signal Connections for information on digital interfacing. This document is available atwww.mccdaq.com/pdfs/DAQ-Signal-Connections.pdf

Cabling
2

1

50

49

The red stripe
identifies pin # 1

50-pin Female
IDC Connector

2

1

50

49

50-pin Female
IDC connector

Figure 5. C50FF-x cable

Field wiring, signal termination, and conditioning
You can use the following cabling, screw termination, and signal conditioning products with the CIO-DIO192.








CIO-TERM100 – 100-pin screw terminal board (daisy-chained 50-pin IDC connectors).
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 about signal connection and configuration is available in the Guide to Signal Connections.
This document is available on our web site at www.mccdaq.com/pdfs/DAQ-Signal-Connections.pdf.

12Chapter 3

Functional Details
Signal level control
The digital I/O bits on the CIO-DIO192 are 8255 CMOS TTL. 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. Remember, the 82C55 is resetto the INPUT mode.
All I/O bits are set to input mode 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 CIO-DIO192 has open locations where you can install Single
Inline Packages (SIP) resistor networks in either pull-up or pull-down configurations.
You can install pull-up and pull-down resistor SIP packs at each port. The positions are labeled RNn on theboard. When installed, the SIP establishes either a high or low logic level at each of the I/O lines on the port.
To safeguard against unwanted signal levels, the devices being controlled by the CIO-DIO192 board should betied low or high as required by a 2.2K Ω resistor. In a 2.2K eight-resistor SIP pack, one side of all of theresistors is connected to a single common point and brought out to a pin. The common line, usually marked
with a dot or line, is at one end of the SIP. The remaining resistor ends are brought out to the other eight pins
(refer to Figure 6).
2.2KOhm SIP
Dot indicates thecommon line

(LO or HI)

I/O Lines

Figure 6. Eight-resistor SIP schematic

Figure 7 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.

HI

2.2 K SIP

n6

n3
n2
n1

User Connector
Digital I/O Lines

n7

n6

n4

n = A, B, or C

HI

n7

n5

DigitalI/O
Port+5 VDC

Dot

COM

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 7. Pull-up and pull-down resistor SIPs schematic13

CIO-DIO192 User's Guide

Functional Details

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-DIO48H for input and haveunconnected inputs, ignore the data from those lines. You do not have to terminate input lines. Unconnectedlines 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-DIO192 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.
The CIO-DIO192 provides digital I/O in groups of 48 bits. Many relay and solid-state relay (SSR) racks
provide only 24-bits of digital I/O. You can configure the CIO-ERB24 relay output board and SSR-RACK24
I/O module rack in a daisy chain configuration to use all of the digital I/O bits provided by the CIO-DIO192
board. An example of the daisy chain configuration scheme for each board is shown below.
CIO-DIO192

P1
P4

P1
P3

P1
P2

IN

P1

IN

IN

IN

OUT

OUT

OUT

OUT

CIO-ERB24
or
SSR-Rack24

CIO-ERB24
or
SSR-Rack24

CIO-ERB24
or
SSR-Rack24

CIO-ERB24
or
SSR-Rack24

IN

IN

IN

IN

OUT

OUT

OUT

OUT

CIO-ERB24
or
SSR-Rack24

CIO-ERB24
or
SSR-Rack24

CIO-ERB24
or
SSR-Rack24

CIO-ERB24
or
SSR-Rack24

Figure 8. CIO-DIO192 to CIO-ERB24 or SSR-RACK24 daisy chain

The 24 digital I/O bits on pins 25 to 48 (base address +0 through +2) control the first relay board. The
24 digital I/O bits on pins 1 to 24 control the second relay/SSR board on the daisy chain. Use the C50FF-x
cable for interconnections. You can also use SSR-RACK48 or the CIO-ERB48 series relay boards.

14

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, please refer to the Universal Library User's Guide (available on our website at www.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-DIO48, CIO-DIO48H, CIO-DIO96, and CIO-DIO192. This document is available on our website at
http://www.mccdaq.com/registermaps/RegMapCIO-DIO-Series.pdf.

15

Chapter 5

Specifications
Typical for 25 °C unless otherwise specified.
Specifications in italic text are guaranteed by design.

Digital input / output
Table 1. DIO specifications
Digital type
Configuration
Number of channels
Output highOutput low
Input highInput low
Power-up / reset state

82C55
16 banks of 8, 16 banks of 4, programmable by bank as input or output
192 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)

Power consumption
Table 2. Power consumption specifications+5V quiescent

170 mA typical, 220 mA max

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

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

Main connectors and pin out
Table 4. Connector specifications
Connector typeCompatible cables
Compatible accessory productswith the C50FF-x(4) 50-pin shrouded male header connectors: P1, P2, P3, P4
C50FF-x
CIO-TERM100
CIO-SPADE50
CIO-MINI50
SSR-RACK24, SSR-RACK48
CIO-ERB24, CIO-ERB48

16

CIO-DIO192 User's Guide

Specifications

Table 5. P1 pin out
Pin
50
48
46
44
42
40
38
36
34
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2

Signal name
GND
FIRSTPORTC Bit 0
FIRSTPORTC Bit 2
FIRSTPORTC Bit 4
FIRSTPORTC Bit 6
FIRSTPORTB Bit 0
FIRSTPORTB Bit 2
FIRSTPORTB Bit 4
FIRSTPORTB Bit 6
FIRSTPORTA Bit 0
FIRSTPORTA Bit 2
FIRSTPORTA Bit 4
FIRSTPORTA Bit 6
SECONDPORTC Bit 0
SECONDPORTC Bit 2
SECONDPORTC Bit 4
SECONDPORTC Bit 6
SECONDPORTB Bit 0
SECONDPORTB Bit 2
SECONDPORTB Bit 4
SECONDPORTB Bit 6
SECONDPORTA Bit 0
SECONDPORTA Bit 2
SECONDPORTA Bit 4
SECONDPORTA Bit 6

Pin
49
47
45
43
41
39
37
35
33
31
29
27
25
23
21
19
17
15
13
11
9
7
5
3
1

Signal name
+5V
FIRSTPORTC Bit 1
FIRSTPORTC Bit 3
FIRSTPORTC Bit 5
FIRSTPORTC Bit 7
FIRSTPORTB Bit 1
FIRSTPORTB Bit 3
FIRSTPORTB Bit 5
FIRSTPORTB Bit 7
FIRSTPORTA Bit 1
FIRSTPORTA Bit 3
FIRSTPORTA Bit 5
FIRSTPORTA Bit 7
SECONDPORTC Bit 1
SECONDPORTC Bit 3
SECONDPORTC Bit 5
SECONDPORTC Bit 7
SECONDPORTB Bit 1
SECONDPORTB Bit 3
SECONDPORTB Bit 5
SECONDPORTB Bit 7
SECONDPORTA Bit 1
SECONDPORTA Bit 3
SECONDPORTA Bit 5
SECONDPORTA Bit 7

Table 6. P2 pin out
Pin
50
48
46
44
42
40
38
36
34
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2

Signal name
GND
THIRDPORTC Bit 0
THIRDPORTC Bit 2
THIRDPORTC Bit 4
THIRDPORTC Bit 6
THIRDPORTB Bit 0
THIRDPORTB Bit 2
THIRDPORTB Bit 4
THIRDPORTB Bit 6
THIRDPORTA Bit 0
THIRDPORTA Bit 2
THIRDPORTA Bit 4
THIRDPORTA Bit 6
FOURTHPORTC Bit 0
FOURTHPORTC Bit 2
FOURTHPORTC Bit 4
FOURTHPORTC Bit 6
FOURTHPORTB Bit 0
FOURTHPORTB Bit 2
FOURTHPORTB Bit 4
FOURTHPORTB Bit 6
FOURTHPORTA Bit 0
FOURTHPORTA Bit 2
FOURTHPORTA Bit 4
FOURTHPORTA Bit 6

Pin
49
47
45
43
41
39
37
35
33
31
29
27
25
23
21
19
17
15
13
11
9
7
5
3
1

17

Signal name
+5V
THIRDPORTC Bit 1
THIRDPORTC Bit 3
THIRDPORTC Bit 5
THIRDPORTC Bit 7
THIRDPORTB Bit 1
THIRDPORTB Bit 3
THIRDPORTB Bit 5
THIRDPORTB Bit 7
THIRDPORTA Bit 1
THIRDPORTA Bit 3
THIRDPORTA Bit 5
THIRDPORTA Bit 7
FOURTHPORTC Bit 1
FOURTHPORTC Bit 3
FOURTHPORTC Bit 5
FOURTHPORTC Bit 7
FOURTHPORTB Bit 1
FOURTHPORTB Bit 3
FOURTHPORTB Bit 5
FOURTHPORTB Bit 7
FOURTHPORTA Bit 1
FOURTHPORTA Bit 3
FOURTHPORTA Bit 5
FOURTHPORTA Bit 7

CIO-DIO192 User's Guide

Specifications

Table 7. P3 pin out
Pin
50
48
46
44
42
40
38
36
34
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2

Signal name
GND
FIFTHPORTC Bit 0
FIFTHPORTC Bit 2
FIFTHPORTC Bit 4
FIFTHPORTC Bit 6
FIFTHPORTB Bit 0
FIFTHPORTB Bit 2
FIFTHPORTB Bit 4
FIFTHPORTB Bit 6
FIFTHPORTA Bit 0
FIFTHPORTA Bit 2
FIFTHPORTA Bit 4
FIFTHPORTA Bit 6
SIXTHPORTC Bit 0
SIXTHPORTC Bit 2
SIXTHPORTC Bit 4
SIXTHPORTC Bit 6
SIXTHPORTB Bit 0
SIXTHPORTB Bit 2
SIXTHPORTB Bit 4
SIXTHPORTB Bit 6
SIXTHPORTA Bit 0
SIXTHPORTA Bit 2
SIXTHPORTA Bit 4
SIXTHPORTA Bit 6

Pin
49
47
45
43
41
39
37
35
33
31
29
27
25
23
21
19
17
15
13
11
9
7
5
3
1

Signal name
+5V
FIFTHPORTC Bit 1
FIFTHPORTC Bit 3
FIFTHPORTC Bit 5
FIFTHPORTC Bit 7
FIFTHPORTB Bit 1
FIFTHPORTB Bit 3
FIFTHPORTB Bit 5
FIFTHPORTB Bit 7
FIFTHPORTA Bit 1
FIFTHPORTA Bit 3
FIFTHPORTA Bit 5
FIFTHPORTA Bit 7
SIXTHPORTC Bit 1
SIXTHPORTC Bit 3
SIXTHPORTC Bit 5
SIXTHPORTC Bit 7
SIXTHPORTB Bit 1
SIXTHPORTB Bit 3
SIXTHPORTB Bit 5
SIXTHPORTB Bit 7
SIXTHPORTA Bit 1
SIXTHPORTA Bit 3
SIXTHPORTA Bit 5
SIXTHPORTA Bit 7

Table 8. P4 pin out
Pin
50
48
46
44
42
40
38
36
34
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2

Signal nameGND
SEVENTHPORTC Bit 0
SEVENTHPORTC Bit 2
SEVENTHPORTC Bit 4
SEVENTHPORTC Bit 6
SEVENTHPORTB Bit 0
SEVENTHPORTB Bit 2
SEVENTHPORTB Bit 4
SEVENTHPORTB Bit 6
SEVENTHPORTA Bit 0
SEVENTHPORTA Bit 2
SEVENTHPORTA Bit 4
SEVENTHPORTA Bit 6
EIGHTHPORTC Bit 0
EIGHTHPORTC Bit 2
EIGHTHPORTC Bit 4
EIGHTHPORTC Bit 6
EIGHTHPORTB Bit 0
EIGHTHPORTB Bit 2
EIGHTHPORTB Bit 4
EIGHTHPORTB Bit 6
EIGHTHPORTA Bit 0
EIGHTHPORTA Bit 2
EIGHTHPORTA Bit 4
EIGHTHPORTA Bit 6

Pin
49
47
45
43
41
39
37
35
33
31
29
27
25
23
21
19
17
15
13
11
9
7
5
3
1

18

Signal name
+5V
SEVENTHPORTC Bit 1
SEVENTHPORTC Bit 3
SEVENTHPORTC Bit 5
SEVENTHPORTC Bit 7
SEVENTHPORTB Bit 1
SEVENTHPORTB Bit 3
SEVENTHPORTB Bit 5
SEVENTHPORTB Bit 7
SEVENTHPORTA Bit 1
SEVENTHPORTA Bit 3
SEVENTHPORTA Bit 5
SEVENTHPORTA Bit 7
EIGHTHPORTC Bit 1
EIGHTHPORTC Bit 3
EIGHTHPORTC Bit 5
EIGHTHPORTC Bit 7
EIGHTHPORTB Bit 1
EIGHTHPORTB Bit 3
EIGHTHPORTB Bit 5
EIGHTHPORTB Bit 7
EIGHTHPORTA Bit 1
EIGHTHPORTA Bit 3
EIGHTHPORTA Bit 5
EIGHTHPORTA Bit 7

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-DIO192
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