Topology
In the menu the topology sits under the heading Schemas. It describes the plant rather than its measurements: it says WHERE a measurement belongs. It is drawn up deliberately and touched rarely afterwards — unlike the screens above it, which are opened daily.
What is selected out of it is the connector's business. A connector sees the whole topology, picks a branch out of it and assigns the measuring points below that branch itself; see Connectors. The tree can be read without that assignment; the assignment cannot be read without the tree.
In the topology everything is a node — of one of three types: Structure nodes order the plant, Context nodes are rolled-out contexts, End Point nodes take exactly one device. What a type can do and what may hang beneath it is under What a node is.
Moving around the plant
The topology is walked node by node rather than read as an unfolded tree. The screen always shows exactly one node in full — at the very top too: the topology itself looks like a node, with a header, actions, figures and the tab Beneath listing the topmost nodes.
- The trail says where you are — Topology › Works North › Hall 2 › Machine 4. Every link is a jump there. In narrow windows the trail folds at the front and shows only the last two links; the mark in front unfolds it again. At the front because paths share their beginning and differ at their end — which is exactly the difference between the two "Strom".
- The header names the node's name, type, identifier and actions; below it stand the notices, the facts and the tabs. The facts show only what the node's type has: path and level always, the context on nodes out of a context, expected device type and device only on an End Point node. There is no page of its own per node.
- An End Point node has the tabs Readings, Attributes and History; Structure and Context nodes have Beneath. A click on a row there descends, and the tree on the left follows. A node in another list (End Points, context, connector) opens on the same view with a click on its path.
- Beside each entry stand the figures beneath it: how many nodes, context nodes, End Point nodes and devices hang in the whole branch below. They answer "which of these ten machines do I need to open" without opening any of them.
- The node is in the address. It can be bookmarked and sent, and the browser's back button goes back one node instead of out of the topology.
The tree beside it
To the left of the level stands the plant as a tree, the way a file manager shows one. It is the shortcut across the plant: getting from a measuring point in hall three to one in hall one would otherwise mean four levels up and four back down.
- Clicking a branch sets level, trail and marking at once. There is exactly one node you are standing on; the tree highlights it, the trail spells it out, and the list below shows what hangs there.
- Descending in the level unfolds the tree with it, and the other way round: a link somebody sent you opens the tree in the right place.
- It never reads the whole plant. A branch is read when you unfold it — with the same query a level makes, and in full: where more than a hundred entries hang beneath it, they are fetched a hundred at a time. What has been read stays in the page; folding and unfolding costs nothing after that.
- On narrow windows it is folded away. The Show the tree button above the list brings it out. The level stays the pattern you move with there — it needs no second column, and that is exactly why it and not the tree is the primary view.
The search reaches the whole plant
The field above the list searches the whole tree, not the level. Typed words are searched one by one: "halle 2 strom" finds the node even when a machine sits between the two. Nodes whose name matches come first; those whose path alone matches follow.
Every hit stands there with its whole path, cut at the front when it does not fit the line. A click jumps there, and the trail follows.
The answer is capped at forty hits; the line under the list then says how many there are altogether — narrow it further rather than paging. The search is answered by the server. The whole tree never travels to the browser, which is why it stays as quick in a plant of ten thousand nodes as in one of ten.
The filter beside it switches on the same flat result list, but as a work list rather than a jump list: without a device shows the End Point nodes that have no device yet.
With the keyboard
| Key | What it does |
|---|---|
| Arrow up, arrow down | To the previous or next hit |
| Home, End | To the first or last hit |
| Enter | Open the hit — move to that node |
The hit list has one tab stop and not one per entry: forty hits would otherwise cost forty key presses just to step past them. Inside the list, the arrow keys move the focus. What hangs beneath a node stands as a table in the tab Beneath; one node up is the trail.
The tree has its own, second tab stop and the usual tree keyboard:
| Key | What it does |
|---|---|
| Arrow up, arrow down | To the previous or next visible row |
| Arrow right | Unfold the branch — or step into it when it is already open |
| Arrow left | Fold the branch — or step out to its parent when it is already closed |
| Home, End | To the first or last visible row |
| Enter | Jump to this node |
What a node is
A node is a spot in the plant, not a device. "Bayerische Motorenwerke", "Works 1", "Machine 1", "Hydraulic pump cylinder 1", "Strom" — what is named is a spot, not the sensor that happens to hang there. The topology is the tree you span out of these nodes yourself; it models your plant, not our data model.
The difference looks academic until the first sensor is replaced. A sensor has an EUI, and that EUI belongs to the device. Replace the device and the EUI is a different one. Everything that points at the EUI — a register in the plant, an evaluation, a report — then points at nothing or, worse, at a device that now hangs somewhere else.
The node breaks that coupling. It keeps its identifier and its path across every replacement, and everything that points at the node instead of the device notices nothing.
Three types of node
Every node has a type. The type says what the node is for, which properties it has and what may hang beneath it — not where it sits in the tree. A Structure node without children is therefore still no place for a device.
| Type | For | Properties | Beneath |
|---|---|---|---|
| Structure node | orders the plant: works, hall, line, area of a machine | path, level, description | Structure nodes, Context nodes, End Point nodes |
| Context node | a rolled-out context: one machine of this kind | path, level, context | what the context prescribes |
| End Point node | the spot exactly one device hangs on | expected device type, device, since, state, readings, history | nothing — it is always the last |
Every type carries the same pictogram everywhere: the folder tree the Structure node, the boxes the Context node, the chip the End Point node.
What may come into being where:
- Structure nodes are created anywhere except beneath an End Point node — at the very top with Create a node beneath on the topology itself, otherwise on the node they belong beneath.
- Contexts are rolled out beneath Structure nodes; they become Context nodes. What they bring — Structure nodes and End Point nodes — is written in the context and maintained there.
- End Point nodes come with a context, or you declare a node you created one: when creating it or later with Edit, switch End Point node. That works while nothing hangs beneath it; back to a Structure node works while no device is bound.
- Nothing comes into being beneath an End Point node — no node, no rollout, no move there. The interface refuses it with a sentence saying why.
A name is unique among siblings only
Two machines may each have a node called "Strom". Two nodes called "Regensburg" under the same "Bayern" may not. This is the rule the earlier flat measuring point list failed on: in a plant, things are called the same on every level, and what tells them apart is what they hang under.
Case does not count. "Strom" and "strom" are the same name, because a name is part of an address and an address must not denote two nodes.
That is why every level carries the trail that led to it above it, and why every search hit carries its whole path. Both answer the same question: which of the two "Strom" is this one.
The path
The path is a node's readable address: the names from the root down, separated by /.
Bayerische Motorenwerke/Deutschland/Werk 1/Maschine 1/Hydraulikpumpe Zylinder 1/Strom
It is composed at read time from the current names and is therefore never stale. It is not an identity, though: renaming changes it, moving changes it, and what a connector stores is the node's id and not its path. A target system that keys on paths — an MQTT topic does — has to know that a move is a deliberate re-addressing.
Two rules for names follow from this:
- A name must not contain
/. The path would otherwise no longer be unambiguously separable, and the ambiguity would only show at the far end. - No node may be called
attributes, on any level. Under a node with a device, a branch of that name appears by itself and carries the device's attributes. The German word Attribute stays free.
Several topmost nodes, and how deep it goes
Several topmost nodes are explicitly allowed. One Application Center can be run for more than one group, works or site, and a forced artificial node above them would be a level nobody means and everybody clicks away.
The depth is limited to 16 levels. A real plant hierarchy has five to seven; the limit is a railing, not a modelling rule.
Deleting
Nothing cascades. A node with children is not deleted but refused, and the message says how many hang below it. A node with a bound device likewise — release the device first.
The reason is practical: a plant deleted by accident would take half a customer's register assignment with it, and the mistake would only show at the PLC.
Binding a device
A device is bound to an End Point node — and nowhere else. On a Structure or Context node binding is not offered at all, and the interface refuses it with a sentence naming the way on: make the node an End Point node, or roll out a context that brings some.
Only the expected device type. An End Point node can name a device type expected there — in the context or, on an End Point node you created, in the Edit dialog. Then only an End Point of that device type can be assigned there; another one (or one without a device type) is refused, when binding as when exchanging. An End Point node without an expected device type takes any End Point.
The choice is filtered to it. The dialog opens with the filter Device type set to the expected type, visible as a filter chip; the hint below says why only these End Points are on offer. The filtering happens on the server, so list and count agree. Removing the chip shows every free End Point — one of another type is announced with a notice and then refused.
The assignment is unique in both directions:
- A device serves at most one node. That is why the bind dialog offers only devices that hang on no node at the moment.
- A node is served by at most one device. Giving an occupied node a new device is an exchange, and the dialog says so.
An End Point node without a device is the ordinary case. A freshly rolled-out machine is done on paper and not yet on the wall. The tile and the filter Without a device gather exactly these nodes — a work list that can become empty. Structure and Context nodes are not on it: they take no device.
What existed before stays visible. A binding from before these rules — a device on a Structure node, or one whose device type deviates from the expected one — stays. The node shows it clearly as a finding (Deviates), and the device can be released or exchanged for a matching one. Only a new device of that kind can no longer be assigned.
Without a device means: no downlink
While a node serves no device there is nowhere for a downlink to go. A downlink at this path is therefore refused with a reason rather than silently queued — a command sitting in a queue that eventually reaches somebody else's device would be the worse answer.
Addressing goes by path, and a suffix is enough: "Strom", "Maschine 1/Strom" or the whole thing. When two nodes match, the request is refused with a sentence saying how many there are — rather than one of them being guessed.
What an End Point node is measuring
The view of a End Point node shows, under Readings, what the device last reported: the name of the measuring point, the value, the unit — and beneath them, when that was and from which EUI.
The table is followed live. The next uplink appears in it without the page being reloaded.
Structure and Context nodes have Beneath in the same slot instead: what lies beneath a node is either nodes or readings, depending on its type.
Two things are deliberately not in this table:
- The document's declaration. Which measuring points the blueprint or the IODD knows at all, with unit, measuring range and declared special values, is the Measuring points dialog — the button for it sits at the head of the card. One information, one place: the declaration belongs to the document, the running value to the node.
- Hidden values. Where a document declares a value hidden, it is not in the table. How many of them fall on the page shown is said in the line below — a list that silently drops rows is one nobody can check. The total under the table includes them.
Before the first telegram it says "No reading yet". The values are kept for as long as the Application Center runs; after a restart the card is empty until the device next reports.
The sensor replacement
A sensor replacement is three decisions, and the dialog shows them as three numbered steps, because they are three and not one form:
- Who serves the node now? The new device.
- What becomes of the old device? Its condition — inventory.
- What becomes of it in the radio network? Sign it off, or leave it attached.
Only the first decision has to be made now. The other two have defaults and never block. The reason is practical: whoever is standing in the hall at six in the morning with a spare has to finish. Commissioning the new sensor must not depend on the old one being tidied up.
What is left open is not lost. It turns up in exactly the two lists that exist for it: the old device under without a node on the End Points, and — if no new one was picked — the node under without a device here.
The node's id and path do not move during a replacement. That is the point of the whole exercise: the old period ends exactly where the new one begins, and everything addressing the node keeps delivering.
The old device's condition
The condition field is inventory, not deletion. A sensor replaced only because a better one arrived is hanging somewhere else next week; a defective one goes for repair; one taken out of service stays on the shelf. The condition records which case it is, so that somebody can read it at the next stocktake instead of guessing.
| Condition | What it means |
|---|---|
| Leave unchanged | Nothing is decided. |
| Defective | The device is broken. |
| Out of service | Working, but shut down. |
| In stock | Back to the spares shelf. |
The condition changes nothing about radio operation. A device marked defective is still attached unless it was signed off.
Signing off in the radio network
The sign off in the radio network tick signs the old device off at the Service Center. The operation is started, not awaited: a defective device no longer answers, and a dialog waiting for a reply that never comes would have blocked the replacement. The device's record is kept in any case — signed off is not deleted.
Leaving the tick off means the device stays attached to the network. That is the right way for a sensor that is about to be installed somewhere else.
Releasing a device
Release device is the same operation without the first decision: the sensor is relieved, the node then has no device and appears in the without a device view until a replacement arrives. Condition and sign-off are decided exactly as in a replacement.
History
Every node keeps a record of which device served it when: from when to when, and what condition the device was in afterwards. The history writes itself — every binding, every release and every replacement adds a row.
Its use shows when reading a measurement series. Somebody who sees a step in a trend can look here for whether the sensor was changed that day — instead of attributing the step to physics and hunting for the plant fault that is not there. A new sensor with a different calibration produces exactly such a step.
Devices that have since been removed stay in the history and are marked no longer onboarded. The history therefore stays readable even when the device is gone. Only deleting the node deletes it.
Rebuilding: rename, move, reorder
Renaming and moving are two different operations, deliberately. A rename touches one row. A move takes the whole subtree along and re-addresses everything a path-keyed target system knows. Two buttons, so that neither happens in passing while doing the other.
Both are free as long as the new name is still free under its new parent. Ids never move, so register assignments are untouched.
A node cannot move beneath itself. The dialog therefore offers neither the node itself nor any of its descendants as a target; should such a choice arise anyway, it is refused with a sentence saying why it would make a loop.
A moved subtree takes its height along. A three-storey branch moving one level down costs three levels, not one — which is why a move can fail at the 16-level limit even though the moved node itself sits well above it.
You decide the order under a parent. Move up and move down move a node among its siblings; ties are broken by name. The order is visible and intended: it is the order matches arrive on registers in.
The neighbours on screen are the siblings. A level shows exactly the nodes under one parent, so move up and move down there move against what you can see. In the result list the two actions are not offered at all — there the neighbours are nodes from anywhere in the plant, and "up" would mean nothing.
Rolling contexts out
A context describes a piece of plant once — a machine with its Structure nodes and End Point nodes. Rolled out, one instance of it hangs in the tree as a Context node: a single row saying "one of this kind hangs here, and it is called this". Nothing beneath it is copied; the nodes are resolved out of the context at read time, so a change there appears in every Context node of that context at once. The context itself is described under Contexts.
The nodes beneath a Context node have no row of their own in the topology; their address is the Context node and the node inside the context, separated by a colon. In the view they stand like everything else, with the pictogram of their type.
Rolling out
Roll out a context stands on every Structure node you created, in the row and in the header. Nothing is rolled out at the very top of the topology or beneath an End Point node. The dialog asks four things: which context, how many, what the name stem is and where the first one stands among its siblings.
The names come from the stem and a running number — "VC120" becomes "VC120 1" to "VC120 10", and a single Context node keeps the stem itself. Every name can be changed individually afterwards.
Beside every context the chooser says how many End Point nodes it brings along. That is the number of EUIs a Context node will want afterwards.
What can be changed about a Context node — and what cannot
A Context node is yours: it can be renamed, moved beneath another Structure node you created, and removed. It cannot move into another Context node, beneath a node out of a context or beneath an End Point node, and the chooser does not offer such targets.
A node out of the context cannot be renamed, moved or deleted here, and that is not a missing feature. It would change in every Context node of this context at once, and a screen showing one machine cannot show that reach. The action Edit in the context leads where the number of affected Context nodes stands beside it.
The expected device type
An End Point node names the device type expected there; the mark beside its name and the facts show it. Only an End Point of that device type can be assigned there (see Binding a device). The device is read with its own device type, stated at onboarding (see Device type).
The fields of the expected type stand beneath the node before any device is mounted — a connector can lay out its registers in advance.
If the expectation is changed later while a device is bound, the binding stays; if the device type deviates afterwards, the node shows that as a finding with both types.
What the expected device type delivers is shown by the action View measuring points on the row and on the node's view: see Measuring points.
An End Point node without a device is the ordinary state of a fresh rollout, not a defect. It therefore stands as a neutral Waiting for a device rather than a warning.
Removing a Context node
The dialog first names the scope: how many devices are bound in this Context node, and on which nodes. That number stands on no other screen, because the nodes of a Context node have no rows of their own.
If devices are bound, the dialog asks what should become of them:
- Release only — the device loses its node but stays registered in the radio network and keeps transmitting.
- Release and sign off in the radio network — the device is additionally signed off at the Service Center and then stands in the End Point archive.
Neither answer deletes a device. It keeps its EUI, its history and its inventory data and stays findable. The dialog names at most five occupied nodes with path and EUI; the number above is always exact, and the dialog says so when the list is shorter than the number.
The context itself stays untouched, and so does every other Context node.