beautypg.com

GW Instek PSH-A Series 360W User Manual User Manual

Page 30

background image

Remote

Operation

59

Status commands

*cls

Clears all event status registers (Output Queue,
Operation Event Status, Questionable Event

Status, Standard Event Status)

*ese?

Returns the ESER (Event Status Enable
Register) contents.
Example: 130→means ESER=10000010

*ese <0~255>

Sets the ESER contents.
Example: *ese 65→sets ESER to 01000001

*esr?

Returns and clears the SESR (Standard Event
Status Register) contents.
Example: 198→means SESR=11000110

*sre?

Returns the SRER (Service Request Enable

Register) contents.
Example: 3→means SRER=00000011

*sre <0~255>

Sets the SRER contents.
Example: *SRE 7→SRER=00000111

*stb?

Returns the SBR (Status Byte Register) contents.
Example: 81→means SBR=01010001

:stat:oper:cond? Returns the Operation register contents.
:stat:oper:enab? Returns the mask conditions of the event

register. Range: 0~32767

Example: 32767 means all 15bits are set to 1.

:stat:oper:enab
<0~32767>

Returns the mask conditions of the event
register. Range: 0~32767
Example: 32767 sets all 15bits to 1.

:stat:oper:even? Returns the operation register contents.

Example: 32767 means all 15bits are set to 1.

:stat:pres

Sets the operation register and questionable
enable register to zero.

:stat:ques:enab
?

Returns the mask conditions of the event
register. Range: 0~32767

Example: 32767 means all 15bits are set to 1.

:stat:ques:enab
<0~32767>

Returns the mask conditions of the event
register. Range: 0~32767
Example: 32767 sets all 15bits to 1.

:stat:oper:even? Returns the questionable register contents.

Example: 32767 means all 15bits are set to 1.

PSH

User

Manual

60

Miscellaneous commands

*idn?

Returns the power supply ID as Manufacturer,
Model No, Serial No, Firmware version.

Example: GW.Inc,PSH-2018A,12345678,FW1.00

*opc?

“1” is placed in the output queue when all the
pending operations are completed.

*opc

Sets the operation complete bit (bit0) in SERS

(Standard Event Status Register) when all the
pending operations are completed.

*rcl <1~99>

Recalls the panel setup from internal memory.
Example: *RCL 1→recalls setup from memory1

*rst

Recalls the default panel setup (reset the device).

*sav <1~99>

Saves the panel setup to internal memory.
Example: *SAV 1→saves setup to memory1

*tst?

Run the self-test for RAM and ROM and returns

0 (successful) or -300 (unsuccessful).

*wai

Prevents execution of further commands until all
the pending operations are completed.

:syst:err?

Returns the error number followed by the error

message from the queue.
Example: 0, “No error”

:syst:vers?

Returns the SCPI version.
Example: 1994.0