Primary Address Selection; Controller Programming - Keithley 7001 Instruction Manual

High density switch system
Hide thumbs Also See for 7001:
Table of Contents

Advertisement

IEEE-488 Reference
5.3

Primary address selection

The Model 7001 must receive a listen command before re-
sponding to addressed commands. Similarly, the unit must
receive a talk command before transmitting data. The Model
7001 is shipped from the factory with a programmed primary
address of 7.
The primary address may be set to any value between 0 and
30 as long as address conflicts with other instruments are
avoided. Note that controllers are also given a primary ad-
dress, so do not use that address either. Most frequently, con-
troller addresses are 0 or 21, but you should consult the
controller's instruction manual for details. Whatever primary
address you choose, you must make certain that it corre-
sponds with the value specified as part of the controller's
programming language.
To check the present primary address or to change to a new
one, perform the following procedure:
1. Display the MAIN MENU by pressing the MENU key.
2. Use the cursor keys (
GPIB and press ENTER. The GPIB SETUP MENU will
then be displayed.
3. Use the cursor keys to place the cursor on ADDRESS
and press ENTER. The current primary address of the
instrument will be displayed. For example, if the instru-
ment is set to primary address 7, the following message
will be displayed:
ADDRESS = 07 (0-30)
4. To retain the displayed address, press EXIT three times
to return the instrument to the channel status display
state.
5. To change the primary address, use the keypad to dis-
play the new address value (0 to 30) and press ENTER.
Press EXIT two times to return to the channel status dis-
play state.
NOTE
Each device on the bus must have a unique
primary address. Failure to observe this
precaution will probably result in erratic
bus operation.
5-4
Artisan Scientific - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisan-scientific.com
and
) to place the cursor on
5.4

Controller programming

The programming instructions covered in this section use ex-
amples written with Hewlett-Packard BASIC version 4.0.
This language was chosen because of its versatility in con-
trolling the IEEE-488 bus. This section covers those state-
ments that are essential to Model 7001 operation.
NOTE
Controller programming information for
using the IBM PC interface through the
Capital Equipment Corporation (CEC), I/
O Tech, and National IEEE-488 interfaces
is located in the Appendix.
A partial list of HP BASIC 4.0 statements is shown in Table
5-2. The statements have a one or three digit argument that
must be specified. The first digit is the interface select code,
which is set to 7 at the factory. The last two digits of those
statements requiring a 3-digit argument specify the primary
address.
Those statements with a 3-digit argument show a primary ad-
dress of 7 (the factory set primary address). For a different
address, you would, of course, change the last two digits to
the required value. For example, to send a GTL command to
a device using a primary address of 17, the following state-
ment would be used: LOCAL 717.
Some of the statements have two forms; the exact configura-
tion depends on the command to be sent over the bus. For ex-
ample, CLEAR 7 sends a DCL command, while CLEAR
716 sends the SDC command to a device with a primary ad-
dress of 16.

Advertisement

Table of Contents
loading

Table of Contents