Status and error reporting, Structure of system, Status registers – GW Instek PSM-Series Programming Manual User Manual
Page 31: Questionable status, Operation status, Standard event status registers, Status byte register

PSM SERIES PROGRAMMABLE POWER SUPPLY
PROGRAMMER MANUAL
⎯ 59 ⎯
7. STATUS AND ERROR REPORTING
A set of status registers allows the user to quickly determine the power
supply’s internal processing status. The status register, as well as the status
and event reporting system, adhere to SCPI recommendations.
Structure of System
The sketch of the status and event reporting system is showed as figure
7. Each component of the sketch represents a set of registers and queues
that can read, report, or enable the occurrence of certain events within the
system.
If a specific event in the power supply sets a bit in a status register, reading
which can tell you what types of events have occurred.
Each bit in the status register corresponds to a bit in an enable register; the
enable bit must be high for the event to be reported to the Status Byte
Register.
A Service Request (SRQ) is the last event to occur. The SRQ requests an
interrupt on the GPIB to report events to the system controller.
Status Registers
There are two kinds of status registers are included to the programmable
power supplies.
z
OPERation Status Registers ( CONDition, EVENt, and ENABle)
z
QUEStionable Status Registers (CONDition, EVENt, and ENABle)
The lower level nodes: QUEStionable and OPERation each have three 16
bits registers: CONDition, EVENt, and ENABle. Figure 8 shows the
sequential relationship between these three types of registers and the
commands that relate to each register.
PSM SERIES PROGRAMMABLE POWER SUPPLY
PROGRAMMER MANUAL
⎯ 60 ⎯
Not Used
Not Used
Not Used
Not Used
Not Used
Not Used
Summary OVP
Not Used
Not Used
Not Used
Not Used
Not Used
Not Used
Not Used
Summary Voltage
Summary Current
QUEStionable
Status
0
1
2
3
9
15
14
13
12
11
10
8
7
6
5
4
Not Used
Not Used
Not Used
Not Used
Not Used
Not Used
Not Used
Not Used
OPERation
Status
Not Used
2
3
0
1
14
13
12
11
10
9
8
7
6
5
4
15
Command Error
Power On
User Request
Execution Error
Device Dependent Error
Query Error
Not Used
Standard Event Status Registers
Operation Complete
ESB
RQS/MSS
MAV
Not Used
Status Byte Register
Not Used
Summary of IEEE 488.2 Status Structure Registers
2
3
0
1
7
6
5
4
2
3
0
1
7
6
5
4
E/E
Not Used
Not Used
Not Used
Not Used
Not Used
Not Used
Not Used
QUES
OPER
SRQ
Error/Event Queue
Output Queue
Figure 7. A graphic representation of the status registers and their connections.