Prevent Entering Data Outside the Allowed Range

Disables touch input of values outside the defined range.

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

DINT

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] [Overwrite Input Range]
[Min Input] 0
[Max Input] 100

Note: If [Overwrite Input Range] is not selected, then [Min Input]/[Max Input] depends on the variable range.