2.1.6. OUT Command
The OUT
command can be used to enable/disable the power supply output and to monitor the status of the power supply. The power supply output state is not controlled only by the OUT
command, but its state depends on the related Finite State Machine (see Power Supply Finite State Machine). For this reason the OUT
command do not control directly the power supplies output, but it evolves the related FSM, that controls the power supply output.
Command Format:
R/W |
Command |
Response |
Notes |
---|---|---|---|
R |
OUT:? |
#OUT:<state> |
<state> can be ON|OFF|W4OFF |
W |
OUT:<state> |
#AK / #NAK |
<state> can be ON|OFF |
Parameter(s):
<state> |
Mode |
Description |
---|---|---|
ON |
R |
FSM is in ON state, power stage is enabled and the PID controller is running, following the selected setpoint |
W |
Makes it evolve the FSM is in ON state |
|
OFF |
R |
FSM is in OFF state, power stage is disabled and the PID controller is in reset |
W |
Makes it evolve the FSM is in Wait for OFF state, when the FSM is in ON state; and makes it evolve the FSM is in OFF state, when the FSM is in Wait for OFF state |
|
WAIT4OFF |
R |
FSM is in Wait For OFF state, power stage is enabled and the PID controller is running, the module performs a fast ramp to zero. The module remains in this state until the output current is about 0A and then the FSM evolves automatically in OFF state. |
Example(s):
OUT:?
#OUT:OFF
OUT:ON
#AK
OUT:?
#OUT:ON