
39
Example 1: "Discrete" laser wavelength points (some thermopile sensors)
"* DISCRETE 2 CO2 YAG [CR][LF]"
Where:
"DISCRETE" indicates that this sensor contains several discrete laser wavelength calibration points, rather than a
sensitivity curve. These points are hard wired inside the sensor and cannot be changed by the user, but the user has
the option to choose between the individual points thereby adjusting the sensor's sensitivity according to the laser
being used.
"2" is the index of currently chosen active laser relative to the list of names, "1" is first in the list, therefore 2 refers to
"YAG" in this case.
"CO2" is the first laser option available, index 1.
"YAG" is the second laser option available, index 2.
(If more than 2 laser options are enabled in the sensor, the return string will vary accordingly)
Note:
The number of spaces between the parameters is not fixed
See commands "$WI" for more details of selecting laser option
Example 2: "Continuous" laser calibration curve (some thermopile sensors, all photodiode sensors):
"* CONTINUOUS 200 3000 2 2490 971 532 NONE NONE NONE[CR]"
Where:
"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 incorrect}
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.