©Sealevel Systems, Inc.
8004e Manual
18
SL9207 2/2017
DIRECT HARDWARE CONTROL
In systems where the users program has direct access to the hardware (DOS) the tables that follow give the
mapping and functions that the DIO-32.PCIe provides.
Function Available
Port
Address Hex Port Type
RD
A
Base + 0
RD
B
Base + 1
Optically Isolated Input Port
RD/WR
C
Base + 2
RD/WR
D
Base + 3
Reed Relay Output Port
RD = Read, RD/WR = Read or Write
READING THE INPUTS
The inputs are active Low. If no voltage is applied across one of the differential inputs it returns a one on
that bit. If an AC or DC voltage is applied it returns a zero on that bit.
READING THE OUTPUTS
The relay ports return the ones complement of the value that is currently being used to drive the relays.
WRITING THE OUTPUTS
The output ports are the only ports that can be written. The relays on a standard DIO-32.PCIe are normally
open. To close a relay a one must be written to the appropriate bit.
REGISTER DESCRIPTION
All ports are set to input after reset or power up.
Address
Mode
D7
D6
D5
D4
D3
D2
D1
D0
Base+0
Input Port A
RD
PAD7
PAD6 PAD5 PAD4
PAD3
PAD2
PAD1
PAD0
Base+1
Input Port B
RD
PBD7
PBD6 PBD5 PBD4
PBD3
PBD2
PBD1
PBD0
Base+2
Output Port C
RD/WR PCD7
PCD6 PCD5 PCD4
PCD3
PCD2
PCD1
PCD0
Base+3
Output Port D
RD/WR PDD7
PDD6 PDD5 PDD4
PDD3
PDD2
PDD1
PDD0
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com