3.1.5. 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 also by Finite State Machine
(see Power Supply Finite State Machine). For this reason the OUT
command does not control directly the power supply
output, but it shifts the state of 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 | WAIT4ON |
W |
OUT:<state> |
#AK / #NAK |
<state> can be ON | OFF |
Parameter(s):
<state> |
Mode |
Description |
---|---|---|
ON |
R |
FSM is in ON state, the output relay is closed and the PID controller is running, following the selected setpoint |
W |
Shifts the FSM in Wait for ON state |
|
OFF |
R |
FSM is in OFF state, power stage is disabled and the PID controller is in reset |
W |
Shifts the FSM in OFF state |
|
WAIT4ON |
R |
FSM is in Wait for ON state, power stage is regulated to the battery voltage and the FSM evolves to ON state. |
Example(s):
OUT:ON
#AK
OUT:?
#OUT:ON