11-8
Status Structure
Model 6220/6221 Reference Manual
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 status byte register.
The bits of the status byte register are described as follows:
•
Bit B0, Measurement Status (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 indicates 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 622x to obtain the status
byte (also known as serial poll byte), B6 is the RQS bit. See
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 the user 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 AND’ed (&) with the corresponding enable bits of the service
request enable register. When a set (1) summary bit is AND’ed with an enabled
(1) bit of the enable register, the logic “1” output is applied to the input of the 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 command. The service request enable register clears when
power is cycled or a parameter value of 0 is sent with the *SRE command (i.e.
*SRE 0). The commands to program and read the SRQ enable register are listed
in
.
Test Equipment Depot - 800.517.8431 - 99 Washington Street Melrose, MA 02176 - TestEquipmentDepot.com
Summary of Contents for 6220
Page 16: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Page 24: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...
Page 453: ...Test Equipment Depot 800 517 8431 99 Washington Street Melrose MA 02176 TestEquipmentDepot com...