Riftek RF651 Series User manual

Certified according to ISO 9001:2008
OPTICAL MICROMETER
22, Logoisky tract, Minsk
220090, Republic of Belarus
tel/fax: +375 17 281 36 57
info@riftek.com
User's manual
www.riftek.com
RF651 Series

2
Optical Micrometer. RF651 Series
RF651 Series [Revision 4.0.0] 25.03.2017
Contents
.............................................................................................................................................41. Safety precautions
.............................................................................................................................................42. CE сompliance
.............................................................................................................................................43. Laser safety
.............................................................................................................................................44. General information
.............................................................................................................................................55. Basic technical data
.............................................................................................................................................56. Example of item designation when ordering
.............................................................................................................................................67. Structure and operating principle
.............................................................................................................................................78. Options for use of the device
........................................................................................................................................... 78.1. One-coordinate systems
........................................................................................................................................... 78.2. Multi-axis systems
.............................................................................................................................................89. Dimensions and mounting
.............................................................................................................................................910. Connection
........................................................................................................................................... 910.1. Micrometers without logical outputs
........................................................................................................................................... 910.2. Micrometers with logical outputs
........................................................................................................................................... 1010.3. Micrometers with Ethernet interface
........................................................................................................................................... 1110.4. Micrometers with cable gland and cables
........................................................................................................................................... 1210.5. Ethernet cable
.............................................................................................................................................1211. Configuration parameters
........................................................................................................................................... 1211.1. Parameter of synchronization
........................................................................................................................................... 1211.2. Sampling period
........................................................................................................................................... 1311.3. Method of results averaging
........................................................................................................................................... 1311.4. Number of averaged values
........................................................................................................................................... 1311.5. Measurement mode
........................................................................................................................................... 1311.6. Borders and polarity
........................................................................................................................................... 1411.7. Numbers of borders under control
........................................................................................................................................... 1411.8. Nominal value and tolerances
........................................................................................................................................... 1411.9. Logical outputs operation modes
........................................................................................................................................... 1411.10. Factory parameters by default
.............................................................................................................................................1512. Description of RS232 and RS485 interfaces
........................................................................................................................................... 1512.1. RS232 port
........................................................................................................................................... 1512.2. RS485 port
........................................................................................................................................... 1512.3. Modes of data transfer
........................................................................................................................................... 1512.4. Configuration parameters
................................................................................................................. 1512.4.1. Rate of data transfer through a serial port
................................................................................................................. 1512.4.2. Net address
................................................................................................................. 1512.4.3. Factory parameters table
........................................................................................................................................... 1612.5. Interfacing protocol
................................................................................................................. 1612.5.1. Serial data transmission format
................................................................................................................. 1612.5.2. Communication sessions types
................................................................................................................. 1612.5.3. Request ................................................................................................................. 1612.5.4. Message, MSG
................................................................................................................. 1612.5.5. Answer ................................................................................................................. 1712.5.6. Data stream
................................................................................................................. 1712.5.7. Request codes and list of parameters
.............................................................................................................................................1713. Analog outputs
........................................................................................................................................... 1713.1. Modes of data transfer
........................................................................................................................................... 1713.2. Current output 4…20 mA
........................................................................................................................................... 1713.3. Voltage output 0…10 V
........................................................................................................................................... 1813.4. Configuration parameters
................................................................................................................. 1813.4.1. Range of the analog output
................................................................................................................. 1813.4.2. Analog output operation mode
.............................................................................................................................................1814. Request codes and a list of parameters

Optical Micrometer. RF651 Series
RF651 Series [Revision 4.0.0] 25.03.2017
3
........................................................................................................................................... 1814.1. Request codes
........................................................................................................................................... 1914.2. List of parameters
........................................................................................................................................... 2114.3. Ethernet packet
........................................................................................................................................... 2114.4. Notes
........................................................................................................................................... 2214.5. Examples
.............................................................................................................................................2315. Parameterization program
........................................................................................................................................... 2315.1. Function
........................................................................................................................................... 2315.2. Obtaining connection to micrometer
........................................................................................................................................... 2415.3. Setting and saving parameters of the micrometer
.............................................................................................................................................2616. Working with micrometer
.............................................................................................................................................2717. Examples of stream setting
........................................................................................................................................... 2717.1. Data transfer by request
........................................................................................................................................... 2717.2. Synchronous data transfer
.............................................................................................................................................2818. RF65X-SDK
.............................................................................................................................................2819. Warranty policy
.............................................................................................................................................2920. Distributors

