CIO-RELAY08
CIO-RELAY16
CIO-RELAY24
CIO-RELAY32(standard and /M versions)User’s GuideRevision 6A
August, 2001

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.
© 2001 Measurement Computing Corporation. All rights reserved. No part of this publication may bereproduced, stored in a retrieval system, or transmitted, in any form by any means, electronic, mechanical, byphotocopying, 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.

© Copyright 2001, Measurement Computing Corporation

HM CIO-RELAY##.lwp

Table of Contents
1 INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
2 INSTALLATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
2.1 SOFTWARE INSTALLATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 HARDWARE INSTALLATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
3.1 Mercury (/M) board special considerations . . . . . . . . . . . . . . . . . . . . . 33.2 BASE ADDRESS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33.3 WAIT STATE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 PROGRAMMING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54.1 DIRECT I/O REGISTER PROGRAMMING . . . . . . . . . . . . . . . . . . . 54.2 PROGRAMMING NOTES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64.3 DETAILED RELAY CONTROL I/O MAP . . . . . . . . . . . . . . . . . . . . 65 CONNECTING TO RELAYS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85.1 I/O CONNECTOR DIAGRAMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85.2 FORM C RELAYS (standard versions) . . . . . . . . . . . . . . . . . . . . . . . 105.3 FORM A RELAYS (/M versions) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 SPECIFICATIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126.1.1 CIO-RELAY08, 16, 24 and 32 (standard versions) . . . . . . . . . . . . . . . 12
6.1.2 MERCURY WETTED (/M) VERSIONS . . . . . . . . . . . . . . . . . . . . . . . . . 12

This page is blank.

1 INTRODUCTION
The CIO-RELAY16 is a 16- channel relay interface board f or ISA bus computers.
The board prov ides 16, Form-C (SPDT) relays. The CIO-RELAY08 board i sidentical to the RELAY16 board ex cept that only eight relays are installed. The
CIO-RELAY32 is two CIO-RELAY16s on a single board while the CIO-RELAY24
is a CIO-RELAY32 with only 24 relays installed.
The /M versions (e. g. CIO-RELAY16/M or CIO-RELAY08/M) are identical to thestandard versions, but use Mercury wetted relays. They offer quicker switchingtimes, less contact bounce and lower on-resistance than the standard models. TheCIO-RELAY16 family has been designed for control applications where a f ew
points of high voltage (or current) need to be controlled.

WARNING!
High voltages will be pr esent on the CIO-RELAY16 family boar ds when highvoltage is connected to the C IO-RELAY16 connector. Use extreme caution! N everhandle the CIO-RELAY16 when signals are connected to the board through theconnector.
DO NOT REMOVE THE PROTECTIVE PLATES FROM THE CIO-RELAY16!
The CIO-RELAY16 family are d igital I/O b oards with relay-based signal
conditioning installed. Most accessory boards are intended to provide signal
conditioning or easy to access signal termination. In general, the CIO-RELAY16
will not require additional signal conditioning.

WARNING
We STRONGLY recommend that under no circumstance should a screw terminal
board be used to connect high vo ltages to the CIO-RELAY16 series board. TheCIO-RELAY16 is intended to control high voltages. If you use a screw terminal
board you will expose yourself and others to those high voltage signals.
We recommend that you construct a saf e cable to carry your signals directly fromyour equipment to the CIO-RELAY16 connector.
NOTE: The Mercury wetted boards must be mounted in the computer such that they
will remain within 30 degrees of vertical.
Installation of these boards in most tower computer cases will require the tower be
rested on its side for proper operation of the mercury relays.

12 INSTALLATION
The installation and operation of all four CIO-RELAY series boards is very similar.
Throughout this manual we use CIO-RELAY as a generic designation for theCIO-RELAY08, CIO-RELAY16, CIO-RELAY24, and CIO-RELAY32. Whenrequired, due to the differences in the boards, the specific board name is used. TheCIO-RELAY boards are easy to use. T hese procedure will help you quickly andeasily setup, install and test your board. We assume you already know how to open
the PC and install expansion boards. If you are unf amiliar or uncomfortable withboard installation, please refer to your computer’s documentation.
We recommend you perform the software installation described in the following
sections prior to installing the board in your computer. The InstaCal operations
below will show you how to properly set the switches and jumpers on the board
prior to physically installing the board in your computer.
TM

