Product Manual

LCD and Remote Interface Setup Procedures
Command Use 5
5-13
6. Response Message Syntax
In the complete command descriptions in Chapter 6, the responses from the Product
are given where applicable. To know what type of data to read in, refer to the start of
the response description for the command.
Check Product Status
Figure 5-4 shows the status registers, enable registers, and queues in the Product which
show different conditions in the Product. Some registers and queues are specified by the
IEEE-488.2 standard, while the others are only for the Product. With the status registers,
the Service Request (SRQ) control line and a 16-element buffer (the Error Queue) also
give status information.
&
&
&
&
&
&
&
&
&
&
&
&
&
&
&
76543210
76543210
76543210
Service Request
Generation
SRQ
on
IEEE bus
Logical OR
Logical OR
Event Status
Register
Read using *ESR?
Read using ERR?
Read using *STB?
Event Status
EnableRegister
Service Request
Enable Register
Read using *SRE?
Write using *SRE
Read using *ESE?
Write using *ESE
Error
Available?
Data
Available?
Output Buffer
Error Queue
Read by Serial Poll
Status Byte Register
RQS
MAV
ESB
EAV
MSS
00006
PON
0
CME
EXE
DDE
QYE
0
OPC
gwp033.eps
Figure 5-4. Status Register Overview
Table 5-6 shows the status registers and gives the read/write commands and related mask
registers to use them.
Table 5-6. Status Register Summary
Status Register Read Command Write Command
Serial Poll Status B
y
te
(
STB
)
*STB?
Service Request Enable Register (SRE) *SRE? *SRE
Event Status Register (ESR) *ESR?
Event Status Enable Re
g
ister
(
ESE
)
*ESE? *ESE
Each status register and queue has a summary bit in the Serial Poll Status Byte. Enable
registers are used to mask different bits in the status registers and to make summary bits
in the Serial Poll Status Byte. For IEEE-488 interface operation, the Service Request
Enable Register is used to assert the SRQ control line on detection of A status condition
or conditions that the programmer chooses. For RS-232 interface operation, the SRQSTR
string is sent through the serial interface when the SRQ line is set.