Fluke PM-3394B, PM-3380B Event Status Register, 18COMMAND Reference, Response Integer Description

Models: PM-3394B PM-3390B PM-3370B PM-3380B PM-3384B

1 297
Download 297 pages 56.64 Kb
Page 118
Image 118

4 - 18COMMAND 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.

PON URQ CME EXE DDE QYE RQC OPC

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

ESR

The meaning of the bits is as follows:

bit 7: PON = Power ON

bit 5: CME = Command Error

bit 3: DDE = Device Dependent Error

bit 1: RQC = Request Control

bit 6: URQ = User Request

bit 4: EXE = Execution Error

bit 2: QYE = Query Error

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.

Page 118
Image 118
Fluke PM-3394B, PM-3380B, PM-3390B, PM-3370B Event Status Register, 18COMMAND Reference, Response Integer Description