3.1.6. SET Command
The SET
command allows to set and read the current or voltage setpoint and the relative slew-rate that is used during the ramp.
Command Format:
R/W |
Command |
Response |
Description |
---|---|---|---|
W |
SET:I:<sr_I>:<sp_I> |
#AK / #NAK |
Set the current setpoint and specify the ramp slew-rate - it’s applied with a ramp [1] |
W |
SET:V:<sr_V>:<sp_V> |
#AK / #NAK |
Set the voltage setpoint and specify the ramp slew-rate - it’s applied with a ramp [1] |
R |
SET:I:? |
#SET:I:<sp_I> |
Return the current setpoint |
R |
SET:V:? |
#SET:V:<sp_V> |
Return the voltage setpoint |
W |
SET:I:<sp_I> |
#AK / #NAK |
Set the current setpoint - it is applied with a ramp (slew-rate in Internal Memory is used) |
W |
SET:V:<sp_V> |
#AK / #NAK |
Set the voltage setpoint - it is applied with a ramp (slew-rate in Internal Memory is used) |
W |
SET:I:DIRECT:? |
#SET:I:DIRECT:<sp_I> |
Return the current setpoint |
W |
SET:V:DIRECT:? |
#SET:V:DIRECT:<sp_V> |
Return the voltage setpoint |
W |
SET:I:DIRECT:<sp_I> |
#AK / #NAK |
Set the current setpoint - the setpoint is directly applied (it doesn’t use ramp) |
W |
SET:V:DIRECT:<sp_V> |
#AK / #NAK |
Set the voltage setpoint - the setpoint is directly applied (it doesn’t use ramp) |
W |
SET:I:RAMP:? |
#SET:I:RAMP:<sr_I> |
Return the current setpoint set at the end of the ramp |
W |
SET:V:RAMP:? |
#SET:V:RAMP:<sr_V> |
Return the voltage setpoint set at the end of the ramp |
W |
SET:I:RAMP:<sp_I> |
#AK / #NAK |
Set the current setpoint - it is applied with a ramp (slew-rate in Internal Memory is used) |
W |
SET:V:RAMP:<sp_V> |
#AK / #NAK |
Set the voltage setpoint - it is applied with a ramp (slew-rate in Internal Memory is used) |
W |
SET:I:TIME::<time>:<sp_I> |
#AK / #NAK |
Set the current setpoint and specify the time to reach it - it’s applied with a ramp [1] |
W |
SET:V:TIME::<time>:<sp_V> |
#AK / #NAK |
Set the voltage setpoint and specify the time to reach it - it’s applied with a ramp [1] |
R |
SET:I:SR:? |
#SET:I:SR:<sr_I> |
Read the used current ramp slew-rate |
R |
SET:V:SR:? |
#SET:V:SR:<sr_V> |
Read the used voltage ramp slew-rate |
W |
SET:I:SR:<sr_I> |
#AK / #NAK |
Set the current ramp slew-rate |
W |
SET:V:SR:<sr_V> |
#AK / #NAK |
Set the voltage ramp slew-rate |
Parameter(s):
Name |
Type |
Unit |
Description |
---|---|---|---|
<sp_I> |
float string |
[A] |
Current setpoint |
<sp_V> |
float string |
[V] |
Voltage setpoint |
<sr_I> |
float string |
[A/s] |
Current slew-rate |
<sr_V> |
float string |
[V/s] |
Voltage slew-rate |
<time> |
float string |
[s] |
Time needed to reach the setpoint |
Tip
The standard set commands: SET:I:<sp_I>
/ SET:V:<sp_V>
/ SET:I:<sr_I>:<sp_I>
/ SET:V:<sr_V>:<sp_V>
perform a ramp
to reach the selected setpoint. The applied slew-rate is in the command or the slew-rate saved in Internal Memory (in case that it is not passed).
Tip
The commands SET:I:DIRECT:<sp_I>
and SET:V:DIRECT:<sp_V>
apply directly the setpoint without a ramp.
The slope to reach the selected setpoint depends on: power supply ranges, PID parameters and load characteristics.
Note
If the system dynamics (that depends on the power supply ranges, PID parameters and load characteristics) is slower than the selected slew-rate, then the ramp will not follow exactly the slew-rate, but it will rise with the system dynamics.
Tip
- To apply a setpoint the unit has to be:
in ON State (see OUT Command) and
in Normal Update mode (see UPMODE Command).
Tip
To apply a current setpoint the CC mode has to be selected; vice versa to apply a voltage setpoint the CV mode has to be selected (see LOOP Command).
Tip
The set slew-rate should be inside the allowed range. To verify the allowed range see the LIMITS Command.
Warning
If the module is in some particular modes, for example in the Trigger mode, the current or voltage setpoint becomes active only after a trigger event (see TRIGGER Command).
Example(s):
SET:I:5.4
#AK
SET:I:?
#SET:I:5.4000000
SET:I:SR:?
#SET:I:SR:10.0000000
SET:I:SR:50
#AK
SET:I:SR:?
#SET:I:SR:50.0000000
SET:I:0.5:10
#AK
SET:I:SR:?
#SET:I:SR:0.5000000