Measurement CIO-DIO24CTR3 User Manual

CIO-DIO24/CTR3
DIO and Counter Board
User’s Guide
Document Revision 1, January, 2007
© Copyright 2007, Measurement Computing Corporation
Your new Measurement Computing product comes with a fantastic extra
Management committed to your satisfaction!
Thank you for choosing a Measurement Computing productand congratulations! You own the finest, and you can now enjoy the protection of the most comprehensive warranties and unmatched phone tech support. It’s the embodiment of our mission:
To provide data acquisition hardware and software that will save time and save money.
Simple installations minimize the time between setting up your system and actually making measurements. We offer quick and simple access to outstanding live FREE technical support to help integrate MCC products into a DAQ system.
Limited Lifetime Warranty: Most MCC products are covered by a limited lifetime warranty against defects in materials or workmanship for the life of the product, to the original purchaser, unless otherwise noted. Any products found to be defective in material or workmanship will be repaired, replaced with same or similar device, or refunded at MCC’s discretion. For specific information, please refer to the terms and conditions of sale.
Harsh Environment Program: Any Measurement Computing product that is damaged due to misuse, or any reason, may be eligible for replacement with the same or similar device for 50% of the current list price. I/O boards face some harsh environments, some harsher than the boards are designed to withstand. Contact MCC to determine your product’s eligibility for this program.
30 Day Money-Back Guarantee: Any Measurement Computing Corporation product may be returned within 30 days of purchase for a full refund of the price paid for the product being returned. If you are not satisfied, or chose the wrong product by mistake, you do not have to keep it.
These warranties are in lieu of all other warranties, expressed or implied, including any implied warranty of merchantability or fitness for a particular application. The remedies provided herein are the buyer’s sole and exclusive remedies. Neither Measurement Computing Corporation, nor its employees shall be liable for any direct or indirect, special, incidental or consequential damage arising from the use of its products, even if Measurement Computing Corporation has been notified in advance of the possibility of such damages.
Trademark and Copyright Information
Measurement Computing Corporation, InstaCal, Universal Library, and the Measurement Computing logo are either 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.
Notice
Measurement Computing Corporation does not authorize any Measurement Computing Corporation product for use in life support systems and/or devices without prior written consent from Measurement Computing Corporation. Life support devices/systems are devices or systems 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 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.
HM CIO-DIO24-CTR3.doc
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 ...................................................................................................................9
Base 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...............................................................................................................................16
Signal 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
Preface

About this User's Guide

What you will learn from this user's guide

This user's guide explains how to install, configure, and use the CIO-DIO24/CTR3 so that you get the most out of its analog output features. This user's guide also refers you to related documents available on our web site,
and to technical support resources.

Conventions in this user's guide

The following conventions are used in this manual to convey special information:
For more information on …
Text presented in a box signifies additional information and helpful hints related to the subject matter you are reading.
Caution! Shaded caution statements present information to help you avoid injuring yourself and others,
damaging your hardware, or losing your data.
<#:#> Angle brackets that enclose numbers separated by a colon signify a range of numbers, such as those assigned
to registers, bit settings, etc.
bold text Bold text is used for the names of objects on the screen, such as buttons, text boxes, and check boxes. For
example:
1. Insert the disk or CD and click the OK button.
italic text Italic text is used for the names of manuals and help topic titles, and to emphasize a word or phrase. For
example: The InstaCal installation procedure is explained in the Quick Start Guide. Never touch the exposed pins or circuit connections on the board.

Where to find more information

The following electronic documents provide information relevant to the operation of the CIO-DIO24/CTR3.
MCC's Specifications: CIO-DIO24/CTR3 (the PDF version of the Specifications chapter in this guide) is
available on our web site at www.mccdaq.com/pdfs/CIO-DIO24-CTR3.pdf
MCC's Quick Start Guide is available on our web site at
www.mccdaq.com/PDFmanuals/DAQ-Software-Quick-Start.pdf
MCC's Guide to Signal Connections is available on our web site at
www.mccdaq.com/signals/signals.pdf
MCC's Universal Library User's Guide is available on our web site at
www.mccdaq.com/PDFmanuals/sm-ul-user-guide.pdf
MCC's Universal Library Function Reference is available on our web site at
www.mccdaq.com/PDFmanuals/sm-ul-functions.pdf
MCC's Universal Library for LabVIEW
www.mccdaq.com/PDFmanuals/SM-UL-LabVIEW.pdf
.
.
User’s Guide is available on our web site at
.
.
.
.
CIO-DIO24/CTR3 User's Guide (this document) is also available on our web site at
www.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 counter chip 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 an external 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, and the 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, 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

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
Chapter 2

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
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.
). This booklet supplies a brief description of

