Page 49
Serial Interface RS422
optoNCDT 22xx
Example:
Sensor operates in the average mode “Median“. The command AVGn is not possible in this opera-
tion mode and leads to the following answer.
31
24 23
16 15
8 7
0
hex
Contents
“I“
“L“
“D“
“1“
0x494C4431
Identifier ID (“ILD1“)
0xE0
0x73
0x00
0x03
0xE0730003
0x2075 OR 0xC000
(2 top bits = 1)
Package length = 3
0x00
0x00
0x00
0x05
0x00000005
Command error code 5:
“Command failed“
0x20
0x20
0x0D
0x0A
0x20200D0A
Conclusion word
The sensor continues to deliver measurement values to the analog output even while communicating with the
sensor. The measurement value output on the digital interface is momentarily interrupted.
Information Command
7.3
Name
INFO
Description:
Sensor data are sent in ASCII format when the command is returned.
Format:
Response:
31
24 23
16 15
8 7
0
hex
31
24 23
16 15
8 7
0
hex
hex
“+“
“+“
0x0D
0x2B2B2B0D
“I“
“L“
“D“
“1“
0x494C4431
“I“
“L“
“D“
“1“
0x494C4431
0xA0
0x49
0x00
0x20
0xA0490020
0x20
0x49
0x00
0x02
0x20490002
0x20
0x20
0x0D
0x0A
0x20200D0A
ILD22xx: STD +/-5 V 10.0
Average: 0001
Range: 10
Modul RS422: detect
Option: 003
Modul voltage: det.
SerialN: 01299123
Zero Command
7.4
Name
ZERO
Description:
Sets the analog output on 0.0 V. Function like the „Zero/Reset“- key format: