IEEE-488 Reference
3-4
3.5
General bus commands
General bus commands are those commands such as DCL
that have the same general meaning regardless of the instru-
ment. Table 3-1 lists the general bus commands. Also
included is the programming statement for each command
using the Keithley KPC-488.2 IEEE interface and the HP-
style Universal Language Driver (CECHP). Note that the
commands requiring that a primary address be specified
assume that the address is set to 16. This is the address that
is set at the factory.
3.5.1 REN (remote enable)
The remote enable command is sent to the Model 2002 by
the controller to set up the instrument for remote operation.
Generally, the instrument should be placed in the remote
mode before you attempt to program it over the bus. Simply
setting REN true does not actually place the instrument in the
remote state. Instead the instrument must be addressed to lis-
ten after setting REN true before it goes into remote.
Note that the instrument need not be in remote to be a talker.
Program fragment
PRINT #1, "remote 16"
' Place 2002 in remote;
turn on REM annunciator
Note that all front panel controls except for LOCAL (and
POWER) are inoperative while the instrument is in remote.
You can restore normal front panel operation by pressing the
LOCAL key.
3.5.2 IFC (interface clear)
The IFC command is sent by the controller to place the
Model 2002 in the local, talker, and listener idle states. The
unit responds to the IFC command by cancelling front panel
TALK or LISTEN lights, if the instrument was previously
placed in one of those states.
Note that this command does not affect the status of the
instrument; settings, data, and event registers are not
changed.
To send the IFC command, the controller need only set the
IFC line true for a minimum of 100µsec.
Program fragment
PRINT #1, "output 16; *idn?"
' Send query command
PRINT #1, "enter 16"
' Read data; turn on
TALK annunciator
SLEEP 3
' Wait 3 seconds
PRINT #1, "abort"
' Talker idle state;
turn off TALK annun-
ciator
3.5.3 LLO (local lockout)
The LLO command is used to prevent local operation of the
instrument. After the unit receives LLO, all its front panel
controls except POWER are inoperative. In this state, press-
ing LOCAL will not restore control to the front panel. The
GTL command restores control to the front panel.
Program fragment
PRINT #1, "remote 16"
' Place 2002 in remote
RINT #1, "local lockout"
' Lock out front panel
(including LOCAL key)
SLEEP 6
' Wait 6 seconds
PRINT #1, "local 16"
' Restore front panel op-
eration
Table 3-1
General bus commands and associated statements
Command
Programming statement
Effect on Model 2002
REN
IFC
LLO
GTL
DCL
SDC
GET
SPE, SPD
REMOTE 16
ABORT
LOCAL LOCKOUT
LOCAL 16
LOCAL
CLEAR
CLEAR 16
TRIGGER 16
SPOLL 16
Goes into effect when next addressed to listen.
Goes into talker and listener idle states.
LOCAL key locked out.
Cancel remote, restore front panel operation for 2002.
Cancel remote, restore front panel operation for all devices.
Returns all devices to known conditions.
Returns Model 2002 to known conditions.
Initiates a trigger.
Serial Polls the Model 2002.
Summary of Contents for 2002
Page 123: ...Front Panel Operation 2 106...
Page 145: ...IEEE 488 Reference 3 22...
Page 167: ...IEEE 488 Reference 3 44...
Page 284: ...A Specifications A 1...
Page 362: ......
Page 364: ...This page left blank intentionally...
Page 365: ......