Page 39
Serial Interface RS422
optoNCDT 1402
Reading the Software Version
8.2.4
Name:
VERSION
Description:
The sensor transmitts the software version.
Format
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Byte 7
Byte 8
Byte 9
“+”
“+”
“+”
0x0D
„I“
„L“
0x09
0x00
none
Reply
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
„I“
„L“
0x89
Quantity
Info string
Command error-free
Byte 1
Byte 2
Byte 3
Byte 4
“I“
“L“
0x89
0x07
Version is a readable ASCII string: 1.001
Faulty command
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
“I“
“L“
0xC9
0x01
Error code
Average On/Off
8.2.5
Name:
MEDIAN
Description: Switches between „Averaging on“ and „Averaging off“. The median is generated from a preset
number of measurement values. Here the inputted measurement values (3 measurement values) are resorted
after each measurement. The average value is then outputted as the median. When the median is gener-
ated in the controller only 3 measurement values are taken into account, i.e. a 0 median is not possible. This
means that individual interference pulses can be suppressed. The measurement value curve is not smoothed
to a great extent.
Byte 9 = 0; Median off
Byte 9 = 1; Median on
Default setting:
Median off