DEP — DEVlink Engineering PlatformUser Guide

Operator HMI

The HMI workspace builds operator screens with gauges, values, LEDs, buttons, sliders, trends and alarm lists, all bound to the System's canonical signals. It has two modes: Edit to design pages, and Operate to watch and command a running System. Open System → HMI Designer to design, or Runs → Operator HMI to operate.

The HMI of the charging example in Edit mode: measured outputs, interlock states and response trends, with 16 bindings.
The HMI of the charging example in Edit mode: measured outputs, interlock states and response trends, with 16 bindings.

Before you start

RequirementWhat you need
EditionDEP Engineer or higher to design HMIs (hmi.author); any edition operates them (hmi.operate). See Licensing and Editions.
SystemA System with canonical signals to bind to (see Signal Mappings). To see live values, a System session that you start in MIL or SIL.
Assets (optional)SVG graphics or an asset manifest for your own images.

The activity selector at the top left offers HMI designer / existing panels (this chapter) and, in projects with a charging plant, EVSE console (see Charging and the EVSE Console). The canvas toolbar:

ControlPurpose
Page tabs (for example Charging overview, Demands & interlocks)Switch pages.
Edit / OperateDesign mode, or live operator mode.
Undo, Redo, Save HMIEdit history and saving. The button shows HMI Saved when there are no unsaved changes.
Fit, zoom, Expand HMI, Full ScreenView size.
Design toolsShows or hides the HMI Library and Properties panels.
Binding statusFor example 0 / 16 fresh bindings · 16 bindings not live · no active session, and Review binding attention (n).

Steps

Add widgets (Edit mode)

Edit mode with Design tools: the HMI Library (widgets, templates, faceplates, assets) on the left and Properties / Signal Binding on the right.
Edit mode with Design tools: the HMI Library (widgets, templates, faceplates, assets) on the left and Properties / Signal Binding on the right.

The HMI Library panel has the tabs Widgets, Templates, Faceplates and Assets. It lists 21 widgets:

CategoryWidgets
Indicators: values and equipment statusState Indicator, Cell Matrix, Bar, Numeric Display, Led, Gauge, Progress Arc, Battery Gauge
Controls: operator commands and setpointsButton, Toggle, Slider, Knob
Data: trends, signals and recorded eventsAlarm List, Event History, Time Plot, Xy Plot, Table
Graphics: labels, images and decorationLabel, Image, Shape
Composition: navigation between pagesPage Navigation

Select + next to a widget, or drag it onto the canvas.

Bind a widget to a signal

  1. Select the widgetClick it on the canvas. Properties / Signal Binding shows its geometry, binding and range.
  2. Choose the signalSelect Select Channel… and pick a source: User Channels (canonical channels of the System) or Runtime / External Gateway.
  3. BindSelect Bind. The widget's badge changes from UNBOUND to BOUND. Use Unbind to remove the binding.
  4. Create a channel if neededCreate canonical user channel with access Read, Command or ReadWrite, then Create & Bind.
  5. Set the rangeSet minimum, maximum and unit so that gauges and bars scale correctly.
A widget selected: binding, range, alarm rules and state rules.
A widget selected: binding, range, alarm rules and state rules.

Add alarm and state rules

In the binding inspector, add rules that react to the bound value:

  • Alarm rule: Condition (gt, lt, eq, ne), Threshold, a message or state label, an optional reset threshold (hysteresis), Alarm delay (ms) and Severity (info, warning, critical). Select Add alarm rule.
  • State rule: a state colour, Disable command while condition holds (or input is not GOOD) and Blink while matching and alarm is unacknowledged. Select Add state rule.

Arrange widgets

Arrange widgets provides align (left, right, top, bottom), centre, distribute, match width/height/size, group and ungroup, copy, paste and duplicate, with a snap grid. Keyboard: Shift+click adds to the selection, Alt bypasses snapping, and the arrow keys nudge by 1 px (10 px with Shift).

Work with pages, templates and faceplates

  • Pages: New page from template, Duplicate page, Delete page, Size preset. Add a Page Navigation widget so operators can switch pages.
  • Templates and Faceplates: reusable groups of widgets. Select widgets and use Capture selection to create one, then Insert faceplate to reuse it. Bind and add template places a template with its bindings.
  • Assets: Import SVG or asset manifest for your own graphics. Export library package shares faceplates with other projects.

Select Save HMI when done.

Operate

Operate mode after a session has stopped: values carry the STALE badge, and the alarm bar and binding status are shown.
Operate mode after a session has stopped: values carry the STALE badge, and the alarm bar and binding status are shown.
  1. Switch to OperateSelect Operate, or open Runs → Operator HMI. The header shows OPERATOR MODE and the runtime state, for example Runtime idle.
  2. Start the SystemThe System owns execution. Select the profile (MIL or SIL) and use Run / Continue in System Engineering or the Execution Center, or the run controls in Operate mode. The note System owns execution · select MIL/SIL and Run in System is a reminder of this. For a HIL bench, see HIL Runtime and NI VeriStand.
  3. Watch and commandBound widgets show live values once the session runs, and the binding status shows n / n fresh bindings. Buttons, toggles, sliders and knobs write to Command channels.
  4. Handle alarmsThe alarm bar shows Alarms: n active · n unacknowledged · Events / commands. Expand it to filter alarms by source, code or message and to acknowledge them.

Projects with a charging plant add the EVSE console activity, which has its own session controls. See Charging and the EVSE Console.

Results

  • The saved HMI is part of the project; Save HMI shows HMI Saved.
  • In Operate mode, the binding status shows how many bindings are live (n / n fresh bindings). Review binding attention (n) lists bindings that are not live and the reason.
  • After a session stops, widgets keep the last values and mark them STALE, as in the screenshot: Stopped-session values do not require rebinding.
  • Alarms and operator commands are listed in the alarm bar under Events / commands.

Limits

  • In Edit mode, widgets show illustrative preview values (Design preview · illustrative values), for example 42.00. Real values appear only in Operate mode.
  • The HMI shows and commands the System session; it does not own execution.
  • Commands write only to channels with Command or ReadWrite access.

Troubleshooting

SymptomUsually meansAction
0 / n fresh bindings · n bindings not live · no active sessionNo System session is running.Start the System in MIL or SIL.
Values carry the STALE badgeThe session has stopped; the last values are kept.Expected. Start a new run for live values.
Stop runtime before changing execution stageThe stage was changed while the runtime was running.Stop the runtime, then change the stage.
DEP asks you to save the latest edits before operatingThe panel changed while it was being saved.Select Save HMI again, then switch to Operate.
A command button is disabledA state rule disables the command while its condition holds, or the input is not GOOD.Check the state rules of the widget and the quality of its input.