Triangulation Laser Sensors, RF605 Series
RF605 [Revision 2.0] 10th January 2011 valid for sensors with serial numbers 11000 and higher
15
13. Request codes and list of parameters
13.1. Request codes table
Request
code
Description
Message
(size in bytes)
Answer
(size in bytes)
01h
Device identification
—
–device type
(1)
–firmware release
(1)
–serial number
(2)
–base distance
(2)
–range
(2)
02h
Reading of parameter
- code of parameter (1) - value of parameter
(1)
03h
Writing of parameter
- code of parameter
(1)
- value of parameter
(1)
—
04h
Storing current parameters to
FLASH-memory
- constant AAh
(1) - constant AAh
(1)
04h
Recovery of parameter default
values in FLASH-memory
- constant 69h
(1) - constant 69h
(1)
05h
Latching of current result
—
—
06h
Inquiring of result
—
- result
(2)
07h
Inquiring of a stream of results
—
- stream of results
(2)
08h
Stop data streaming
—
—
13.2. List of parameters
Code of
parameter
Name
Values
00h
Sensor ON
1
— laser is ON, measurements are taken (default state);
0
— laser is OFF, sensor in power save mode
01h
Analog output ON
1/0
— analog output is ON/OFF; if a sensor has no analog output, this
bit will remain in 0 despite all attempts of writing 1 into it.
02h
Averaging, sampling and AL output
control
x,x,M,C,M1,M0,R,S
– control byte which determines averaging mode –
bit M, CAN interface mode - bit C, logical output mode - bit M1,
analog output mode - bit R, and sampling mode - bit S;
bites x
– do not use;
bit M:
0
— quantity sampling mode (by default);
1
— time sampling mode
bit C:
0
– request mode of CAN interface (by default);
1
– synchronization mode of CAN interface.
bit M1 and M0:
00
– out of the range indication (by default):
01
– mutual synchronization mode.
10
– hardware zero set mode
11
– laser turn OFF/ON
bit R:
0
– window mode (default);
1
– full range.
bit S:
0
– time sampling (default)
1
– trigger sampling.
03h
Network address
1…127 (default — 1)
04h
Rate of data transfer through serial
port
1…192, (default — 4) specifies data transfer rate in increments of
2400 baud; e.g., 4 means the rate of 4 2400=9600baud. (
NOTE
: max
baud rate = 460800)
05h
Reserved
06h
Number of averaged values
1…128, (default — 1)
07h
Reserved
08h
Lower byte of the sampling period
1) 10
…65535, (default — 500)
Summary of Contents for RF603 Series
Page 1: ......