
12-2
Common Commands
Model 2520 User’s Manual
Command summary
Common commands (summarized in
) are device commands that are common
to all devices on the bus. These commands are designated and defined by the IEEE-488.2
standard. Most of these commands are described in detail in this section.
NOTE
The following common commands associated with the status structure are cov-
ered in
: *CLS, *ESE, *ESE?, *ESR?, *SRE, *SRE?, and *STB?.
Table 12-1
IEEE-488.2 common commands and queries
Mnemonic
Name
Description
*CLS
*ESE <NRf>
*ESE?
*ESR?
*IDN?
*OPC
*OPC?
*OPT?
*RCL <NRf>
*RST
*SAV <NRf>
*SRE <NRf>
*SRE?
*STB?
*TRG
*TST?
*WAI
Clear status
Event enable command
Event enable query
Event status register query
Identification query
Operation complete command
Operation complete query
Option query
Recall command
Reset command
Save command
Service request enable command
Service request enable query
Status byte query
Trigger command
Self-test query
Wait-to-continue command
Clears all event registers and Error Queue.
1
Program the Standard Event Enable Register.
1
Read the Standard Event Enable Register.
1
Read and clear the Standard Event Enable Register.
1
Returns the manufacturer, model number, serial
number, and firmware revision levels of the unit.
Set the Operation Complete bit in the Standard
Event Register after all pending commands have
been executed.
Places an ASCII “1” into the Output Queue when all
pending selected device operations have been
completed.
Query Model 2520 for list of installed options.
Returns the Model 2520 to the user-saved setup.
Returns the Model 2520 to the *RST default condi
tions.
Saves the present setup as the user-saved setup.
Programs the Service Request Enable Register.
1
Reads the Service Request Enable Register.
1
Reads the Status Byte Register.
1
Sends a bus trigger to the Model 2520.
Performs a checksum test on ROM and returns the
result.
Wait until all previous commands are executed.
1
Status commands are covered in
.
Summary of Contents for 2520
Page 250: ...A Specifications ...
Page 254: ...B StatusandErrorMessages ...
Page 262: ...C DataFlow ...
Page 266: ...D IEEE 488BusOverview ...
Page 281: ...E IEEE 488andSCPI ConformanceInformation ...
Page 285: ...F MeasurementConsiderations ...
Page 308: ...G GPIB488 1Protocol ...
Page 312: ...H ExamplePrograms ...
Page 317: ...I ContinuousPulseMode ...