
11-8
Status Structure
Model 2520 User’s Manual
Status byte register
The summary messages from the status registers and queues are used to set or clear the
appropriate bits (B0, B2, B3, B4, B5, and B7) of the Status Byte Register. These summary
bits do not latch, and their states (0 or 1) are solely dependent on the summary messages
(0 or 1). For example, if the Standard Event Register is read, its register will clear. As a
result, its summary message will reset to 0, which in turn will reset the ESB bit in the Sta-
tus Byte Register.
The bits of the Status Byte Register are described as follows:
•
Bit B0, Measurement Summary Bit (MSB)
— Set summary bit indicates that an
enabled measurement event has occurred.
•
Bit B1
— Not used.
•
Bit B2, Error Available (EAV)
— Set summary bit indicates that an error or status
message is present in the Error Queue.
•
Bit B3, Questionable Summary Bit (QSB)
— Set summary bit indicates that an
enabled questionable event has occurred.
•
Bit B4, Message Available (MAV)
— Set summary bit indicates that a response
message is present in the Output Queue.
•
Bit B5, Event Summary Bit (ESB)
— Set summary bit indicates that an enabled
standard event has occurred.
•
Bit B6, Request Service (RQS)/Master Summary Status (MSS)
— Set bit indi-
cates that an enabled summary bit of the Status Byte Register is set.
•
Bit B7, Operation Summary (OSB)
— Set summary bit indicates that an enabled
operation event has occurred.
Depending on how it is used, Bit B6 of the Status Byte Register is either the Request for
Service (RQS) bit or the Master Summary Status (MSS) bit:
•
When using the serial poll sequence of the Model 2520 to obtain the status byte
(a.k.a. serial poll byte), B6 is the RQS bit. See
“Serial polling and SRQ,” page 11-9
for details on using the serial poll sequence.
•
When using the *STB? command (
) to read the status byte, B6 is the
MSS bit.
Service request enable register
The generation of a service request is controlled by the Service Request Enable Register.
This register is programmed by you and is used to enable or disable the setting of bit B6
(RQS/MSS) by the Status Summary Message bits (B0, B2, B3, B4, B5, and B7) of the
Status Byte Register. As shown in
, the summary bits are logically ANDed (&)
with the corresponding enable bits of the Service Request Enable Register. When a set (1)
summary bit is ANDed with an enabled (1) bit of the enable register, the logic “1” output
Summary of Contents for 2520
Page 250: ...A Specifications ...
Page 254: ...B StatusandErrorMessages ...
Page 262: ...C DataFlow ...
Page 266: ...D IEEE 488BusOverview ...
Page 281: ...E IEEE 488andSCPI ConformanceInformation ...
Page 285: ...F MeasurementConsiderations ...
Page 308: ...G GPIB488 1Protocol ...
Page 312: ...H ExamplePrograms ...
Page 317: ...I ContinuousPulseMode ...