EasyManua.ls Logo

MICRO-EPSILON ILD1700-2 - Communication with Error

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 64
Serial Interface RS422
optoNCDT 1700
8.4.2 Communication with Error
If the sensor detects an error during the execution of a command, the second highest bit (bit 30) of the
command is also set (the command is OR operated with 0xC000). Additionally a command error code is
transferred as data word, see Fig. 45. The resulting package length amounts to now 3 data words. The reply
is finished with a 32 bit word 0x20200D0A (2 blank characters + CR + LF).
Error-Code X Description
1 Command unknown
2 Incorrect parameter value
3 Invalid parameter
4 Time out
5 Command failed
6 Warning for averaging type and averaging number
1
Fig. 45 Command error codes
Example: Sensor operates in the average mode “Median“. The command SET_AVX is not possible in this
averaging 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.
1) , see Chap. 8.5.5.

Table of Contents