Mwg" Command - Caen ELS LiAM 6005 User Manual

Table of Contents

Advertisement

Remote Control

5.3.22 "MWG" Command

The 'MWG' command lets users write a desired "value" item in a defined
internal 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.
The on-board EEPROM memory - used to store module information as
calibration parameters, identification, thresholds and divided in two sections, "field"
and "value" – has 512 cells, so that cell_num is limited between 0 and 511; writing
operations containing cell values exceeding these limits obtain a non-acknowledgment
reply '#NAK\r'.
This "value" section of the EEPROM is used to store descriptive calibration
parameters, identification, thresholds, etc. and some cells are password protected.
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 (negative or greater than 511);
 the selected cell is password protected.
In order to make changes take effect, a 'MUP\r' command must be sent to the
power unit; if not, these changes will take effect at the next LiAM reset or power-
cycle.
Examples:
MWG example of a correct write (cell #4) and changes taking effect immediately:
MWG:4:3.8\r
MUP\r
MWG example (cell #1 is password-protected):
MWG:1:1.234\r
LiAM User's Manual
#AK\r
#AK\r
#NAK\r
74

Advertisement

Table of Contents
loading

Table of Contents