2 status system commands, Status system commands, Remote interface reference – American Magnetics 187 Self-Compensating Liquid Level Controller User Manual
Page 52

41
Remote Interface Reference
Status System Commands
W
SYSTem:LOCal
Enables all front panel controls. All front panels controls are enabled by
default after a power-up or
*RST
command.
W
SYSTem:REMote
Disables all front panel controls.
W
SYSTem:ERRor?
Queries the instrument’s error buffer. Up to 10 errors are stored in the
instrument’s error buffer. Errors are retrieved in first-in-first-out (FIFO)
order. The error buffer is cleared by the
*CLS
(clear status) command or
when the power is cycled. Errors are also cleared as they are read. See
page 47 for a complete description of the error buffer and messages.
4.5.2
Status System Commands
The status system register groups and commands are illustrated in Figure
4-1 on page 31.
W
*STB?
Returns the contents of the Status Byte register. The
*STB?
command is
similar in function to an IEEE-488 Serial Poll, however the command is
executed in the order received as any other command. In contrast to the
IEEE-488 Serial Poll,
*STB?
does not clear an SRQ condition or the
“Summary Bit” (bit 6) of the Status Byte register.
W
*SRE <
enable_value
>
Enables bits in the Status Byte register to be reported in the “Summary
Bit” (bit 6) of the Status Byte register. To enable bits, you must write a
decimal
<
enable_value
>
which corresponds to the binary-weighted sum of
the bits you wish to enable. Refer to Table 4-1 on page 32 for more
information. For example, to enable controller output state only in the
“Summary Bit” of the Status Byte register, send the command:
*SRE 2;
W
*SRE?
The
*SRE?
query returns a decimal sum which corresponds to the binary-
weighted sum of the bits enabled by the last
*SRE
command.
W
*CLS
Clears the Standard Event register and the error buffer.
W
*ESR?
Returns the contents of the Standard Event register as a binary-weighted
sum.