SVKEY
Read the contents of the protection key on multi-station systems.
WebVue support - No. Returns an unsuccessful code if used in this context.
Mode | Mnemonic | Syntax |
1 | READ | 1 |
2 | ORDER | 2 |
3 | CANCEL | 2 |
Syntax 1
Intval = SVKEY(Mode[, LogVar[, ResultVar]]);
Return type: INTEGER.
Argument | Meaning |
LogVar | The name of a variables tree bit variable. Type STR. |
ResultVar | The name of a variables tree register variable. Type STR. |
Execution
Mode | Mnemonic | Action |
1 | READ |
Request a re-read of the license from the protection key on the local station. Value of the LogVar bit variable: Value of ResultVar register variable: Return: 0 if unsuccessful (incorrect parameter or executed in WebVue context). |
Syntax 2
Intval = SVKEY(Mode, RightsType, Slot, Station[, LogVar[, ResultVar]]);
Return type: INTEGER.
Argument | Meaning |
RightsType |
Always 1 Type INTEGER. |
Slot |
1 = The first slot. Type INTEGER. |
Station | The station number on which the key is connected. Type INTEGER. |
LogVar | The name of a variables tree bit variable. Type STR. |
ResultVar | The name of a register variable. Type STR. |
Execution
Mode | Mnemonic | Action |
2 | ORDER |
Request (order) a license from a protection key on another station. Value of the LogVar bit variable: Value of ResultVar register variable: |
3 | CANCEL |
Release a license previously read from a protection key on another station. Value of the LogVar bit variable: Value of ResultVar register variable: |
Return: 0 if unsuccessful (incorrect parameter or executed in WebVue context). |