CIO-DUAL-AC5
High Drive Digital I/O
User's Guide

Document Revision 4A, March, 2010
© Copyright 2010, 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.
© 2010 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-DUAL-AC5.doc

3Trademark and Copyright Information
TracerDAQ, Universal Library, 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 orother 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.

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 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-DUAL-AC5 ...........................................................................................................7
Overview: CIO-DUAL-AC5 features ................................................................................................................ 7
Software features ................................................................................................................................................ 7
Chapter 2

Installing the CIO-DUAL-AC5 ...............................................................................................................8
What comes with your CIO-DUAL-AC5 shipment? ......................................................................................... 8
Hardware .......................................................................................................................................................................... 8

Additional documentation .................................................................................................................................. 8
Optional components .......................................................................................................................................... 8
Unpacking the CIO-DUAL-AC5 ....................................................................................................................... 9
Installing the software ........................................................................................................................................ 9
Configuring the CIO-DUAL-AC5 ..................................................................................................................... 9Base address...................................................................................................................................................................... 9

Installing the CIO-DUAL-AC5 ........................................................................................................................ 10
Connecting the board for I/O operations .......................................................................................................... 11
Connectors, cables – main I/O connector ........................................................................................................................11
Field wiring, signal termination, and conditioning ..........................................................................................................12
Chapter 3

Functional Details ...............................................................................................................................13
82C55 emulation .............................................................................................................................................. 13
Pull-up and pull-down resistors .......................................................................................................................................13
TTL to solid state relays ..................................................................................................................................................14
Chapter 4

Specifications ......................................................................................................................................15
Digital I/O......................................................................................................................................................... 15Power consumption .......................................................................................................................................... 15
Environmental .................................................................................................................................................. 15
Main connectors and pin out ............................................................................................................................ 15
Connector P1 pin out .......................................................................................................................................................16
Connector P2 pin out .......................................................................................................................................................16

Declaration of Conformity ..................................................................................................................175

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-DUAL-AC5 board so that you get themost out of its high current digital I/O features. This user's guide also refers you to related documents available
on our web site, and to technical support resources.

Conventions in this user's guide
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
For additional information relevant to the operation of your hardware, refer to the Documents subdirectory
where you installed the MCC DAQ software (C:\Program Files\Measurement Computing\DAQ by default), or
search for your device on our website at www.mccdaq.com.
If you need to program at the register level in your application, refer to the Register Map for the CIO-DUALAC5. This document is available on our website at http://www.mccdaq.com/registermaps/RegMapCIO-DUALAC5.pdf.

6

Chapter 1

Introducing the CIO-DUAL-AC5
Overview: CIO-DUAL-AC5 features
The CIO-DUAL-AC5 is a 48-bit digital I/O board. The 48-bits of digital I/O are organized into two 24-bitgroups based on an 82C55 mode 0 emulation (no strobed I/O or bi-directional I/O bits). Each 24-bit group isdivided into three eight-bit ports — Port A, Port B, and Port C. PORTC can be split into two four-bit nibbles —Port C-HI and Port C-LO. Each port can be individually programmed as input or output.
The CIO-DUAL-AC5 has two 50-pin header connectors which are compatible with the pin out of OPTO-22
and GORDOS solid state relay racks. If you are using OPTO or GORDOS form factor solid state relay racks,
you can connect the CIO-DUAL-AC5 directly to the relay racks through 50-pin cables, such as the C50FE-x.
All inputs and outputs are TTL compatible. 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.
On power up and reset, all I/O bits are set to input mode. If you are using the board to control items that mustbe OFF on reset, install pull-down resistors. Each board is equipped with open locations where you can install
SIP resistor networks for either pull-up or pull-down.

Software features
For information on the features of InstaCal and the other software included with your CIO-DUAL-AC5, referto the Quick Start Guide that shipped with your device.

7

Chapter 2

Installing the CIO-DUAL-AC5
What comes with your CIO-DUAL-AC5 shipment?
The following items are shipped with the CIO-DUAL-AC5.

Hardware

CIO-DUAL-AC5

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

Optional components
You can also order the following MCC product to use with your CIO-DUAL-AC5.


CablesC50FE-x

C50FF-xSignal termination and conditioning accessories
MCC provides signal conditioning and termination products for use with the CIO-DUAL-AC5. Refer toField wiring, signal termination, and conditioning on page 12 for a complete list of compatible accessory
products.
8

CIO-DUAL-AC5 User's Guide

Installing the CIO-DUAL-AC5

Unpacking the CIO-DUAL-AC5
As with any electronic device, you should take care while handling to avoid damage from static
electricity. Before removing the CIO-DUAL-AC5 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/PDFmanuals/DAQ-SoftwareQuick-Start.pdf.

Configuring the CIO-DUAL-AC5
The CIO-DUAL-AC5 has one base address switch which you must set before installing the board in yourcomputer. The InstaCal calibration and test program included with the CIO-DUAL-AC5 will show you how to
set the switches. Run InstaCal before you open your computer and install the board.

