beautypg.com

3 setup configuration commands and queries, Remote interface reference – American Magnetics 05100PS-430-601 Integrated Power Supply System User Manual

Page 130

background image

112

Rev. 5

Remote Interface Reference

SETUP Configuration Commands and Queries

*CLS

Clears the Standard Event register and the error buffer.

*ESR?

Returns a decimal sum which corresponds to the binary-weighted sum of

the contents of the Standard Event register.

*ESE <

enable_value

>

Enables bits in the Standard Event register to be reported in the

“Standard Event” bit (bit 5) 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-2 on page 106

for more information. For example, to enable all categories of error

messages to be reported in bit 5 of the Status Byte register, send:

*ESE 60;

*ESE?

The

*ESE?

query returns a decimal sum which corresponds to the binary-

weighted sum of the bits enabled by the last

*ESE

command.

*PSC {0|1}

Power-On Status Clear. If

*PSC 1

is in effect, the Standard Event enable

register and the Status Byte enable register are cleared at power on. If

*PSC 0

is in effect, the enable registers are not cleared at power on. The

default setting is “1”.

*PSC?

Returns the Power-On Status Clear setting currently in effect. A value of

“0” indicates the enable registers are not cleared at power on; a value of “1”

indicates the enable registers are cleared at power on.

*OPC

Sets the “Operation Complete” bit (bit 0) of the Standard Event register

when executed. See page 106 for a complete discussion.

*OPC?

Returns “1” to the requesting interface when executed. See page 107 for

more information.

4.5.3

SETUP Configuration Commands and Queries

The SETUP Configuration Commands and Queries provide read/write

access to the setup functions available within the Supply (see section

3.10.1), Load (see section 3.10.2), and Misc (see section 3.10.3) submenus.