Page 75
Digital Interfaces RS422
optoNCDT 1320
8.3
Conversion of the Binary Data Format
For conversion purposes the H-Byte, M-Byte and L-Byte must be identified on the basis of the two first bits
(flag bits), the flag bits deleted and the remaining bits compiled into a 16 or 18 bit data word.
Result of conversion:
D17 D16 D15 D14 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
Conversion must be done in the application program. D16 and D17 are among others used for interpretation
of error codes or e.g. for the measurement counter.
i
The sensor continues to deliver measurement values to the RS422 output even while communicating
with the sensor.
For the data transmission with a PC the MICRO-EPSILON IF2001/USB is suitable. The IF2001/USB combines
the three bytes for the data word and saves them in the FIFO. The 18 bits are used for measurement values
and error values. For further information, please refer to the descriptions of the IF2001/USB interface card and
associated MEDAQlib driver program.
You will find the latest program routine at: www.micro-epsilon.com/link/software/medaqlip.