Touch operation can be restricted by setting a security level for parts.
Touch operation for the parts will be enabled only when you log in with a level higher than the security level set for the parts.
Add the below variable(s).
| [Name] | [Data Type] |
Var1 |
[BOOL] |
Var2 |
[BOOL] |
Var3 |
[BOOL] |
Add the below user group(s).
Tab |
Property | Value |
[Basic] |
[Security Level] | 1 |
Tab |
Property | Value |
[Basic] |
[Security Level] | 5 |
Add the below user.
| [Name] | [Password] |
| Level1 | 1111 |
Add the below user.
| [Name] | [Password] |
| Level5 | 5555 |
Drag and drop the following objects from the [Tool Chest] to the screen.
| Tab | Sub Tab | Property | Value | |
[Function] |
[Basic] |
[Current Value] |
[Variable]
[Name]: Var1 |
|
| [Touch] | [Operation] |
[Type] | [Bit] | |
| [Operation] | [Toggle] | |||
| [Destination] | [Variable]
[Name]: Var1 |
|||
| Tab | Sub Tab | Property | Value | |
[Function] |
[Basic] |
[Current Value] |
[Variable]
[Name]: Var2 |
|
| [Touch] | [Operation] |
[Type] | [Bit] | |
| [Operation] | [Toggle] | |||
| [Destination] | [Variable]
[Name]: Var2 |
|||
[Detail] |
[Security] |
1 | ||
| Tab | Sub Tab | Property | Value | |
[Function] |
[Basic] |
[Current Value] |
[Variable]
[Name]: Var3 |
|
| [Touch] | [Operation] |
[Type] | [Bit] | |
| [Operation] | [Toggle] | |||
| [Destination] | [Variable]
[Name]: Var3 |
|||
[Detail] |
[Security] |
5 | ||
Default value
Set the following script on the object.
From the [Tool Chest] drag and drop the script to the Script editor.

| Legend | Block |
1 |
[Triggers] ➞ [Touch] ➞ [Touch] |
| 2 | [Operations] ➞ [HMI Functions] ➞ [Security] |
3 |
[Values] ➞ [Screen Object] |