4
Optical Micrometer. RF651 Series
RF651 Series [Revision 4.0.0] 25.03.2017
1. Safety precautions
·
Use supply voltage and interfaces indicated in the sensor specifications.
·
In connection/disconnection of cables, the micrometer power must be switched
off.
·
Do not use micrometers in locations close to powerful light sources.
·
To obtain stable results, wait about 20 minutes after micrometer activation to
achieve uniform micrometer warm-up.
2. CE сompliance
The micrometers have been developed for use in industry and meet the
requirements of the following Directives:
·
EU directive 2014/30/EU. Electromagnetic compatibility (EMC).
·
EU directive 2011/65/EU, “RoHS“ category 9.
3. Laser safety
The micrometers make use of LED or c.w. 660 nm wavelength semiconductor
laser. Maximum laser output power is 0.2 mW. The micrometers belong to the 1 laser safety
class. The following warning label is placed on the housing:
The following safety measures should be taken while operating the micrometer:
·
Avoid staring into the laser beam during a prolonged time period.
·
Do not disassemble the micrometer.
4. General information
The micrometers are intended for non-contact measuring and checking of
diameters, gaps, displacement/position of the edges of technical objects.
The series includes 5 models with the measurement range from 10 to 98 mm.

RF651 Series [Revision 4.0.0] 25.03.2017
Optical Micrometer. RF651 Series
5
5. Basic technical data
RF651-
25
50
75
100
Measurement range, mm
25
48
75
98
Minimum size of the object, mm
0.5
1
1.5
2
Accuracy*, um
±5
±10
±15
±20
Max measurement frequency, Hz
500
500
500
500
Light source
LED or laser
Laser safety class
1 (IEC/EN 60825-1:2014)
Output interface
Digital
RS232 (max. 921,6 kbit/s) or RS485 (max. 921,6 kbit/s)
or Ethernet & (RS32 or RS485)
Analog
4…20 mA (load 500 Ohm) or 0…10 V
Synchronization input, V
2,4 – 5 (CMOS, TTL)
Logic output
three outputs, NPN: 100 mA max; 40 V max
Power supply, V
24 (9 …36)
Power consumption, W
1,5..2
Environment resistance:
Enclosure rating
IP67
Vibration
20 g / 10…1000 Hz, 6 hours for each of XYZ axes
Shock
30 g / 6 ms
Operation temperature, °С
-10…+60
Relative humidity, %
5-95 (no condensation)
Housing material
aluminum
Weight (without cable), gram
600
2000
2600
4000
* Typical data obtained when a knife edge was used to interrupt the beam and distance between transmitter
and receiver is equal of two measurement range.
6. Example of item designation when ordering
RF651-X/L-SERIAL-ANALOG-LOUT-IN-СС-M-AK
Symbol
Description
X
Measurement range, mm
L
The distance between the transmitter and receiver housings, fixed on the beam, mm
SERIAL
The type of serial interface: RS232 - 232 or RS485 - 485 or
(Ethernet and RS232) – 232-ET or (Ethernet and RS485) – 485-ET
ANALOG
Attribute showing the presence of 4…20 mA ( I ) or 0…10V ( U )
LOUT
Attribute showing the presence of logical outputs
IN
Trigger input (input of synchronization) presence
CC
Cable gland - CG, or cable connector - CC
М
Cable length, m
AK
Micrometer with protect air knife for windows
Example: RF651-25/50-232-I-IN-СG-3 – measurement range – 25 mm, distance between transmitter and
receiver – 50 mm, RS232 serial port, 4…20mA analog output, trigger input is available, cable connector, 3 m
cable length.

