____________________________________________________________________________________
____________________________________________________________________________________
Speeder X1 and X2 Configuration and API Guide
Page 29/36
6.2 Permanent memory parameters
Writing parameters into permanent memory requires special attention.
Permanent memory parameters are protected by a special lock that has to be opened
before changing the parameters. The parameter area is also protected by checksum
calculation. If the checksum is wrong, the sensor does not perform measurements.
Having transferred the user parameters into the permanent memory, the sensor
automatically calculates the checksum.
To enable the permanent memory for writing:
Command from PC
Reply
<esc>X<cr> (X, ASCII-code 88, h58)
WR ENABLE<cr><lf>
Parameters are set to permanent memory by command:
Command from PC
Reply
<esc>S<cr> (S, ASCII-code 83, h53)
SOK<cr><lf>
Parameters can be read from permanent memory by command:
Command from PC
Reply
<esc>P<No.><cr>
P00xxx<cr><lf>
<esc> ASCII code 27
P Command (ASCII code 80)
No.
parameter #1-61 in ASCII format
<cr> ASCII code 13
xxx
Value of parameter
6.3 Parameter list
The sensor includes three types of parameters. In binary format each bit in the parameter
carries meaning. In byte (8 bit) and word (16 bit) formats the parameter is able to receive
values from 0 to 255 and from 0 to 65000 respectively.
In the following descriptions these parameters are marked as:
B
= Byte (8 bits)
W
= Word (2 bytes)
Note: All parameters are not valid for all software versions.