Optional components

Cables
C37FF-x
Signal termination and conditioning accessories
MCC provides signal conditioning and termination products for use with the CIO-DIO24. Refer to Field
wiring, signal termination, and conditioning on page 15 for a complete list of compatible accessory
products.
C37FFS-x
CIO-DIO24/CTR3 User's Guide Installing the CIO-DIO24/CTR3
j
j

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 or by simply touching the computer chassis or other grounded object to eliminate any stored static charge.
If any components are missing or damaged, notify Measurement Computing Corporation immediately by phone, fax, or e-mail:
Phone: 508-946-5100 and follow the instructions for reaching Tech Support. Fax: 508-946-9500 to the attention of Tech Support Email: techsupport@mccdaq.com

Installing the software

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-Software-
Quick-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 CIO­DIO24/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 Source
umpers
Base
Address
switches
Interrupt
Level
jumper
Figure 1. Switch and jumper locations
Wait
State
umper
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 Sets the base address 300h (768 decimal)
Interrupt level jumper Sets the interrupt level "X" position (no interrupt level set)
Wait state jumper Enables/disables the on-board wait-state
generator.
Clock source jumpers Sets the input signal for each counter Not set
Off (disabled)
Review the following information to change the default configuration of a switch or jumper.

Base address

The easiest way to set the base address is to let InstaCal show you the correct settings. However, if you are
already familiar with setting ISA base addresses, you may use the base address switch description below to guide your base address selection.
Each I/O board uses one or more I/O address locations within your computer’s I/O address space. To avoid
interference with other installed boards, each board must use unique addresses. The base address is the board’s
starting location that software writes to when communicating with the CIO-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 your
system that uses address 300 hex (768 decimal), leave the switches as they were set at the factory.
9876
Figure 2. Base address switch
54
In the default configuration, addresses 9 and 8 are down, and all others are up. Address 9
3
A9 A8 A7 A6 A5 A4 A3
200 100 80 40 20 10 08
= 200 hex
HEX
SW
(512 decimal), and address 8 = 100 hex (256 decimal). When added together they equal 300 hex (768 decimal).
Disregard the numbers printed on the switch
When setting the base address, refer to the numbers printed in white on the printed circuit board.
Certain addresses are used by the computer. Other addresses are free, and may be used by the CIO­DIO24/CTR3. Refer to the following table for a list of I/O addresses.
CIO-DIO24/CTR3 User's Guide Installing the CIO-DIO24/CTR3
2
7
X
PC I/O Address Summary
Hex Range Function Hex Range Function
000-00F 8237 DMA #1 2C0-2CF EGA
020-021 8259 PIC #1 2D0-2DF EGA
040-043 8253 TIMER 2E0-2E7 GPIB (AT)
060-063 8255 PPI (XT) 2E8-2EF SERIAL PORT
060-064 8742 CONTROLLER (AT) 2F8-2FF SERIAL PORT
070-071 CMOS RAM & NMI MASK (AT) 300-30F PROTOTYPE CARD
080-08F DMA PAGE REGISTERS 310-31F PROTOTYPE CARD
0A0-0A1 8259 PIC #2 (AT) 320-32F HARD DISK (XT)
0A0-0AF NMI MASK (XT) 378-37F PARALLEL PRINTER
0C0-0DF 8237 #2 (AT) 380-38F SDLC
0F0-0FF 80287 NUMERIC CO-P (AT) 3A0-3AF SDLC
1F0-1FF HARD DISK (AT) 3B0-3BB MDA
200-20F GAME CONTROL 3BC-3BF PARALLEL PRINTER
210-21F EXPANSION UNIT (XT) 3C0-3CF EGA
238-23B BUS MOUSE 3D0-3DF CGA
23C-23F ALT BUS MOUSE 3E8-3EF SERIAL PORT
270-27F PARALLEL PRINTER 3F0-3F7 FLOPPY DISK
2B0-2BF EGA 3F8-3FF SERIAL PORT
You can set the base address switch to any address in the range of 000-3FC. If you are not using IBM prototyping cards or another board which occupies these addresses, the CIO-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 your computer 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 is an input jumper which maps the interrupt directly onto the PC bus. The signal to the bus is buffered. The buffer is enabled by a LOW level on Pin 2,
IR Enable.
Interrupts are hardware-initiated software routines. Most hardware interrupts are assigned by the computer and are reserved for internal system use. Refer to the following table for some typical interrupt assignments on a computer.
The CIO-DIO24/CTR3 is shipped with the jumper in the " ( ). Leave the jumper in the default "X" position for now. If your software employs interrupt service
Figure 3
routines, it will direct you to select an IRQ level. Use the jumper block labeled
X" position, which means that no interrupt level is set
IR above the PC bus interface
(gold pins) if you want to set the interrupt.
3456
IR
Figure 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 Parity IRQ8 Real Time Clock (AT)
IRQ0 Timer IRQ9 Re-directed to IRQ2
(AT)
IRQ1 Keyboard IRQ10 Unassigned
IRQ2 Reserved (XT) IRQ11 Unassigned
INT 8-15 (AT)
IRQ3 COM OR SDLC IRQ12 Unassigned
IRQ4 COM OR SDLC IRQ13 80287 MUNERIC CO-P
IRQ5 Hard Disk (XT) IRQ14 Hard Disk
LPT (AT)
IRQ6 Floppy Disk IRQ15 Not assigned
IRQ7 LPT

