53
8303460000 Rev A IA672-04-01-Rev. I
THE SCPI ERROR AND STATUS REGISTERS
11.8.12. Read the Operational Condition - Condition Register
This register reports several operating modes and settings of the power supply.
Although separate SCPI commands may also report this information, the register is
beneficial because it may allow any brief mode change to be latched into an event
register for later reading.
This is a conditional register. The bits are set to “1” when the mode occurs and
cleared when the mode turns off. The values are read-only.
These are the bit assignments of the Operational Condition - Condition Register:
“1” = constant voltage operation
“1” = constant current operation
“1” = No fault, is set when all faults cleared
“1” = Auto start is enabled
“1” = Foldback protection is enabled
“1” = Local mode, “0” = Remote mode
Syntax: STATus:OPERation:CONDition?
Example: STAT:OPER:COND?
Response: <nnnnn>, a number from 00000 to 00255
Example: 00128 (local mode and output off (CV and CC both zero))
11.8.13. Set the Operational Condition Enable Register
When one or more bits in the Operational Condition - Condition Register (see 11.8.12
above) are set, a bit can be set in the Status Byte (*STB,see section 11.8.6). This is
done by setting bits in the enable register. Changing the value of the enable register
has no effect on the value in the condition register.
Syntax: STATus:OPERation:ENABle <nn>
Parameter: <nnn> is a number from 0 to 255. The bit assignments are the
same as the table above
Example: STAT:OPER:ENAB 1 will cause bit 7 in the Status Byte to be set
if the supply goes into constant-voltage mode
Query: STAT:OPER:ENAB? will return 1 in the example
will return 135 when all bits are set to 1