Access management
Variables for managing access permissions.
Variable name | Description |
---|---|
xGetAccessControl | Data type – BOOL |
| |
xControlActive | Data type – BOOL |
|
Access via user interface (UserInterface):
An instance requests access by setting xGetAccessControl to "TRUE". If xControlActive returns a "TRUE" value, access has been granted and is now permitted.
Access via other function blocks in the user program:
If another function block in control mode wants to access the device interface at the same time as the user interface (UserInterface), the device interface decides which one receives write permission based on the priority of the function block. The user interface (UserInterface) has the highest priority. This means if the user interface (UserInterface) has control access, then xControlActive returns "FALSE" to all other function blocks.