EasyManuals Logo
Home>Keithley>Switch>7001

Keithley 7001 User Manual

Keithley 7001
353 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #139 background imageLoading...
Page #139 background image
IEEE-488 Reference
5-20
The following operations clears all bits of the Status Byte
Register:
1. Cycling power.
2. Sending the *CLS common command.
NOTE
The MAV bit may or may not be cleared.
Service Request Enable Register —
This register is pro-
grammed by the user and serves as a mask for the Status
Summary Message bits (B2, B3, B4, B5 and B7) of the Sta-
tus Byte Register. When masked, a set summary bit in the
Status Byte Register will not set bit B6 (MSS/RQS) of the
Status Byte Register. Conversely, when unmasked, a set
summary bit in the Status Byte Register will set 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 cor-
responding cleared bit in the Service Request Enable Regis-
ter. The logic “0” output of the AND gate is applied to the
input of the OR gate and thus, will not set the MSS/RQS bit
in the Status Byte Register.
A Status Summary Message bit in the Status Byte Register is
unmasked when the corresponding bit in the Service Request
Enable Register is set (1). When the unmasked summary bit
in the Status Byte Register sets, it is ANDed with the corre-
sponding set 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, will set 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 following common com-
mand (see paragraph 5.10.12 for details):
*SRE <NRf>
The Service Request Enable Register can be read using the
following common query command (see paragraph 5.10.13
for details):
*SRE?
The Service Request Enable Register is not cleared when it
is read using the *SRE? query command. The Service Re-
quest Enable Register will clear 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). The user’s test
program can periodically read the Status Byte Register to
check to see if a service request (SRQ) has occurred and
what caused it. In the event of an SRQ, the program can, for
example, branch to an appropriate subroutine that will ser-
vice the request. Typically, service requests (SRQs) are man-
aged by the serial poll sequence of the Model 7001. If an
SRQ does not occur, bit B6 (RQS) of the Status Byte Regis-
ter 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 pro-
gram can branch to a service subroutine when the SRQ is de-
tected by the serial poll.
The serial poll will automatically reset RQS of the Status
Byte Register. This will allow subsequent serial polls to
monitor Bit 6 for an SRQ occurrence generated by other
event types. After a serial poll, the same event can cause an-
other SRQ, even if the event register which caused the first
SRQ has not been cleared.
A serial poll clears RQS but does not clear MSS. The MSS
bit will stay set until all Status Byte event summary bits are
cleared or until the corresponding bits in the service request
enable registers are cleared.
The following HP BASIC 4.0 programming example dem-
onstrates how serial poll can be used to detect an SRQ.
10 REMOTE 707
20 CLEAR 707
30 OUTPUT 707;”*ESE 32” ! Unmask command er-
ror bit (B5) in Stan-
dard Event Enable
Register.
Artisan Scientific - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisan-scientific.com

Table of Contents

Other manuals for Keithley 7001

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley 7001 and is the answer not in the manual?

Keithley 7001 Specifications

General IconGeneral
BrandKeithley
Model7001
CategorySwitch
LanguageEnglish

Related product manuals