EasyManua.ls Logo

MICRO-EPSILON ILD1700-2 - Command Reply; Communication Without 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 63
Serial Interface RS422
optoNCDT 1700
Format:
31 24 23 16 15 8 7 0 hex Contents
„+“ „+“ „+“ 0x0d („CR“) 0x2B2B2B0D Start word
„I“ „L“ „D“ „1“ 0x494C4431 Identifier ID „ILD1“
0x20 0x75 0x00 0x03 0x20750003
Command (0x2075)
2 top bits = 0
Package length
= 3
0x00 0x00 0x00 0x0A 0x0000000A Data word 1 (X = 0xA)
8.4 Command Reply
8.4.1 Communication without Error
No start word is transmitted, if the sensor replies to a command. The 1st word then is the sensor identifier.
The second word is the command with set MSB (Bit 31 = 1, corresponding an OR operation of the command
with 0x8000) and the new package length, if there was no error during communication. With longer answers
(e.g. GET_INFO) the package length is larger according to the quantity of data words to be transmitted. A
firm 32 bit word 0x20200D0A forms the conclusion of the answer. The conclusion word is not a data word.
Example: Sensor reply (without error) to the SET_AVX command.
31 24 23 16 15 8 7 0 hex Contents
„I“ „L“ „D“ „1“ 0x494C4431 Identifier ID „ILD1“
0xA0 0x75 0x00 0x02 0xA0750002
0x2075 OR 0x8000
(MSB = 1)
Package length
(2)
0x20 0x20 0x0D 0x0A 0x20200D0A Conclusion word
Wait until the sensor reply, before you send a new command to the sensor.

Table of Contents