Operating Instructions
LMS500 Product Family
Annex
8013796/UL20/2010-09-27
© SICK AG · Division Auto Ident · Germany · Subject to change without notice
89
Chapter
10
Answer
Message structure:
sAN mLMPsetscancfg
ErrorCode ScanFrequency NumberSegments
AngularResolution StartingAngle StoppingAngle
The frequencies and angular resolutions are pre-defined:
Example
Request:
<STX>sMN{SPC}mLMPsetscancfg{SPC}+2500{SPC}+1{SPC}+2500
{SPC}-50000{SPC}+1850000<ETX>
HEX string:
02 73 4D 4E 20 6D 4C 4D 50 73 65 74 73 63 61 6E 63 66 67 20 2B 35 30 30
30 20 2B 31 20 2B 35 30 30 30 20 2D 34 35 30 30 30 30 20 2B 32 32 35 30
30 30 30 03
Answer:
<STX>sAN{SPC}mLMPsetscancfg{SPC}0{SPC}9C4{SPC}1
{SPC}9C4{SPC}FFFF3CB0{SPC}1C3A90<ETX>
HEX string:
02 73 41 4E 20 6D 4C 4D 50 73 65 74 73 63 61 6E 63 66 67 20 30 20 31 33
38 38 20 31 20 31 33 38 38 20 46 46 46 46 33 43 42 30 20 31 43 33 41 39 30
Important
The data are not stored in non-volatile memory after a message has been sent. Therefore
you must save the data in non-volatile memory in the EEPROM on the LMS using a message
(see
) or send the message to the LMS again after switch on.
Message part
Description
Variable type
Length
(byte)
Value range
Type of command
Answer (SOPAS answer)
string
3
sAN
Command
Configuration of scanning
frequency and angular resolution
string
14
mLMPsetscancfg
Error code
The command has been accepted
if the error code 0 is returned.
Enum8
1
0
no error
1
invalid frequency
2
invalid angular resolution
3
invalid frequency and
angular resolution
4
invalid scan area
5
other error
ScanningFrequency
Information 1/100 Hz
uint_32
4
09C4
25 Hz
0DAC
35 Hz
1388
50 Hz
1D4C
75 Hz
2710
100 Hz
NumberSegments
For the LMS500 always 1
uint_16
2
1
1 segment
AngleResolution
Information 1/10,000 degree
uint_32
4
0683
0.1667°
09C4
0.25°
0D05
0.3333°
1388
0.5°
1A0B
0.6667°
1D4C
0.75°
2710
1.0°
Starting angle
Information 1/10,000 degree
int_32
4
FFFF3CB0
…
1C3A90
StoppingAngle
Information 1/10,000 degree
int_32
4
FFFF3CB0
…
1C3A90
Message syntax XVII:
Answer to the “Configure scanning frequency, angular resolution and scan area” request
25 Hz
25 Hz
35 Hz
35 Hz
50 Hz
50 Hz
75 Hz
75 Hz
100 Hz
100 Hz
0.1667° 0.25°
0.25°
0.5°
0.333°
0.5°
0.5°
1.0°
0.667°
1.0°
Summary of Contents for LMS500-20000 PRO Indoor
Page 1: ... ...