Page 34
Serial Interface RS422
optoNCDT 1402
Serial Interface RS4228.
The optoNCDT1402 comes with a RS422 serial interface to enable the sensor to be operated from a standard
computer and measurement values and error codes to be transferred.
The sensor can operate with two different data protocols:
Data protocol ILD1401 -
Data protocol ILD1402 -
Default settings Data protocol ILD1401 Data protocol ILD1402
Baud rate 38400 115200
Parity none
Data bits 8
Start/stop bit 1
Data Format for Measurement Values and Error Codes 8.1
Binary Format 8.1.1
The data word is comprised of two consecutive bytes (H-byte/L-byte). One flag bit in each byte differentiates
a high from a low byte.
Start 1 7 Bit MSB Stop Start 0 7 Bit LSB Stop
Conversion of the binary data format:
For conversion purposes the high and low bytes must be identified on the basis of the first bit (flag bit), the
flag bits deleted and the remaining 2 x 7 bits compiled into 14 bit data word.
Reception:
H-Byte 1 D13 D12 D11 D10 D9 D8 D7
L-Byte 0 D6 D5 D4 D3 D2 D1 D0
Result of conversion
0 0 D13 D12 D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0