Remote Operations
Checking 5522A Status
5
5-37
7
6
5
4
3
2
1
0
0
RQS
MSS
ESB
MAV
EAV
ISCB
0
0
Re
qu
esting ser
v
ice. The RQS
b
it is set to 1
w
hene
v
er
b
its ESB, MA
V
, EA
V
, or ISCB
change from 0 to 1 and are ena
b
led (1) in the SRE.
W
hen RQS is 1, the 5522A
asserts the SRQ control line on the IEEE-4
88
interface. Yo
u
can do a serial poll to read
this
b
it to see if the 5522A is the so
u
rce of an SRQ.
Master s
u
mmary stat
u
s. Set to 1
w
hene
v
er
b
its ESB, MA
V
, EA
V
, or ISCB are 1 and
ena
b
led (1) in the SRE. This
b
it can
b
e read
u
sing the *STB? command in serial
remote control in place of doing a serial poll.
Set to 1
w
hen one or more ena
b
led ESR
b
its are 1.
Message a
v
aila
b
le. The MA
V
b
it is set to 1
w
hene
v
er data is a
v
aila
b
le in the 5522A’s
IEEE-4
88
interface o
u
tp
u
t
bu
ffer.
Error a
v
aila
b
le. An error has occ
u
rred and an error is a
v
aila
b
le to
b
e read from the
error
qu
e
u
e
b
y
u
sing the ERR?
qu
ery.
ISCB One or more ena
b
led ISCR
b
its are 1.
RQS
MSS
ESB
MA
V
EA
V
OPER
gjh035.eps
Figure 5-9. Serial Poll Status Byte (STB) and Service Request Enable (SRE)
Service Request (SRQ) Line
IEEE-488
Service Request (SRQ) is an IEEE-488.1 bus control line that the Calibrator
asserts to notify the controller that it requires some type of service. Many instruments can
be on the bus, but they all share a single SRQ line. To determine which instrument set
SRQ, the Controller normally does a serial poll of each instrument. The calibrator asserts
SRQ whenever the RQS bit in its Serial Poll Status Byte is 1. This bit informs the
controller that the Calibrator was the source of the SRQ.
RS-232
Remote operations using the RS-232 interface emulate the IEEE-488 SRQ line
by sending the SRQSTR string over the serial interface when the SRQ line is set. (See the
SRQSTR command description in Chapter 6 for more information.)
The Calibrator clears SRQ and RQS whenever the controller/host performs a serial poll,
sends *CLS, or whenever the MSS bit is cleared. The MSS bit is cleared only when ESB,
MAV, EAV, and ISCB are 0, or they are disabled by their associated enable bits in the
SRE register being set to 0.
Service Request Enable Register (SRE)
The Service Request Enable Register (SRE) enables or masks the bits of the Serial Poll
Status Byte. The SRE is cleared at power up. Refer to Figure 5-9 for the bit functions.
Programming the STB and SRE
By resetting (to 0) the bits in the SRE, you can mask (disable) associated bits in the serial
poll status byte. Bits set to 1 enable the associated bit in the serial poll status byte. The
following sample BASIC program enables the Error Available (EAV) bit.
10 ! THIS PROGRAM SETS EAV IN THE SRE
20 PRINT @6,”*SRE 8” ! LOAD THE REGISTER
30 PRINT @6, “*SRE?” ! ASK FOR THE SRE CONTENTS
Содержание 5522A Operators
Страница 4: ......
Страница 14: ...5522A Operators Manual x ...
Страница 18: ...5522A Operators Manual xiv ...
Страница 22: ...5522A Operators Manual 1 2 ...
Страница 46: ...5522A Operators Manual 1 26 ...
Страница 48: ...5522A Operators Manual 2 2 ...
Страница 54: ...5522A Operators Manual 2 8 ...
Страница 56: ...5522A Operators Manual 3 2 ...
Страница 189: ...6 1 Chapter 6 Remote Commands Title Page Introduction 6 3 Command Summary by Function 6 3 Commands 6 10 ...
Страница 190: ...5522A Operators Manual 6 2 ...
Страница 240: ...5522A Operators Manual 7 2 ...
Страница 260: ...5522A Operators Manual 8 2 ...
Страница 314: ...5522A Operators Manual 9 52 ...
Страница 370: ...5522A Operators Manual 10 56 ...
Страница 413: ...B 1 Appendix B ASCII and IEEE 488 Bus Codes ...
Страница 414: ...5522A Operators Manual B 2 ...
Страница 416: ...5522A Operators Manual B 4 ...
Страница 426: ...5522A Operators Manual D 6 ...