Download Model 4300C - Valhalla Scientific, Inc

Transcript
Chapter 6 – Remote Operations (IEEE Interface)
SETTING THE IEEE ADDRESS
The IEEE "address" is the method by which the system controller distinguishes
one device on the bus from another. The address of the 4300C is determined by
the setting of a binary-weighted switch on the rear of the instrument. Here are
two examples to help you set the address.
Example 1: Switches 1, 2, and 16 are OFF (or
0) and switches 4 and 8 are ON (or 1).
The resulting address is:
(1 × 0) + (2 × 0) + (4 × 1) + (8 × 1) + (16 × 0) = 4 + 8 = 12
Example 2: Switches 2 and 4 are OFF (or 0)
and switches 1, 8, and 16 are ON (or 1).
The resulting address is:
(1 × 1) + (2 × 0) + (4 × 0) + (8 × 1) + (16 × 1) = 1 + 8 + 16 = 25
The address you choose is entirely dependent on your application and by the
type and quantity of devices on your IEEE bus. Some guidelines to follow are:
1. Each device on the bus must have its own unique address. Operating
two devices at the same address will produce undefined results and is
not recommended.
2. Avoid setting the 4300C to address 0 (all switches off) or to address 31
(all switches on) as this may interfere with the system controller.
3. If the setting of the switches is changed, power must be cycled in order
to place the new address into memory.
Note: In all future examples, we will assume that the address is set to "12".
6-7