Base address
Before you install the CIO-DUAL-AC5 in your computer, set the base address by using the dip switch labeled
ADDRESS located on the board. The easiest way to set the base address switch is to let InstaCal show you thecorrect settings. However, if are already familiar with setting ISA base addresses, you may use the base address
switch description below to guide your base address selection.
Unless there is already another board in your system using address 300 hex (768 decimal), leave the switches as
they are set at the factory. The example shown in Figure 1 shows the settings for the factory-default baseaddress of 300 hex.

Figure 1. CIO-DUAL-AC5 base address switches

In the default configuration shown in Figure 1, 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.

9

CIO-DUAL-AC5 User's Guide

Installing the CIO-DUAL-AC5

PC I/O addresses
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 control
Expansion unit (XT)Bus mouse
ALT bus mouse
Parallel 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-3BB
3C0-3CF
3D0-3DF
3E8-3EF
3F0-3F7
3F8-3FFEGA
EGA
GPIB (AT)
Serial Port
Serial Port
Prototype card
Prototype card
Hard disk (XT)
Parallel printer
SDLC
SDLC
MDA
Parallel printer
EGA
CGA
Serial port
Floppy disk
Serial port

The CIO-DUAL-AC5 Base switch can be set for an address in the range of 000-3E0, so it should not be hard tofind a free address area for your CIO-DUAL-AC5. If you are not using IBM prototyping cards, or some otherboard which occupies these addresses, then 300-31F HEX are free to use. Addresses not specifically listed,such as 390-39F, are free.

Installing the CIO-DUAL-AC5
After you configure the board's switches and jumpers, you can install the CIO-DUAL-AC5 into your computer.
To install your board, follow the steps below.
Install the MCC DAQ software before you install your board
The driver needed to run your board is installed with the MCC DAQ software. Therefore, you need to install
the MCC DAQ software before you install your board. Refer to the Quick Start Guide for instructions on
installing the software.
1.

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.

10

CIO-DUAL-AC5 User's Guide

Installing the CIO-DUAL-AC5

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 type50-pin header connectors (2)Compatible cables

C50FE-x
C50FF-x
SSR-PB24

Compatible accessory products with the
C50FE-x
Compatible accessory products with the
C50FF-x

CIO-TERM100
CIO-SPADE50
CIO-MINI50
SCB-50
SCB-100

Pin out – I/O connectors
The CIO-DUAL-AC5 I/O uses two 50-pin header-type connectors. These connectors are board-mounted andare not accessible on the rear of the PC expansion backplate. The signals available are direct connections to an
82C55 digital I/O integrated circuit.
Figure 2 shows the pin outs for the connectors. The pin assignments for each are identical for each group of 24
pins (three, eight-I/O ports).


The front connector (P1) is for first Port A, first Port B, and first Port C I/O lines (at BASE + 0, 1, and 2).
The rear connector (P2) is for second Port A, second Port B and second Port C (at BASE + 4, 5, and 6).

Figure 2. I/O connector pin out — P1 and P2 connectors

11

CIO-DUAL-AC5 User's Guide

Installing the CIO-DUAL-AC5

Field wiring, signal termination, and conditioning
The CIO-DUAL-AC5 is typically used for driving the SSR-PB24 solid state relay rack. Use the C50FE-x cablefor connections.


SSR-PB24 – 24 channel solid-state relay mounting and interface rack.

Details on this product are available on our web site at www.mccdaq.com/products/signal_conditioning.aspx.
You can use the following cabling, screw termination, and signal conditioning products with the C50FF-x
cable.


