© EA Elektro-Automatik, DE-41747 Viersen, Helmholtzstr. 31-33, Tel. 02162-3785-0, Fax. 02162-16230
14
Programming with SCPI
5. SCPI programming
5.1 SCPI commands
Note
These commands are taken from the international SCPI standard, but are not necessarily compatible to devices
from other manufacturers which may be connected in parallel to this one and which also use SCPI commands.
The SCPI commands are sent as clear text (ASCII strings). The transmission does not require a termination character
to be sent, but it does not disturb if one is used. Common termination characters are: CR, LF or both.
Note
Parameters like <value> (see below) always have to be seperated from the command by a space!
Lower case letters and [ ] are optional, these can be omitted.
VOLTage
<value>
Programs the output voltage in Volt
VOLTage?
Returns the last value of the programmed voltage (this is not an actual
value!!)
Example:
VOLT 5.5
Sets 5.5V output voltage at the power supply
Example:
VOLT?
Queries the most recent set value
CURRent
<value>
Programs the output current in Ampere
CURRent?
Returns the last value of the programmed current (this is not an actual
value)
Example:
CURR 20
Sets 20A output current at the power supply
Example:
CURR?
Queries the most recent set value
MEASure:VOLTage?
Returns the actual voltage of the power supply
MEASure:CURRent?
Returns the actual current of the power supply
Example:
MEAS:VOLT?
Returns the actual voltage, like for example .5, which means 0.5V
Example:
MEAS:CURR?
Returns the actual current, like for example 12.345
DATA?
Returns an 8 bit value with status signals of the device.
For the bit assignment see section 5.3.
OUTPut:[STATe]
<Boolean>
Switches the DC power output on or off
Example:
OUTP 1
Switches the output on
5.2 Standard IEEE commands
*IDN?
Returns the serial number (type plate)
*RST
Resets the interface (U = 0, I = 0) and leaves remote control