Operating Instructions
LMS500 Product Family
Annex
8013796/UL20/2010-09-27
© SICK AG · Division Auto Ident · Germany · Subject to change without notice
79
Chapter
10
10.2.3
Query status
Returns the status of the LMS.
Important
Only when the status 7 = “Measurement” (see
) is achieved can measured data be
requested from the LMS.
Request
Message structure:
sRN STlms
Answer
Message structure:
sRA STlms
Status OperatingTemperatureRange Time Date [LED1
LED2 LED3]
Example
Request:
<STX>sRN{SPC}STlms<ETX>
Answer:
<STX>sRA{SPC}STlms{SPC}7{SPC}0{SPC}8{SPC}
00:00:00{SPC}8{SPC}01.01.06{SPC}0{SPC}0{SPC}0<ETX>
Message part
Description
Variable type
Length
(byte)
Value range
Type of command
Request (SOPAS read by name)
string
3
sRN
Command
Query status
string
5
STlms
Message syntax V:
Request “Query status”
Message part
Description
Variable type
Length
(byte)
Value range
Type of command
Acknowledgement of receipt
(SOPAS read answer)
string
3
sRA
Command
Query status
string
5
STlms
Status
Status of the LMS
Enum16
1
0
undefined
1
initialisation
2
configuration
3
idle
4
rotating
5
in preparation
6
ready
7
measurement
8 … 11
reserved
Operating temperature range
Indicates whether the operating
temperature range is met or not
bool_1
1
0
yes
1
no
Time
Flexible range, the string can
contain 0 to 10 characters
string
0 … 10
................
Date
Flexible range, the string can
contain 0 to 10 characters
string
0 … 10
................
LE
D
s
LED1
Currently without function, values
always 0
uint_32
4
0
reserved
LED2
uint_32
4
0
reserved
LED3
uint_32
4
0
reserved
Message syntax VI:
Answer to the “Query status” request
Summary of Contents for LMS500-20000 PRO Indoor
Page 1: ... ...