Page 35
Serial Interface RS422
optoNCDT 1402
i
If the sensor operates with the ILD1401 data protocol, the measurement value is a 12 bit word, e.g. the
bits D12 and D13 are 0.
Replies with a length of 4 Bytes must be swapped according to the following rule:
Reception: 0 1 2 3 4 5 6 7
Conversion: 3 2 1 0 7 6 5 4
This rule does not apply to values.
ASCII Format 8.1.2
Output of 5 characters (digits) in ASCII code for the digital value + 1 tag „CR“ (= 0x0D), i.e. a total of 6 char-
acters. Digital values with just 3 or 4 digits are preceded by blank characters.
Example: Digital value 2099
Transfer: “_2099“ (preceded by 1 blank character) „CR“
ASCII code (Hex.) 0x20 0x32 0x30 0x39 0x39 0x0D
Characters SP 2 0 9 9 CR
i
ASCII characters can be easily shown using a terminal program.
Request the Data Protocol8.1.3
PC transmits “---R”.
Sensor replies
“---14CI1“ Sensor operates with the ILD1401 data protocol or
“---14CI2“ Sensor operates with the ILD1402 data protocol.