RF602 [Revision 1.2.0] 28.01.2019
Laser Triangulation Sensors. RF602 Series
19
The time interval in increments of 1 s with which sensor
automatically communicates the results on streaming request
(sampling mode = 0).
2) 1…65535 (default — 5000)
Divider ratio of trigger input (sampling mode = 1).
17
Maximum integration time
3…3200 (default – 3200 s)
18
Beginning of analog output
range
0…16383 (default — 0)
19
End of analog output range
0…16383 (default — 16383)
20
Time lock of result
0…255
Specifies the time interval in increments of 5 ms.
21
Zero point
0…16383 (default — 0)
22-38
Reserved
39
Change the protocol (RS
interface)
0 — RIFTEK protocol;
1 — ASCII protocol;
2 — MODBUS RTU protocol.
40
Save/recover the settings
0x00AA — Save current parameters to FLASH-memory
0x0069 — Restore the default parameters
41
Latch a current result
0 — nothing will happen;
1 — a result will be latched.
11.9. ASCII format
Data exchange with the sensor in ASCII format is carried out via the RS232 or
RS485 interfaces. The command always consists of the request code (see the table below),
followed by the symbols CR and LF. The description of commands and the structure of
answers are given below.
Request
code +
<CR><LF>
Name
Description
Answer
PRT
Changing the
data format
After entering a command and
receiving an answer, the
sensor will change the ASCII
format to the RIFTEK binary
protocol.
“OK” line (OK<CR><LF>)
V
Device
identification
Information about the device
type, firmware version, serial
number, base distance and
measurement range.
- device type
- firmware version
- serial number
- base distance
- measurement range
(603<LF>)
(40<LF>)
(19999<LF>)
(125<LF>)
(500<CR><LF>)
Request
code +
<CR><LF>
Name
X values
Answer (line +
<CR><LF>)
Wx
Working with
FLASH-memory
0 - save current parameters to FLASH-memory;
1 - recover default values of parameters in FLASH-
memory
0 – “OK” line
1 – “OK” line
Rx
Request of a
result
0 - in increments (0 .. 16384);
1 - in millimeters;
2 - in inches.
"1124.4200" line
"0223.0870" line
"0099.8204" line
Ox
Sensor ON
1 - laser is ON, measurements are taken (default state);
0 - laser is OFF, sensor in power save mode.
0 – “OK” line
1 – “OK” line