Wait state

The CIO-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
O
F
N
WAIT
STATE
Figure 4. Wait state jumper
Figure 4The jumper is shown in is configured for OFF (wait state is disabled).
Because all PC expansion board busses are slowed to either 8 MHz or 10 MHz, the wait state will generally not be required. If you experience sporadic errors from the 82C55 digital I/O chip (reset, port direction swaps), try enabling the wait state generator.

Clock source

The CIO-DIO24/CTR3 board has a bank of jumpers (J2) that you use to configure the clock source for the counter 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 external source.
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 the
counter 0 input signal.
Jumper the Jumper the
OUT0 and CLK1 pins to connect the output of counter 0 to the input of counter 1. 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 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/DAQ-
Software-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 type 37-pin male "D" connector
Compatible cables C37FF-x
C37-FFS-x
DFCON-37 (D-connector, D-shell, and termination pins to construct your own cable)
Compatible accessory products with the C37FF-x cable and C37FFS-x cable
The CIO-DIO24/CTR3 connector is a 37-pin D-type male connector that is accessible through the computer's expansion bracket (see ). The signals available are direct connections to the 82C55 digital I/O chip as
Figure 6
well as the PC’s internal power supplies.
CIO-MINI37
CIO-SPADE50
SSR-RACK08
SSR-RACK24
CIO-ERB08
CIO-ERB24
CLK 0 19
GATE 0 18
OUT 0 17
CLK 1 16
GATE 1 15
OUT 1 14
CLK 2 13
GATE 2 12
FIRSTPORTB B it 0 10 FIRSTPORTB B it 1 9 FIRSTPORTB B it 2 8 FIRSTPORTB B it 3 7 FIRSTPORTB B it 4 6 FIRSTPORTB B it 5 5 FIRSTPORTB B it 6 4 FIRSTPORTB B it 7 3
OUT 2 11
IR Enable 2
IR Input 1
Figure 6. I/O connector pin-out
37 FIRSTPORTA Bit 0 36 FIRSTPORTA Bit 1 35 FIRSTPORTA Bit 2 34 FIRSTPORTA Bit 3 33 FIRSTPORTA Bit 4 32 FIRSTPORTA Bit 5 31 FIRSTPORTA Bit 6 30 FIRSTPORTA Bit 7 29 FIRSTPORTC Bit 0 28 FIRSTPORTC Bit 1 27 FIRSTPORTC Bit 2 26 FIRSTPORTC Bit 3 25 FIRSTPORTC Bit 4 24 FIRSTPORTC Bit 5 23 FIRSTPORTC Bit 6 22 FIRSTPORTC Bit 7 21 GND 20 +5V
13
CIO-DIO24/CTR3 User's Guide Installing the CIO-DIO24/CTR3

