3.5 Status Model
59
3.5.3 Standard Event Status Register (ESR)
The Standard Event Status Register consists of 8 event flags. These
event flags are all “sticky bits” that are set by the corresponding events,
and cleared only by reading the byte with the
*ESR?
query or with
the
*CLS
command. Reading a single bit (with the
*ESR?
i
query) clears
only bit
i
.
Weight
Bit
Flag
1
0
OPC
2
1
INP
4
2
QYE
8
3
DDE
16
4
EXE
32
5
CME
64
6
URQ
128
7
PON
OPC
: Operation Complete. Set by the
*OPC
command.
INP
: Input Buffer Overrun. Indicates overflow of the 256‑byte input
buffer that handles serial communications. The buffer is cleared
on an overrun, causing loss of data. Dropped commands will need
to be re‑sent.
QYE
: Query Error. Indicates data in the output buffer has been lost.
DDE
: Device‑Dependent Error. Indicates an issue with SR542 configu‑
ration or control signals.
EXE
: Execution Error. Indicates an error in a command that was suc‑
cessfully parsed. Out‑of‑range parameters are an example.
CME
: Command Error. Indicates a command parser‑detected error.
URQ
: User Request. Indicates that a front‑panel button was pressed.
PON
: Power On. Indicates that an off‑to‑on transition has occurred.
3.5.4
Standard Event Status Enable (ESE) Register
The ESE acts as a bitwise AND with the ESR register to produce the
single‑bit ESB message in the Status Byte Register (SB). The register can
be set and queried with the
*ESE(?)
command.
At power‑on, this register is cleared.
SR542 Precision Optical Chopper