6
Optical Micrometer. RF651 Series
RF651 Series [Revision 4.0.0] 25.03.2017
Permitted modifications:
Model
Valid values for the parameters
RF651-25/L-SERIAL-ANALOG-
LOUT-IN-CC-M-AK
L – 50mm - 100mm (large base under the order)
SERIAL – 232, 485, 232-ET, 485-ET
ANALOG – no, I, U
LOUT – no, LOUT
IN - IN
CC – CG, CC
M – 0,1m..10m
AK – no, AK
RF651-50/L-SERIAL-ANALOG-
LOUT-IN-CC-M-AK
L – 50mm - 150mm (large base under the order)
SERIAL – 232, 485, 232-ET, 485-ET
ANALOG – no, I, U
LOUT – no, LOUT
IN - IN
CC – CG, CC
M – 0,1m..10m
AK – no, AK
RF651-75/L-SERIAL-ANALOG-
LOUT-IN-CC-M-AK
L – 50mm - 225mm (large base under the order)
SERIAL – 232, 485, 232-ET, 485-ET
ANALOG – no, I, U
LOUT – no, LOUT
IN - IN
CC – CG, CC
M – 0,1m..10m
AK – no, AK
RF651-100/L-SERIAL-ANALOG-
LOUT-IN-CC-M-AK
L – 50mm - 300mm (large base under the order)
SERIAL – 232, 485, 232-ET, 485-ET
ANALOG – no, I, U
LOUT – no, LOUT
IN - IN
CC – CG, CC
M – 0,1m..10m
AK – no, AK
7. Structure and operating principle
The micrometer operation is based on the so-called ‘shadow’ principle, Fig.1. The
micrometer consists of two blocks – transmitter and receiver. Radiation of a semiconductor
laser or LED 1 is collimated by a lens 2. With an object placed in the collimated beam
region, shadow image formed is scanned with a CCD photo-detector array 3. A processor
4 calculates the position (size) of the object from the position of shadow border (borders).
Figure 1

RF651 Series [Revision 4.0.0] 25.03.2017
Optical Micrometer. RF651 Series
7
8. Options for use of the device
8.1. One-coordinate systems
Ways of using the micrometer for gauging of technological objects are shown in
Figure 2. Figure 2.1 – measuring of the edge position; Figure 2.2. – measuring of size or
position; Figure 2.3. – measuring of the gap value or position; Figure 2.4. – measuring of
internal or external dimension; Figure 2.5. – measuring of the size or position of large-size
objects.
Figure 2
8.2. Multi-axis systems
Delivery of multi-axis measurement system (measured in several sections) is
possible. Examples of the 2D and 3D coordinate systems are shown in Figures 3.1 and
3.2, respectively. An example of item designation when ordering 2D coordinate systems -
RF651XY-X/L…, for systems with more axes - RF651.N-X/L…, where N is a number of
coordinates in the system.
Figure 3.1.
Figure 3.2.

8
Optical Micrometer. RF651 Series
RF651 Series [Revision 4.0.0] 25.03.2017
9. Dimensions and mounting
Overall and mounting dimensions of micrometers are shown in Figure 4.
A, mm
B, mm
C, mm
D, mm
E, mm
H, mm
H1, mm
K, mm
N, mm
RF651-25
51
139
62
25
13
28
42,5
30
30
RF651-50
91
120
134
50
20
31
45,5
40
80
RF651-75
128
132
132
75
15
31
45,5
40
80
RF651-
100
165
165
150
98
20
31
45,5
40
80
Figure 4

RF651 Series [Revision 4.0.0] 25.03.2017
Optical Micrometer. RF651 Series
9
10. Connection
Micrometers are equipped with cable glands (CG option), or connectors (CC
option). Micrometers with an Ethernet interface contains two cable glands or two
connectors.
10.1. Micrometers without logical outputs
Micrometer is equipped by Binder 702-8 connector. Pin numbers and location of
the installation are shown in Figure 5.
Figure 5
Designation of contacts is given in the following table:
Model of Micrometer
Pin Number
Assignment
232 - U/I - IN-AL – CC
1
2
3
4
5
6
7
8
IN
Gnd (power supply)
TXD
RXD
Gnd (common for signals)
AL
U/I
U+ (power supply)
485 - U/I - IN-AL - CC
1
2
3
4
5
6
7
8
IN
Gnd (power supply)
DATA+
DATA-
Gnd (common for signals)
AL
U/I
U+ (power supply)
10.2. Micrometers with logical outputs
Micrometer is equipped by Binder 423-14 connector. Pin numbers and location of
the installation are shown in Figure 6.
Figure 6

