Operating Instructions
LMS500 Product Family
Annex
8013796/UL20/2010-09-27
© SICK AG · Division Auto Ident · Germany · Subject to change without notice
77
Chapter
10
10.2.1
Start measurement
The LMS starts measuring.
Important
The required user level is “Authorised client” (see
section 10.2.7 “Select user level/login”
).
Sequence:
•
Login
•
sMN LMCstartmeas
•
Logout (see
Request
Message structure:
sMN LMCstartmeas
Answer
Message structure:
sAN LMCstartmeas
ErrorCode
Example
Request:
<STX>sMN{SPC}LMCstartmeas<ETX>
HEX string:
02 73 4D 4E 20 4C 4D 43 73 74 61 72 74 6D 65 61 73 03
Answer:
<STX>sAN{SPC}LMCstartmeas{SPC}0<ETX>
HEX string:
02 73 41 4E 20 4C 4D 43 73 74 61 72 74 6D 65 61 73 20 30 03
Message part
Description
Variable type
Length
(byte)
Value range
Type of command
Request (SOPAS method by name)
string
3
sMN
Command
Start measurement
string
12
LMCstartmeas
Message syntax I:
Request “Start measurement”
Message part
Description
Variable type
Length
(byte)
Value range
Type of command
Answer (SOPAS answer)
string
3
sAN
Command
Start measurement
string
12
LMCstartmeas
ErrorCode
The command has been accepted
if the error code 0 is returned.
Enum8
1
0
no error
1
error, status change not
permitted
Message syntax II:
Answer to the “Start measurement” request
Summary of Contents for LMS500-20000 PRO Indoor
Page 1: ... ...