18
Laser Triangulation Sensors. RF602 Series
RF602 [Revision 1.2.0] 28.01.2019
11.8. Modbus RTU protocol (binary format)
11.8.1. Input Registers (Read only)
Register / Address
Description
Example
1
Device type
63
2
Firmware version
40
3
Serial number
19999
4
Base distance
125
5
Measurement range
500
6
Measured value
15894
11.8.2. Holding Registers (Read / Write)
Register
/
Address
Description
Value
10
Sensor ON
1 — laser is ON, measurements are taken (default state);
0 — laser is OFF, sensor in power save mode.
11
Analog output ON
1 — analog output is ON;
0 — analog output is OFF.
12
Control of averaging,
sampling, AL-output modes
x,x,x,x,x,x,х,х,x,M2,A,С,M1,M0,R,S - control register, which
determines the operation mode: averaging - M bit, CAN interface - C
bit, logic output - М0:M2 bits, analog output - R bit, sampling mode
- S bit; x bits are not used.
M2:M0
bits:
000 - out of the range indication (default);
001 - 'slave' mode (mutual synchronization);
010 - hardware zero set mode;
011 - laser switch OFF/ON;
100 - encoder mode;
101 - input mode;
110 - reset of the Ethernet packets counter;
111 - 'master' mode (mutual synchronization).
A
bit:
0 - averaging over a number of results (default);
1 - time averaging (5 ms).
C
bit:
0 - CAN interface mode by request (default);
1 - CAN interface mode with synchronization by time or
trigger.
R
bit:
0 - window mode (default);
1 - full range.
S
bit:
0 - time sampling (default);
1 - trigger sampling.
13
Network address
1…128 (default — 1)
14
Rate of data transfer through
a serial port
1…192 (default — 4)
Specifies data transfer rate in increments of 2400 baud; e.g., 4
means the rate of 4*2400=9600 baud.
15
Number of averaged values
1…128 (default — 1)
16
Sampling period
1) 100…65535 (default — 5000)