Omega Speaker Systems Computer Hardware CIO RELAY08 User Manual |
1 INTRODUCTION
For Your Notes
The CIO-RELAY16 is a 16 channel relay interface board for ISA bus computers. The
board provides 16 Form C (SPDT) relays. The CIO-RELAY08 board is designed for
applications that require fewer relays and is identical to the RELAY16 board except
that only 8 relays are installed. The CIO-RELAY32 is two CIO-RELAY16s on a sin-
gle board while the CIO-RELAY24 is are CIO-RELAY32 with eight of the relays not
installed.
The /M versions (e.g. CIO-RELAY16/M and CIO-RELAY08/M) are identical to the
standard versions, but use Mercury wetted relays and offer quicker switch times, less
contact bounce and lower on-resistance than the standard models.
The CIO-RELAY16 family has been designed for control applications where a few
points of high voltage (or current) need to be controlled.
WARNING!
High voltages will be present on the CIO-RELAY16 family boards
when high voltage is connected to the CIO-RELAY16 connector.
Use extreme caution! Never handle the CIO-RELAY16 when sig-
nals are connected to the board through the connector.
DO NOT REMOVE THE PROTECTIVE PLATES FROM THE
CIO-RELAY16!
1.1 ACCESSORIES
The CIO-RELAY16 family are digital I/O boards 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 addi-
tional signal conditioning.
We recommend that under no circumstance should a screw terminal board be used to
connect high voltages to the CIO-RELAY16 series board. The CIO-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 safe cable to carry your signals directly from your
equipment to the CIO-RELAY16 connector.
1
14
2 QUICK START
6.2 MERCURY WETTED (/M) VERSIONS
POWER CONSUMPTION
CIO-RELAY
510 mA + (22 mA per activated relay max)
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 the CIO-
RELAY08, CIO-RELAY16, CIO-RELAY24 and CIO-RELAY32. When required due
to the differences in the boards, the specific board name is used.
GENERAL SPECIFICATIONS
Number
Contact arrangement
Contact rating
The CIO-RELAY boards are easy to use. This quick start procedure will help you
quickly and easily setup, install and test your board. We assume you already know
how to open the PC and install expansion boards. If you are unfamiliar or uncomfort-
able with board installation, please refer to your computer’s documentation.
8 / 16
Form A (SPST)
50 Watts @ 1Amp or
500VDC resistive
Mercury wetted
50 milliohms max.
2 milliseconds
2 milliseconds max.
500V (1 minute)
107 Operations (Full Load)
Contact type
Contact resistance
Operate time
Release time
Dielectric isolation
Life Expectancy
We recommend you perform the software installation described in
the following sections prior to installing the board in your com-
puter. The InstaCalTM operations below will show you how to prop-
erly set the switches and jumpers on the board prior to physically
installing the board in your computer.
ENVIRONMENTAL
Operating temperature
Storage temperature
Humidity
2.1 Install the InstaCalTM software
0 to 70 °C
-40 to 100 °C
0 to 90% non-condensing
8 oz.
Windows 95, 98 and NT users install InstaCAL by running the SETUP.EXE program
included on your InstaCAL floppies or CD.
Weight
Windows 3.x and DOS users install the program by running the INSTALL.EXE pro-
gram supplied on your InstaCAL disk.
These installation routines will create all required folders/directories and unpack the
various pieces of compressed software. Simply run install and follow the on-screen
instructions. Remember where the installed files are placed, as you will need to access
them in the next step (the default location is on your main hard drive in a directory or
folder named C:\CB\).
13
2
6 SPECIFICATIONS
2.2 Run InstaCalTM
To run InstaCalTM in the various forms of Windows, find the file named InstaCal.exe
using your file management system and double click your mouse on it. In DOS simply
type instacal and press the Enter key.
6.1 CIO-RELAY08, 16, 24 and 32 (standard versions)
Once running, InstaCalTM provides four sub-menus (plus exit).
POWER CONSUMPTION
1. Select Install (either highlight it and hit enter of double click your
+5V supply
510 mA typical plus 22 mA per active (on)
relay
mouse on it).
2. Select Board #0 (select another number if Board #0 is already installed)
GENERAL SPECIFICATIONS
Number
3. Select Board Type
8, 16, 24, or 32
Contact arrangement
Contact rating
Contact type
Contact resistance
Operate time
Release time
Form C (SPDT)
3A @ 120V A.C or 28V D.C. resistive
Gold overlay silver
100 milliohms max.
20 milliseconds
4. Move through the selections and highlight the particular board you
are installing (e.g. CIO-RELAY08 or CIO-RELAY16/M).
Either double click on the board or hit enter.
5. The board’s default settings are then displayed. The board’s defaults are:
10 milliseconds max.
10 million mechanical operations min.
Life expectancy
BASE ADDRESS:
WAIT STATE
300H (768 Decimal)
OFF
ENVIRONMENTAL
Vibration
Shock
Dielectric isolation
Life Expectancy
6. You are now ready to install the board in your computer. Open your PC (after
turning off the power) and install the board. After the board is installed and the
computer is closed up, turn the power back on.
10 to 55 Hz (Dual amplitude 1.5mm)
10G (11 milliseconds)
500V (1 minute)
1 Million Operations Electrical
100,000 Operations @ Full Load
7. Run InstaCalTM again, and at the main menu select Test.
a. Select the board you just installed
b. Select Internal Test
c. The internal control registers of the board will then be tested. If this test
is successful, your board is installed correctly. If not, you likely have
a base address conflict, or have the base address switch set incorrectly.
Please refer to the next chapter for more information regarding selecting
and setting the base address.
d. If the Internal Test is completed successfully, you may want to check
that the I/O pins are working correctly. To check this select
External Test and follow the instruction provided. This will
require the use of an ohmmeter.
3
12
3 HARDWARE INSTALLATION
5.2 FORM C RELAYS (standard versions)
Shown here is the schematic for a form C relay as used on the standard CIO-
RELAY08, 16, 24 and 32.
3.1 Mercury whetted (/M) board special considerations
The Mercury whetted boards must be mounted in the computer such that they will
remain within 30 degrees of vertical. Note that installation of these boards in most
tower computer cases will require the tower be rested on its side for proper operation.
3.2 BASE ADDRESS
The base address switch controls the I/O location where the CPU can access the regis-
ters of the CIO-RELAY board.
The form C relay has a COMMON, normally open (NO) and normally closed (NC)
contact. When a 0 is written to the output, the common and NC are in contact. When a
1 is written to the output the common and NO are in contact.
The factory default is 300H (768D).
If you have a board installed at address 300H, you will have to choose a new address
from those available on your computer. You may use the list of PC I/O address
assignments found on the following page and add notes about the boards you have
installed in your computer.
5.3 FORM A RELAYS (/M versions)
Shown here is the schematic for a form A relay as used on mercury wetted (/M)
models.
Choose a new base address from those available and set the switch using the guide
below. Please note that the switch shown below is for the CIO-RELAY08 and CIO-
RELAY16 boards. Since the CIO-RELAY32 and CIO-RELAY24 board require 4 I/O
address, their base address switch does not provide switch 2. All other settings are
identical.
NO RM ALLY O P EN
30
CO M M O N
11
If address 300H is available on your computer, we recommend that you select it. for
your board. The software examples are written for base = 300H.
FORM A RELAY
The form A relay has COMMON and normally open (NO) connections. When a 0 is
written to the output, the common and NO are disconnected. When a 1 is written to
the output the common and NO are in contact.
11
4
G ND 50
31 NO 48
31 NC 46
30 CO M 44
29 NO 42
29 NC 40
28 CO M 38
27 NO 36
27 NC 34
26 CO M 32
25 NO 30
25 NC 28
24 CO M 26
23 NO 24
23 NC 22
22 CO M 20
21 NO 18
21 NC 16
20 CO M 14
19 NO 12
19 NC 10
49 +5V
HEX
RANGE
000-00F 8237 DMA #1
020-021 8259 PIC #1
040-043 8253 TIMER
060-063 8255 PPI (XT)
060-064 8742 CONTROLLER (AT)
070-071
080-08F DMA PAGE REGISTERS
0A0-0A1 8259 PIC #2 (AT)
0A0-0AF NMI MASK (XT)
0C0-0DF 8237 #2 (AT)
0F0-0FF 80287 NUMERIC CO-P (AT)
1F0-1FF HARD DISK (AT)
200-20F GAME CONTROL
210-21F EXPANSION UNIT (XT)
238-23B BUS MOUSE
FUNCTION
HEX
RANGE
2C0-2CF EGA
2D0-2DF EGA
2E0-2E7 GPIB (AT)
2E8-2EF SERIAL PORT
2F8-2FF SERIAL PORT
300-30F PROTOTYPE CARD
310-31F PROTOTTYPE CARD
320-32F HARD DISK (XT)
378-37F PARALLEL PRINTER
380-38F SDLC
3A0-3AF SDLC
3B0-3BB MDA
3BC-3BF PARALLEL PRINTER
3C0-3CF EGA
3D0-3DF CGA
3E8-3EF SERIAL PORT
3F0-3F7 FLOPPY DISK
3F8-3FF SERIAL PORT
FUNCTION
47 31 CO M
45 30 NO
43 30 NC
41 29 CO M
39 28 NO
37 28 NC
35 27 CO M
33 26 NO
31 26 NC
29 25 CO M
27 24 NO
25 24 NC
23 23 CO M
21 22 NO
19 22 NC
17 21 CO M
15 20 NO
13 20 NC
11 19 CO M
CMOS RAM & NMI MASK (AT)
9
7
5
3
1
18 NO
18 NC
17 CO M
16 NO
16 NC
18 CO M
17 NO
8
6
4
2
23C-23F ALT BUS MOUSE
270-27F PARALLEL PRINTER
2B0-2BF EGA
17 NC
16 CO M
TABLE OF I/O ADDRESS
3.3 WAIT STATE
CIO-RELAY24 and CIO-RELAY32 Connector
This connector is the center of the board. The connector for relays 0 through 15
is the connector that is closest to the computer back-plate. PINS corresponding
to relays 24 through 31 are not connected on the RELAY24 version.
The form A relays used on the /M versions
There is a wait state jumper on CIO-RELAY series boards. The factory default is
wait state disabled. You will probably never need the wait state because PC expan-
sion slot busses are limited to 8 or 10 MHz.
have NO and COM connections only!
If you were to get intermittent operation from your CIO-RELAY board, you may try
enabling the wait state to see if that solves the problem.
WARNING!
High voltages will be present on the CIO-RELAY boards when you
have connected high voltage inputs or outputs to the CIO-RELAY
connector. Use extreme caution! Never handle the CIO-RELAY
when signals are connected to the board.! DO NOT REMOVE
THE PROTECTIVE PLATES FROM THE CIO-RELAY.
5
10
5 CONNECTING TO RELAYS
4 PROGRAMMING
The CIO-RELAY boards are easy to program. Eight bit registers located at the base
address and the base address plus an offset are written to control relays or can be read
to determine the state of relays.
5.1 I/O CONNECTOR DIAGRAMS
The CIO-RELAY08 and CIO-RELAY16 boards use a single 50 pin connector for sig-
nal interfacing. The CIO-RELAY24 and CIO-RELAY32 use two 50 pin connectors.
The pin-outs of the connector are shown here.
In addition to direct I/O programming, the boards are fully supported by the powerful
Universal Library program as well as most third party application programs.
G ND 50
15 NO 48
15 NC 46
14 CO M 44
13 NO 42
13 NC 40
12 CO M 38
11 NO 36
11 NC 34
10 CO M 32
9 NO 30
9 NC 28
8 CO M 26
7 NO 24
7 NC 22
6 CO M 20
5 NO 18
5 NC 16
4 CO M 14
3 NO 12
49 +5V
47 15 CO M
45 14 NO
43 14 NC
41 13 CO M
39 12 NO
37 12 NC
35 11 CO M
33 10 NO
31 10 NC
29 9 C O M
27 8 N O
25 8 N C
23 7 C O M
21 6 N O
19 6 N C
17 5 C O M
4.1 DIRECT I/O REGISTER PROGRAMMING
The CIO-RELAY family uses between one and four I/O addresses. Each address con-
trols 8 relays and the relays are controlled by writing to these registers. The base
address maps of the CIO-RELAY boards are shown below.
BASE ADDRESS
BASE + 1
BASE + 2
Relay 0-7
Read/Write
Relay 8-15
Relay 16-23
Relay 24-31
Read/Write (RELAY16, 24, 32)
Read/Write (RELAY24, 32)
Read/Write (RELAY32 only)
BASE + 3
15 4 N O
13 4 N C
11 3 C OM
The registers are written to and read from as a single 8 bit byte. Each bit controls an
output (write) or represents the state of a relay (read).
9
7
5
3
1
2 N O
2 N C
1 C O M
0 N O
0 N C
3 NC 10
All registers are read left to right. The leftmost bit being the most significant bit. Fol-
lowing this format bit 7 of BASE+0 corresponds to relay 7 and bit 0 to relay 0.
2 CO M
8
6
4
2
1 NO
1 NC
0 CO M
To construct a control word, use the following table:
BIT POSITION
DECIMAL VALUE
HEX VALUE
CIO-RELAY08 and CIO-RELAY16 Connector
PINS corresponding to relays 8 through 15 are not
connected on the RELAY08 version. The form A relays used
on the /M versions have NO and COM connections only!
0
1
2
3
4
5
6
7
1
2
4
1
2
4
8
8
16
32
64
128
10
20
40
80
WARNING!
High voltages will be present on the CIO-RELAY boards when you
have connected high voltage inputs or outputs to the CIO-RELAY
connector. Use extreme caution! Never handle the CIO-RELAY
when signals are connected to the board.! DO NOT REMOVE
THE PROTECTIVE PLATES FROM THE CIO-RELAY.
9
6
For example, to assemble the control byte that will turn on relays 0. 1. 3. 5 and 7 we
can see from the chart below we need to write decimal 171 (hex AB):
4.3 DETAILED RELAY CONTROL I/O MAP
RELAY
OP7
OP6
OP5
OP4
OP3
OP2
OP1
OP0
HEX
80
40
20
10
8
4
2
1
ON = 1 WEIGHT DECIMAL
ON=1 WEIGHT
The following section provides a detailed description of the register map and relay
control registers.
1
0
1
0
1
0
1
1
80
0
20
0
8
0
128
64
32
16
8
4
2
1
1
0
1
0
1
0
1
1
128
0
32
0
8
0
Base Address +0 (applicable to all CIO-RELAY series boards).
RELAY
BIT No.
HEX Value
DECIMAL
OP7
7
80
OP6
6
40
64
OP5
5
20
32
OP4
4
10
16
OP3
OP2
OP1
OP0
3
8
8
2
4
4
1
2
2
0
1
1
2
1
2
1
128
AB
171
Base Address +1 (RELAY16, 24 and 32 only)
4.2 PROGRAMMING NOTES
RELAY
BIT No.
HEX Value
DECIMAL
OP15 OP14 OP13 OP12 OP11 OP10 OP9
OP8
7
6
5
4
3
8
8
2
4
4
1
2
2
0
1
1
80
128
40
64
20
32
10
16
WRITE = CONTROL: Write a byte to the register to control the relays. A one in the
relay 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.
Base Address +2 (RELAY24 and 32 only)
ON & OFF for FORM C RELAYS:
RELAY
OP23 OP22 OP21 OP20 OP19 OP18 OP17 OP16
BIT No.
HEX Value
DECIMAL
7
80
128
6
40
64
5
20
32
4
10
16
3
8
8
2
4
4
1
2
2
0
1
1
On means that FORM C relay common is in contact with the Normally Open contact.
Off means that FORM C relay common is in contact with the normally closed contact.
Base Address +1 (RELAY32 only)
RELAY
OP31 OP30 OP29 OP28 OP27 OP26 OP25 OP24
BIT No.
HEX Value
DECIMAL
7
80
128
6
40
64
5
20
32
4
10
16
3
8
8
2
4
4
1
2
2
0
1
1
7
8
|