User`s guide

4-13
Programming
*ESR (Event Status Register)
*ESR (Event Status Register)
The *ESR query returns the value of the Standard Event Status Register.
When you read the Event Status Register, the value returned is the total of the
bit weights of all of the bits that are set to one at the time you read the byte.
Table 4-2 shows each bit in the Event Status Register and its bit weight.
Reading the register clears the Event Status Register.
Usage:
GPIB only
Query Syntax:
*ESR?
Returned Format:
<status><NL>
Where:
<status> ::= 0 to 255 (integerNR1 format)
Example: OUTPUT 711;"*ESR?"
ENTER 711;Event
PRINT Event
1 2 NOT USED
01OPC Operation Complete
Table 4-1. Standard Event Status Enable Register
(HighEnables the ERS bit)
Bit Bit Weight Enables
Table 4-2. Standard Event Status Register
Bit Bit Weight Condition
7 128 PON Power On
664URQ User Request
532CME Command Error