15-2 Common Commands Models 2500 and 2502 User’s Manual
Command summary
Common commands (summarized in Table 15-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. 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 Section 14: *CLS, *ESE, *ESE?, *ESR?, *SRE, *SRE?, and *STB?.
Table 15-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 2500 for list of installed options.
Returns the Model 2500 to the user-saved setup.
Returns the Model 2500 to the *RST default
conditions.
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 2500.
Performs a checksum test on ROM and returns the
result.
Wait until all previous commands are executed.
1
Status commands are covered in Section 14.
Test Equipment Depot - 800.517.8431 - 99 Washington Street Melrose, MA 02176
TestEquipmentDepot.com