EasyManua.ls Logo

MICRO-EPSILON ILD1700-2 - Interface Parameters; Data Format for Measurement Values and Error Codes; Binary Format

MICRO-EPSILON ILD1700-2
112 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Page 60
Serial Interface RS422
optoNCDT 1700
8.1 Interface Parameters
The optoNCDT1700 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.
Data format: 8 Data bits, no parity, one stop bit (8,N,1)
The factory-set baud rate is 115.2 kBaud but it can be programmed to a different value, see Chap. 6.5. The
maximum measurement frequency is 2.5 kHz.
8.2 Data Format for Measurement Values and Error Codes
8.2.1 Binary Format
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

Table of Contents