Cabling

37
19
The red stripe
20
1
identifi es pi n # 1
Figure 7. C37FF-x cable
19
37
20
1
Figure 8. C37FFS-x cable

Field wiring, signal termination, and conditioning

37
20
19
1
19
37
20
1
You can use the following cabling, screw termination, and signal conditioning products with the CIO­DIO24/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 for lamps etc., to 50 Amps at 220 volts for electric heaters or other high-load equipment. Attempting to connect such loads directly to the CIO-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 high impedance input. If you connect another TTL input device to the 82C55 it could be turned ON or OFF every time the 82C55 is reset.
To prevent unwanted signal levels, and to drive all inputs on the device you are controlling to a known state after power up or reset, install pull-up or pull-down resistors. If you are using the board to control items that must be OFF on reset, install pull-down resistors.
A pull-up resistor pulls all digital pins up to +5 V (high logic level). A pull-down resistor pulls all digital pins down to 0 V (low logic level).
The CIO-DIO24/CTR3 has open locations where you can install a single inline package (SIP) resistor network for each port. When installed, the SIP establishes either a high or low logic level at each of the I/O lines on the port.
The SIP is made up of eight 2.2 K resistors. One side of each resistor is connected to a single common point and brought out to a pin. The common line is marked with a dot or line at one end of the SIP. The remaining resistor ends are brought out to the other eight pins (see ). Figure 9
2.2KOhm SIP
Dot indic a tes the common 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. shows a
Figure 10 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.
15
CIO-DIO24/CTR3 User's Guide Functional Details
+5 VDC
HI
n7 n6
n5
Digital
I/O
Port
n = A, B, or C
n4
n3
n2
n1
n0
LO (GND)
2.2 K SIP installed for pull-up
2.2 K SIP
COM
Dot
Digital
User C onnector
Digital I/O Lines
n = A, B, or C
2.2 K SIP installed for pull-down
I/O
Port
+5 VDC
HI
n7 n6
n5
n4
n3
n2
n1
n0
LO (GND)
2.2 K SIP
COM
Dot
User C onnector
Digital I/O Lines
Figure 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 and have unconnected inputs, ignore the data from those lines. You do not have to terminate input lines. Unconnected lines will not affect the performance of connected lines. Mask out any unconnected bits in software.

Digital I/O Isolation

To provide external signal conditioning and isolation, you can connect the CIO-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 register level for other models will not function correctly with your board.

Programming languages

Measurement Computing's Universal Library provides access to board functions from a variety of Windows programming languages. If you are planning to write programs, or would like to run the example programs for Visual Basic
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.
or any other language, refer to the Universal Library User's Guide (available on our web site at
).
Some application drivers are included with the Universal Library package, but not with the application package. If you have purchased an application package directly from the software vendor, you may need to purchase our Universal Library and drivers. Please contact us by phone, fax or e-mail:
Phone: 508-946-5100 and follow the instructions for reaching Tech Support. Fax: 508-946-9500 to the attention of Tech Support Email: techsupport@mccdaq.com

Register-level programming

You should use the Universal Library or one of the packaged application programs mentioned above to control your board. Only experienced programmers should try register-level programming.
If you need to program at the register level in your application, refer to the Register Map for the CIO-DIO24, CIO-DIO24H, and CIO-DIO24/CTR3. This document is available on our website at
www.mccdaq.com/registermaps/RegMapCIO-DIO24-Series.pdf
.
17
Chapter 5

Specifications

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

Digital Input / Output

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

Counters

