The Status Model Introduction to Programming
Agilent 8163A/B, 8164A/B & 8166A/B Mainframes, Fifth Edition 37
AnnotationsStatus Byte Register
• Bit 3, the QSB, is built from the questionable event status register and
its enable mask.
• Bit 4, the MAV, is set if the message output queue is not emp ty.
• Bit 5, the ESB, is built from the SESR and its S ESEM.
• Bit 7, the OSB, is built from the operation event status register and its
enable mask.
• All other bits are unused, and therefore set to 0 .
Standard Event Status Register
• Bit 0 is set if an operation complete e vent has been received since the
last call to *ESR?.
• Bit 1 is always 0 (no service request).
• Bit 2 is set if a query error has been detecte d.
• Bit 3 is set if a device dependent error has been detected.
• Bit 4 is set if an execution error has bee n detected.
• Bit 5 is set if a command error has been de tected.
• Bit 6 is always 0 (no service request).
• Bit 7 is set for the first call of *ESR? after Power On.
Operation/Questionable Status Summary
• The Operation/Questionable Status Summary consist of a condition and
an event register.
• A "rising" bit in the condition register is cop ied to the event register.
• A "falling" bit in the condition register has n o effect on the event
register.
• Reading the condition register is non-destruc tive.
• Reading the event register is destruct ive.
• A summary of the event register and its enable mask is set in the status
byte.