Each part of any status register can be read by means of queries. The individual commands are listed in chapter Remote Control - Commands. The returned value is always a number that represents the bit pattern of the register queried. This number is evaluated by the controller program.
Queries are usually used after an SRQ in order to obtain more detailed information on the cause of the SRQ.