Keithley 2182 User Manual page 194

Nanovoltmeter
Hide thumbs Also See for 2182:
Table of Contents

Advertisement

11-20
Remote Operation
The IEEE-488.2 standard uses the *STB? common query command to read the Status Byte
Register.
When reading the Status Byte Register using the *STB? command, bit B6 is called the MSS
bit. None of the bits in the Status Byte Register are cleared when using the *STB? command to
read it.
The IEEE-488.1 standard has a serial poll sequence that also reads the Status Byte Register
and is better suited to detect a service request (SRQ). When using the serial poll, bit B6 is called
the RQS bit. Serial polling causes bit B6 (RQS) to reset. Serial polling is discussed in more detail
later in this section.
Any of the following operations clear all bits of the Status Byte Register:
NOTE
Service request enable register
This register is programmed by you and serves as a mask for the Status Summary Message
bits (B0, B2, B3, B4, B5, and B7) of the Status Byte Register. When masked, a set summary bit
in the Status Byte Register cannot set bit B6 (MSS/RQS) of the Status Byte Register.
Conversely, when unmasked, a set summary bit in the Status Byte Register sets bit B6.
A Status Summary Message bit in the Status Byte Register is masked when the corresponding
bit in the Service Request Enable Register is cleared (0). When the masked summary bit in the
Status Byte Register sets, it is ANDed with the corresponding cleared bit in the Service Request
Enable Register. The logic ò1ó output of the AND gate is applied to the input of the OR gate
and, thus, sets the MSS/RQS bit in the Status Byte Register.
The individual bits of the Service Request Enable Register can be set or cleared by using the
*SRE <NRf> common command.
To read the Service Request Enable Register, use the *SRE? query command. The Service
Request Enable Register clears when power is cycled or a parameter (n) value of zero is sent
with the *SRE command (*SRE 0).
Serial poll and SRQ
Any enabled event summary bit that goes from 0 to 1 will set RQS and generate a service
request (SRQ). In your test program, you can periodically read the Status Byte Register to check
if a service request (SRQ) has occurred and what caused it. If an SRQ occurs, the program can,
for example, branch to an appropriate subroutine that will service the request. Typically, service
requests (SRQs) are managed by the serial poll sequence of the Model 2182. If an SRQ does not
occur, bit B6 (RQS) of the Status Byte Register will remain cleared, and the program will simply
proceed normally after the serial poll is performed. If an SRQ does occur, bit B6 of the Status
Byte Register will set, and the program can branch to a service subroutine when the SRQ is
detected by the serial poll.
Cycling power.
Sending the *CLS common command
The MAV bit may or may not be cleared.

Advertisement

Table of Contents
loading

This manual is also suitable for:

2182a

Table of Contents