2.1 SOFTWARE INSTALLATIONThe board has a variety of switches and jumpers to set before installing the board inyour computer. The simplest way to configure your board is to u se the InstaCalTM
program provided on the CD (or floppy disk) .
InstaCal will show you all available options, how to configure the various switches
and jumpers (as applicable) to match your application requirements. It will create aconfiguration file that y our application software (and the Universal L ibrary) willrefer to so the software you use will automatically have access to the exact
configuration of the board.
Please refer to the Extended Software Installation Manual regarding the installationand operation of InstaCal. The following hard copy information is provided as amatter of completeness, and will allow you to set the hard ware configuration of theboard if you do not have immediate access to InstaCal and/or your computer.

2

3 HARDWARE INSTALLATION

3.1 MERCURY (/M) BOARD SPECIAL CONSIDERATIONSThe Mercury wetted boards must be m ounted in the computer such that they willremain within 30 degrees of vertical.
NOTE: Installation of these boards in most tower computer cases will require thetower be rested on its side for proper operation of the mercury relays.

3.2 BASE ADDRESSThe base address switch controls the I/O location where the CPU can access theregisters of the CIO-RELAY board. The factory default is 300h (768D). If you havea board installed at address 300h, you will have to choose a new address from thoseavailable on your computer. You may use the list of PC I/O address assignments
found on the following page and add notes about the b oards you have installed inyour computer. Choose a new base address f rom those available and set the switch
using the guide below.
NOTE: The switch shown below in Figure 3-1 is for the CIO-RELAY08 andCIO-RELAY16 boards. Since the CIO-RELAY32 and CIO-RELAY24 board
require four I/O addresses, theirbase address switch does notprovide switch #2. All othersettings are identical.
If address 300h is available on yourcomputer, we recommend that you
select it for your board. The
software examples are written forbase = 300h.
Figure 3-1. Base Address Switches -3

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

Table 3-1. PC I/O Addresses
FUNCTIONHEXRANGE
8237 DMA #1
2C0-2CF8259 PIC #12D0-2DF
8253 TIMER
2E0-2E78255 PPI (XT)
2E8-2EF
8742 CONTROLLER (AT)
2F8-2FFCMOS RAM & NMI MASK (AT)
300-30FDMA PAGE REGISTERS
310-31F
8259 PIC #2 (AT)320-32FNMI MASK (XT)378-37F
8237 #2 (AT)380-38F
80287 NUMERIC CO-P (AT)3A0-3AF
HARD DISK (AT)
3B0-3BBGAME CONTROL
3BC-3BF
EXPANSION UNIT (XT)
3C0-3CFBUS MOUSE
3D0-3DFALT BUS MOUSE
3E8-3EFPARALLEL PRINTER
3F0-3F7EGA
3F8-3FFFUNCTION
EGA
EGA
GPIB (AT)SERIAL PORTSERIAL PORTPROTOTYPE CARD
PROTOTYPE CARD
HARD DISK (XT)
PARALLEL PRINTER
SDLC
SDLC
MDA
PARALLEL PRINTEREGACGASERIAL PORTFLOPPY DISKSERIAL PORT

3.3 WAIT STATE
There is a wait state jumper on CIO-RELAY series boards. The factory default iswait state d isabled. You will probably never need the wait state because PC
expansion slot busses are limited to 8 or 10 MHz.
If you were to get intermittent operation from your CIO-RELAY board, you can try
enabling the wait state to see if that solves the problem.

44 PROGRAMMINGThe CIO-RELAY boards are easy to program. From one to four eight-bit registers
are written to control relays or can be read to determine the state of relays.
In addition to direct I/O programming, the boards are f ully supported by thepowerful Universal Library program as well as most third-party application
programs.

4.1 DIRECT I/O REGISTER PROGRAMMINGThe CIO-RELAY family uses between one and four I/O addresses. Each addresscontrols eight relay s. Relays are co ntrolled by writing to these register(s). T headdress map of the CIO-RELAY boards is shown below.
BASE ADDRESS

Relays 0-7

