beautypg.com

2 status system commands, Remote interface reference – American Magnetics 4Q06250PS-430 High Stability Integrated Power Supply System User Manual

Page 127

background image

Rev. 5

109

Remote Interface Reference

Status System Commands

SYSTem:TIME?

Returns the date and time of the Model 430 Programmer in the format

mm/dd/yyyy hh:mm:ss. Time is always reported in 24-hour format.

SYSTem:TIME:SET <

date(mm/dd/yyyy) time(hh:mm:ss)

>

Sets the date and time of the Model 430 Programmer using the format

mm/dd/yyyy hh:mm:ss. Time is always set in 24-hour format.

SYSTem:ERRor?

Queries the error buffer of the Model 430 Programmer. Up to 10 errors are

stored in the 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 130 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 101.

*STB?

Returns the contents of the Status Byte register. The

*STB?

command

does not clear 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 102 for more

information. For example, to enable quench detections only in the

“Summary Bit” of the Status Byte register, send the command:

*SRE 4;

*SRE?

The

*SRE?

query returns a decimal sum which corresponds to the binary-

weighted sum of the bits enabled by the last

*SRE

command.

+50.00 kG ¡

Status: Ramping

+1.50 Vs * PSwitch Heater: ON

^

Figure 4-2.

Asterisk Indicating Model 430 in Remote Mode