User`s manual

Using the Agilent E1330B Digital I/O Module 31
Chapter 3
Chapter 3
Using the Agilent E1330B Digital I/O
Module
Using This Chapter
This chapter is divided into eight sections about transferring data to and from
the Digital I/O Module and a peripheral:
Addressing the Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 31
Operation Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 32
Default and Reset States . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 33
Setting the Polarity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 33
Setting the Handshake Mode . . . . . . . . . . . . . . . . . . . . . . . . Page 34
Inputting Data Bytes and Bits . . . . . . . . . . . . . . . . . . . . . . . . Page 35
Outputting Data Bytes and Bits . . . . . . . . . . . . . . . . . . . . . . Page 36
Multiple Port Operations. . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 37
Using Trace Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 38
Addressing the Module
The examples shown in this chapter use the default addresses for the
interface, Command module, and Digital I/O module. The address uses both
GPIB primary and secondary addresses. The default address is:
To establish these defaults as an I/O path in BASIC, the program examples
use this code:
10 ASSIGN @Dio TO 70918
Each Digital I/O module in a system must have a different logical address.
Additionally, no two instruments in the same system can have the same
logical address. Setting the logical address is described in Chapter 2 —
“Configuring the Agilent E1330B Digital I/O Module”.
70 91 8
GPIB Primary Address GPIB Secondary
Address
Interface Select Code Command module
GPIB Address
Digital I/O module
address
LADDR
8
-------- ------------

