Button
A push button with a released, a pressed, an active and a disabled look. Its action writes a tag (set to 1 or 0, toggle, hold to run, write a value), runs a script, or navigates (another screen, a popup, a dock, back, home). Buttons that command equipment take a confirmation or an electronic signature and an interlock that the server enforces; a button whose action is not fully configured is drawn as not configured and sends nothing. Configure it in the inspector or with Full Dialog… (double-click the button).

| Palette | Not in the palette |
JSON type |
ButtonWidget; also read: Button |
| Name in the inspector | Button |
| Size | drawn from width and height; a resize changes them |
Properties
Section titled “Properties”| Shown as | Key | Type | Unit | Default | Allowed values | What it does |
|---|---|---|---|---|---|---|
| — | width |
Number | 140 |
Width of the button. | ||
| — | height |
Number | 48 |
Height of the button. | ||
| — | label |
Text | "PB_101" |
The button’s name in the layers list (P101_START), and its text when no released text is set. | ||
| Released text | upText |
Text | "START" |
The text shown while the button is released. Empty: the label. Translatable with a t: key. | ||
| Released fill | upFill |
Colour | "#0284c7" |
Background colour while released. | ||
| Released border | upStroke |
Colour | "#38bdf8" |
Border colour while released. | ||
| — | strokeWidth |
Number | 2 |
Border thickness in pixels. | ||
| Released text colour | upTextColor |
Colour | "#ffffff" |
Text colour while released. | ||
| — | cornerRadius |
Number | 6 |
Rounding of the corners, in pixels. | ||
| — | fontSize |
Number | 14 |
Text size in pixels. | ||
| — | fontFamily |
Text | "Rajdhani, sans-serif" |
Font of the text. | ||
| — | fontStyle |
Text | "bold" |
Weight and slant of the text. | ||
| 3D bevel | bevel3D |
Yes / no | true |
Draws a highlight and a shadow so the button looks raised. | ||
| Pressed text | downText |
Text | "RUNNING" |
The text shown while the button is pressed. Empty: the released text. | ||
| Pressed fill | downFill |
Colour | "#0369a1" |
Background colour while pressed. | ||
| Pressed border | downStroke |
Colour | "#60a5fa" |
Border colour while pressed. | ||
| Pressed text colour | downTextColor |
Colour | "#e0f2fe" |
Text colour while pressed. | ||
| Disabled fill | disabledFill |
Colour | "#334155" |
Background colour while the button is disabled (interlock active, role missing, action not configured). | ||
| Disabled border | disabledStroke |
Colour | "#475569" |
Border colour while disabled. | ||
| Disabled text colour | disabledTextColor |
Colour | "#94a3b8" |
Text colour while disabled. | ||
| Disabled condition | disabledCondition |
Text | — | The button’s interlock: an expression that disables the button while it is true, for example {Plant/Processing/Pumps/P101/Interlock} == 1. A simple tag comparison is also enforced by the server for every writer (the designer shows Enforced by the server or Screen only). If it reads a Bad value the button is disabled, unless the object’s If the interlock reads a Bad value is Allow. | ||
| — | action |
Object | object, see below | What a press does: the action object below. Stored both in the shape’s action and in props.action. | ||
| Active text | activeText |
Text | — | Text of a navigation button while its target is the screen shown. Empty: the released text. | ||
| Active fill | activeFill |
Colour | — | Background of a navigation button while its target is the screen shown. | ||
| Active border | activeStroke |
Colour | — | Border and indicator bar of a navigation button while its target is the screen shown. | ||
| Active text colour | activeTextColor |
Colour | — | Text colour of a navigation button while its target is the screen shown. | ||
| X | x |
Number | px | — | Horizontal position of the object’s top-left corner on the screen, in screen pixels from the left edge. | |
| Y | y |
Number | px | — | Vertical position of the object’s top-left corner, in screen pixels from the top edge. | |
| Rotation | rotation |
Number | ° | — | Rotation of the object, clockwise, in degrees. | |
| Opacity | opacity |
Number | — | 0 (invisible) to 1 (opaque). An object disabled by an interlock is drawn at 0.45 whatever this says. | ||
| States | states |
Object | — | This object’s own state styles (normal, hover, pressed, on, disabled, bad, locked, unconfigured), edited in the inspector’s States section. Visual only. Empty: the project’s state styles. | ||
| State family | styleFamily |
Text | — | The state family whose project styles apply (button, input, toggle, selector, faceplateButton, default). Empty: the family of the object’s type. |
action object
Section titled “action object”| Key | Type | Default | Allowed values | What it does |
|---|---|---|---|---|
action.type |
Text | "set_1" |
The action type (table in Actions below). The palette places set_1: Set tag to 1. | |
action.tag_path |
Text | "" |
The tag written by a write action. Required for every write action: without it the action is not configured and the object is disabled. | |
action.command |
Text | "" |
The script run by Run script (client scripting API, system.*). | |
action.confirmation |
Text | "none" |
nonerequireesignaturevariable |
none: no question. require: the operator confirms in a dialog. esignature: the signed-in operator signs with their password (electronic signature). variable (Ask for confirmation when this tag is not 0): a confirmation is asked only while the tag in confirmation_var is not 0; it never blocks the command (the interlock that does is the Disabled condition). The server asks the same of every writer of the tag. |
action.confirm_message |
Text | "Are you sure you want to execute this action?" |
The question of the confirmation dialog (Require Confirmation). Translatable with a t: key. | |
action.esignature_reason |
Text | "" |
The signature meaning (Action tab or full dialog: Signature meaning, optional). Shown read-only to the signer and recorded with the signature. Empty: the meaning is what the button sends, for example “write 1 to Plant/Processing/Pumps/P101/Cmd”. It is never pre-filled, and the stock texts older versions saved (“21 CFR Part 11: Operator Manual Override”, “Manual Setpoint Change”) count as empty. The signer enters only their password. | |
action.confirmation_var |
Text | "" |
With Ask for confirmation when this tag is not 0: the tag that decides; a confirmation is asked while it is not 0, missing or not Good. After a yes the command is sent: it does not block. | |
action.target_screen |
Text | "" |
The screen opened by a navigation or popup action (a screen id or a page route). |
The palette places the button with an action of type Set tag to 1 and no tag: until you give it a tag it is drawn as not configured and a press does nothing.
A button has three interlocks, any of which disables it: its Disabled condition, the Security & Touch condition, and the Bind tab’s Disabled interlock target. The Bind tab offers no other button target: the released and pressed texts and colours are set on the button itself.
Ask for confirmation when this tag is not 0 (confirmation variable) only asks: after a yes the command is sent. It is not an interlock.
Bindings and conditions
Section titled “Bindings and conditions”The Bind tab ties a property to a tag or an expression: a tag binding takes the tag’s value, an expression binding computes one (see the expression language), optionally through a map, format or script transform. The targets the Bind tab offers for this object:
| Bind tab target | Key | What the bound value does |
|---|---|---|
| Disabled interlock (tag not 0 / expression true) | disabled |
Buttons only, Disabled interlock: an interlock like the button’s Disabled condition. A tag binding disables the button while the tag is not 0; an expression binding while it is true (the binding’s format is not applied). A Bad or missing value disables it unless If the interlock reads a Bad value is Allow; the tooltip says why. The server enforces it (a tag binding on a plain tag path; an expression when it is a simple tag comparison): while it is active a write of what the button sends is refused from every client. |
| Fill Color | fill |
Sets the fill colour from the value (a colour text such as #22c55e, or a colour mapped by a map transform). |
| Stroke / Border Color | stroke |
Sets the outline colour from the value. |
| Opacity (0.0 - 1.0) | opacity |
Sets the opacity from the value (0 to 1). |
| Visibility (Boolean) | visible |
Shows the object when the value is true or non-zero, hides it otherwise. |
| Rotation (°) | rotation |
Rotates the object by the value, in degrees. |
| Scale / Pulse | scale |
Scales the object by the value (1 = drawn size). |
| Text / Label | text |
Replaces the text drawn with the value, formatted by the binding’s format. On a Text object a number is followed by the object’s unit, as with the Value target (never a word). A Bad value shows a dash. |
| Value (Numeric) | value |
Shows the value as the object’s readout (with the unit and decimals). A Bad value shows a dash. |
The Cond tab adds rules evaluated on every value change: Visibility (show or hide, by condition or role), Color & Fill (colour bands, alarm blinking), Position and Size & Fill (motion and level mapped from a value), Rotation (angle or continuous spin; an empty input range is 0 to 100 and empty angles are -135° to 135°, while 0 is a value), Security & Touch (the interlock: a disable condition, the role required, what happens when the interlock reads a Bad value) and Text & Value (formatted text). A condition that reads a Bad value is never applied as if the value were good: visibility shows the object marked Bad, colours go neutral grey, motion stays where it is, text shows a dash.
Actions
Section titled “Actions”Commands. This object sends commands to equipment. Before it writes:
- Confirmation and e-signature. Set Confirmation to ask the operator to confirm, or to sign with their password and a reason (electronic signature). The signer is always the signed-in user; the dialog never pre-fills a signer, a reason or a password. The server requires the same confirmation from every writer of the tag.
- Limits. Minimum, maximum and step (or the tag’s write range) are enforced by the server for every writer; the screen’s own check only saves a round trip. A limit read from a tag that is missing or not Good refuses every write.
- Interlocks. A Disabled condition (buttons) or the disable condition of the Security & Touch condition dims the object and blocks the press while it is true. When the interlock is a simple tag comparison (
{Plant/Processing/Pumps/P101/Interlock} == 1), the server also refuses the write from every writer (409 interlocked); other interlocks are screen only, and the designer says which. If the interlock reads a Bad value the object is disabled, unless If the interlock reads a Bad value is set to Allow (for stop, trip and emergency commands, so a failed sensor never stops an operator stopping a machine). See screen interlocks. - Unconfigured means disabled. Without its tag the object is drawn as not configured and sends nothing.
- Deliberate taps. On touch, only a still, short tap operates it.
A real safety interlock belongs in the PLC: screen and server interlocks only stop writes that go through eaxScada.
Any object can carry a click or tap action (the Action tab, or Full Dialog…). A write action whose tag, value or target is missing is not configured: the inspector says so and the operator’s press does nothing (unconfigured means disabled). Navigation actions write nothing and ask no confirmation. On touch screens only a deliberate tap runs an action: a swipe or a pinch that ends on the object never does. Action types:
| Action | Key (action.type) |
What it does |
|---|---|---|
| Set tag to 1 | set_1 |
Writes 1 to the action’s tag. |
| Set tag to 0 | set_0 |
Writes 0 to the action’s tag. |
| Toggle tag value | toggle |
Writes the opposite of the tag’s LIVE value: 0 when it is not 0, 1 when it is 0. When the live value is unknown, not Good or not a number, nothing is written and the operator is told why; when it changes while the operator confirms or signs, nothing is written either. |
| Set tag to 1 on press and to 0 on release | momentary_1_0 |
Writes 1 while pressed and 0 on release (hold to run). On touch, the press counts only after the finger is held still; the release is always sent. A held press is also released when the browser window loses focus or the page is hidden, and in the designer when a drag or a resize of the object starts. |
| Set tag to 0 on press and to 1 on release | momentary_0_1 |
Writes 0 while pressed and 1 on release. Released in the same cases as the 1/0 momentary. |
| Write custom value | write_val |
Writes the number in write_value. |
| Run script | run_command |
Runs a client script with the scripting API (system.tag.write, system.nav.openPopup…). Ctrl+Space completes the API. |
| Navigate to page / screen | navigate |
Opens another screen, optionally with parameters or a parameter set. |
| Open popup screen | open_popup |
Opens a screen in a popup window: modal or not, centred, next to the object or at a fixed position, with parameters. |
| Close popup | close_popup |
Closes the popup the object is in, or the popup with the given id. |
| Open dock | open_dock |
Opens a screen docked to an edge of the runtime (top, bottom, left, right). |
| Close dock | close_dock |
Closes the dock on that edge. |
| Open or close dock | toggle_dock |
Opens or closes the dock on that edge. |
| Back | nav_back |
Goes back to the previous screen. |
| Forward | nav_forward |
Goes forward again after Back. |
| Home screen | nav_home |
Opens the project’s home screen. |
| Open downtime panel | open_downtime |
Opens the operator runtime’s Downtime panel (OEE and downtime, Pro and Enterprise), optionally on one machine (its machine id). Navigation only: nothing is written to a tag or a machine. A machine the operator may not read is not shown; where the panel is not available, a notice says so. Offered in the designer only when the licence includes OEE and downtime. |
States, text and parameters
Section titled “States, text and parameters”States. An object’s look follows its state: normal, hover, pressed, on, disabled, bad (quality), locked (role) and unconfigured. The project’s state styles (opened from an object’s States section, or from the Project manager’s Operator runtime section) give each family of objects its colours per state, and the inspector’s States section overrides them for one object (stored in props.states). States are visual only: whether an object can be operated is decided by its interlock, the user’s rights and the server.
This object belongs to the state family button (buttons): normal, hover, pressed, on (the bound feedback is on, or the button is the active navigation button), disabled (an interlock is active), bad (the interlock reads a Bad value), locked (the user lacks the role), unconfigured (its action is not fully set).
Text style and fonts. Choose a project text style (Text style in the inspector of a text, button, input or alarm object) instead of fonts and sizes per object, so a change in one place restyles every screen; font settings on the object still apply on top of the style. Fonts come from the font picker: the built-in fonts and the fonts uploaded to the project. See fonts and text styles.
Languages. A text written as a key, t:pump.start|Start pump, is shown in the operator’s language, with the text after | as the fallback. Project > Translations > Make translatable turns the literal texts of your screens into keys. See translate your project.
Screen parameters. On a screen with parameters, {Name} in any text of the object (tag paths of bindings and actions, expressions, conditions, interlocks, the confirmation tag, texts) is replaced by the parameter’s value when the screen opens, so one screen serves many pieces of equipment ({Pump}/Running). See screen parameters.
Quality. When a value the object reads is Bad, not readable, Uncertain or stale, the object is marked: a red x and a grey veil (or hatching, per the project’s quality style) for Bad or no connection, a blue lock for a tag the signed-in account may not read, an amber ? for Uncertain, a dashed outline for stale. A tag that is not readable is greyed as Bad and its value is never shown as good. The lock shows only when every Bad tag of the object is not readable: a device fault keeps the red x. Each object shows one marker, for its worst state, and markers that would overlap merge into one, drawn on the largest object with the worst state of all. The marker’s tooltip lists every tag, its quality and its age. A Bad value is never drawn as a good one. See show bad and stale values.
Comments. In the studio, right-click the object and choose Add comment to start a design-review thread on it; a numbered pin marks objects with open threads (Starter, Pro and Enterprise). Pins are shown in the designer only, never in the runtime. See review screens before deploy.
Examples
Section titled “Examples”A start button for pump P-101 with a confirmation and an interlock
Section titled “A start button for pump P-101 with a confirmation and an interlock”START writes 1 to Plant/Processing/Pumps/P101/Cmd after the operator confirms. Its interlock disables it while Plant/Processing/Pumps/P101/Interlock is 1; because the interlock is a simple tag comparison, the server also refuses the write from any client while it is active. The STOP button next to it has no interlock and its If the interlock reads a Bad value is Allow, so the pump can always be stopped. P-102’s start button is shown disabled: its interlock tag is 1.
- Place an HMI Action Pushbutton from Widgets; double-click it to open the full dialog.
- Action: Set tag to 1, tag
Plant/Processing/Pumps/P101/Cmd, confirmation Require Confirmation, messageStart pump P-101?. - Appearance: released text
START, pressed textSTARTING; Disabled condition{Plant/Processing/Pumps/P101/Interlock} == 1. The badge says Enforced by the server. - Copy it for STOP: Set tag to 0, text
STOP, no disabled condition; on the Cond tab, Security & Touch, set If the interlock reads a Bad value to Allow. - Copy it again for P-102: tag
Plant/Processing/Pumps/P102/Cmd, disabled condition{Plant/Processing/Pumps/P102/Interlock} == 1.

The button as saved in the screen (JSON)
{ "type": "ButtonWidget", "props": { "upText": "START", "downText": "STARTING", "label": "P101_START", "disabledCondition": "{Plant/Processing/Pumps/P101/Interlock} == 1", "action": { "type": "set_1", "tag_path": "Plant/Processing/Pumps/P101/Cmd", "confirmation": "require", "confirm_message": "Start pump P-101?" } }}Navigation buttons with an active look
Section titled “Navigation buttons with an active look”Three buttons open the area screens. The one whose target is the screen shown takes its active look (fill and indicator bar), so the operator sees where they are. Navigation actions write nothing and ask no confirmation.
- Place three buttons; action Navigate to page / screen, targets
area1_overview,area1_tanks,area1_pumps. - Set Active fill and Active border in the screen JSON or keep the defaults.

The button as saved in the screen (JSON)
{ "type": "ButtonWidget", "props": { "upText": "OVERVIEW", "label": "NAV_OVERVIEW", "upFill": "#1e293b", "upStroke": "#475569", "action": { "type": "navigate", "target_screen": "area1_overview", "confirmation": "none" } }}