Operating Instructions
LMS500 Product Family
Annex
8013796/UL20/2010-09-27
© SICK AG · Division Auto Ident · Germany · Subject to change without notice
87
Chapter
10
10.2.7
Select user level/login
By means of the selection of a user level and transfer of the corresponding password,
permits configuration of the LMS via messages. The LMS expects the password in the
message in coded form (hash value).
Note
Measurement values will not be provided until the user logs out (see
).
Request
Message structure:
sMN SetAccessMode
User level password
Answer
Message structure:
sAN SetAccessMode
ChangeUserLevel
Example
Request:
<STX>sMN{SPC}SetAccessMode{SPC}03{SPC}F4724744<ETX>
HEX string:
02 73 4D 4E 20 53 65 74 41 63 63 65 73 73 4D 6F 64 65 20 30 33 20 46 34
37 32 34 37 34 34 03
Answer:
<STX>sAN{SPC}SetAccessMode{SPC}<ETX>
HEX string:
02 73 41 4E 20 53 65 74 41 63 63 65 73 73 4D 6F 64 65 20 31 03
User level
Password
Hash value
Maintenance personnel
main
B21ACE26h
Authorised client
client
F4724744h
Tab. 22:
Hash values of the passwords
Message part
Description
Variable type
Length
(byte)
Value range
Type of command
Request (SOPAS method by name)
string
3
sMN
Command
Select user level
string
12
SetAccessMode
User level
A valid user level must be included
in the transmission. Otherwise the
LMS declines the command.
int_8
1
02h
maintenance personnel
03h
authorised client
04h
service
Password
E.g. encoded value for “client”
uint_32
4
00000000h
…
FFFFFFFFh
Message syntax XIV:
Request “Select user level”
Message part
Description
Variable type
Length
(byte)
Value range
Type of command
Answer (SOPAS answer)
string
3
sAN
Command
Select user level
string
12
SetAccessMode
ChangeUserLevel
A new user level is opened.
bool_1
1
00h
error
01h
user level change
successful
Message syntax XV:
Answer to the “Select user level” request
Содержание LMS500-20000 PRO Indoor
Страница 1: ... ...