EASY-DRIVER – User’s Manual
33
The
set_register
must be interpreted and set as follows:
FDB command register (8bit):
Bit Function:
Bit 7
BYPASS COMMAND
Bit 6
ON/OFF
Bit 5
RESET
Bit 4
RAMP
Bit 3…0
don’t care
Table 8:
Set register
It is important to notice that the feedback command can be used as a simple
“read” command by setting the Bit 7 of the
set_register
to 1 (BYPASS COMMAND).
By doing this, the PS replies to the command with its internal data (output current,
setpoint and status register) but does not set current or consider the other
set_register
parameters.
Examples:
Suppose that the power supply is ON and it is regulating at a +2.0000A output current.
The user then sends the following command:
FDB:50:-03.2453
\r
#FDB:01:-03.2453:+02.0000
\r
the power supply turns ON (and it is already ON) and sets its output current to -3.2453A
reaching its setpoint with a ramp (defined by the slew-rate value stored in the power
supply non-volatile memory).
The reply must be interpreted as follows:
-
Module is ON;
-
NO faults are present;
-
the last “stored” set-point is -3.2453A;
-
actual output current readback value is 2.0000A.
In this example, the
set_register
was set to 50 = 01010000
binary
(bit 6 sets/keeps
the module ON while bit 4 make the power supply perform a ramp to reach the new
set-point).