Session Management Commands
List of Commands
The following table lists the commands necessary to manage the editing session of the setting protection function in accordance with UL489SE standard, their corresponding command codes and user profiles.
Command |
Command Code |
User profile |
---|---|---|
Open setup session Open Setup Session |
1930 |
Administrator |
Apply settings Apply Settings |
1932 |
Administrator |
Get apply setting status Get Apply Setting Status |
1924 |
No password required |
Close setup session Close Setup Session |
1933 |
Administrator |
Open Setup Session
To open setup session, set the command registers in the following way:
Address |
Register |
Unit |
Type |
Range |
Description |
---|---|---|---|---|---|
0x1F3F |
8000 |
– |
INT16U |
1930 |
Requested command code |
0x1F40 |
8001 |
– |
INT16U |
10 |
Number of parameters of the command |
0x1F41 |
8002 |
– |
INT16U |
5377 (0x1501) |
Destination of the command |
0x1F42 |
8003 |
– |
INT16U |
1 |
Security type of the command |
0x1F43–0x1F44 |
8004–8005 |
– |
OCTET STRING |
– |
Password of the command: Administrator user profile password |
The session key for the editing session is returned to the command registers in the following way:
Address |
Register |
Unit |
Type |
Range |
Description |
---|---|---|---|---|---|
0x1F3F |
8020 |
– |
INT16U |
1930 |
Last command code |
0x1F40 |
8021 |
– |
INT16U |
– |
Command status:
|
0x1F41 |
8022 |
– |
INT16U |
4 |
Number of bytes returned |
0x1F42–0x1F43 |
8023–8024 |
– |
INT32U |
0–4294967294 |
Session key for the command |
Apply Settings
To apply settings, set the command registers in the following way:
Address |
Register |
Unit |
Type |
Range |
Description |
---|---|---|---|---|---|
0x1F3F |
8000 |
– |
INT16U |
1932 |
Requested command code |
0x1F40 |
8001 |
– |
INT16U |
14 |
Number of parameters of the command |
0x1F41 |
8002 |
– |
INT16U |
5377 (0x1501) |
Destination of the command |
0x1F42 |
8003 |
– |
INT16U |
1 |
Security type of the command |
0x1F43–0x1F44 |
8004–8005 |
– |
OCTET STRING |
– |
Password of the command: Administrator user profile password |
0x1F45–0x1F46 |
8006–8007 |
– |
INT32U |
0–4294967294 |
Requested session key for the command |
Get Apply Setting Status
To get apply setting status, set the command registers in the following way:
Address |
Register |
Unit |
Type |
Range |
Description |
---|---|---|---|---|---|
0x1F3F |
8000 |
– |
INT16U |
1924 |
Requested command code |
0x1F40 |
8001 |
– |
INT16U |
14 |
Number of parameters of the command |
0x1F41 |
8002 |
– |
INT16U |
5377 (0x1501) |
Destination of the command |
0x1F42 |
8003 |
– |
INT16U |
0 |
Security type of the command |
0x1F43–0x1F44 |
8004–8005 |
– |
OCTET STRING |
0 |
Password of the command = 0 (no password required) |
0x1F45–0x1F46 |
8006–8007 |
– |
INT32U |
0–4294967294 |
Requested session key for the command |
The apply setting status is returned to the command registers in the following way:
Address |
Register |
Unit |
Type |
Range |
Description |
---|---|---|---|---|---|
0x1F53 |
8020 |
– |
INT16U |
1924 |
Last command code |
0x1F54 |
8021 |
– |
INT16U |
– |
Command status:
|
0x1F55 |
8022 |
– |
INT16U |
6 |
Number of bytes returned |
0x1F56–0x1F57 |
80023–8024 |
– |
INT32U |
0–4294967294 |
Responded session key for the command. It must be equal to the requested session key for the command. |
0x1F58 |
8025 |
– |
INT16U |
0–1 |
Status of the apply settings command:
|
Close Setup Session
To close setup session, set the command registers in the following way:
Address |
Register |
Unit |
Type |
Range |
Description |
---|---|---|---|---|---|
0x1F3F |
8000 |
– |
INT16U |
1933 |
Requested command code |
0x1F40 |
8001 |
– |
INT16U |
14 |
Number of parameters of the command |
0x1F41 |
8002 |
– |
INT16U |
5377 (0x1501) |
Destination of the command |
0x1F42 |
8003 |
– |
INT16U |
1 |
Security type of the command |
0x1F43–0x1F44 |
8004–8005 |
– |
OCTET STRING |
– |
Password of the command: Administrator user profile password |
0x1F45–0x1F46 |
8006–8007 |
– |
INT32U |
0–4294967294 |
Requested session key for the command |