2.1.7. 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:<setpoint-I> |
#AK / #NAK |
Set the current setpoint [A] - it is applied with a ramp (last set slew-rate is used) |
W |
SET:V:<setpoint-V> |
#AK / #NAK |
Set the voltage setpoint [V] - it is applied with a ramp (last set slew-rate is used) |
W |
SET:I:<slew-rate-I>:<setpoint-I> |
#AK / #NAK |
Set the current setpoint [A] and specify the ramp slew-rate [A/s] - it is applied with a ramp |
W |
SET:V:<slew-rate-V>:<setpoint-V> |
#AK / #NAK |
Set the voltage setpoint [V] and specify the ramp slew-rate [A/s] - it is applied with a ramp |
W |
SET:I:DIRECT:<setpoint-I> |
#AK / #NAK |
Set the current setpoint [A] - the setpoint is directly applied (it doesn’t use ramp) |
W |
SET:V:DIRECT:<setpoint-V> |
#AK / #NAK |
Set the voltage setpoint [V] - the setpoint is directly applied (it doesn’t use ramp) |
R |
SET:I:? |
#SET:I:<setpoint-I> |
Return the last applied current setpoint [A] |
R |
SET:V:? |
#SET:V:<setpoint-V> |
Return the last applied voltage setpoint [V] |
W |
SET:I:SR:<slew-rate-I> |
#AK / #NAK |
Set the current ramp slew-rate [A/s] |
W |
SET:V:SR:<slew-rate-V> |
#AK / #NAK |
Set the voltage ramp slew-rate [V/s] |
R |
SET:I:SR:? |
#SET:I:SR:<slew-rate-I> |
Read the used current ramp slew-rate [A/s] |
R |
SET:V:SR:? |
#SET:V:SR:<slew-rate-V> |
Read the used voltage ramp slew-rate [V/s] |
Parameter(s):
Name |
Type |
Unit |
Description |
---|---|---|---|
<setpoint-I> |
float string |
[A] |
Current setpoint |
<setpoint-V> |
float string |
[V] |
Voltage setpoint |
<slew-rate-I> |
float string |
[A/s] |
Current Slew-rate |
<slew-rate-V> |
float string |
[V/s] |
Voltage Slew-rate |
Tip
The standard set commands:
SET:I:<setpoint-I
/SET:V:<setpoint-V>
/SET:I:<slew-rate-I>:<setpoint-I>
/SET:V:<slew-rate-V>:<setpoint-V>
perform a ramp to reach the selected setpoint. The applied slew-rate is the command or the last set slew-rate (in case that it is not passed).The commands
SET:I:DIRECT:<setpoint-I>
andSET:V:DIRECT:<setpoint-V>
applies directly the setpoint without a ramp. The slope to reach the selected setpoint depends over the power supply ranges, PID parameters and load characteristics.If the system dynamics (that depends on the power supply ranges, PID parameters and load characteristics) is slower respect to the selected slew-rate, then the ramp will not follow exactly the slew-rate, but it will rise with the system dynamics.
To apply a setpoint the unit has to be:
in ON State (see OUT Command) and
in Normal Update mode (see UPMODE Command).
To apply a current setpoint the CC mode has to be applied; vice versa to apply a voltage setpoint the CV mode has to be applied (see LOOP Command).
The slew-rate set 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.4
SET:I:SR:?
#SET:I:SR:10
SET:I:SR:50
#AK
SET:I:SR:?
#SET:I:SR:50
SET:I:0.5:10
#AK
SET:I:SR:?
#SET:I:SR:0.5