Fluke PM-3380B Sander User Manual


 
4 - 18 COMMAND REFERENCE
*
ESR? Event Status Register
Syntax:
*
ESR?
Response:
<integer>
Description:
The
*
ESR? query reports the contents of the standard Event Status Register
(ESR) and clears it. The range of the 8-bit ESR contents is between 0 and 255
decimal.
The meaning of the bits is as follows:
bit 7: PON = Power ON
bit 6: URQ = User Request
bit 5: CME = Command Error
bit 4: EXE = Execution Error
bit 3: DDE = Device Dependent Error
bit 2: QYE = Query Error
bit 1: RQC = Request Control
bit 0: OPC = Operation Complete
Notes:
- PON indicates that the power supply has been turned off and on since the last
time the register was read or cleared. Bit 7 (PON) is always set true at power
on.
- URQ indicates that the user has requested attention, e.g., to return the
instrument to local.
- Bit 1 (RQC) is not used (always 0).
- OPC indicates that the device has completed all previously started actions.
Example:
Send
*ESR?
Read
28 28 is equal to the binary value #B11100 (16 + 8 + 4
decimal),which means that the bits 4 (EXE), 3 (DDE),
and 2 (QYE) are set. So, an execution error, a device-
dependent error and a query error have occurred since
the last time the register was read.
PON
URQ
CME
EXE
DDE
QYE
RQC
OPC
76543210
ESR