Skip to content

Equipment

One card for one piece of equipment: a library symbol that follows the state (a level fills it, a running signal turns the rotor), the main reading with its limits drawn on a bar, a few secondary signals and a short trend. Click the card to open its faceplate: every signal with its limits and a larger trend, the active alarms and, when the equipment has a command signal, Start and Stop. Like the Synoptic, it gets its data only from the tag table (a msg.payload on its input is ignored) and lives in the tessera-hmi node set.

Equipment is generic: a template (kind) only fills in a symbol and a table of signals, and you can edit both. The templates are industry-neutral (a tank, a pump, a compressor, a heat exchanger, a conveyor…), with two aquaculture extras kept apart (a culture tank and a feeder). In the template lists of the builder and the Node-RED dialog the general ones come first, then the Aquaculture group. Add a card in the builder (the HMI category) or the Node-RED dialog, pick a template and give it a tag prefix, or a tag per signal.

The generic tank has Level (the main reading), Temp and Pressure. A level over 95 % (hihi) is a priority 2 alarm, over 90 % (hi) priority 3; what is abnormal keeps the alarm colors in both themes.

The pump has a Run signal with the command role, so its faceplate offers Start and Stop (each asks for confirmation; the demo sends nothing). Every rotating machine (pump, motor, compressor, conveyor, agitator, blower) has it.

A Fault signal that is true is a priority 1 alarm.

The culture-tank template is the fish culture tank, with dissolved oxygen as the main reading. Oxygen at 5.8 mg/L is under its lolo limit (6 mg/L): priority 2. Between 6 and 6.5 (lo) it would be priority 3.

signals replaces the template’s table, symbol picks the drawing and every signal names its own tag, so nothing has to follow a naming scheme:

theme: 'isa101' is grey when everything is normal and uses color only for what needs attention, like the synoptic’s isa101 canvas. The default, classic (labelled Tessera in the builder and the dialog, the Tessera look of the synoptic), also colors the state and one ink per quantity, using only Tessera’s tokens, so it follows the dashboard’s theme and accent.

Property Type Default Description
label string Title of the card (empty: the last part of the prefix, else the template’s name)
kind string tank The template: tank, pump, motor, valve, compressor, heat-exchanger, conveyor, agitator, silo, blower or custom, and the aquaculture extras culture-tank and feeder. An unknown one is the generic tank
symbol string the template’s A symbol of the synoptic library’s equipment category: tank, silo, pump, motor, fan, valve, valve-onoff, valve-manual, compressor, heat-exchanger, conveyor, cylinder. Empty follows the template
prefix string Tag prefix, e.g. RAS1/T101: fills the tag of every signal that has none (see below)
tags object {} One tag per signal: { "Temp": "PLC1/temp_t101" }. Unknown signal names are ignored
signals array none The node’s own signal table (up to 16), replacing the template’s. See below. Edited in the Node-RED dialog
limits object {} Per-signal overrides of a template’s limits: { "Level": { "lo": 25, "hi": null, "band": [40, 80] } }. A number sets, null switches a limit off, min and max need numbers. Ignored when the node has its own signals
theme string classic classic (the Tessera look) or isa101. Nodes saved before the option are classic
topic string Sent as msg.topic by the commands (default: the command signal’s tag)

There is no single tag property. Size: 3×2 by default. msg.ui changes any property.

Each signal follows one tag, found in this order:

  1. its explicit tag in tags (tags.Temp = "PLC1/temp_t101");
  2. else <prefix>/<Signal> (prefix RAS1/T101 and signal Temp give RAS1/T101/Temp);
  3. else it is not bound: the card shows — for it, and a node with neither prefix nor tags turns its status red (no tags).

So a node saved with only a prefix works as it always did, and you can mix: give the prefix and override the one signal whose tag does not fit. A tag with bad quality shows — and never raises an alarm, a stale one keeps its last value, dimmed, and is still judged against the limits; each signal is judged on its own.

A signal is a number (with a unit, scale and limits) or an on/off value. Main is the big reading; the card also shows the signals in Row. General templates first:

