
Manual 07507026 Model 7026
Page 12
Operation Manual
Chapter 7 Programming
The Model 7026 is a PXI register based card assembly designed for use with the National Instruments PXI
specification. You can program the Model 7026 in 8, 16 or 32 bit wide data format. By way of your PXI
controller, you can write the data to the appropriate register, shown on the register map, for the relay or
relays in the register that is being closed. When the data bit is true, the relay chosen is closed. You can
determine relay state in a register by simply reading the desired register. Data read back represents the value
of the desired register. In addition, you can read back the coil state to verify that the coil is driven correctly by
the program register. This scenario verifies that the program register has correctly controlled the relay coil.
A register map can be organized to show the relay designation at each register, followed by the register’s
functionality and the path connections to the front panel. PXI automatically assigns the starting address of the
card, called Bar0. Bar0 becomes the starting address of the first register. Each address location controls 8 bits.
The control functions using 16 format are shown in the illustration below.
Programming of the Model 7026 is very straight forward. The module is organized as a 1x32, two wire, 2 amp
general purpose relay board. The location of the first register is assigned by the PCI enumerator. This is
designated as "Bar0" or the starting address of the card. The program registers using 16 bit format are located
as follows:
Register #1 : read/write function address = Bar0 + 0000h
coil read back address = Bar0 + 0008h
Register #2 : read/write function address = Bar0 + 0002h
coil read back address = Bar0 + 000Ah