beautypg.com

2 status system commands, Remote interface reference – American Magnetics 05100PS-430-601 Integrated Power Supply System User Manual

Page 129

background image

Rev. 5

111

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 132 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 103.

*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 104 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