# Display and Color-coding of Multiple Ranges (Using Variable Input Ranges)

By setting colors for when values are out of input range, or when values are in an alarm range, values change colors when they reach the set range. You can change the Fill/Border/Text color.

## Example Operation

## Setting Workflow

1. Add Variables
2. Set up Parts

## Add Variables

### Project Explorer : [Variables] ➞ [All Variables]

Add the following variable.

#### Variable property:

Tab | Property | Value
[Basic] | [Name] | Var1
[Data Type] | DINT
[Input Range] | Enabled
[Min] | 0
[Max] | 100

## 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] | [Alarm Colors] | [Use Input Range]
[Overwrite Input Range] |
[Min Input] | 20
[Max Input] | 60
[Shape] | [Text] | [Out of Input Range] | [Font Color] | [Value] | [ID] | ID: 17
[Basic] | [Out of Input Range] | [Fill] | [Value] | [ID] | ID: 4