10
Optical Micrometer. RF651 Series
RF651 Series [Revision 4.0.0] 25.03.2017
Designation of contacts is given in the following table:
Model of Micrometer
Pin Number
Assignment
232 - U/I - IN-AL - TTL-OUT - CC
A
C
E
G
J
M
N
O
P
R
S
T
U
IN
Gnd (power supply)
TXD
RXD
Gnd (common for signals)
U/I
U+ (power supply)
NormLimit
UpLimit
LowLimit
N/C
N/C
N/C
485 - U/I - IN-AL - TTL-OUT - CC
A
C
E
G
J
M
N
O
P
R
S
T
U
IN
Gnd (power supply)
DATA+
DATA-
Gnd (common for signals)
U/I
U+ (power supply)
NormLimit
UpLimit
LowLimit
N/C
N/C
N/C
10.3. Micrometers with Ethernet interface
Micrometers are equipped by additional connector Binder 712-4. Pin numbers and
location of the installation are shown in Figure 7.
Figure 7
Designation of contacts is given in the following table:
Model of Micrometer
Pin Number
Assignment
ЕТ
1
2
3
4
TX+
TX-
RX+
RX-

RF651 Series [Revision 4.0.0] 25.03.2017
Optical Micrometer. RF651 Series
11
10.4. Micrometers with cable gland and cables
The place of the cable entry is shown in Figure 8.
Figure 8
Designation of cable wires for micrometers with cable gland and cable of
micrometers with cable connector is given in the following table:
Model of Micrometer
Pin Number
Assignment
Wire Color
232-U/I-IN - CG
free wire
free wire
DB9
DB9
DB9
free wire
free wire
-
-
2
3
5
-
-
IN
Gnd (power supply)
TXD
RXD
Gnd (common for signals)
U/I
U+ (power supply)
White
Brown
Green
Yellow
Gray
Blue
Red
485-U/I-IN – CG
free wire
free wire
DB9
DB9
DB9
free wire
free wire
-
-
8
7
5
-
-
IN
Gnd (power supply)
DATA+
DATA-
Gnd (common for signals)
U/I
U+ (power supply)
White
Brown
Green
Yellow
Gray
Blue
Red
232-U/I-IN-AL-LOUT-CG
free wire
free wire
DB9
DB9
DB9
free wire
free wire
free wire
free wire
free wire
-
-
2
3
5
-
-
-
-
-
IN
Gnd (power supply)
TXD
RXD
Gnd (common for signals)
U/I
U+ (power supply)
NormLimit
UpLimit
LowLimit
White
Brown
Green
Yellow
Gray
Blue
Red
White-Green
Red-Blue
Gray-Pink
485 - U/I - IN-AL - TTL-
OUT - CG
free wire
free wire
DB9
DB9
DB9
free wire
free wire
free wire
free wire
free wire
-
-
8
7
5
-
-
-
-
-
IN
Gnd (power supply)
DATA+
DATA-
Gnd (common for signals)
U/I
U+ (power supply)
NormLimit
UpLimit
LowLimit
White
Brown
Green
Yellow
Gray
Blue
Red
White-Green
Red-Blue
Gray-Pink

12
Optical Micrometer. RF651 Series
RF651 Series [Revision 4.0.0] 25.03.2017
10.5. Ethernet cable
The place of the cable entry is shown in Figure 9.
Figure 9
Designation of cable wires is given in the following table:
Model of Micrometer
Assignment
Wire Color
ЕТ
TX+
TX-
RX+
RX-
Orange
White-Orange
Green
White-Green
11. Configuration parameters
The nature of operation of the micrometer depends on its configuration parameters
(operation modes), which can be changed only by transmission of commands through serial
port RS232 or RS485. The basic parameters are as follows:
11.1. Parameter of synchronization
This parameter specifies one of the three result sampling options in the case where
the micrometer works in the data stream mode:
·
Asynchronous Transmission
·
Synchronous transmission, Time sampling;
·
Synchronous transmission, Trigger sampling.
With Asynchronous Transmission selected, the micrometer automatically transmits
the measurement result via serial interface as it is ready.
With Time Sampling selected, the micrometer automatically transmits the
measurement result via serial interface in accordance with selected time interval (sampling
period).
With Trigger sampling selected, the micrometer transmits the measurement result
when external synchronization input (IN input of the micrometer) is switched and taking the
division factor set into account.
Note: The mode of operation of each of the interfaces can be set independently.
11.2. Sampling period
If the Time Sampling mode is selected, the ‘sampling period’ parameter determines
the time interval in which the micrometer will automatically transmit the measurement result.
The time interval value is set in increments of 0.1 ms. For example, for the parameter value
equal to 100, data are transmitted through bit-serial interface with a period of 0,1*100 = 10
ms. If the Trigger Sampling mode is selected, the ‘sampling period’ parameter
determines the division factor for the external synchronization input. For example, for the
parameter value equal to 100, data are transmitted through bit-serial interface when each
100th synchronizing pulse arrives at IN input of the sensor.

