6166 DC Voltage Current Source Operation Manual
6.2.1 Status Register
6-6
• Enable Register
The Enable Register specifies for which bits in the Event Register a valid status summary should be
generated. The logical AND operation is executed between each bit of the Enable Register and the
Event Register, and the OR result is generated as a summary. The summary is written into the Status
Byte Register.
Data can be written into the Enable Register in decimal values.
The 6166 has the following three types of status registers.
• Status Byte Register (STB)
• Standard Event Status Register (SESR)
• Device Event Status Register (DESR)
The 6166 status register structure is shown in Figure 6-2.
2. Event Enable Register
Each Event Register has an Enable Register that decides which bit is to be enabled. The Enable Reg-
ister sets the relevant bit in decimal values.
• Service Request Enable Register setting: *SRE
• Standard Event Status Enable Register setting: *ESE
• Device Event Enable Register setting: DSE
(Example) Enables only the EOM bit of the Device-Event Register.
When the EOM bit of the Device Event Register is set to 1, the DSB bit of the Status Byte Reg-
ister is set to 1.
(Example) Enables Status Byte Register's DSB (Device Event Status Register summary) bit and the ESB
(Standard Event Status Register summary) bit.
When the DSB bit or the ESB bit is set to 1, Status Byte Register's MSS bit is set to 1.
3. Status Byte Register
The Status Byte Register summarizes the information from the Status Register. This Status Byte Reg-
ister's summary is transmitted as a service request to the controller. Consequently, the Status Byte
Register is slightly different from the Status Register in structure. The Status Byte Register is ex-
plained in the following:
The following figure shows the structure of the Status Byte Register.
Figure 6-1 Status Byte Register Structure
Status Byte Register
Service Request Enable Register