Section 7 Remote Control Using PC
7-18
Table 7-6-2-1 Description of each bit of standard event status register
Bit Name Description
7 PON Power On
Indicates that the power is turned on
6 URQ User Request
Not used in the MT8820A. Always 0.
5CME
Command Error
Indicates that an error has occurred during analysis of a
command or a query received by the MT8820A.
4 EXE Execution Error
Indicates that an error has occurred during execution of a
command or a query by the MT8820A.
3 DDE Device Dependent Error
Indicates that a device specific error has occurred.
2 QYE
Query Error
Indicates that the data in the output queue is absent or
data is lost.
1 RQC Request Control
Not used in the MT8820A. Always 0.
0 OPC Operation Complete
Indicates that all the outstanding operations have been
completed. This bit is set only by the *OPC command.
Query
Query the standard event status using the *ESR? query. Response is the decimal
number converted from the sum of the value obtained by binary-weighing the bit
number of the occurred event. When readout is successful, the contents of the
register are cleared.
Example :
Query *ESR?
Response 32
(32 = 2
5
A bit 5 command error has occurred.)
Clear The following methods are available to clear the standard event
status register:
• Transmit the *CLS command
• Read the status register by using the *ESR? command