Status Register Sets; Register Bit Descriptions - Keithley 6220 Reference Manual

Ac and dc current source measure unit
Table of Contents

Advertisement

11-10 Status Structure
Table 11-3
Common commands — status byte and service request enable registers
Command
*STB?
*SRE <NDN> or <NRf>
*SRE?
Note: *CLS and STATus:PRESet have no effect on the service request enable register.
Programming example — set MSS (B6) when error occurs
The first command of the following sequence enables EAV (error available). When
an invalid command is sent (line 4), bits B2 (EAV) and B6 (MSS) of the status byte
register set to 1. The last command reads the status byte register using the binary
format (which directly indicates which bits are set). The command to select format
(FORMat:SREGister) is documented in
of the error, you will have to read the error queue (see
*CLS
*SRE 4
FORM:SREG BIN
BadCommand
*STB?

Status register sets

As shown in
of the Model 622x: standard event status, operation event status, measurement
event status, and questionable event status.

Register bit descriptions

When an error or status event occurs, a coded message is briefly displayed and
placed in the Error Queue. The occurrence of an error/status event also sets a
status register bit. The coded error/status messages are listed in
The status register bits are described as follows. Included with the bit descriptions
are the codes for the error/status event(s) that caused the bit to set.
Test Equipment Depot - 800.517.8431 - 99 Washington Street Melrose, MA 02176 - TestEquipmentDepot.com
Read status byte register.
Program the service request enable register:
<NDN> = #Bxx...x
= #Hx
= #Qx
<NRf> = 0 to 255
Read the service request enable register.
' Clears Error Queue.
' Enables EAV.
' Selects binary format.
' Generates error.
' Read Status Byte Register.
Figure
11-1, there are four status register sets in the status structure
Return to
Section 11 topics
Model 6220/6221 Reference Manual
Description
Binary format (each x = 1 or 0)
Hexadecimal format (x = 0 to FF)
Octal format (x = 0 to 377)
Decimal format
Table
11-2. To determine the exact nature
"Queues," on page
Default
Note
11-20).
Appendix
B.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

6221

Table of Contents