Changing Messages on Change in Word Address Value

In response to a change in a word address value, the displayed message changes.

Example Operation

Setting Workflow

  1. Add Variables
  2. Add Language Table
  3. Set up Parts

Add Variables

Project Explorer : [Variables] ➞ [All Variables]

Add the below variable(s).

Variables property:

[Name] [Data Type] [Source] [Device Address]

Var1

[INT]

[Schneider Modbus Serial Equipment] 400001

Add Language Tables

Project Explorer : [Language Table] ➞ [All Languages]

Add the below language table(s) and text(s).

Set the text in language table(s):

No 1 Table1 (English_Gothic)
1

Stop

2 Ready
3 Running
4 Error

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: A-1

Tab Sub Tab Property Value

[Function]

[Basic]

[Current Value]

[Variable] [Name]: Var1

Text Box object (Name: TextBox1) properties: B-1

Tab Sub Tab Property Value

[Shape]

[Text]

[Text]

[LanguageTable Id] [Name]: Var1