Using Interlock to Prevent Operation Errors

The touch action will only be executed if the BOOL variable 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

[DINT]

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.

Numeric Display object (Name: NumericDisplay1) properties:

Tab Sub Tab Property Value
[Function] [Basic] [Current Value] [Variable] [Name]: Var1
[Enable Input Mode]
[Detail] [Interlock] [Variable] [Name]: Interlock

Toggle Switch object (Name: ToggleSwitch1) properties:

Tab Sub Tab Property Value
[Function] [Basic] [Current Value] [Variable] [Name]: Interlock