Triangulation Laser Sensors, RF605 Series
RF605 [Revision 2.0] 10th January 2011 valid for sensors with serial numbers 11000 and higher
25
Parameters:
hCOM
–
descriptor of the device obtained from function
RF60x_OpenPort, or CreateFile;
bAddress
-
address of the device;
wParameter
-
number of parameter, see Table 1,
Table 1
Parameter
Description
RF60x_PARAMETER_POWER_STATE
Power status of sensor
RF60x_PARAMETER_ANALOG_OUT
Connection of analog output
RF60x_PARAMETER_SAMPLE_AND_SYNC
Control of sampling and synchronization
RF60x_PARAMETER_NETWORK_ADDRESS
Network address
RF60x_PARAMETER_BAUDRATE
Data transmission rate through serial
port
RF60x_PARAMETER_AVERAGE_COUNT
Number of averaged values
RF60x_PARAMETER_SAMPLING_PERIOD
Sampling period
RF60x_PARAMETER_ACCUMULATION_TIME
Maximum accumulation time
RF60x_PARAMETER_BEGIN_ANALOG_RANGE
Beginning of analog output range
RF60x_PARAMETER_END_ANALOG_RANGE
End of analog output range
RF60x_PARAMETER_RESULT_DELAY_TIME
Result delay time
RF60x_PARAMETER_ZERO_POINT_VALUE
Zero point value
lpdwValue
-
pointer to WORD-type variable where current para-
meter value will be saved.
Returned value:
If the device does not respond to parameter reading request, the function returns
FALSE, otherwise the function returns TRUE and fills variable
lpdwValue
.
15.5. Saving current parameters in FLASH-memory
(RF60x_FlushToFlash)
Function
RF60x_FlushToFlash
saves all parameters in the FLASH-memory of the sen-
sor
:
Parameters:
hCOM
–
descriptor of the device obtained from function
RF60x_OpenPort or CreateFile;
bAddress
-
address of the device.
Returned value:
If the device does not respond to request to save all parameters in the FLASH-memory,
the function returns FALSE, otherwise, if record confirm is obtained from the sensor, the
function returns TRUE.
BOOL RF60x_FlushToFlash(
HANDLE
hCOM,
BYTE
bAddress
);
Содержание RF603 Series
Страница 1: ......