SeaLevel DIO-32.PCI User Manual page 12

Digital i/o interface
Hide thumbs Also See for DIO-32.PCI:
Table of Contents

Advertisement

PROGRAMMING THE DIO-32.PCI, CONTINUED
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.PCI 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
Base+0
Input Port A
Base+1
Input Port B
Base+2
Output Port C
Base+3
Output Port D
Base+4
Base+5
Interrupt Status
Interrupt Control
When enabled, interrupts are generated on Port A bit D0.
IRQEN
IRC0
IRC1
© Sealevel Systems, Inc.
Mode
D7
RD
PAD7
RD
PBD7
RD/WR
PCD7
RD/WR
PDD7
RD
0
RD/WR
IRQEN
Interrupt enable
1 = enabled
Interrupt mode select, see table below
Interrupt mode select, see table below
8004 Manual | SL9022 9/2021
D6
D5
D4
PAD6
PAD5
PAD4
PAD3
PBD6
PBD5
PBD4
PBD3
PCD6
PCD5
PCD4
PCD3
PDD6
PDD5
PDD4
PDD3
0
0
0
IRQST
0
0
0 = disabled (0 on power up)
D3
D2
D1
PAD2
PAD1
PAD0
PBD2
PBD1
PCD2
PCD1
PCD0
PDD2
PDD1
PDD0
0
0
0
0
0
IRC1
D0
PBD0
0
IRC0
12

Advertisement

Table of Contents
loading

Table of Contents