kind Symbol Signals (key: what, unit) Main Row Commands
tank tank Level (%), Temp (°C), Pressure (bar) Level Temp, Pressure none
pump pump Run, Fault, Speed (%), Current (A) Speed Current, Fault Run
motor motor Run, Fault, Speed (%), Current (A) Speed Current, Fault Run
valve valve-onoff Open, Fault, Position (%) Position Open, Fault none
compressor compressor Run, Fault, Pressure (bar, discharge), Temp (°C), Current (A) Pressure Temp, Current, Fault Run
heat-exchanger heat-exchanger TempIn (°C), TempOut (°C), Flow (m³/h) TempOut TempIn, Flow none
conveyor conveyor Run, Fault, Speed (m/s) Speed Fault Run
agitator motor (the library has no mixer) Run, Fault, Speed (rpm), Current (A) Speed Current, Fault Run
silo silo Level (%), Weight (t), LowLevel Level Weight, LowLevel none
blower fan Run, Fault, Speed (%), Pressure (mbar), Current (A) Pressure Speed, Current, Fault Run
custom tank Value Value none none

Aquaculture extras, kept as separate templates:

kind Symbol Signals (key: what, unit) Main Row Commands
culture-tank tank O2 dissolved oxygen (mg/L), Temp (°C), Level (%), Feed feeder on/off O2 Temp, Level, Feed none
feeder conveyor Run, Fault, Rate (kg/h), Total (kg) Rate Total, Fault Run

Run, Open, Feed and LowLevel are on/off; Fault and LowLevel are faults (a true value is a priority 1 alarm). The templates carry sensible scales and limits (for example the tank’s Pressure has hi 7 and hihi 8.5 bar, and the culture tank’s O2 has lolo 6, lo 6.5 and a normal band of 7.5–10 mg/L). The limits property overrides them signal by signal. The table is one source (ui/src/lib/equipment-kinds.js) for the runtime, the dialog and the card.

tank is the generic tank; the fish tank with oxygen is culture-tank. A node with its own signals does not use the template’s table at all.

signals is a list of up to 16 objects. Invalid ones are dropped one by one and logged on the node.

Field Description
key The signal’s name: the last part of <prefix>/<key> and the key in tags
label, unit Shown next to the value
type number (default) or bool
min, max, dec Scale of the bar (default 0–100) and decimals
lolo, lo, hi, hihi Limits: lo and hi are priority 3, lolo and hihi priority 2
band [from, to], the normal range drawn behind the bar
texts [off, on] text of an on/off signal
fault On/off only: a true value is a priority 1 alarm
role main (the big reading; default: the first number) or command (on/off only: Start and Stop act on it)

Only equipment with a signal whose role is command (Run in a pump, motor, compressor, conveyor, agitator, blower or feeder) has them. The faceplate shows Start and Stop; each asks for confirmation. The browser sends only the action: the runtime takes the tag from its own config. Confirmation is convenience, not security (Tessera has no users yet). Nothing is written to a device: wire the output to the driver node you trust. A tank, a heat exchanger, a silo and a valve have no command, and a command the runtime does not accept (no command signal, an action other than start or stop) emits nothing and logs a warning on the node.

msg.payload = 42; // ignored: values come from the tags
msg.ui = { label: 'T101 north', theme: 'isa101' }; // change a property

The values come from a tessera-tags node named RAS1: { "T101/Level": 74, "T101/Temp": 38.5 } on its input sets RAS1/T101/Level and RAS1/T101/Temp. The example examples/equipment-demo.json has a simulated plant (tanks, a pump, a valve, a compressor, a heat exchanger, a conveyor, an agitator and a silo, with Start and Stop) and one aquaculture culture tank with its feeder.

Pressing Start or Stop and confirming emits one message, with the browser that sent it in _client:

{
payload: { item: 'RAS1/P101', action: 'start', value: true }, // stop: action 'stop', value false
topic: 'RAS1/P101/Run', // the node's topic, else the command signal's tag
_client: { id: 'c8f2…' }
}

item is the prefix (the command tag when the node has none). The trends are kept in the browser for the last five minutes and are lost on reload (no history on the server).