Validity: Rule, Task
This keyword allows saving and restoring the license file (AS3xxx_xxx_xxx.lic) on the SD.
With this parameter it is possible to save the license file in another area of the SD, so that it can be restored in case of deletion. If at startup RTE does not find the KEY file in the SD, it will attempt to read the saved license and, if present, it will be used.
The license file, if stored, is recreated only by specific command.
Syntax |
I32 sys_lic |
---|---|
Attributes |
Bit-accessible |
Notes |
From RTE 34.30.0 |
The meaning of the bits is as follows:
Bit |
HEX value |
Description |
---|---|---|
0 |
0x00000001 |
Start of the operation selected in bits 8 or 9 |
1 |
0x00000002 |
Operation running |
2 |
0x00000004 |
Operation aborted due to errors |
3 |
0x00000008 |
Stop operation in progress |
8 |
0X00000100 |
Requested operation to save the license file |
9 |
0X00000200 |
Request operation to restore the license file. If the KEY folder is not present then it will be created |
Example
; to make the save: SYS_LIC = 0x101 ; to do the restore: SYS_LIC = 0x201 ; if the operation ends successfully, the result will be: 0x100 or 0x200 ; in case of an error it will be: 0x104 or 0x204 |