Status Byte Query
Reads out the value of the Status Byte. Bit 6 reports the Master Summary Status bit (MSS), not the Request Service (RQS). The MSS is set if the instrument has one or more reasons for requesting service.
Returned Format:
<Integer> = the sum (between 0 and 255) of all bits that are true. See table below:
Status Byte Register (1 = true) | |||
Bit | Weight | Name | Condition |
7 | 128 | OPR | Enabled operation status has occurred |
6 | 64 | MSS | Reason for requesting service |
5 | 32 | ESB | Enabled status event condition has occurred |
4 | 16 | MAV | An output message is ready |
3 | 8 | QUE | The quality of the output signal is questionable |
2 | 4 | EAV | Error available |
1 | 2 | Reserved | |
0 | 1 | Reserved |
See also: If you want to read the status byte with the RQS bit, use serial poll.