RF651 Series [Revision 4.0.0] 25.03.2017
Optical Micrometer. RF651 Series
13
Note 1. It should be noted that the ‘sampling mode’ and ‘sampling period’
parameters control only the transmission of data. The micrometer operation algorithm is so
built that measurements are taken at a maximum possible rate determined by the
integration time period, the measurement results is sent to buffer and stored therein until a
new result arrives. The above-mentioned parameters determine the method of the readout
of the result form the buffer.
Note 2. If the bit-serial interface is used to receive the result, the time required for
data transmission at selected data transmission rate should be taken into account in the
case where small sampling period intervals are used. If the transmission time exceeds the
sampling period, it is this time that will determine the data transmission rate.
Note 3. It should be taken into account that micrometers differ in variation of
parameters of the internal generator, and this affects the accuracy of time sampling period.
11.3. Method of results averaging
The averaging can operate in two modes:
·
Off, no averaging
·
Averaging over a number of results
When averaging over a number of results is selected, sliding average is calculated.
The use of averaging makes it possible to reduce the output noise and increase the
micrometer resolution.
11.4. Number of averaged values
This parameter specifies the number of source results to be averaged for deriving
the output value.
Averaging over a number of results does not affect the data update in the
micrometer output buffer.
Note. The maximum value is 127.
11.5. Measurement mode
The micrometer can operate in the following modes:
·
Measuring the position of one border (knife).
·
The distance between borders A and B (measuring the size of the object or hole).
Result = B - A.
·
The position of the object (its center). Result = (B + A) / 2.
In addition, since it is possible to set the polarity and the border numbers, you can
measure objects with a more complex shape.
11.6. Borders and polarity
The border means “light-shadow’ transition or “shadow-light” transition which forms
a shadow image of the object. Measurement is only conducted in the case where the
number of borders detected by micrometer corresponds to a given parameter. The polarity
is the “light-shadow’ transition or “shadow-light” transition. Borders can be set with the same
polarity and with the different polarity.

14
Optical Micrometer. RF651 Series
RF651 Series [Revision 4.0.0] 25.03.2017
11.7. Numbers of borders under control
The measurement domain can include up to 128 borders, however, measurements
can be made in relation to any two borders (hereinafter – borders А and В), whose numbers
are specified by this parameter. Border numbers are counted in the direction of scanning.
Direction of scanning is indicated on the body of receiver.
11.8. Nominal value and tolerances
The nominal value (dimension or position) can be transmitted as a parameter or
preset by teaching. In the course of measurement, the micrometer controls sizes going
beyond the permissible limits. Value of tolerances can be transmitted as parameters.
11.9. Logical outputs operation modes
Logical outputs of the micrometer are used to signal that the size under control is
within or outside the tolerances selected. Logics of operation of the outputs can be
changed, i.e. activate either low or high logical level. Wiring diagram of logical outputs is
shown in the drawing:
11.10. Factory parameters by default
The parameters are stored in nonvolatile memory of the micrometer. Correct
changing of the parameters is carried out by using the parametrization program supplied
with the micrometer, or by the user's program.

