beautypg.com

GW Instek PST series Programming Manual User Manual

Page 13

background image

PST & PSS & PSH SERIES PROGRAMMABLE POWER SUPPLY

PROGRAMMER MANUAL

⎯ 23 ⎯

*SAV

Function:
Save the setting data to a specific memory location (The PSS and PSH
series do not have this function).

Syntax:

*SAV

is in the range from 0 through 99.

Examples:

*SAV 01 saves the current setting data to memory location 1.

*SRE

Function:
Set the contents of the Service Request Enable Register (SRER). The
query form returns the contents of the SRER. Bit 6 of the SRER is always
zero. The bits on the SRER correspond to the bits on the SBR.

Syntax:

*SRE

*SRE?

Returns:

is in the range from 0 through 255.

Examples

*SRE 7

sets bits of the SRER to 0000 0111.

If the *SRE? returns 3, the SRER is set to 0000 0011.

*STB?

(query only)

Function:
The query of the Status Byte register (SBR) with *STB? will return a

PST & PSS & PSH SERIES PROGRAMMABLE POWER SUPPLY

PROGRAMMER MANUAL

⎯ 24 ⎯

decimal number representing the bits that are set (true) in the status
register.

Syntax:

*STB?

Returns:

is in the range from 0 through 255.

Examples:

*STB?

returns 81, if SBR contains the binary value 0101 0001.

*TST?

(query only)

Function:
Self-test and test the RAM, ROM.

Syntax:

*TST?

Returns:

0|-300

Examples:

*TST?

returns 0, if the test is successful.

*TST?

returns –300, if the test is unsuccessful.

*WAI

(no query form)

Function:
WAI prevents the programming instrument from executing further
commands or queries until all pending operations are finished.

Syntax:

*WAI

This manual is related to the following products: