Build your first 2D screen
In this tutorial you build a small operator screen for one tank: its level, the pump that fills it, the outlet valve that drains it, the pipes between them, and the setpoint at which the pump stops. At the end the screen runs in the operator runtime with live values, and the pump and valve answer a command after a confirmation.

You need no PLC: four local tags and a short script stand in for the plant. Later you replace them with your driver tags or eaxPLC variables, and the screen does not change.
Before you start
Section titled “Before you start”- eaxScada is installed and you can open the Studio (
http://<server>:8080/on a default installation) as an engineer (Lead_Engineer or Administrator). The first account of a new installation isadmin. - Any edition works: Starter, Pro and Enterprise (the badges at the top of the page), and eaxScada Free, the edition without a licence, which has the same 2D designer for evaluation and non-production use. Free runs the runtime in 60-minute sessions, which is enough for this tutorial.
- About 15 minutes.
The other two editors start from the same tags: Build your first isometric plant map and Build your first 3D scene. Which one to use when is explained in Choose an editor: 2D, 3D or isometric.
1. Create the tags
Section titled “1. Create the tags”A fresh installation has only its system tags (System/... and the plant emergency-stop signal). Create four local tags (eaxTags), which live in eaxScada itself:
-
In the activity bar on the left, open Drivers, then click Local tags (eaxTags) in the project explorer.
-
Click + Tag. The New local tag dialog opens.
-
Fill in the first tag, click Save, and repeat for the others:
Path (UNS) Unit Range min / max Initial value No value until written Writable by operators Simulated Line1/Tank1/Level% 0 / 100 0 on off on Line1/Tank1/HighSetpoint% 0 / 100 80 off on off Line1/Pump1/Running0 / 1 0 off on off Line1/Valve1/Open0 / 1 0 off on off A new tag starts with No value until written ticked and Simulated off. Ticking Writable by operators clears No value until written by itself, so the three writable tags start at their initial value. Tick Simulated for the level only.

Writable by operators lets a screen write the tag; a tag without it refuses every write. Simulated marks a value as “SIM” everywhere, so nobody takes it for a plant value. No value until written keeps the level Bad, “waiting for initial data”, until the script below writes it, instead of showing a made-up 0. Every option is described in eaxTags local tags.
Now make the level move. Click + Script, enter the id tank1_fill, the name Tank 1 fill and drain, 500 ms, and replace the source with:
// Tank 1: the pump fills it, the outlet valve drains it.var level = 40;
function tick() { var running = tags.get("Line1/Pump1/Running") == 1; var open = tags.get("Line1/Valve1/Open") == 1; var inflow = running ? 4 : 0; // % per second var outflow = open ? 3 : 0; level = sim.clamp(level + (inflow - outflow) * dt, 0, 100); tags.set("Line1/Tank1/Level", level); // the pump stops when the tank reaches its high setpoint if (running && level >= tags.get("Line1/Tank1/HighSetpoint")) { tags.set("Line1/Pump1/Running", 0); }}Click Save. The server checks the script with one dry run and starts it: the list shows it with a green dot and the status says running. Every function a script can call is in eaxTags script reference.

2. Create the screen
Section titled “2. Create the screen”- Open Screens (the first icon of the activity bar). The designer opens with the Displays panel on the left.
- Click New, then New Display.
- Enter Display Title / Name
Tank 1 overview. The Display Identifier fills in by itself; set it totank1_overview, which is the address operators will use. - Choose Resolution Preset
1280 × 720and leave the other fields as they are. - Click Create.

The empty screen opens on the canvas, and the Displays tree lists it.
3. Place the tank, the pump and the valve
Section titled “3. Place the tank, the pump and the valve”- Open the Palette tab and type
tankin the search box (/ puts the cursor there). - Click Storage tank, then click on the canvas where the tank goes.
- Do the same with Pump (mimic) (search
pump) and Valve (mimic) (searchvalve).

Select each object and, in the inspector on the right (Properties tab), give it a Component Label: TK-1, P-1 and XV-1. You can also type its X, Y, Width and Height. Drag an object to move it; its handles resize it.
Press Ctrl+S (or the save button at the right of the toolbar) whenever you want: saving stores the screen in the Studio. Operators do not see it yet.

Join them with pipes
Section titled “Join them with pipes”Draw the pipes from the objects themselves, so they stay attached when you move things later.
-
Select the pump. A blue + appears on each of its sides.
-
Drag the + on its right side onto the tank. The tank shows its ports as white dots; release when the left one turns green.

-
Select the tank and drag the + on its right side onto the valve’s left side.
The pipes bend at right angles and go around the objects in their way. Drag the tank somewhere else: both pipes follow it. If a pipe ends on the empty canvas instead of on an object, drag that end (a white circle when the pipe is selected) onto the object.

The Pipe tool (P, in the toolbar and in the palette’s Basic group) draws the same connector: click the pump, then the tank. Routes, arrows, bends and older pipes are covered in Connect objects with pipes and lines.
4. Bind them to the tags
Section titled “4. Bind them to the tags”A binding ties one property of an object to a tag.
- Select the tank and open the inspector’s Bind tab.
- Target Widget Property / Attribute: Fluid Level Fill (0 - 100%).
- Binding Mode: Direct ISA-95 Tag Path.
- ISA-95 Tag Path:
Line1/Tank1/Level(or click Pick Tag and choose it in the tag tree). - Click Apply Expression Binding. The binding is listed under Active Bindings.

Bind the two others the same way:
| Object | Target property | Tag |
|---|---|---|
| P-1 | Running Boolean (True/False) | Line1/Pump1/Running |
| XV-1 | Valve State (0=Closed, 1=Open, 2=Fault) | Line1/Valve1/Open |
You can also drag a tag from the ISA-95 Tag Tree under the palette onto an object.
5. Give the pump and the valve a command
Section titled “5. Give the pump and the valve a command”A command writes a tag when the operator presses the object. It always goes through the server’s checks, and a confirmation makes the operator say yes first.
- Select the pump and open the Action tab.
- Action Type: Toggle tag value. Each press writes the opposite of the live value: start when stopped, stop when running.
- Target Tag Path:
Line1/Pump1/Running. - Under Confirmation, choose Require Confirmation and write the Confirmation question:
Start or stop pump P-1? - Click Apply Action Configuration.

Do the same on the valve with Line1/Valve1/Open and the question Open or close outlet valve XV-1?.
6. Make a Bad value obvious with a state style
Section titled “6. Make a Bad value obvious with a state style”A state style changes how an object looks in one state. Here, the pump gets a hatched pattern and a red border whenever its tag has Bad quality (a lost connection, for example), so nobody reads a stale “stopped” as true.
- Select the pump, open the Properties tab and scroll to States.
- Click the Bad quality chip. The canvas now shows the pump in that state.
- Set Border to
#e11d48, Border width to3and Pattern to hatched. - Click Normal to go back to the normal look.

A state style is visual only: whether an object can be operated is decided by its conditions, the user’s rights and the server. To give every object of a kind the same look, use Project state styles… (see Style object states).
7. Add the setpoint input
Section titled “7. Add the setpoint input”-
In the palette, search
numericand place a Numeric entry to the right of the tank. -
In its Properties tab, set:
Field Value Tag written Line1/Tank1/HighSetpointCaption High setpointMinimum / Maximum / Step 10/95/1Decimals / Unit 0/%Confirmation Confirm (dialog) Confirmation message Change the high setpoint of TK-1?

Save the screen (Ctrl+S). The limits and the confirmation are enforced by the server from that save on, for every writer of the tag (see Add setpoint inputs).
8. Deploy and run it
Section titled “8. Deploy and run it”First look at the live values in the designer: click Animate in the toolbar. The tank fills to the level of the tag (40 % when the script starts). Click Animate again to stop.

Operators only see what you deploy: a new project has Live editing off, so saving never changes their screens.
- Click Deploy in the header (it carries the number of changes not yet deployed).
- The Deploy Project dialog shows what is published. A new project requires your electronic signature: you are the signer, and you type your own password.
- Click Sign and deploy. The dialog says Project deployed and offers Open the operator runtime.

Open the screen in the runtime at http://<server>:8080/runtime/tank1_overview (or Runtime → Live preview in the Studio, which shows the same runtime inside the Studio).
-
Click the pump. The confirmation asks Start or stop pump P-1?. Click Execute Action.

-
The pump turns green and the tank fills. At 80 % the script stops the pump.
-
Click the high setpoint, type
60and press Enter, then confirm. Type99: the entry refuses it before anything is sent (“Above the maximum 95”). -
Open the valve: the tank drains.
What you built
Section titled “What you built”A screen that reads four tags, writes three of them through confirmations the server enforces, and shows a Bad value distinctly, deployed with a signature and running in the operator runtime. On a phone, operators get the same screen as cards: see Use the operator runtime on a phone.
To go further:
- Connect real tags instead of the script: Connect to an S7 PLC, Connect to a Logix controller.
- Edit faster, or on a phone or a tablet: Edit screens.
- One faceplate for many pumps: Reusable screens with parameters, opened as a popup: Popups, docks and navigation.
- Check before deploying: Check screens before deploy.
- The same tank on a plant map: Build your first isometric plant map, or in 3D: Build your first 3D scene.