
92
Remote Programming
ERRS? {i}
The ERRS? query reads the value of the error status byte. The value is
returned as a decimal number from 0 to 255. If the parameter i (0-7) is in-
cluded, the value of bit i is returned. Reading the entire byte will clear it
while reading bit i will clear just bit i.
MCSE (?) {i}
The MCSE command sets the multichannel scaler (MCS) status enable
register to the decimal value i (0-255). The MCSE? command queries the
value of the MCS status enable register.
MCSS? {i}
The MCSS? query reads the value of the multichannel scaler (MCS) stat-
us byte. The value is returned as a decimal number from 0 to 255. If the
parameter i (0-7) is included, the value of bit i is returned. Reading the
entire byte will clear it while reading bit i will clear just bit i.
STATUS BYTE DEFINITIONS
The SR430 reports on its status by means of four status bytes: the serial poll byte, the standard status byte,
the MCS status byte, and the error status byte.
Upon power-on, the SR430 may either clear all of its status enable registers or maintain them in the state they
were in on power-down. The *PSC command determines which action will be taken.
SERIAL POLL
bit
name
usage
STATUS BYTE
0
Scan Ready
No scan (data acquisition) in progress
1
Interface Ready
No command execution in progress
2
Error
An unmasked bit in the error status byte has
been set
3
MCS
An unmasked bit in the MCS status byte has
been set
4
MAV
The interface output buffer is non-empty
5
ESB
An unmasked bit in the standard status byte has
been set
6
SRQ
SRQ (service request) bit
7
Unused
The Error, MCS, and ESB bits are set whenever any unmasked bit in their respective status registers is set.
A bit is unmasked by setting the corresponding bit in the corresponding enable register. The Serial Poll Status
bits are not cleared until the condition which set the bit is cleared. Thus, these bits give a constant summary
of the enabled status bits. A service request will be generated whenever an unmasked bit in the Serial Poll
register is set. Note that service requests are only produced when the bit is first set and thus any condition
will only produce one service request. Accordingly, if a service request is desired every time an event occurs
the status bit must be cleared between events.
STANDARD EVENT
bit
name
usage
STATUS BYTE
0
Input Error
Set on input queue overflow (too many com-
Содержание SR430
Страница 2: ......
Страница 6: ...4 ...
Страница 22: ...20 Guide To Operation ...
Страница 26: ...24 Guide To Operation ...
Страница 36: ...34 Mode Menu ...
Страница 54: ...52 Save Menu ...
Страница 60: ...58 Recall Menu ...
Страница 70: ...68 Plot Menu ...
Страница 74: ...72 Test Menu ...
Страница 76: ...74 Info Menu ...
Страница 97: ...96 Remote Programming ...
Страница 99: ...98 98 Program Examples ...
Страница 107: ...106 106 Test and Calibration ...
Страница 113: ...112 112 Using Photomultiplier Tubes ...
Страница 125: ...124 124 124 Circuit Description ...