2 status system commands, Status system commands, Figure 4-2 – American Magnetics 420 Power Supply Programmer User Manual
Page 98: Remote interface reference

80
Remote Interface Reference
Status System Commands
SYSTem:TIME?
Returns the instrument’s time, in the format hh:mm:ss.ss, since the last
power-on event or
SYSTem:TIME:RESet
command. The time wraps to
00:00:00.00 every 24 hours. The time is accurate to 25 milliseconds.
SYSTem:TIME:RESet
Resets the instrument’s time to 00:00:00.00.
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 92 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 70.
*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.
*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 71 for more
information. For example, to enable quench detections only in the
“Summary Bit” of the Status Byte register, send the command:
*SRE 4;
N* b 6WDWXV 5DPSLQJ
9V 36ZLWFK +HDWHU 21
A
Figure 4-2. Illustration of asterisk annunciator indicating the Model 420 is in
remote mode (all front panel controls are disabled).