Appendix D: Status model
Model 2281S-20-6 DC Power Supply and Battery Simulator Reference Manual
D-8
077114601 / March 2019
The bits of the Status Byte Register are described in the following table:
Bit
Decimal
value
Bit name
When set, indicates the following
has occurred:
0
1
Measurement summary bit (MSB)
An enabled measurement event
1
2
Not used
Not applicable
2
4
Error available (EAV)
An error is present in the error queue
(warning and information messages do
not affect this bit)
3
8
Questionable summary bit (QSB)
An enabled questionable event
4
16
Message available (MAV)
A response message is present in the
output queue
5
32
Event summary bit (ESB)
An enabled standard event
6
64
Request for service (RQS)/Master summary
status (MSS)
An enabled summary bit of the Status
Byte Register is set; depending on
how it is used, this is either the
Request for Service (RQS) bit or the
Master Summary Status (MSS) bit
7
128
Operation summary bit (OSB)
An enabled operation event
Service Request Enable Register
This register is programmed by the user and is used to enable or disable the setting of bit B6
(RQS/MSS) by the Status Summary Message bits (B0, B1, B2, B3, B4, B5, and B7) of the Status
Byte Register. As shown in the
(on page D-7) topic, a logical AND
operation is
performed on the summary bits (&) with the corresponding enable bits of the Service Request Enable
Register. When a logical AND
operation is performed with a set summary bit (1) and with an enabled
bit (1) of the enable register, the logic “1” output is applied to the input of the logical OR gate and,
therefore, sets the MSS/RQS bit in the Status Byte Register.
The individual bits of the Service Request Enable Register can be set or cleared by using the
*SRE
common command. To read the Service Request Enable Register, use the
*SRE?
query. The Service
Request Enable Register clears when instrument power is cycled or a parameter value of 0 is sent
with a status request enable command (for example,
*SRE 0
is sent). You can program and read the
SRQ Enable Register using the following commands.
Description
SCPI command
Read the Status Request Enable Register
*SRE?
Enable bits in the Status Request Enable Register
*SRE