Status subsystem – Agilent Technologies 6028A User Manual
Page 99
Standard Commands for Programmable Instruments (SCPI)
99
Status Subsystem
This subsystem programs the power supply status registers. The power supply has two groups of status registers;
Operation
and
Questionable.
Each group consists of the following five registers:
Condition
Enable Event
NTR Filter
PTR Filter
Status Operation Registers
The bit configuration of all Status Operation registers is shown in the following table:
Bit Configuration of Operation Registers
Bit Position
15-12
11
10
9
8
7
6
5
4
3
2
1
0
Condition
NU
NU
CC
NU
CV
NU
NU
WTG
NU
NU
NU
NU
NU
Bit Weight
2048
1024
512
256
128
64
32
16
8
4
2
1
CC = Power supply is sourcing current in CC mode; CV = Power supply is in constant voltage mode; NU = (Not used);
WTG = Interface is waiting for a trigger.
See "Status Reporting" for more explanation of these registers.
STAT:OPER:COND?
Returns the value of the Operation Condition register. That is a read-only register which holds the real-time (unlatched)
operational status of the power supply.
Query Syntax
STAT
us
:OPER
ation
:COND
ition
?
Examples
STAT: OPER: COND? STATUS: OPERATION: CONDITION?
Returned Parameters
(Register value)
STAT:OPER:ENAB
Sets or reads the value of the Operation Enable register. The Operation Enable register is a mask for enabling specific bits
in the Operation Event register that can cause the operation summary bit of the Status Byte register to be set. The operation
summary bit (bit 7) is the logical OR of all the enabled bits in the Operation Event register.
Command Syntax
STAT
us
:OPER
ation
:ENABl
e
Parameters
0 to 32727
Default Value
0
Examples
STAT: OPER: ENAB 1312 STAT: OPER: ENAB 1 STATUS:OPERATION:ENABLE? Query
Syntax
STAT:OPER:ENAB?
Returned Parameters
(Register value)
STAT:OPER:EVEN?
Returns the value of the Operation Event register. The Event register is a read-only register
which holds (latches) all events that:
♦
are enabled by the Operation Enable register.
♦
are passed by the Operation NTR and/or PTR filter.
Reading the Operation Event register clears it.