User`s manual
Agilent E1330B Digital I/O Module Register Information 105
Appendix B
Appendix B
Agilent E1330B Digital I/O Module Register
Information
Using This Appendix
The contents of this appendix are:
• Addressing the Registers. . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 105
• Reset and Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 109
• Register Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 109
• Register Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 111
• A Register-Based Output Algorithm. . . . . . . . . . . . . . . . . . . Page 119
• A Register-Based Input Algorithm . . . . . . . . . . . . . . . . . . . . Page 120
• Programming Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 121
Note Do not mix register programming and SCPI command programming.
Addressing the Registers
To access a specific register for either read or write operations, the address
of the register must be used. Register addresses for the plug-in modules are
found in an address space known as VXI A16. The exact location of A16
within a VXIbus master's memory map depends on the design of the VXIbus
master you are using; for the Agilent E1300/1301 Mainframe and
Agilent E1405/E1406 Command Module, the A16 space location starts at
1F0000
16
.
The A16 space is further divided so that the modules are addressed only at
locations above 1FC000
16
within A16. Further, every module is allocated 64
register addresses (40
16
). The address of a module is determined by its
logical address (set by the address switches on the module) times 64 (40
16
).
In the case of the Digital I/O module, the factory setting is 144 or 90
16
, so
the addresses start at 1FE400
16
.
Register addresses for register-based devices are located in the upper 25%
of VXI A16 address space. Every VXI device (up to 256) is allocated a 64
byte block of addresses. Figure B-1 shows the register address location
within A16. Figure B-2 shows the location of A16 address space in the
Agilent E1405/06 Command Module.