beautypg.com

Standard event status register (esr) -2 – AMETEK SFA Series Programming Manual User Manual

Page 14

background image

IEEE 488.2 and SCPI Command Operation

Sorensen SF Series

SCPI STATUS BYTE

Bit Hex

Value

Description

0 0x01

Not used.

1 0x02

Protection Event Status flag. Indicates the selected protection
event occurred.

2 0x04

Error/event queue message available. Set when any error/event is
entered in the System Error Queue. It is read using the
SYSTem:ERRor? query.

3 0x08

Questionable Status flag. Indicates the quality of the current data
being acquired. This bit is not used.

4 0x10

Message available (MAV). Indicates a message is available in the
GPIB output queue. Cleared after the GPIB output buffer is read.

5 0x20

Standard Event Status Register (ESR). Summary bit for the ESR.
Set when any of the ESR bits are set and cleared when the ESR is
read.

6 0x40

Request Service flag (RQS) for serial polling or Master Summary
Status (MSS) in response to *STB? If service requests are enabled
(with the *SRE command), this bit represents the RQS and will be
sent in response to a serial poll, then cleared. If RQS is not
enabled, the bit represents the MSS bit and indicates the device
has at least one reason to request service. Even though the device
sends the MSS bit in response to a status query (*STB?), it is not
sent in response to a serial poll. It is not considered part of the
IEEE-488.1 Status Byte.

7 0x80

Operation Status flag. Indicates the current operational state of the
unit. This bit is not used.

3.2.2

Standard Event Status Register (ESR)

The Standard Event Status Register (ESR) can be read by the *ESR? command. Reading this
register or issuing a *CLS command will clear the ESR. Use the *ESE (Standard Event Status
Enable Register) to enable corresponding ESR bits to be summarized in the summary bit of the
SCPI Status byte. To configure the DIA to generate GPIB service requests based on the ESR,
both the Standard Event Status Enable Register and the Service Request Enable Register must
be programmed. See table below, and refer to Section 5 for further information.

STANDARD EVENT STATUS REGISTER

Bit Hex

Value

Description

0 0x01

Operation

Complete

1

0x02

Request Control - not used

2 0x04

Query

Error

3

0x08

Device Dependent Error

4

0x10

Execution Error (e.g., range error)

5

0x20

Command Error (e.g., syntax error)

6

0x40

User Request - not used

7 0x80

Power

On

3-2 M550292-03

(Programming)