14-2 Common Commands
Common commands (summarized in Table 14-1) are device commands that are common to
all devices on the bus. These commands are designated and defined by the IEEE-488.2 standard.
A) IDN? — identification query Reads identification code
The identification code includes the manufacturer, model number, serial number, and firm-
ware revision levels and is sent in the following format:
KEITHLEY INSTRUMENTS INC., MODEL 6514, xxxxxxx, yyyyy/zzzzz/w
Where: xxxxxxx is the serial number.
yyyyy/zzzzz is the firmware revision levels of the digital board ROM and display
board ROM. Note that yyyyy also provides build date and time information.
w is the board revision level.
Table 14-1
IEEE-488.2 common commands and queries
Mnemonic Name Description Ref
*CLS Clear status Clears all event registers and error queue. Sec 13
*ESE <NRf> Event enable command Program the standard event enable register. Sec 13
*ESE? Event enable query Read the standard event enable register. Sec 13
*ESR? Event status register query Read the standard event enable register and clear it. Sec 13
*IDN? Identification query Returns the manufacturer, model number, serial
number, and firmware revision levels of the unit.
A
*OPC Operation complete command Set the operation complete bit in the standard event
register after all pending commands have been
executed.
B
*OPC? Operation complete query Places an ASCII “1” into the output queue when all
pending selected device operations have been
completed.
B
*OPT? Option query The value 5156 is returned if the Model 5156
calibration source is connected to the Model 6514.
The value 0 is returned if the Model 5156 is not
connected.
*RCL <NRf> Recall command Returns Model 6514 to the user-saved setup. C
*RST Reset command Returns Model 6514 to the *RST default
conditions.
D
*SAV <NRf> Save command Saves the present setup as the user-saved setup. C
*SRE <NRf> Service request enable command Programs the service request enable register. Sec 13
*SRE? Service request enable query Reads the service request enable register. Sec 13
*STB? Status byte query Reads the status byte register. Sec 13
*TRG Trigger command Sends a bus trigger to Model 6514. E
*TST? Self-test query Performs a checksum test on ROM and returns the
result.
F
*WAI Wait-to-continue command Wait until all previous commands are executed. G