CIO-TERM100 – 100-pin screw terminal board (Two 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.
SCB-50 – 50 conductor, shielded signal connection/screw terminal box provides two independent 50-pin
connections.
SCB-100 – 100 conductor, shielded signal connection/screw terminal box provides two independent 50-pin
connections.

Details on these products are available on our web site atwww.mccdaq.com/products/screw_terminal_bnc.aspx.
Information on signal connections
General information regarding signal connection and configuration is available in the Guide to Signal
Connections (available at www.mccdaq.com/signals/signals.pdf).

12

Chapter 3

Functional Details
82C55 emulation
The CIO-DUAL-AC5 board 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 (pulldown). 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 onstandard TTL functionality, these inputs will typically float high, and may have enough drive current to turn on
external devices.
Unconnected inputs typically float high, but not reliably. The direction they float is dependent on thecharacteristics of the circuit and is unpredictable. 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 switchingat power-on or reset, force all digital I/O pins to a known state by pulling all pins either high or low through a
2.2 K ohm resistor tied to either 5V or GND.

Pull-up and pull-down resistors
Whenever the CIO-DUAL-AC5 is powered on or reset, the control register is set to a known state. That state ismode 0, all ports are inputs. When used as an output device to control other TTL input devices, the CIODUAL-AC5 applies a voltage level of 0V for low and 2.5V to 5V for high.
The pull-up resistor pulls the input to a high state (+5V) when the board is in input mode, as it would be on
power-up or reset. A 2.2 K ohm resistor draws only 2 mA. A grounded 2.2 K ohm pull-down resistor pulls the
I/O line low when the board is in input mode.
The SIP is made up of eight 2.2 K ohm 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 (refer to Figure 3).
2.2 KOhm SIP
Dot(LO or HI)

I/O Lines

Figure 3. Eight-resistor SIP Schematic

The CIO-DUAL-AC5 board has open locations (RN1 through RN6) where you can install a 2.2 K ohm, eightresistor single inline package (SIP) resistor network for each port. The locations are adjacent to each I/Oconnector and are marked A, B, and C.
Connector P1 is for the first Port A, first Port B, and first Port C I/O lines (at BASE + 0, 1, and 2). Connector
P2 is for second Port A, second Port B and second Port C (at BASE + 4, 5, and 6).
13

CIO-DUAL-AC5 User's Guide

Functional Details

When installed, the SIP establishes either a high or low logic level at each of the eight I/O lines on the port. At
each board location, A, B, and C, there are 10 holes in a line. The hole on one end is marked "HI" and isconnected to +5V. The other end is marked "LO" and is connected to GND. The eight holes in the middle
connect to eight lines of the port, A, B or C.
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 end.
Figure 4 shows a schematic of an SIP installed in both the pull-up and pull-down positions.

Figure 4. Pull-up and pull-down resistor SIP schematic

We recommend using 2.2 K ohm SIPs (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-DUAL-AC5 board for input
and have unconnected inputs, ignore the data from those lines. You do not have to terminate input lines, andunconnected lines will not affect the performance of connected lines. Ensure that you mask out any
unconnected bits in software.

TTL to solid state relays
Many applications require digital outputs to switch AC and DC voltage motors on and off or to monitor AC andhigh DC voltages. These AC and high DC voltages cannot be controlled or read directly by the TTL digital
lines of a CIO-DUAL-AC5.
Solid State Relays (SSRs) allow control and monitoring of AC and high DC voltages and provide 750 V
isolation. SSRs are the recommended method of interfacing to AC and high DC signals.
The most convenient way to use solid state relays and a CIO-DUAL-AC5 board is to use a solid state relay
rack. A SRR rack circuit board has output buffers to switch the socketed SSRs. The rack recommended for use
with the CIO-DUAL-AC5 board is the SSR-PB24 from Measurement Computing Corporation.
Information on digital I/O techniques
General information regarding digital I/O techniques is available in the Guide to Signal Connections (availableat www.mccdaq.com/signals/signals.pdf).

14

Chapter 4

Specifications
All specifications are subject to change without notice.
Typical for 25°C unless otherwise specified.
Specifications in italic text are guaranteed by design.

Digital I/O
Table 1. DIO specifications
Digital type (main connector)
OutputInput
Configuration
Number of channels
Output highOutput low
Input highInput low
Power-up / reset state
Miscellaneous

8255 mode 0 emulation
74S24474LS373
4 banks of 8, 4 banks of 4, programmable by bank as input or output
48 I/O
2.4 volts min @ -15 mA
0.5 volts max @ 64 mA
2.0 volts min, 7 volts absolute max
0.8 volts max, -0.5 volts absolute min
Input mode (high impedance)
Locations provided for installation of pull-up or pull-down resistors.

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

800 mA typical, 1.30 A max

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

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

Main connectors and pin out
Table 4. Main connector specifications
Connector typeCompatible cables
Compatible accessory products with
the C50FE-x
Compatible accessory products with
the C50FF-x

50-pin header connectors P1 (front) and P2 (rear)
C50FE-x
C50FF-x
SSR-PB24
CIO-TERM100
CIO-SPADE50
CIO-MINI50
SCB-50
SCB-100

15

CIO-DUAL-AC5 User's Guide

Specifications

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

Signal NamePort C7Port C6Port C5Port C4Port C3
Port C2Port C1
Port C0Port B7
Port B6
Port B5
Port B4
Port B3
Port B2
Port B1
Port B0
Port A7
Port A6
Port A5Port A4
Port A3
Port A2
Port A1
Port A0
+5V

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

Signal Name
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND

Connector P2 pin out
Table 6. Connector P2 pin out
Pin
1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
35
37
39
41
43
45
47
49

Signal NamePort C7Port C6Port C5Port C4Port C3
Port C2Port C1
Port C0Port B7
Port B6
Port B5
Port B4
Port B3
Port B2
Port B1
Port B0
Port A7
Port A6
Port A5Port A4
Port A3
Port A2
Port A1
Port A0
+5V

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

Signal Name
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND
GND

16

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-DUAL-AC5
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