DIO-16 User Manual
Part Number 3096
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-16................................................................................................. 8
PROGRAMMING FOR WINDOWS .................................................................................................... 8
PROGRAMMING FOR LINUX.......................................................................................................... 8
APPLICATION PROGRAMMERS INTERFACE (API) ......................................................................... 8
DIGITAL I/O INTERFACE .............................................................................................................. 8
INPUT PORT.................................................................................................................................. 9
SENSOR INPUT PORT PIN ASSIGNMENTS (P1)............................................................................. 10
OUTPUT PORTS (REED RELAYS) ................................................................................................ 10
OUTPUT PORT PIN ASSIGNMENTS .............................................................................................. 10
POWER AND GROUND PIN ASSIGNMENTS .................................................................................. 10
DIRECT HARDWARE CONTROL .................................................................................................. 11
READING THE INPUTS................................................................................................................. 11
READING THE OUTPUTS ............................................................................................................. 12
RITING THE OUTPUTS ............................................................................................................. 12
W
R
EGISTER DESCRIPTION ............................................................................................................. 12
NTERRUPT CONTROL................................................................................................................. 12
I
ELECTRICAL CHARACTERISTICS .................................................................................... 13
FEATURES .................................................................................................................................. 13
S
PECIFICATIONS ......................................................................................................................... 13
EXAMPLE CIRCUITS.............................................................................................................. 14
APPENDIX A - TROUBLESHOOTING ................................................................................. 15
APPENDIX B - HOW TO GET ASSISTANCE ...................................................................... 16
APPENDIX C – SILK SCREEN – 3096 PCB .......................................................................... 17
APPENDIX D - COMPLIANCE NOTICES............................................................................ 18
FEDERAL COMMUNICATIONS COMMISSION STATEMENT ........................................................... 18
WARRANTY............................................................................................................................... 19
© Sealevel Systems, Inc.
SL9026 Revision 7/2006
DIO-16 User Manual
Introduction
The DIO-16 provides 8 optically isolated inputs and 8 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 will close when energized. The board is PCI bus
specification 2.1 compliant.
The DIO-16 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-16 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
ISO-16 (P/N 3094) - 16 Optically Isolated Inputs
REL-16 (P/N 3095) - 16 Reed Relay Outputs
DIO-32B (P/N 3093) - 16 Reed Relay Outputs / 16 Opto-Isolated
Inputs
REL-32 (P/N 3098) - 32 Switched Relay Outputs
PIO-48 (P/N 4030) - 48 TTL Inputs/Outputs
© Sealevel Systems, Inc. - 1 -
DIO-16 User Manual
Before You Get Started
What’s Included
The DIO-16 is shipped with the following items. If any of these items is missing or
damaged please contact Sealevel for replacement.
DIO-16 Adapter
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-16 to real-world signals. All items
can be purchased from our website (http://www.sealevel.com
843-4343.
DB-37 Male to DB-37 Female 6’ Cable - (Part Number CA112)
− This cable extends the DB-37 connector on the REL-16.PCI to six
feet and is pinned one-to-one.
DB-37 Male/Female Terminal Block (Part Number TB02-KT)
− Break out serial and digital connectors to 37 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
DB-37 board regardless of the board's port gender.
) or by calling (864)
Cable and Terminal Block Kit (Part Number KT101)
− For convenient and easier ordering, the KT101 includes the TB02-KT
terminal block and CA112 cable in a single kit.
© Sealevel Systems, Inc. - 2 -
DIO-16 User Manual
Card Setup
The DIO-16 contains several jumper straps for each port that must be set for proper
operation.
Address Selection
The DIO-16 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-16 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-16 User Manual
Software Installation
Windows 98/ME/NT/2000/XP Installation
Do not install the Adapter in the machine until the software has been fully
installed.
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-16 User Manual