# Displaying Multiple Addresses Concurrently (Block Display)

You can display multiple values from consecutive addresses on a single Block Trend Graph object.

You can compare the values and state of multiple data points.

## Example Operation

## Setting Workflow

1. Add Array Variables
2. Add Variables
3. Set up Parts
4. Set up Scripts

## Add Array Variables

### Project Explorer : [Variables] ➞ [All User Data Types] ➞ [Array]

Add the below variable(s).

#### Variables property:

[Name] | [Data Type] | [Dimension]
Array1 | [INT] | 10

## Add Variables

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

Add the below variable(s).

#### Variables property:

[Name] | [Data Type] | [Source] | [Device Address]
Var1 | [Array1] | Schneider Modbus Serial Equipment1 | -
Var1[0] | [INT] | 400001
Var1[1] | [INT] | 400002
Var1[2] | [INT] | 400003
Var1[3] | [INT] | 400004
Var1[4] | [INT] | 400005
Var1[5] | [INT] | 400006
Var1[6] | [INT] | 400007
Var1[7] | [INT] | 400008
Var1[8] | [INT] | 400009
Var1[9] | [INT] | 400010

## Set up Parts

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

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

#### Block Trend Graph object (Name: BlockTrend1) properties:

Tab | Sub Tab | Property | Value
[Function] | [Basic] | [Channels] | 1
| [Channel 0] | [Variable] | [Variable] [Name]: Var1
[Display Format] | [Line]
[Mark] |
[Start Element] | 0
[Number of Display Data] | 10
[Display Mode] | [Full]
[Number of Data Points] | 11
[Display Only Channels] |

#### Switch object (Name: Switch1) properties: Clear

Default value

#### Switch object (Name: Switch2) properties: Draw

Default value

#### Switch object (Name: Switch3) properties: Clear and Draw

Default value

## Set up Scripts

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

Set the following script on the object.

From the [Tool Chest] drag and drop the script to the Script editor.

#### Switch object (Name: Switch1) script: Clear

#### Switch object (Name: Switch2) script: Draw

#### Switch object (Name: Switch3) script: Clear and Draw

Legend | Block
1 | [Triggers] ➞ [Touch] ➞ [Touch]
2 | [Values] ➞ [Screen Object]
3 | [Operations] ➞ [Screen/GraphicObject] ➞ [Block Trend]