Series 2280 Precision DC Power Supply Reference Manual
Appendix D: Status model
077085503 / March 2019
D-5
Figure 122: Status model measurement registers
Programming and reading registers
When you write to or read a status register, you can use binary, decimal, or hexadecimal values to
represent the binary values of the bit states. When the value is converted to its binary equivalent, you
can determine which bits are set on or clear. Zero (0) indicates that all bits are clear.
Programming enable registers
You can program the bits in the enable registers of the status model registers.
When you program an enable register bit to 0, no action occurs if the bits in the corresponding
registers are set (1).
When you program an enable register bit to 1, if the bits in the corresponding registers are set (1), the
AND condition occurs.
You must program all bits in an enable register at the same time. This means that you need to
determine what each bit value in the register will be, then add them together to determine the value of
all the bits in the register. See
(on page D-9) for more information on
determining the value of the bits in the registers.
For example, you might want to enable the Standard Event Register to set the event status bit (ESB)
in the Status Byte Register whenever an operation complete event occurs or whenever an operation
did not execute properly because of an internal condition. To do this, set bits 0 and 3 of the Standard
Event Status Enable Register to 1. These bits have decimal values of 1 and 8, so to set both bits to 1,
set the register to 9 by sending SCPI command
*ese 9
.