Page 33
RS422 Digital Interface
optoNCDT ILR2250
Example with real measurement data.
0xc0
0xa6
0xb3
0x05
0xed
0xdd
0x80
0x00
0x10
Timestamp
Distance value
Footer
Fig. 37 Received data frame
Distance hex format
0xed
0xdd
0x80
0x00
Distance binary, little endian
1110 1101
1101 1101
1000 0000
0000 0000
Binary, without flag bit
110 1101
101 1101
000 0000
000 0000
Binary, big endian
000 0000
000 0000
101 1101
110 1101
As unsigned integer
(0000) 0000
0000 0000
0010 1110
1110 1101
Decimal
12013
As distance
1201.3 mm
Fig. 38 Transformed distance value
i
The sensor can continue to supply measured values to the RS422 output even while the sensor is communicating.
The IF2001 converter from MICRO-EPSILON, which is connected to the sensor via the PC1100-x standard cable (also
optional), is suitable for data exchange with a PC,
. The IF2008/ETH is suitable for recording data in a syn-
chronized manner from multiple sensors. You can find more information in the descriptions of the IF2008/ETH interface
card and the relevant MEDAQLib driver program.
You can find the current program routine at:
www.micro-epsilon.de/link/software/medaqlib
8.3
Resetting the Baud Rate
You can reset the baud rate to the factory setting when
you start the sensor. To do this, half the supply voltage
must be applied to the trigger input. This will reset the
sensor to 115200 baud.
This means that, with the 47 kOhm internal pull-down re-
sistor, you simply have to connect the
TRIG
connection
to
U
B
via a 47 kOhm resistor.
Fig. 39 Resetting the baud rate to factory setting
C
L
ILR2250
GND
G
+
U
B
47k
47k