DIO-32B User Manual
Part Number 3093
www.sealevel.com PO Box 830 Liberty, SC 29657 864.843.4343
Table of Contents
INTRODUCTION......................................................................................................................... 1
OTHER SEALEVEL ISA DIGITAL I/O PRODUCTS .......................................................................... 1
BEFORE YOU GET STARTED................................................................................................. 2
WHAT’S INCLUDED ...................................................................................................................... 2
OPTIONAL ITEMS.......................................................................................................................... 2
CARD SETUP ............................................................................................................................... 3
ADDRESS SELECTION ................................................................................................................... 3
IRQ HEADER E2.......................................................................................................................... 4
SOFTWARE INSTALLATION.................................................................................................. 5
PHYSICAL INSTALLATION .................................................................................................... 7
PROGRAMMING THE DIO-32B .............................................................................................. 8
PROGRAMMING FOR WINDOWS .................................................................................................... 8
PROGRAMMING FOR LINUX.......................................................................................................... 8
APPLICATION PROGRAMMERS INTERFACE (API) ......................................................................... 8
DIGITAL I/O INTERFACE .............................................................................................................. 8
INPUT PORTS................................................................................................................................9
SENSOR INPUT PORTS PIN ASSIGNMENTS (P1)........................................................................... 10
OUTPUT PORTS (REED RELAY) .................................................................................................. 10
OUTPUT PORTS (REED RELAY) PIN ASSIGNMENTS (P2) ............................................................ 10
DIRECT HARDWARE CONTROL .................................................................................................. 11
READING THE INPUTS................................................................................................................. 11
READING THE OUTPUTS ............................................................................................................. 11
WRITING THE OUTPUTS ............................................................................................................. 11
REGISTER DESCRIPTION ............................................................................................................. 11
INTERRUPT CONTROL................................................................................................................. 12
NTERRUPT MODE SELECT TABLE.............................................................................................. 12
I
I
NTERRUPT READ ....................................................................................................................... 12
ELECTRICAL CHARACTERISTICS .................................................................................... 13
FEATURES .................................................................................................................................. 13
PECIFICATIONS ......................................................................................................................... 13
S
EXAMPLE CIRCUITS.............................................................................................................. 14
APPENDIX A - TROUBLESHOOTING ................................................................................. 15
APPENDIX B - HOW TO GET ASSISTANCE ...................................................................... 16
APPENDIX C – SILK SCREEN – 3093 PCB .......................................................................... 17
APPENDIX D - COMPLIANCE NOTICES............................................................................ 18
FEDERAL COMMUNICATIONS COMMISSION STATEMENT ........................................................... 18
WARRANTY............................................................................................................................... 19
© Sealevel Systems, Inc.
SL9024 Revision 7/2006
DIO-32B User Manual
Introduction
The DIO-32B digital I/O interface provides 16 optically isolated inputs and 16 reed
relay outputs. The inputs (rated for 3-13V) protect the PC and other sensitive
equipment from spikes and ground loop current that can be generated in industrial
environments, while the outputs provide high quality, long life, low current (10 Watt
maximum), dry contact switch closures. Reed relays are well suited for low current
applications. The relays are normally open, and close when energized.
The DIO-32B is designed to be used with a variety of Operating Systems including
Windows 98/NT/ME/2000/XP, Linux and DOS. The SeaI/O API (Application
Programmer Interface) included on CD with the DIO-32B provides a variety of
useful high-level function calls implemented as a Windows dynamic link library
(DLL) and as a Linux kernel module and library. In addition to the API, SeaI/O
includes sample code and utilities to simplify software development.
Other Sealevel ISA Digital I/O Products
DIO-16 (P/N 3096) - 8 Reed Relay Outputs / 8 Opto-Isolated Inputs
ISO-16 (P/N 3094) - 16 Optically Isolated Inputs
REL-16 (P/N 3095) - 16 Reed Relay Outputs
REL-32 (P/N 3098) - 32 Switched Relay Outputs
PIO-48 (P/N 4030) - 48 TTL Inputs/Outputs
© Sealevel Systems, Inc. - 1 -
DIO-32B User Manual
Before You Get Started
What’s Included
The DIO-32B is shipped with the following items. If any of these items is missing or
damaged please contact Sealevel for replacement.
DIO-32B ISA Adapter
6” Ribbon Cable with IDC 20-Pin to DB-37 Male (Item# CA111)
Sealevel SeaI/O Software CD
Optional Items
Depending upon your application, you are likely to find one or more of the following
items useful for interfacing the DIO-32B to real-world signals. All items can be
purchased from our website (http://www.sealevel.com
DB-37 Male to DB-37 Female Extension Cable - (Item# CA112)
− This cable provides a 6’ extension to the CA165. It has one DB37
Male connector and one DB37 Female connector.
DB-37 Male/Female Terminal Block (Item# TB02-KT)
− Break out serial and digital connectors to screw terminals for easy
field connection. The TB02 terminal block is designed with both
DB37 male and female connectors, therefore; it can be used with any
DB37 board regardless of the board's port gender.
) or by calling (864) 843-4343.
Cable and Terminal Block Kit (Item# KT101)
− The KT101 includes the TB02 terminal block and CA112 cable. To
fully connect the DIO-32B two KT101 kits will be required.
© Sealevel Systems, Inc. - 2 -
DIO-32B User Manual
Card Setup
The DIO-32B contains several jumper straps for each port that must be set for
proper operation.
Address Selection
The DIO-32B occupies 4 consecutive I/O locations. The DIP-switch (SW1) is used
to set the base address for these locations. Be careful when selecting the base
address as some selections conflict with existing PC ports. The following table
shows several examples that usually do not cause a conflict.
The following illustration shows the correlation between the DIP-switch setting and
the address bits used to determine the base address. In the example below, address
300 is selected as the base address. Address 300 in binary is XX 11 0000 00XX
where X = a non-selectable address bit and address bit A9 is always a 1.
Address Binary Switch Settings
1 2 3 4 5 6 7 8
100-104 01 0000 00xx Off On On On On On On On
104-108 01 0000 01xx Off On On On On On On Off
200-204 10 0000 00xx On Off On On On On On On
280-283 10 1000 00xx Off On Off On On On On On
284-287 10 1000 01xx Off On Off On Off On On Off
2EC-2EF 10 1110 11xx Off On Off Off Off On Off Off
300-303 11 0000 00xx Off Off On On On On On On
320-323 11 0010 00xx Off Off On On Off On On On
388-38B 11 1000 10xx Off Off Off On On On Off On
3A0-3A3 11 1010 00xx Off Off Off On Off On On On
3A4-3A7 11 1010 01xx Off Off Off On Off On On Off
Address Selection Table
A9 A2
ON
OFF
1 2 3 4 5 6 7
8
DIP-Switch Illustration
Note: Setting the switch ‘On’ or ‘Closed’ corresponds to a ‘0’ in the address, while
leaving it ‘Off’ or ‘Open’ corresponds to a ‘1’.
© Sealevel Systems, Inc. - 3 -
DIO-32B User Manual
IRQ Header E2
Interrupts can be generated by Port A, bit 0 going low if enabled at jumper location
(E2). Interrupt request signals 2/9 through 7 (IRQ 2/9 - 7) can be selected by placing
the jumper in the appropriate position. Other inputs can be ‘wire OR ed.’ to also
generate interrupts if desired. Please consult the factory for more information.
IRQ Header E2
© Sealevel Systems, Inc. - 4 -
DIO-32B User Manual
Software Installation
Windows 98/ME/NT/2000/XP Installation
1. Start Windows.
2. Insert the Sealevel Systems CD in to your CD drive.
3. If ‘Auto-Start’ is enabled for this drive the software will automatically
launch. Otherwise, point your browser to the ‘Index.htm’ on the root
directory of the CD
4. Select ‘Install Software’.
5. Select the Part Number for your adapter from the listing.
6. Select ‘Windows 98/ME/NT/2000/XP’. The setup file will automatically
detect the operating environment and install the proper components. Next
(depending on your browser) select the ‘Run this program from its current
location’ or ‘Open’ option. Follow the information presented on the screens
that follow.
7. A screen may appear with the declaration: “The publisher cannot be
determined due to the problems below: Authenticode signature not found.”
Please select the ‘Yes’ button and proceed with the installation. This
declaration simply means that the Operating System is not aware of the
driver being loaded. It will not cause any harm to your system.
8. During setup the user may specify installation directories and other preferred
configurations. This program also adds entries to the system registry that are
necessary for specifying the operating parameters for each driver. An
uninstall option is also included to remove all registry/INI file entries from
the system.
Windows NT Card Installation: After accomplishing the above steps, bring up the
Control Panel and double-click on the SeaIO Devices icon. To install a new card,
click "Add Port". Repeat this procedure for as many SeaIO cards as you wish to
install.
© Sealevel Systems, Inc. - 5 -
DIO-32B User Manual