Read/Write (All CIO-RELAY boards

BASE + 1

Relays 8-15

Read/Write (CIO-RELAY16, -24, -32)

BASE + 2

Relays 16-23

Read/Write (CIO-RELAY24, -32)

BASE + 3

Relays 24-31

Read/Write (CIO-RELAY32 only)

The registers are written to and read from as a single, 8-bit byte. Each bit controls anoutput to a relay (write) or represents the state of a relay (read).
All registers are read left to right. The leftmost bit (the eighth bit) being the mostsignificant bit. Following this format, bit seven (OP7) of BASE + 0 corresponds torelay number 7 and bit 0 to relay number 0.
To construct a control word, use Table 4.1 for bit weights.

BIT POSITION
012
34567

Table 4-1. Bit Weights
DECIMAL VALUE
12
48
16
32
64
128

HEX VALUE
12481020
4080

For example, to assemble the control byte that will turn on relays 0, 1, 3, 5, and 7,
we see in Table 4-2 that we need to write HEX AB or decimal 171.
5

RELAY

OP7OP60P5
OP4OP3OP2OP1OP0

Table 4-2. Sample Coding to Turn ON Relays 0, 1, 3, 5, & 7
HEX
ON=1WEIGHTDECIMAL
WEIGHT
ON=180
180
128
1128
40
00
64
0
0
20
12032
132
1000
16
00
8
188
18
400
400
2
122
12
11
11
11Totals

AB

171

4.2 PROGRAMMING NOTESWRITE = CONTROL: Write a byte to the register to control the relays. A one in therelay bit position turns the relay on.
READ = STATUS: Read the status of the relay control register. A one in the relay
bit position indicates the relay is on.
ON & OFF for FORM C RELAYS:
ON means that FORM C relay common terminal is in contact with the No rmallyOpen contact.
OFF means that FORM C relay common terminal is in contact with the no rmallyclosed contact.

4.3 DETAILED RELAY CONTROL I/O MAP
The following section provides a detailed description of the register map and relaycontrol registers.

Base Address +0 (applicable to all CIO-RELAY series boards).
RELAY

OP7

OP6OP5OP4OP3

OP2OP1

OP0BIT No.

76543210

HEX Value

80402010842

1

DECIMAL

12864321684216

Base Address + 1 (applicable to CIO-RELAY16, -24, and -32 only).
RELAY

OP15OP14

OP13

OP12OP11

OP10OP9OP8BIT No.

76543210

HEX Value

80

4020

10842

1

DECIMAL

128643216842

1

Base Address + 2 (applicable to CIO-RELAY24, and -32 only).
RELAY

OP23

OP22

OP21

OP20

OP19

OP18

OP17

OP16

BIT No.

76543210HEX Value

804020108421DECIMAL

1286432168421Base Address + 3 (applicable to CIO-RELAY32 only).
RELAY

OP31OP30OP29OP28OP27OP26OP25OP24BIT No.

76543210HEX Value

804020108421DECIMAL

128643216842175 CONNECTING TO RELAYS
5.1 I/O CONNECTOR DIAGRAMSThe CIO-RELAY08 and CIO-RELAY16 boards use a s ingle 50-pin connector for
signal interfacing. The CIO-RELAY24 and CIO-RELAY32 use two, 50-pin
connectors. The pin-outs of the connectors are shown in Figures 5-1 through 5-4.

Figure 5-1. CIO-RELAY08 & 16Connector

Figure 5-2. CIO-RELAY08/M & 16/M
Connector

PINS corresponding to relays 8 through 15 are not connected on the RELAY08
version (Figure 5-1). Note that the form A relays used on the /M versions have
NO and COM connections only (Figure 5-2).

WARNING!
High voltages will be present on the CIO-RELAY boards when you have connectedhigh voltage inputs or outputs to the CIO-RELAY connector. Use extreme caution!
Never handle the CIO-RELAY board when high voltage signals are connected to it.
DO NOT REMOVE THE PROTECTIVE PLATES FROM THE BOARD .
8

CIO-RELAY24 & 32Connector

Figure5-3.
Figure 5-4. CIO-RELAY24/M & 32MConnector

The CIO-RELAY24 & 32 connector (Figure 5-3) is the center of the board.
The connector for relays 0 through 15 is closest to the computer back-plate.
The Form-A relays of the /M versions have NO and COM connections only(Figure 5-4).
NOTE: Pins for relays 24 through 31 are open on the CIO-RELAY24 & -24/Mversions.

WARNING!
High voltages will be present on the CIO-RELAY boards when you have connectedhigh voltage inputs or outputs to the CIO-RELAY connector. Use extreme caution!
Never handle the CIO-RELAY board when HV signals are connected to the board.
DO NOT REMOVE THE PROTECTIVE PLATES FROM THE BOARD.
95.2 FORM C RELAYS (STANDARD VERSIONS)
Figure 5-5 is the schematic for a Form-C relay as used on the standard
CIO-RELAY08, -16, -24 and -32 boards.
The Form-C relay has a COMMON (COM), a normally open (NO), and a normallyclosed (NC) contact. When a 0 is written to an output (OPn), the common and NC
are in contact. When a “1” is written to an output (OPn), the common and NO are incontact.

Figure 5-5. Form C Relay

5.3 FORM A RELAYS (/M VERSIONS)
Figure 5-6 is the schematic for a Fo rm-A relay as used on mercury wetted (/M)
models.
A Form-A relay has COMMON (COM) and normally open (NO) con nections.
When a “0” is written to the output, the common and NO are disconnected. When a“1” is written to the output (OPn), the common and NO are in contact.

Figure 5-6. Form A Relay

10

6 SPECIFICATIONS
6.1.1 CIO-RELAY08, 16, 24 and 32 (standard versions)
POWER CONSUMPTION+5V supply
510 mA typical plus 22 mA per active (on) relay
GENERAL SPECIFICATIONS
Number8, 16, 24, or 32
Contact arrangement
Form C (SPDT)
Contact rating
3A @ 120VAC or 28VDC resistive
Contact type
Gold-overlayed silver
Contact resistance
100 milliohms max.
Operate time
20 milliseconds
Release time
10 milliseconds max.
Life expectancy
10 million mechanical operations minimum
ENVIRONMENTAL
Vibration
Shock
Dielectric isolation
Life Expectancy

10 to 55 Hz (Dual amplitude 1.5mm)
10G (11 milliseconds)
500V (1 minute)
1 Million Operations Electrical
100,000 Operations @ Full Load

6.1.2 MERCURY WETTED (/M) VERSIONSPOWER CONSUMPTION
CIO-RELAY

510 mA + (22 mA per activated relay max)

GENERAL SPECIFICATIONS
NumberContact arrangement
Contact rating
Contact typeContact resistanceOperate time
Release time
Dielectric isolation
Life Expectancy

8 /16
Form A (SPST)
50 Watts @ 1 Amp or 500VDC resistive
Mercury wetted
50 milliohms max.
2 milliseconds
2 milliseconds max.
500V (1 minute)107 Operations (Full Load)

11

ENVIRONMENTAL
Operating temperature
Storage temperatureHumidity
Weight0 to 70 °C-40 to 100 °C
0 to 90% non-condensing
8 oz.

NOTE: The Mercury wetted boards must be mounted in the computer such that theywill remain within 30 degrees of vertical.
Installation of these boards in most tower computer cases will require the tower berested on its side for proper operation of the mercury relays.

12For Your Notes

13

For Your Notes

14

EC Declaration of Conformity
We, Measurement Computing Corp., declare under sole responsibility that theproduct:
CIO-RELAY##8, 16, 24 or 32 channel relay board

Part NumberDescriptionto which this declaration relates, meets the essential requirements, is in conformity
with, and CE marking has been applied according to th e relevant EC Directives
listed below using the relevant sectio n of the f ollowing EC stand ards and othernormative documents:
EU EMC Directive 89/336/EEC:
electromagnetic compatibility.

Essential req

uirements

relating toEU 55022 Class B: Limits and methods of measurements of radio interference
characteristics of information technology equipment.
EN 50082-1: EC generic immunity requirements.
IEC 801-2: Electrostatic discharge requirements for industrial process measurement
and control equipment.
IEC 801-3: Radiated electromagnetic field requirements for industrial process
measurements and control equipment.
IEC 801-4: Electrically fast transients for industrial process measurement andcontrol equipment.
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