Impulse 8004e User Manual

DIO-32.PCIe User Manual
Part Number 8004e
www.sealevel.com PO Box 830 Liberty, SC 29657 864.843.4343
Table of Contents
©
INTRODUCTION......................................................................................................................... 1
BEFORE YOU GET STARTED ................................................................................................. 2
WHATS INCLUDED ...................................................................................................................... 2
OPTIONAL ITEMS.......................................................................................................................... 2
SOFTWARE INSTALLATION .................................................................................................. 3
LINUX INSTALLATION .................................................................................................................. 6
HARDWARE INSTALLATION ................................................................................................. 9
VERIFYING INSTALLATION ......................................................................................................... 11
PROGRAMMING THE DIO-32.PCI ....................................................................................... 12
PROGRAMMING FOR WINDOWS .................................................................................................. 12
PROGRAMMING FOR LINUX ........................................................................................................ 12
DIGITAL I/O INTERFACE ............................................................................................................ 12
INPUT PORTS .............................................................................................................................. 13
INPUT PORTS PIN ASSIGNMENTS (DB-37 FEMALE) .................................................................... 14
OUTPUT PORTS (REED RELAY) .................................................................................................. 14
OUTPUT PORTS (REED RELAY) PIN ASSIGNMENTS (DB-37 MALE) ........................................... 14
DB-78 FEMALE PIN ASSIGNMENTS (CARD EDGE CONNECTOR) ................................................. 15
DIRECT HARDWARE CONTROL .................................................................................................. 15
READING THE INPUTS ................................................................................................................. 15
READING THE OUTPUTS ............................................................................................................. 15
WRITING THE OUTPUTS ............................................................................................................. 15
REGISTER DESCRIPTION ............................................................................................................. 16
OPTIONAL 3093 MIGRATION CABLE (CA378) ........................................................................... 17
ELECTRICAL CHARACTERISTICS .................................................................................... 18
FEATURES .................................................................................................................................. 18
SPECIFICATIONS ......................................................................................................................... 18
EXAMPLE CIRCUITS .............................................................................................................. 19
APPENDIX A - TROUBLESHOOTING ................................................................................. 20
APPENDIX B - HOW TO GET ASSISTANCE ...................................................................... 23
APPENDIX C – SILK SCREEN – 8004E PCB........................................................................ 24
APPENDIX D - COMPLIANCE NOTICES ............................................................................ 25
FEDERAL COMMUNICATIONS COMMISSION STATEMENT ........................................................... 25
WARRANTY............................................................................................................................... 26
Sealevel Systems, Inc.
SL9207 Revision 3/2009
DIO-32.PCIe User Manual
©

Introduction

The DIO-32.PCIe digital I/O interface provides 16 optically isolated inputs and 16 reed relay outputs. The inputs 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 SeaI/O Classic software drivers and utilities are included on the CD and make installation and operation easy using Windows 2000, XP, Vista and Linux operating systems. The SeaI/O API (Application Programmer Interface) 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. SeaI/O also includes sample code and utilities to simplify software development.
The inputs on the 8004e are rated for 3-13V. The inputs on the 8004He are rated for 10-30V.

Features

