Agilent Technologies Z5623A manual Setting the Gpib Address of the Test Set, Equation

Models: Z5623A

1 138
Download 138 pages 46.21 Kb
Page 29
Image 29

Figure 2-8

Equation 2-1

Installation

Setting the GPIB Address of the Test Set

Setting the GPIB Address of the Test Set

A bank of five switches is used to set the GPIB address of the test set. The switch bank is located on the rear panel of the test set and is shown in Figure 2-6 on page 2-11. A diagram of the switch bank is presented in Figure 2-8.

The switch bank sets the GPIB address in binary (base 2) format. Each switch controls one bit of the address. To set a bit to 1, move the corresponding switch to the up position. To set a bit to 0, move the corresponding switch to the down position. The binary address shown in Figure 2-8is 01100.

GPIB Address Switches

ADDRESS:

HP-IB

16 8 4 2 1

1

0

21

PARALLEL

To convert the binary address to decimal (base 10) format, just multiply each bit by the decimal value of that bit, then add the results. The decimal value of each bit is shown above the corresponding switch. Applying this conversion method to Figure 2-8we obtain

0 16 = 0

1 8 = 8

1 4 = 4

0 2 = 0

0 2 = 0

Sum = 12

Therefore, the binary GPIB address (01100) shown in Figure 2-8is equal to 12 in decimal (base 10) format.

If all bits are set to 1, the GPIB address is 11111 in binary format, or 31 in decimal format. (16 + 8 + 4 + 2 + 1 = 31.) Therefore, the GPIB address can have any value from 0 to 31 inclusive.

Agilent Technologies Z5623A Option H48

2 -13

Page 29
Image 29
Agilent Technologies Z5623A manual Setting the Gpib Address of the Test Set, Equation, Gpib Address Switches