1656 & 1657 Battery Element Tester Owner’s Manual
STS Instruments Page 65 of 88
8.6 Registers, Events and Status Reporting
Events and device Status may be queried by the through the following registers and queues.
Query commands are explicitly shown in this section for clarity. The following status and event
registers are supported.
8.6.1 STATUS BYTE REGISTER (STB)
STATUS conditions reported by the STATUS BYTE may be queried using the *STB? command.
The *CLS command clears the ESR and the STB. The Status Byte Register contains the following
bits.
BIT NAME WEIGHT DEFINITION
128
:STATus:OPERation register bit summary. See
STATus:OPERation:ENABle for more.
64
MASTER SUMMARY. Summarizes all STATUS BYTE bits
(except bit 6) for *STB?, or *SRE for more.
REQUEST SERVICE: indicates this device requested service
when a Serial Poll was performed.
32
STANDARD EVENT STATUS REGISTER bit summary. See the
*ESE command for more.
16
MESSAGE AVAILABLE indicates Query response data is
available
8
:STATus:QUEStionable register bit summary. See
STATus:QUEStionable:ENABle for more.
4
ERROR/EVENT QUEUE indicates an SCPI Error/Event message
is available. Use the SYSTem:ERRor? Command to query any
messages from the Error Queue.
Indicates instrument is busy.
Indicates hard failure or unrecoverable error condition.
Setting a SERVICE REQUEST ENABLE (SRE) bit true unmasks the STATUS bit in the STB. Bit 6 of
the SRE is not applicable as the MASTER SUMMARY bit of the STB cannot be masked. The STB,
SRE, ESR and ESE registers are 8 bits each.
8.6.2 STANDARD EVENT STATUS REGISTER (ESR)
Events reported by the STANDARD EVENT STATUS register may be queried via the *ESR?
command. Reading the ESR register clears it. The EVENT STATUS summary bit in the STATUS
BYTE (STB) will be set when an unmasked EVENT STATUS bit goes true.
The Standard Event Status Register contains the following bits.
BIT NAME WEIGHT DEFINITION
POWER ON indicates Input power was just applied
64
USER REQUEST indicates "LOCAL" key was just
pressed
32
COMMAND ERROR indicates invalid command or
query received
16
EXECUTION ERROR indicates can't execute
command with data received