RF651 Series [Revision 4.0.0] 25.03.2017
Optical Micrometer. RF651 Series
15
12. Description of RS232 and RS485 interfaces
12.1. RS232 port
The RS232 port ensures a “point-to-point” connection and allows the sensor to be
connected directly to RS232 port of a computer or controller.
12.2. RS485 port
In accordance with the protocol accepted and hardware capability, the RS485 port
makes it possible to connect micrometers to one data collection unit by a common bus
circuit.
12.3. Modes of data transfer
Through these serial interfaces measurement data can be obtained by three
methods:
·
by single requests (inquiries);
·
by automatic asynchronous data stream (results are transmitted as they become
available);
·
by automatic synchronous data stream (time sampling or trigger sampling).
12.4. Configuration parameters
12.4.1. Rate of data transfer through a serial port
This parameter defines the rate of data transmission via the bit-serial interface in
increments of 2400 bit/s. For example, the parameter value equal to 4 gives the
transmission rate of 2400*4 = 9600 bit/s.
Note. The maximum transmission rate for RS232/RS485 interfaces is 921,6 kbit/s.
12.4.2. Net address
This parameter defines the network address of the micrometer equipped with
RS485 interface.
Note. Network data communications protocol assumes the presence of ‘master’ in
the net, which can be a computer or other information-gathering device, and from 1 to 127
‘slaves’ (RF65x Series micrometers) which support the protocol.
Each ‘slave’ is assigned a unique network identification code – a device address.
The address is used to form requests or inquiries all over the net. Each slave receives
inquiries containing its unique address as well as ‘0’ address which is broadcast-oriented
and can be used for formation of generic commands, for example, for simultaneous latching
of values of all sensors and for working with only one sensor (with both RS232 port and
RS485 port).
12.4.3. Factory parameters table
Parameter
Value
Baud rate
115200
Net address
1
Mode of data transfer
request

16
Optical Micrometer. RF651 Series
RF651 Series [Revision 4.0.0] 25.03.2017
12.5. Interfacing protocol
12.5.1. Serial data transmission format
Data message has the following format:
1 start-bit
8 data bits
1 even bit
1 stop-bit
12.5.2. Communication sessions types
The communication protocol is formed by communication sessions, which are only
initiated by the ‘master’ (PC, controller). There are two kinds of sessions with the following
structure:
1) “request”, [“message”] — [“answer”], square brackets include optional elements
2) “request” — “data stream” — [“request”]
12.5.3. Request
'Request' (INC) is a two-byte message, which fully controls the communication
session. The 'request' message is the only one of all messages in a session where most
significant bit is set at 0, therefore, it serves to synchronize the beginning of the session. In
addition, it contains the device address (ADR), code of request (COD) and, optionally, the
message [MSG].
'Request' format:
Byte 0
Byte 1
[ Bytes 2…N ]
INC0(7:0)
INC1(7:0)
MSG
0
ADR(6:0)
1
0
0
0
COD(3:0)
12.5.4. Message, MSG
'Message' is a data burst that can be transmitted by 'master' in the course of the
session.
All messages with a 'message' burst contain 1 in the most significant digit. Data in
a message are transferred in tetrads. When byte is transmitted, lower tetrad goes first, and
then follows higher tetrad. When multi-byte values are transferred, the transmission begins
with lower byte.
The format of two 'message' data bursts for transmission of byte DAT(7:0):
DAT(7:0)
Byte 0
Byte 1
1
0
0
0
DAT(3:0)
1
0
0
0
DAT(7:4)
12.5.5. Answer
'Answer' is data burst that can be transmitted by 'slave' in the course of the session.
All messages with a message burst contain 1 in the most significant digit. Data in a
message are transferred in tetrads. When byte is transmitted, lower tetrad goes first, and
then follows higher tetrad. When multi-byte values are transferred, the transmission begins
with lower byte.
When 'answer' is transmitted, the message contains:
·
SB-bit, characterizes the updating of the result. If SB is equal to '1', this means
that the sensor has updated the measurement result in the buffer. If SB is equal to

