Registers

Status data structure | Status byte register, service request enable register |
Event status register
| Error register | Device status (enable) register

For each bit in the registers, 1 represents "set" and 0 represents "reset."

Status data structure

TOP

Status byte register, service request enable register

The status byte register is read using *STB?

The service request enable register is set using *SRE and read using *SRE?

 

Bit Bit weight Register name Description
0 1 NOT USED
1 2 NOT USED
2 4 NOT USED
3 8 NOT USED
4 16 Device Status Bit (DSB) This bit is set to true when a bit is set in the device status register.
5 32 Standard Event Status Bit (ESB) This bit is set to true when a bit is set in the event status register.
6 64 Master Status Summary (MSS) If any of the bits in the status byte is 1 and the corresponding bit in the service request enable register is also 1, this bit is set.
7 128 NOT USED
TOP

Event status register

The bits in the event status register are set in response to specific events that occur during the KES4022/KES4022A operation.

The event status byte register is read using *ESR? The register that is read is cleared.

 

Bit Bit weight Register name Description
0 1 NOT USED
1 2 NOT USED
2 4 NOT USED
3 8 NOT USED
4 16 Execution Error (EXE) This bit is set when an invalid message is received.
5 32 Command Error (CME) This bit is set when a syntax error is detected, when an undefined header is received, or when a value outside the appropriate range is received.
6 64 NOT USED
7 128 NOT USED
TOP

Device status register, device status enable register

The device status register is read using DSR?

The device status enable register is set using DSE and read using *DSE?

 

Bit Bit weight Register name Description
0 1 NOT USED
1 2 NOT USED
2 4 TEST Testing
3 8 HV ON Waiting
4 16 NOT USED
5 32 NOT USED
6 64 STOP Test stopped
7 128 ALM Alarm activated
TOP

Error register

 

Bit Bit weight Register name Description
0 1 Syntax Error
1 2 Data Error
2 4 NOT USED
3 8 Data Out of Range
4 16 Invalid Commands
5 32 NOT USED
6 64 NOT USED
7 128 NOT USED
TOP