System information

G2T Programmers Guide Rev-A 17-Nov-2014
58
6.1.6.2. The Fault Queue
The Fault Queue is a FIFO queue of system faults. Faults require
intervention by either the operator (plug in the power supply that
the janitor unplugged), or the manufacturer (repair the power
supply that failed).
The queue can be read with repeated calls to the fault FIFO using
the get? 15 command. If it’s empty, get? 15 returns a 0. If the
queue should fill-up, it over-writes the older entries in a “circular”
fashion. If there are any entries in the queue, the FLT bit in SBR is
set. Upon reading the last fault (if any) in the queue, FLT is cleared.
As a departure from 488.2, *CLS and *RST does not clear the queue
or the FLT bit. Only a complete system reset (or reading them as
specified above) clears them.
6.1.7. Register Function Summary
To summarize the register functions:
The overall status can be determined by reading SBR with
the *STB? Command:
A set PSFLT bit indicates a fault currently occurring in one of
the power supplies. Note that is bit unique in that it sets and
clears independently of host or keypad commands.
A set FLT bit indicates the need to retrieve serious faults with
the get? 15 command
A set MAV bit indicates that there’s data in the output
queue
A set ESB bit indicates that one or more of the bits in the
ESR that were enabled in ESER are set.
A set MSS bit indicates that one or more of the above three
bits is set along with its corresponding bit in the SRER.
The SRER is “anded” with the FLT, MAV and ESB bit of the
SBR to generate the current MSS. It is set with *SRE and read
by *SRE?