# Build your first isometric plant map

> In about 15 minutes, draw a plant map on a tile grid - a tank, a pump and a valve joined by pipes - bind their states and level to tags, give the pump a command with a confirmation, deploy it and use it in the runtime and on a phone.

Product: eaxScada · Type: Tutorial · Editions: Starter, Pro, Enterprise
Source: https://eaxware.com/docs/eaxscada/tutorials/build-your-first-isometric-plant-map/
Verified against commit d283039.

An isometric screen shows the plant as a map seen from above at an angle. In this tutorial you draw one line of it: tank T-101 filled by pump P-101 and drained through valve XV-101. At the end the map runs in the operator runtime, the tank shows its level, and the pump starts and stops after a confirmation, on a desktop and on a phone.
[Image: The finished map in the operator runtime: pump P-101, tank T-101 labelled 84 % and valve XV-101 on a dark tile ground, with the turn and zoom buttons.]
[Image: The finished map in the operator runtime: pump P-101, tank T-101 labelled 84 % and valve XV-101 on a dark tile ground, with the turn and zoom buttons.]

What you will build: an isometric map with live values, in the runtime.
## Before you start

- eaxScada is installed and you can open the Studio as an engineer (Lead_Engineer or Administrator). Isometric screens are in every edition.
- The four tags and the fill script of [Build your first 2D screen, step 1](/docs/eaxscada/tutorials/build-your-first-2d-screen/#1-create-the-tags) exist. If you skipped that tutorial, create them now (**Drivers → Local tags (eaxTags) → + Tag**, then **+ Script**): `Line1/Tank1/Level`, `Line1/Tank1/HighSetpoint` (writable), `Line1/Pump1/Running` (writable) and `Line1/Valve1/Open` (writable).
- About 15 minutes.

An isometric screen is a screen like the others: it is edited in the same **Screens** designer, saved, checked and deployed the same way, and its commands go through the same confirmation and server checks. [Choose an editor: 2D, 3D or isometric](/docs/eaxscada/explanation/choose-an-editor/) compares the three editors.

## 1. Create the map

1. Open **Screens**, then in the **Displays** panel click **New** and **Isometric Display**.
2. Enter **Display name** `Line 1 plant map` and **Display id** `line1_map`.
3. Set **Map width (tiles)** to `12` and **Map depth (tiles)** to `10`.
4. Keep **Palette** on **High performance (greys, colour for abnormal states)**: equipment stays grey and only an abnormal state takes a colour, which is what operator screens need.
5. Click **Create**.
[Image: The New isometric display dialog: name Line 1 plant map, id line1_map, map 12 by 10 tiles, High performance palette.]
[Image: The New isometric display dialog: name Line 1 plant map, id line1_map, map 12 by 10 tiles, High performance palette.]

The map's size can be changed later, with nothing selected.
The empty map opens, and the left **Palette** tab now lists **blocks**: connectors first, then vessels, rotating equipment, valves and more.

## 2. Place the equipment

1. Type `vertical tank` in **Search blocks**, click **Vertical tank**, then click a tile near the middle of the map. The ghost is green where the block fits and rose where it would overlap another one.
2. Place **Centrifugal pump with motor** three tiles to the left of the tank, on the same row.
3. Place **Actuated valve (on/off)** two tiles to the right of the tank.

Each block gets an id of its kind: **T-101**, **P-101** and **XV-101**. **R** turns the selected block, the arrow keys move it one tile, and **Ctrl+Z** undoes a step. The zoom buttons of the map's toolbar (or the mouse wheel) zoom in.
[Image: The map in the designer with pump P-101, tank T-101 and valve XV-101 on one row, joined by short pipes.]
[Image: The map in the designer with pump P-101, tank T-101 and valve XV-101 on one row, joined by short pipes.]

Three blocks and two pipes.
## 3. Join them with pipes

1. In the palette's **Connectors**, click **Pipe** (or press **C**).
2. Drag over the tiles between the pump and the tank. The pipe follows the tiles, and an end that reaches a block's port connects to it.
3. Drag again between the tank and the valve.
4. Press **Escape** to leave the tool.
[Image: The Pipe connector armed in the palette, with the pipes drawn between the pump, the tank and the valve.]
[Image: The Pipe connector armed in the palette, with the pipes drawn between the pump, the tank and the valve.]

Select a pipe to see its open ends and give it a service (water, steam, air...).
## 4. Bind the blocks to the tags

Select the tank (click it, or press **Tab** until it is selected) and open its **Bind** tab:

1. Under **Level**, set **Level tag** to `Line1/Tank1/Level`, **Empty at** `0` and **Full at** `100`. The ... button next to a tag field browses the tags.
2. Under **Label value**, set **Value tag** to `Line1/Tank1/Level` and **Format** to `%.0f %`. The label on the map then reads "T-101 84 %".
3. Under **Alarms**, type `Line1/Tank1/*` in **Alarm sources**: any alarm on a tag of that folder rings the tank and shows its badge.
[Image: The Bind tab of T-101: the State card empty, the Level card with Line1/Tank1/Level, empty at 0 and full at 100.]
[Image: The Bind tab of T-101: the State card empty, the Level card with Line1/Tank1/Level, empty at 0 and full at 100.]

A Bad value is drawn grey and dashed with a red marker, never in its last good colour.
Then select the pump and, in its **Bind** tab, set **State tag** to `Line1/Pump1/Running`. The rows below already map `0` to Stopped and `1` to Running. Do the same on the valve with `Line1/Valve1/Open`: for a valve the rows read Closed and Open.

## 5. Give the pump a command

Commands on blocks are set exactly like on a 2D object:

1. Select the pump and open its **Action** tab.
2. **Action Type**: **Toggle tag value**; **Target Tag Path**: `Line1/Pump1/Running`.
3. **Require Confirmation**, with the question `Start or stop pump P-101?`
4. Click **Apply Action Configuration**.
[Image: The Action tab of pump P-101: Toggle tag value on Line1/Pump1/Running with Require Confirmation and the question "Start or stop pump P-101?".]
[Image: The Action tab of pump P-101: Toggle tag value on Line1/Pump1/Running with Require Confirmation and the question "Start or stop pump P-101?".]

A block without a fully configured command cannot be clicked in the runtime.
Give the valve the same command on `Line1/Valve1/Open` with the question `Open or close valve XV-101?`, then save (**Ctrl+S**).

In the designer, a tap on a block only selects it; it never sends the command. **Preview** in the inspector shows a state or a level on the map without sending anything.

## 6. Deploy and use it

1. Click **Deploy**, type your password and click **Sign and deploy** (as in [the 2D tutorial](/docs/eaxscada/tutorials/build-your-first-2d-screen/#8-deploy-and-run-it)).
2. Open `http://<server>:8080/runtime/line1_map`. The map fits the window; drag to pan and use the wheel to zoom. The turn buttons (or **Q** and **E**) turn the view by a quarter.
3. Click the pump, answer **Execute Action**: the pump shows Running and the tank label climbs.

Operators can also reach the map without a mouse: the map is one **Tab** stop, the arrow keys go from block to block and **Enter** runs the selected block's command, with the same confirmation.

## 7. Open it on a phone

Open the same address on a phone. The map opens as **Cards**: one card per block that shows a value or has a command, with a button that says what it does. The **Screen** tab shows the map itself, with pinch and zoom; a pan or a pinch never sends a command.
[Image: The map on a phone: the Cards tab with P-101 Stopped and its "Start or stop pump P-101" button, T-101 with its level, XV-101 Closed; and the Screen tab with the map and only the T-101 label.]
[Image: The map on a phone: the Cards tab with P-101 Stopped and its "Start or stop pump P-101" button, T-101 with its level, XV-101 Closed; and the Screen tab with the map and only the T-101 label.]

Cards and the map on a 390 px phone. On a narrow map, plain labels stay on their block or hide; alarm badges and quality markers are always shown.
## What you built

A plant map with live state, level and alarm bindings and two confirmed commands, deployed and usable with a mouse, the keyboard and a phone.

To go further:

- Every block, connector, level and key: [Build an isometric screen](/docs/eaxscada/how-to/isometric-screens/).
- Open a faceplate from a block: [Popups, docks and navigation](/docs/eaxscada/how-to/popups-docks-and-navigation/).
- The checks the map gets before deploy: [Check screens before deploy](/docs/eaxscada/how-to/check-screens-before-deploy/#isometric-screens).
- The same line as a 2D screen: [Build your first 2D screen](/docs/eaxscada/tutorials/build-your-first-2d-screen/), or in 3D: [Build your first 3D scene](/docs/eaxscada/tutorials/build-your-first-3d-scene/).
