beautypg.com

GW Instek PST series Programming Manual User Manual

Page 11

background image

PST & PSS & PSH SERIES PROGRAMMABLE POWER SUPPLY

PROGRAMMER MANUAL

⎯ 19 ⎯

6. DETAILS OF COMMAND REFERENCE

Each command in this chapter will give a detailed description. The

examples of each command will be provided and what query form might
return.

*CLS

(no query form)

Function:
Clear all event status data register. This includes the Output Queue,
Operation Event Status Register, Questionable Event Status Register, and
Standard Event Status Register.

Syntax:

*CLS

Examples:

*CLS

clears all event registers.

*ESE

Function:
Set or return the bits in the Event Status Enable Register (ESER). The
ESER enables the Standard Event Status Register (SESR) to be
summarized on bit 5 (ESB) of the Status Byte Register (SBR).

Syntax:

*ESE

*ESE?

is in the range from 0 through 255.

Returns:

is a number from 0 to 255 that indicates the decimal value of the

binary bits of the ESER.

PST & PSS & PSH SERIES PROGRAMMABLE POWER SUPPLY

PROGRAMMER MANUAL

⎯ 20 ⎯

Examples:

*ESE 65

sets the ESER to binary 0100 0001.

If the ESER contains the binary value 1000 0010, the *ESE? will
return the value of 130.

*ESR?

(query only)

Function:
Return and clear the contents of the Standard Event Status Register
(SESR).

Syntax:

*ESR?

Returns:

is a number from 0 to 255 that indicates the decimal value of the

binary bits of the ESER.

Examples:

If the ESER contains the binary value 1100 0110, the *ESR? will
return the value of 198.

*IDN?

(query only)

Function:
Return the unique identification code of the power supply.

Syntax:

*IDN?

Returns:

includes Manufacturer, model number, serial number and

firmware version.

This manual is related to the following products: