Manual 07507011
Model 7011
Page 12
O
peration Manual
Chapter 7
Programming
The Model 7011 is a PXI register based card assembly design to be used with PXI standard chassis. The
Model 7011 can be programmed in 8, 16 or 32 bit wide data format. Through your PXI controller, write
the data to the appropriate register as 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 will be closed. The state of the relays in
a register can be determined by 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.
The register map is organized to show the relay designation in each register. It is followed by the
register’s functionality and the path connections to the front panel. PXI will automatically assign the
starting address of the card, called Bar0. This will be the starting address of the first register. Each
address location controls 8 bits. Shown are the control functions using 16 format.
Programming of the Model 7011 is very straight forward. The module is organized as a 2 x 16 dual wire
matrix. 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: Bar0 + 0000h
coil read back: Bar0 + 0008h
Register #2:
read/write function: Bar0 + 0002h
coil read back: Bar0 + 000Ah