Table 2. Power consumption specifications
Counter type 82C54 Configuration 3 down counters, 16-bits each Counter 0 - independent, user configurable 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
Counter 1 - independent, user configurable 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
Counter 2 - independent, user configurable Source: User connector (CLK2) and optionally, counter 1
output, selectable by jumper
Gate: User connector (GATE2)
Output: User connector (OUT2)
Clock input frequency 10 MHz max
High pulse width (clock input) 30 ns min
Low pulse width (clock input) 50 ns min
Gate width high 50 ns min
Gate width low 50 ns min
Input low voltage 0.8 V max
Input high voltage 2.0 V min
Output low voltage 0.4 V max
18
CIO-DIO24/CTR3 User's Guide Specifications
Output high voltage 3.0 V min

Power consumption

Table 3. Power consumption specifications
Parameter Specification
+5V 190 mA typical, 300 mA max

Environmental

Table 4. Environmental specifications
Operating temperature range 0 to 70 °C Storage temperature range -40 to +100 °C Humidity 0 to 90% non-condensing

Main connector and pin out

Table 5. Connector specifications
Connector type 37-pin male "D" connector
Compatible cables C37FF-x
C37-FFS-x
DFCON-37 (D-connector, D-shell, and termination pins to construct your own cable)
Compatible accessory products with the C37FF-x cable and C37FFS-x cable
CIO-MINI37
CIO-SPADE50
SSR-RACK08
SSR-RACK24
CIO-ERB08
CIO-ERB24
Table 6. Connector pin out
Pin Signal Name Pin Signal Name
1 IR Input 20 +5V 2 IR Enable 21 GND 3 FIRSPORTB Bit 7 22 FIRSPORTC Bit 7 4 FIRSPORTB Bit 6 23 FIRSPORTC Bit 6 5 FIRSPORTB Bit 5 24 FIRSPORTC Bit 5 6 FIRSPORTB Bit 4 25 FIRSPORTC Bit 4 7 FIRSPORTB Bit 3 26 FIRSPORTC Bit 3 8 FIRSPORTB Bit 2 27 FIRSPORTC Bit 2 9 FIRSPORTB Bit 1 28 FIRSPORTC Bit 1 10 FIRSPORTB Bit 0 29 FIRSPORTC Bit 0 11 GND 30 FIRSPORTA Bit 7 12 GATE 2 31 FIRSPORTA Bit 6 13 CLK 2 32 FIRSPORTA Bit 5 14 OUT 1 33 FIRSPORTA Bit 4 15 GATE 1 34 FIRSPORTA Bit 3 16 CLK 1 35 FIRSPORTA Bit 2 17 OUT 0 36 FIRSPORTA Bit 1 18 GATE 0 37 FIRSPORTA Bit 0 19 CLK 0
19

Declaration of Conformity

Manufacturer: Measurement Computing Corporation Address: 10 Commerce Way Suite 1008 Norton, MA 02766 USA
Category: Electrical equipment for measurement, control and laboratory use.
Measurement Computing Corporation declares under sole responsibility that the product
CIO-DIO24/CTR3
to which this declaration relates is in conformity with the relevant provisions of the following standards or other documents:
EU EMC Directive 89/336/EEC: Electromagnetic Compatibility, EN55022 (1987), EN50082-1
Emissions: Group 1, Class B
EN55022 (1987): Radiated and Conducted emissions.
Immunity: EN50082-1
IEC 801-2 (1987): Electrostatic Discharge immunity, Criteria B. IEC 801-3 (1984): Radiated Electromagnetic Field immunity Criteria A. IEC 801-4 (1988): Electric Fast Transient Burst immunity Criteria B.
Declaration of Conformity based on tests conducted by Chomerics Test Services, Woburn, MA 01801, USA in December, 1995. Test records are outlined in Chomerics Test Report #EMI0168B.95.
We hereby declare that the equipment specified conforms to the above Directives and Standards.
Carl Haapaoja, Director of Quality Assurance
Measurement Computing Corporation
10 Commerce Way
Suite 1008
Norton, Massachusetts 02766
(508) 946-5100
Fax: (508) 946-9500
E-mail: info@mccdaq.com
www.mccdaq.com
Loading...