R&S
®
CMW 500 Remote Control
Status Reporting System
Operating Manual 1202.3986.32 – 03 102
5.5.5 Output Unit
The output unit collects the information requested by the controller, which it receives
from the data set management. It processes it according to the SCPI rules and makes
it available in the output buffer. If the information requested is longer, it is made
available "in portions" without this being recognized by the controller.
If the instrument is addressed as a talker without the output buffer containing data or
awaiting data from the data set management, the output unit sends the error message
"Query UNTERMINATED" to the status reporting system. No data is sent on the GPIB
bus or via the Ethernet, the controller waits until it has reached its time limit. This
behavior is specified by SCPI.
5.6 Status Reporting System
The status reporting system stores all information on the present operating state of the
instrument, and on errors which have occurred. This information is stored in the status
registers and in the error queue. Both can be queried via GPIB bus or Ethernet
(STATus Commands).
Hierarchy of status registers
As shown in the graphical overview, The status information is of hierarchical structure.
STB, SRE
The STatus Byte (STB) register and its associated mask register Service Request
Enable (SRE) form the highest level of the status reporting system. The STB
provides a rough overview of the instrument status, collecting the information of
the lower-level registers.
ESR, SCPI registers
The STB receives its information from the following registers:
The Event Status Register (ESR) with the associated mask register standard event
status enable (ESE).
The STATus:OPERation and STATus:QUEStionable registers which are defined
by SCPI and contain detailed information on the instrument.
IST, PPE
The IST flag ("Individual STatus"), like the SRQ, combines the entire instrument
status in a single bit. The PPE is associated to the IST flag. It fulfills an analogous
function for the IST flag as the SRE does for the service request.
Output buffer
contains the messages the instrument returns to the controller. It is not part of the
status reporting system but determines the value of the MAV bit in the STB.
All status registers have the same internal structure.