EASY-DRIVER – User’s Manual
32
“FDB” Command
The FDB command was especially developed for operation on global feedback
control systems. This command allows in a single write/read operation to set the main
power supply parameters (as ON-OFF, output current value, etc.) and to have a reply
from the power supply containing data on output current value, its setpoint and its status
register.
The feedback command syntax is as follows:
FDB:
set_reg
:
i_set
\r
where:
- set_reg
: is the 1-byte setting register of the power supply, formatted as an
hexadecimal string;
- i_set
: is the output current set-point value in [A].
The PS response after a FDB command is in the following form:
#FDB:
status_reg
:
i_set
:
i_read
\r
where:
- status_reg
: is the 8-bit wide
status register
of the power supply, formatted in
an hexadecimal string; this status string has a fixed-length of 2 byte (2 ASCII
characters equivalent to hex numbers) and its structure is hereafter indicated;
-
i_set
: is the string containing the output current actual setpoint value in [A];
string length is 8 bytes (i.e. 8 characters): sign + 2 in "." + 4 decimal
digits (eg. 1,02A it is returned as +01.0200);
-
i_read
: is the output current readback string in [A]; its length is equal to 8
bytes: sign + 2 in "." + 4 decimal digits;
The
status_reg
structure is presented in the following table:
Status Register Structure (8-bit)
Bit 7…6
reserved
Bit 5
EXTERNAL INTERLOCK FLAG
Bit 4
SHUNT TEMPERATURE
Bit 3
MOSFET TEMPERATURE
Bit 2
DC LINK UNDERVOLTAGE
Bit 1
FAULT
Bit 0
MODULE ON
Table 7:
Status register