Tektronix TDS 310 Sprinkler User Manual


 
Status and Events
Status and Events
3Ć6
Figure 3Ć6 shows how to use the status and event handling system. In the
explanation that follows, numbers in parentheses refer to numbers in FigĆ
ure 3Ć6.
Device Event Status Enable Register
(DESER)
Read using DESE?
Write using DESE
Standard Event Status Register
(SESR)
Read using *ESR?
Cannot be written
Event Status Enable Register
(ESER)
Read using *ESE?
Write using *ESE
Status Byte Register
(SBR)
Read using *STB?
Cannot be written
Service Request Enable Register
(SRER)
Read using *SRE?
Write using *SRE
Event
Queue
Output
Queue
Event
Event
Event
Byte
Byte
Byte
1
2
3
4
6
7
5
PON URQ CME EXE DDE QYE RQC OPC
76543210
PON URQ CME EXE DDE QYE RQC OPC
76543210
PON URQ CME EXE DDE QYE RQC OPC
76543210
Ċ
RQS
ESB MAV Ċ Ċ Ċ Ċ
MSS
7
6
543210
6
Ċ Ċ ESB MAV Ċ Ċ Ċ Ċ
76543210
Figure 3Ć6:ăStatus and Event Handling Process
When an event occurs, a signal is sent to the DESER (1). If that type of event
is enabled in the DESER (that is, if the bit for that event type is set to 1), the
appropriate bit in the SESR is set to one and the event is recorded in the
Event Queue (2). If the corresponding bit in the ESER is also enabled (3),
then the ESB bit in the SBR is set to one (4).
When output is sent to the Output Queue, the MAV bit in the SBR is set to
one (5).
Event Handling
Sequence