PCI Express X1 compliant 16 optically isolated inputs Socketed dip resistor allows user configurable input range up to +30V 16 Reed relay outputs (SPST) Highly reliable 10VA DIP Reed relays Power (+5V and +12V) and ground provided on DB78 board connector Includes 72” cable with DB78 Male connector to DB37 Male and DB37 Female
SeaI/O Classic software supports Windows 2000, XP and Vista operating
Software support for Linux available
connectors (Item# CA165)
systems
Sealevel Systems, Inc.
- 1 -
DIO-32.PCIe User Manual
©

Before You Get Started

What’s Included

The DIO-32.PCIe is shipped with the following items. If any of these items is missing or damaged please contact Sealevel for replacement.
Item# 8004e – DIO-32.PCIe Digital I/O Adapter
8004e – Board with 3-13V inputs
8004He – Board with 10-30V inputs
Item# CA165 – DB78 Male to DB37 Male and DB37 Female V-cable Sealevel Software CD – SeaI/O Classic software and user manual

Optional Items

Depending upon your application, you are likely to find one or more of the following items useful for interfacing the DIO-32.PCIe to real-world signals. All items can be purchased from our website (http://www.sealevel.com
Cables
DB37 Male to DB37 Female Extension Cable (Item# CA112)
) or by calling (864) 843-4343.
This cable provides a 6’ extension to the CA165. It has one DB37 Male connector and one DB37 Female connector.
DB78 Male to DB78 Female Extension Cable (CA233)
This cable provides a 6’ extension to the DB78 board connector on the 8004e. It has one DB78 Male connector and one DB78 Female connector.
DB78M to DB37 Female and DB37 Male, for 3093 (Item# CA378)
The CA378 is designed specifically for customers using the 3093 ISA digital I/O board that need to upgrade to the 8004e PCIe board while preserving existing infrastructure wiring. The CA378 connects to the 8004e and provides an identical pin out to the 3093.
Terminal Blocks
DB37 Terminal Block (Item# TB02)
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 for interfacing the inputs or outputs.
Sealevel Systems, Inc.
- 2 -
DIO-32.PCIe User Manual
©

Software Installation

Windows 2000/XP/Vista™ Installation

Do not install the PCI Express board until the software has been successfully installed.
1. Start Windows.
2. Insert the Sealevel Software CD in to your CD drive.
3. If ‘Auto-Start’ is enabled, the installation window will automatically appear.
Otherwise, navigate to the root directory of your CD drive and double-click the ‘autorun.exe’ application to launch the installation window.
4. Select ‘Install’ to locate the software and manual for your device.
5. Type in the part number for your device (Item# 8004e) or select it from the
list in the drop box.
6. Click the ‘Install Drivers’ button to launch the Installation Wizard.
7. When the ‘SeaI/O - InstallShield Wizard’ window appears, click the ‘Next’
button to initiate the software installation.
Sealevel Systems, Inc.
- 3 -
DIO-32.PCIe User Manual
©

Software Installation, continued

8. When the ‘License Agreement’ window appears, accept the terms and click
‘Next’ to continue. You can click the ‘Print’ button to print out a copy of the agreement for your records. If you do not accept the terms of the agreement, the installation will stop.
9. When the ‘Ready to Install the Program’ window appears, click the ‘Install’
button to install the software onto the hard drive of your computer. The files will be automatically installed into the ‘C:\Program Files’ folder on your computer.
Sealevel Systems, Inc.
- 4 -
DIO-32.PCIe User Manual
©

Software Installation, continued

10. The setup file will automatically detect the operating environment and
install the proper components. When the ‘InstallShield Wizard Complete’ window appears, click ‘Finish’ to close the window and complete the software installation.
11. Click the ‘X’ in the top-right corner of the ‘Product Finder’ screen to close
the CD installation window.
12. Proceed with the hardware installation of your PCI Express digital I/O
adapter.
Sealevel Systems, Inc.
- 5 -
DIO-32.PCIe User Manual
©

Linux Installation

Licensing Information
How to Install
This package contains two components - a Linux kernel-mode device driver and an Application Programmer's Interface. To provide the most flexible licensing scheme, the driver is released under the GNU General Public License version 3 while the API is released under the GNU Lesser General Public License, also version 3. Copies of each license are located in the dox/ directory.
Modification of the configuration scripts, makefiles, or installation tools contained in this package to support a specific platform does not constitute creating a modified copy or a derived work.
This suite of software has been tested on Debian GNU/Linux; if you intend to compile it on other platforms, please check the Makefile parameters described below to ensure our software is installed to the correct locations on your system.
In order to install the SeaIO suite, you need GNU Make (available with most distributions) "http://www.gnu.org/software/make/". You will also need the GCC and G++ compilers. The version is dependent on your kernel version. The README included with your kernel source should recommend a version known to compile properly. The SeaIO suite was developed with GCC-2.95 on the 2.4.X kernel series and GCC-3.33 on the 2.6.X kernel series.
You need to have compiled kernel source in /usr/src/linux, or point the KDIR variable in the Makefile to the location of your kernel source, for the module to compile properly. The process varies from one distribution to another and, you should consult your distribution's particular documentation. All kernel source obtained from http://kernel.org contains a README file detailing the compilation process.
To install everything: simply "make install" as root from the directory where you untarred seaio.tar.gz.
Once the kernel module is installed, running "seaioload" will create the appropriate nodes in /dev (dio0, dio1, etc ...) Note that you will have to rerun the "seaioload" script each time you reboot or you may add the appropriate commands to your startup scripts.
Sealevel Systems, Inc.
- 6 -
DIO-32.PCIe User Manual
©
Optional make commands:
Optional make parameters:
"make" or "make subdirs": this option will build all binaries, but will not copy them to the locations described below.
"make objs": this option is similar to "make subdirs", but instead of building executables, only objects will be created.
"make clean": this option removes all the build/executable files in the working SeaIo directory. Installed files remain on your system.
"make uninstall": this option removes files that were previously installed to the locations described below.
"make cleaninstall": removes any previous build files then performs a fresh install. Everything is built from source again.
"make purge": removes installed files and build files in one command. (exactly like performing "make uninstall" then "make clean")
(you may either manually edit them in the Makefile or pass them at run time like so: "make install KDIR=/<PATH_TO_SOURCE>/")
KDIR= /usr/src/linux
This is the path to configured kernel source.
MODDIR= /lib/modules/<KERNEL_VERSION>/kernel/drivers/mi sc
This is the path that the kernel module is installed to. If you modify this, you must also modify the "seaioload" script's MODDIR variable.
SUTILDIR= /usr/local/sbin
This is the location where the "seaioload" and "seaiounload" scripts are installed by default. You must also modify the "seaioload" script's SUTILDIR.
UTILDIR= /usr/local/bin
This is where any standard utilities are installed.
LIBDIR= /usr/local/lib
This is where the SeaIO API library is installed. (libseaio.a)
INCLUDDIR= /usr/local/include
This is where the seaio header files will be installed.
CONFIGDIR= /etc
seaio.conf will live here. This file is consulted by "seaioload", so if you change this, modify the CONFIGDIR variable in "seaioload".
Sealevel Systems, Inc.
- 7 -
DIO-32.PCIe User Manual
Loading...
+ 19 hidden pages