
PCI-1761 User Manual 26
C.1 Overview
The PCI-1761 is delivered with an easy-to-use 32-bit DLL driver for user program-
ming under the Windows XP/Vista/7 operating system. We advise users to program
the PCI-1761sing the 32-bit DLL driver provided by Advantech to avoid the complex-
ity of low-level programming by register. The most important consideration in pro-
gramming the PCI-1761 the register level is to understand the function of the card's
registers. The information in the following sections is provided only for users who
would like to do their own low-level programming.
C.2 I/O Port Address Map
The PCI-1761 requires 32 consecutive addresses in the PC's I/O space. The address
of each register is specified as an offset from the card's base address. For example,
BASE+0 is the card's base address and BASE+7 is the base address plus seven
bytes. Table C-1 shows the function of each register of the PCI-1761 or driver and its
address relative to the card's base address.
Table C.1: Register Functions
Base Addr,
+ Hex
76543210
0H
R Relay Output Status
RS7 RS6 RS5 RS4 RS3 RS2 RS1 RS0
W Relay Output
RO7 RO6 RO5 RO4 RO3 RO2 RO1 RO0
1H
R Isolated Digital Input
IDI7 IDI IDI5 IDI4 IDI3 IDI2 IDI1 IDI0
WN/A
2H
R Board ID Register
BD3 BD2 BD1 BD0
WN/A
3H
R Interrupt Enable Status
IDI7EN IDI6EN IDI5EN IDI4EN IDI3EN IDI2EN IDI1EN IDI0EN
W Interrupt Enable Register
IDI7EN IDI6EN IDI5EN IDI4EN IDI3EN IDI2EN IDI1EN IDI0EN
4H
R Interrupt Triggering Status
IDI7RF IDI6RF IDI5RF IDI4RF IDI3RF IDI2RF IDI1RF IDI0RF
W Interrupt Triggering Register
IDI7RF IDI6RF IDI5RF IDI4RF IDI3RF IDI2RF IDI1RF IDI0RF
5H
R Interrupt Flag
IDI7F IDI6F IDI5F IDI4F IDI3F IDI2F IDI1F IDI0F
W Interrupt Clear Register
IDI7CLR IDI6CLR IDI5CLR IDI4CLR IDI3CLR IDI2CLR IDI1CLR IDI0CLR
Comentarios a estos manuales