RF651 Series [Revision 4.0.0] 25.03.2017
Optical Micrometer. RF651 Series
17
'0', then non-updated result has been transmitted (see. Note 1, p.11.2.). When
transmitting parameters, SB=0;
·
two additional bits of cyclic binary batch counter (CNT). Bit values in the batch
counter are identical for all sendings of one batch. The value of batch counter is
incremented by the sending of each burst and is used for formation (assembly) of
batches or bursts as well as for control of batch losses in receiving data streams.
The format of two 'answer' data bursts for transmission of byte DAT(7:0):
DAT(7:0)
Byte 0
Byte 1
1
SB
CNT(1:0)
DAT(3:0)
1
SB
CNT(1:0)
DAT(7:4)
12.5.6. Data stream
‘Data stream’ is an infinite sequence of data bursts or batches transmitted from
‘slave’ to ‘master’, which can be interrupted by a new request. In transmission of ‘data
stream’, one of the ‘slaves’ fully holds the data transfer channel, therefore, when ‘master’
produces any new request sent to any address, data streaming process is stopped. In
addition, there is a special request to stop data streaming.
12.5.7. Request codes and list of parameters
Request codes and list of parameters are presented in topic 14.
13. Analog outputs
13.1. Modes of data transfer
Analog outputs can be in one of the following modes:
·
No transmission.
·
Automatic asynchronous data stream (results are transmitted as they become
available)
·
Automatic synchronous data stream (time sampling or trigger sampling)
13.2. Current output 4…20 mA
The connection scheme is shown in the figure. The value of load resistor should not
be greater than 500 Ohm. To reduce noise, it is recommended to install RC filter before the
measuring instrument. The filter capacitor value is indicated for maximum sampling
frequency of the micrometer (2 kHz) and this value increases in proportion to the frequency
reduction.
13.3. Voltage output 0…10 V
The connection scheme is shown in the figure. To reduce noise, it is recommended
to install RC filter before the measuring instrument. The filter capacitor value is indicated for
maximum sampling frequency of the micrometer (2 kHz) and this value increases in
proportion to the frequency reduction.

18
Optical Micrometer. RF651 Series
RF651 Series [Revision 4.0.0] 25.03.2017
13.4. Configuration parameters
13.4.1. Range of the analog output
While working with the analog output, resolution can be increased by using the
‘Window in the operating range’ function which makes it possible to select a window of
required size and position in the operating range of the sensor within which the whole range
of analog output signal will be scaled.
If the beginning of the range of the analog signal is set at a higher value than the end
value of the range, this will change the direction of rise of the analog signal.
Note. If the beginning of the range of the analog signal is set at a higher value than
the end value of the range, this will change the direction of rise of the analog signal.
13.4.2. Analog output operation mode
Analog output can be:
·
in the window mode or
·
in the deviation mode.
"Windowmode". The entire range of the analog output is scaled within the selected
window. Under the window we mean the whole range of micrometer or any area in the
measuring range specified by parameters 'Top of the range of the analog output' and 'End
of the range of the analog output'. The analog output is "0" outside the window,.
"Deviation mode". For 'deviation' result type, the window boundaries must be
defined so that the value corresponding to zero deviation is located in the middle of the
window. In this case, the middle part of the analog output range (12mA or 5V) will
correspond to zero deviation.
14. Request codes and a list of parameters
14.1. Request codes
Request
code
Description
Message
(size in bytes)
Answer
(size in bytes)
01h
Device identification
—
- device type (1)
- firmware version (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
Recoveryof 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)

