EB200 Manual
Remote control
4052.2000.02 4.141
E-7
4.7.4.2 Query by means of commands
Each part of every status register can be read by means of queries. The individual commands are
indicated in the detailed description of the registers in section "Description of the status registers" on
page 131. Only one number is returned which represents the bit pattern of the register queried. The
format of the number can be set by the
FORMat:SREGister
command.
Queries are usually used after an SRQ in order to obtain more detailed information on the cause of the
SRQ.
4.7.4.3 Error-queue query
Each error state in the device results in an entry in the error queue. The entries of the error queue are
detailed plain-text error messages which can be queried via the IEC/IEEE bus using the command
SYSTem:ERRor?
. Each call of
SYSTem:ERRor?
provides an entry from the error queue. If no error
messages are stored there any more, the device responds with 0, "
No error
".
The error queue should be queried after every SRQ in the controller program as the entries describe
the cause of an error more precisely than the status registers. Especially during the test phase of a
controller program the error queue should be queried regularly since faulty commands from the
controller to the device are recorded there as well.