Command set – GW Instek PSH-A Series 360W User Manual User Manual
Page 29

Remote
Operation
57
Command Syntax
The commands are fully compatible with IEEE488.2 (1992) 
standard and partially compatible with SCPI (1994) standard. 
Example 
command 
:chan1:prot:curr <0/1> LF
4
3
2
1
1: Command Header
2: Single space 
3: Parameter 
4: Message Terminator OR Message Separator 
Command 
Header 
Several command header elements (nodes) can be
concatenated to form a complex command. 
The above example can be separated into: 
:chan1: (root node) + prot: + curr: 
<0/1>
0 or 1.
Parameter 
example 
<1~4>
Integer between 1, 2, 3, or 4.
<0.01~5> Decimal number between 0.01 and 5.
Message 
Terminator 
Marks the end of a command line. Any of the
following is acceptable, in accordance with 
IEEE488.2 standard. 
LF^END
Line feed code (hexadecimal 0A) 
with END message 
LF
Line feed code
Message 
Separator 
; (semicolon) Command separator.
PSH
User
Manual
58
Command Set
Commands are non-case sensitive. 
For more detailed information, refer to the Programming Manual 
which is downloadable from
www.gwinstek.com.tw
.
General commands
:chan1:curr?
Returns the output current (unit: A).
Range: 0.01~rating current
:chan1:curr 
<0.01~rating> 
Sets the output current (unit: A). 
Range: 0.01~rating current 
:chan1:volt?
Returns the output voltage (unit: V). 
Range: 0.01~rating voltage 
:chan1:volt
<0.01~rating>
Returns the output voltage (unit: V).
Range: 0.01~rating current
:chan1:meas:cu
rr? 
Returns the actual output load current (unit: A).
:chan1:meas:vo
lt? 
Returns the actual output load voltage (unit: V).
:chan1:prot:cur
r?
Returns the Over Current Protection status.
Range: 0 (Off), 1 (On)
:chan1:prot:cur
r <0/1> 
Sets the Over Current Protection. 
Range: 0 (Off), 1 (On) 
:chan1:prot:volt
? 
Returns the Over Voltage Protection value. 
Range: 0.01~rating (unit: V) 
:chan1:prot:volt
<0.01~rating>
Sets the Over Voltage Protection value.
Range: 0.01~rating (unit: V)
:chan1:prot:cle Clears the OCP & OVP protection message from
the display.
:outp:stat?
Returns the output status. 
Range: 0 (Output Off), 1 (Output On) 
:outp:stat 
<0/1> 
Sets the output status. 
Range: 0 (Output Off), 1 (Output On) 
