EA-1 User Manual
43
"CONTINUOUS" indicates that this sensor contains a laser calibration curve. In this case, the user can select any
wavelength within the min and max limits of the curve configured inside the sensor, and also choose up to 6
"favorite" wavelengths that are more easy to choose using the $WI or $WL commands, see below.
"200" is the minimum wavelength in "nm" that can be selected by the user
"3000" is the maximum wavelength in "nm" that can be selected by the user
"2" is the index of the currently selected "favorite" wavelength offered
"2490" is the first available "favorite" wavelength, corresponding to index 1
"971" is the second available favorite wavelength
"532" is the third available favorite wavelength
"NONE" indicates that the following 3 favorite wavelengths are not currently enabled
See commands $WI, $WL, $WD, $WE for more details of controlling wavelength options
Set Wavelength Index ($WI):
$WI 1[CR] –> *[CR] {Set Wavelength Index of sensor. Index '1' is for first defined wavelength, 2 for second
wavelength, and so on, where the index is as defined by the $AW command. Value on power-up will be saved using
$HC command, see below. Returns “?BAD PARAM” if parameter is greater than 6. Returns “?NO WL DEFINED AT
INDEX” if index refers to an inactive wavelength setting (“NONE” returned by $AW command).}
Set Wavelength Value ($WL) :
$WL 777[CR] -> *[CR] {This command changes the presently chosen (active) favorite wavelength index from its
current value to the new value in "nm". This command is not available for "Discrete" wavelength mode, see $AW
above. To permanently save the change to local EEPROM memory for next startup, send command "$HC S"}
Example:
Assume $AW command returned: "* CONTINUOUS 200 3000 2 2490 971 532 NONE NONE NONE[CR]"
$WL 111111 -> ?WAVELENGTH OUT OF RANGE[CR][LF]
$WL 1111 -> *[CR][LF] – successfully changes currently chosen index (2) to 1111nm
Note:
Supports only sensors with a continuous calibration curve, photodiodes and some thermopiles. See $AW.
Wavelength Add ($WD):
$WD <1-6> <wavelength>[CR] -> *[CR] {Add a favorite wavelength to the list of favorite wavelengths. Index chosen, 1
to 6, MUST be one that does not yet contain a favorite wavelength setting (listed as “NONE” by $AW). "Wavelength"
is a decimal value in nm. Any changes will be saved temporarily in local RAM; after $HC S command, they will be
stored permanently in EEPROM as the power-up setting. Use $WE to erase an existing wavelength setting if
necessary.
Common Error Messages:
"?WL ALREADY USED" if the index chosen already has a favorite wavelength defined for it.
“?BAD WL” if wavelength value entered is out of range of defined curve.
“?BAD PARAM” if parameter is out of range}
Examples:
Assume $AW command returned: "* CONTINUOUS 200 3000 2 2490 971 532 NONE NONE NONE[CR]"
$WD 7 1111 -> ?INDEX NOT IN RANGE[CR][LF]
$WD 5 111111 -> ?WAVELENGTH OUT OF RANGE[CR][LF]
$WD 1 1111 -> ?WAVELENGTH ALREADY DEFINED. USE WL COMMAND[CR][LF]
$WD 5 1111 -> *[CR][LF] – successfully changed index 5 to 1111
Wavelength Erase ($WE):
$WE <1-6>[CR] -> *[CR] {Wavelength Erase. Erase one of the existing favorite wavelengths, at index provided. This
change will be saved temporarily in RAM; after $HC S command, it will be stored permanently in EEPROM as the
power-up setting.
ERROR MESSAGES (in addition to general ones defined above):
"?NOT USING CALIBRATION CURVE" if sensor does not have Calibration Curve defined
"?BAD PARAM" if index is not within 1-6}
Continuous Send Commands:
NOTES ON CONTINUOUS SEND MODE: