User manual
parameter value that is sent with the *ESE command. For example, to set the CME and QYE
bits of the Standard Event Enable Register, send the following command:
*ESE 36
Where: CME (bit B5) = Decimal 32
QYE (bit B2) = Decimal 4
<NRf> = 36
If a command error (CME) occurs, bit B5 of the Standard Event Status Register sets. If a
query error (QYE) occurs, bit B2 of the Standard Event Status Register sets. Since both of
these events are unmasked (enabled) the occurrence of any one of them causes the ESB
bit in the Status Byte Register to set.
Read the Standard Event Status Register using the *ESE? query command.
B7 B6 B5 B4 B3 B2 B1 B0
0/1 0/1 0/1
Bit Position
Event
Decimal Weighting
Value
Value : 1 = Enable Standard Event
0 = Disable (Mask) Standard Event
PON URQ CME DDEEXE QYE OPC
0/1 0/1 0/1 0/1
(2 )
7
(2 )
6
(2 )
5
(2 )
4
(2 )
3
(2 )
2
(2 )
0
64 32 1128 16 8 4
Note : Bits B8 through B15 are not shown since they are not used.
Events : PON = Power On
URQ = User Request
CME = Command Error
EXE = Execution Error
DDE = Device-dependent Error
QYE = Query Error
OPC = Operation Complete
Figure 4-13
Standard event
enable register
2000-900 (J - Aug 2010) BOOK.fm Page 41 Wednesday, October 12, 2011 12:29 PM