Using Interlock to Prevent Issues

The touch action will only be enabled if the Bit Address specified in the Interlock Address meets the Touch Enable Condition.

Example Operation

Setting Workflow

  1. Add Variables
  2. Set up Parts

Add Variables

Project Explorer : [Variables] ➞ [All Variables]

Add the below variable(s).

Variables property:

[Name] [Data Type] [Source] [Initial Value]

Var1

[BOOL]

Any

Any

Interlock

[BOOL]

[Internal]

Set up Parts

Project Explorer : [Screen Design] ➞ [Screens] ➞ [Screen1]

Drag and drop the following objects from the [Tool Chest] to the screen.

Switch object (Name: Switch1) properties:

Tab Sub Tab Property Value
[Function] [Touch] [Operation] [Type] [Bit]
[Operation] [Toggle]
[Destination] [Variable] [Name]: Var1
[Detail] [Interlock] [Variable] [Name]: Interlock