RF651 Series [Revision 4.0.0] 25.03.2017
Optical Micrometer. RF651 Series
19
Request
code
Description
Message
(size in bytes)
Answer
(size in bytes)
08h
Stop data streaming
—
—
14.2. List of parameters
Code
Description
Values
00h
Switching ON/OFF the sensor
1 - laser ON, measuring (by default);
0 - laser OFF, the sensor is in the energy-saving mode.
01h
Switching ON/OFF the analog
output
1 - ON;
0 - OFF.
02h
Control of averaging, sampling,
AL-output modes
x,x,М,С,M1,M0,R,S – control byte (x bits - not used, М bit - the
averaging mode, C bit - CAN interface, М0 and M1 bits - logical
output, R bit - analog output, S bit - sampling mode).
M bit: 0 - averaging the measured values by quantity (by
default); 1 - averaging the measured values by time (5 ms);
C bit: 0 - request (by default);
1 - synchronization by time, or by external input.
M1:M0 bits:
00 - out-of-range indication mode (by default);
01 - mutual synchronization mode;
10 - mode of results reset.
11 - mode of switching ON/OFF a laser
R bit: 0 - window mode (by default);
1 - full mode.
S bit: 0 - time sampling mode (by default);
1 - trigger sampling mode.
03h
Network address
1…127 (by default, 1).
04h
Rate of data transfer through a
serial port
1…192 (by default, 4). The rate of data transfer in increments of
2400 bit/s. For example, the parameter value equal to 4 gives
the transmission rate of 2400*4 = 9600 bit/s.
05h
Reserved
06h
Number of averaged values
1…128 (by default, 1).
07h
Reserved
08h
Low byte of sampling period
1) 1…65535 (by default, 500).
Time interval in increments of 0.01 ms, that a sensor uses to
transmit results automatically on the data stream request
(sampling priority = 0);
2) 1…65535 (by default, 500).
Division factor for synchronization input (sampling priority = 1).
09h
High byte of sampling period
0Ah
Low byte of the maximum
accumulation time
2…65535 (by default, 3200). The maximum accumulation time
in increments of 1 s.
0Bh
High byte of the maximum
accumulation time
0Ch
Low byte of the beginning of
analog output range
In percents (by default, 0).
The point within the range of the micrometer, at which the
analog output takes the minimum value.
0Dh
High byte of the beginning of
analog output range
0Eh
Low byte of the end of analog
output range
In percents (by default, 100).
The point within the range of the micrometer, at which the
analog output takes the maximum value.

20
Optical Micrometer. RF651 Series
RF651 Series [Revision 4.0.0] 25.03.2017
Code
Description
Values
0Fh
High byte of the end of analog
output range
10h
Delay time
0…255. The delay time in increments of 5 ms.
11h
Measurement type
1 (by default) – Measuring the position of one border (knife);
2 – Distance between borders А and В (measuring the size of
the object). Result = В – А. (Numbers of borders А and В are
set by parameters 0x12h and 0x14 h).
3 – Position of the object – (B+A)/2.
12h
Number of the border under
control (A)
0-127 (by default, 0x01h).
A – a serial number of border А.
13h
Polarity of the border under
control (A)
0-1 (by default, 0x00h).
14h
Number of the border under
control (B)
0-127 (by default, 0x01h).
B – a serial number of border B.
15h
Polarity of the border under
control (B)
0-1 (by default, 0x01h).
16h
Reserved
17h
Low byte of a zero point
0…4000h (by default, 0).
18h
High byte of a zero point
19…1Ch
Reserved
20h
Rate of data transfer through the
CAN interface
10…200 (by default, 25). Rate of data transfer in increments of
5000 baud. For example, value '50' sets the rate of 50*5000 =
250000 baud.
22h
Low byte of the standard identifier
0…7FFh (by default, 7FFh). The standard identifier of the CAN
interface.
23h
High byte of the standard
identifier
24h
0th byte of the extended identifier
0…1FFFFFFFh (by default, 1FFFFFFFh). The extended
identifier of the CAN interface.
25h
1st byte of the extended identifier
26h
2nd byte of the extended identifier
27h
3rd byte of the extended identifier
28h
Identifier of the CAN interface
1 - extended identifier;
0 - standard identifier.
29h
CAN interface ON/OFF
1 - CAN interface enabled;
0 - CAN interface disabled.
0x39h
Analog output operation mode
0 (by default) - window mode;
1 - deviation mode.
6Ch
0th byte of the destination IP
address
by default, FFFFFFFFh = 255.255.255.255
6Dh
1st byte of the destination IP
address
6Eh
2nd byte of the destination IP
address
6Fh
3rd byte of the destination IP
address
70h
0th byte of the gateway IP
address
by default, C0A80001h = 192.168.0.1
71h
1st byte of the gateway IP
address
This manual suits for next models
4
Table of contents
Other Riftek Measuring Instrument manuals

Riftek
Riftek IDK Series User manual

Riftek
Riftek RF096-100/250-87-HH Series User manual

Riftek
Riftek IMR-L Series User manual

Riftek
Riftek IMR Series User manual

Riftek
Riftek RF096-30/75-120 User manual

Riftek
Riftek IMR Series User manual

Riftek
Riftek RF656XY-35 User manual

Riftek
Riftek RF096-32/42-80 Series User manual

Riftek
Riftek IDK-BT Series User manual

Riftek
Riftek RF089 Series User manual