EASY-DRIVER – User’s Manual
49
“MWG” Command
The ‘MWG’ command lets users write a desired “value” (cell_content) item in
a defined EEPROM cell.
The correct form format for this command is as follows:
MWG:
cell_num
:
cell_content
\r
where:
-
cell_num
is the EEPROM cell number;
-
cell_content
is the ASCII content to be written to the EEPROM cell
cell_num
.
This “value” section of the EEPROM is used to store descriptive calibration
parameters, identification, thresholds, etc. Only some cells can be overwritten – please
refer to
Table 4
.
Replies from the power supply are in the form ‘#AK\r’, or ‘#NAK\r’; this non-
acknowledgment reply is generated when:
•
the cell number
cell_num
is out-of-range;
•
the selected cell is read only;
Examples:
MWG example of a correct write (cell 13 is user accessible):
MWG:13:0.055
\r
#AK
\r
MWG example (cell 1 is read only):
MWG:1:15.234
\r
#NAK
\r
Note:
In order to make changed parameter effectively updated and in
operation it is necessary to send the MPUP command to the EASY-DRIVER
module first,
see ‘MPUP Command’ Section for more information.