Annex
86 © SICK AG · Division Auto Ident · Germany · Subject to change without notice 8013796/UL20/2010-09-27
Operating Instructions
Laser Measurement Systems of the LMS500 Product Family
Chapter 10
10.2.6 Read contamination level
Returns the contamination level of the LMS.
Note The level depends on the chosen strategy.
Request
Message structure: sRN LCMstate
Answer
Message structure: sRA LCMstate Contamination level
Example
Request: <STX>sRN{SPC}
LCMstate<ETX>
HEX string: 02 73 52 4E 20 4C 43 4D 73 74 61 74 65 20 03
Answer: <STX>sRA{SPC}
LCMstate{SPC}0<ETX>
HEX string: 02 73 52 41 20 4C 43 4D 73 74 61 74 65 20 30 03
Message part Description Variable type Length
(byte)
Value range
Type of command Request (SOPAS read by name) string 3 sRN
Command Read contamination level string 8 LCMstate
Message syntax XII: Request “Read contamination level”
Message part Description Variable type Length
(byte)
Value range
Type of command Acknowledgement of receipt
(SOPAS read answer)
string 3 sRA
Command Read contamination level string 8 LCMstate
Contamination level Determines the level of
contamination
Enum8 1 0 no contamination
1 contamination warning
2 contamination error
3 serious contamination
error
Message syntax XIII: Answer to the “Read contamination level” request