Turning a Lamp ON/OFF with an ON/OFF Bit

On the display unit show the ON/OFF state of the specified BOOL variable.

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]

Var1

[BOOL]

Set up Parts

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

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

Lamp object (Name: Lamp1) properties:

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