Preview: this product has not been released yet. The description may change before release.
Skip to main content

Connectors

A Connector is a configured, startable copy of a Plugin. The Plugin is the software; the Connector is a copy of it with its own settings, its own process, its own log and its own state. The same Modbus Plugin can run twice — once for hall A, once for hall B — and the two Connectors know nothing of each other.

In the menu the entry Connectors leads to one screen with three tabs. The first is called Connectors as well and is this list, because that is the daily question: what is running? The second, Catalog, lists the Plugins Connectors are made from; the third, Sources, the feeds the catalog reads its offer from. Every tab has its own address, so a link leads straight to the tab it means.

Above the list stands Create. What acts on ticked Connectors stands at the right of the line that names the selection ("2 selected"), as soon as something is ticked: Update, Start, Stop, Restart and Delete (see Several Connectors at once).

Every Connector runs as its own process. If it crashes it is restarted, with a growing gap between attempts (backoff), so that a start that keeps failing does not load the machine. When the next attempt is due is stated on the detail page.

Several Connectors at once​

Tick Connectors in the list — one by one, the whole page or, when more Connectors match the filters than the page holds, "all matches". The actions for them then stand at the right of the line that names the selection:

  • Start and Stop act on every ticked Connector; one that is already running stays running, one that is already stopped stays stopped.
  • Restart stops every running Connector and starts it again with the same configuration and version. What is delivered to it in the meantime waits for it. A stopped Connector is not started by Restart but refused: whether it should run is what Start decides.
  • Delete asks first, with the number of Connectors, and then deletes them permanently.
  • Update moves the Connectors to a newer version of their Plugin, see Updating.

While it runs, the line shows how far it got ("Start … 3 of 10"). Afterwards the selection is cleared. When everything was done, a short confirmation appears. When the Application Center refused some Connectors — one is not set up, one is not running —, the line says how many were done and how many refused, and the reason for each refused one; the message stays until you dismiss it.

Configuration​

A Connector comes into being in three steps. Create asks only for a name, a Plugin and a version — the newest installed one is preselected, and where several are installed another can be chosen; the Connector is created stopped, and its page opens with the dialog for editing its parameters. Set up means filling in the required fields: as long as one is missing, the Connector carries the mark Not set up in the list, the page names the fields, and Start is not available. Start is then one click, on the page or in the list.

The parameters stand as facts on the Connector's overview, under the heading Parameters: the stored value of every field the Plugin declares, a secret as set, not shown. They are changed in the dialog behind Edit, which stands beside Start, Stop and Delete in the page header. Under its title the dialog says what saving does (see What happens on a change), and its submit button is accordingly Save or Save and restart; it stays disabled until every required field holds a value, and says why. Values an older version of the Plugin stored and this version does not describe stand under the fields and are kept on save.

Which settings a Connector has is described by its Plugin. The Application Center does not know what these values mean — it only knows their names, their types and whether they are secret. That is why the form looks different for every Plugin, and why a Plugin that declares no settings simply describes none: the Connector runs without.

Secret values are taken in once and never handed out again. When editing, the field is empty, and underneath it stands what will happen to the stored value:

What it saysWhat happens
Stored. Leave empty to keep it.A stored value exists and stays as long as nothing is typed.
Not set.There is no stored value.
Will be removed on save.The stored value is deleted.

What the Connector says about a field, the form uses. Where it names a closed list of values, the field is a choice rather than a text box. A stored value the list does not know — because a newer version shortened it, say — stays and appears as (not in the list). Where it names a range or a step for a number, both stand under the field, and a value outside is pointed out but saved: the Application Center reads these declarations as advice, so that a tightened declaration in a later version does not make a running Connector unsaveable.

A number is read as it stands and never guessed. 1500 and 1 500 are fifteen hundred, 1,5 and 1.5 one and a half, 1.500,5 and 1,500.5 fifteen hundred and a half. Only 1.500 on its own is ambiguous — fifteen hundred to one reader, one and a half to the next — and is therefore refused until it stands unambiguously. The Connector always gets the number in the notation it expects: no thousands separator, a point for the decimals.

What happens on a change​

A configuration is read when the process starts. A change therefore does not take effect at once:

  • If the Connector is running, it is stopped and started again on the new configuration. The confirmation says so, because it is an interruption — for the duration of the restart no data flows.
  • If it is stopped, the save happens without a question, and it takes the new configuration at its next start: there is nothing to interrupt.

Whatever is stored on the Connector's own screens is kept in both cases. A Connector's views have their own documents — a mapping table, a filled-in form — and those are independent of the configuration. A restart caused by a changed configuration does not throw them away.

Certificates​

In the Edit dialog, Certificates holds the Connector's TLS settings — per role its plugin declares (contract 3.8, since 3.9 also user certificates and alternative names), and only those. A Connector that speaks no TLS (Modbus TCP, S7, EtherNet/IP) has no such part; a plugin that does not declare its roles yet gets a note, and the choice after an update. The choice is made from the material under Certificates; only administrators see and change it.

When the Connector checks a server (it connects, to an MQTT broker, say): it trusts the operating system's store, the chain of this installation's PKI and the chosen trust anchors. Under Advanced there is one switch only: "Do not trust the operating system's store". The server's name is always checked.

When the Connector checks clients (it accepts connections with client certificates, as an OPC UA server, say): it trusts the Connector authority of this installation's PKI when you tick it, and the chosen anchors — nobody else. The Connector authority is an intermediate of the PKI of its own, under which only Connector identities are issued; such a Connector thus accepts other Connectors, but no Base Station and no service. Where the PKI has no such authority (under an old root that permits no authority beneath it, say), the box is greyed out, and the question mark beside it gives the reason the PKI reports. The operating system's store never applies here — the Application Center does not permit it in this direction at all, not just the surface.

When the Connector checks user certificates (an OPC UA server at which users sign in with an X.509 certificate): it accepts a user certificate only if it leads to one of the anchors under Trust when checking user certificates. These anchors are kept apart from those for clients, so that an anchor meant for devices does not also sign in people; neither the operating system's store nor this installation's PKI applies here. Without an anchor, no user signs in with a certificate.

The certificate the Connector shows is chosen per role: None, Issued by this installation's PKI or Uploaded identity. From this installation's PKI, the Connector obtains it over EST; its key is made in the Connector and never leaves it. The name in the certificate (subject) comes from the field the plugin names for it — the thing name for AWS IoT Core, say, or the device ID for Azure IoT Hub —, otherwise from the Connector's name. The PKI checks that name against its profile's pattern and refuses any other; the dialog shows the name before saving.

A server certificate from this installation's PKI also carries alternative names the plugin declares as templates over its fields — for the OPC UA server, the ApplicationUri as a URI and the endpoint's host name as a DNS name, say. The Application Center fills in the stored values and shows the result in the dialog and on the Overview under DNS names and URIs. A host name that is an IP address yields no DNS name, because the PKI issues no IP addresses. On saving, the Application Center checks every name against the PKI's profile; a name the profile does not admit is named in the message, together with the admitted patterns — an administrator of the PKI admits the names of a plant. Should you later change a field a name comes from, the new name applies to the next certificate; should the PKI refuse it, the Overview shows that as the last error.

Roles that do not apply right now. Some plugins use a role in one mode only — Prometheus, say, listens only in the mode with exposition and needs no server certificate in remote-write mode. When a role does not apply with the stored configuration, the dialog says so above its fields, and the Application Center delivers no material for it and holds no port. The choice is kept, so that you can prepare it before switching the mode in the same dialog; a required certificate is not missing there. Instead of the roles, the Overview shows one line Server role or Client role: not active.

A running Connector takes new material at once or is restarted for it; the Application Center keeps the material it fetched last encrypted, so that a Connector starts even while the PKI is briefly unreachable. What applies stands on the Overview under Certificates, with the last error should material not have been put together.

Listeners​

Some plugins are servers: Modbus TCP waits on port 502 for the reading system, an OPC UA server on 4840. Such a Connector opens its port inside the Application Center's container — and a container publishes no port at runtime. Which ports can be reached from outside is decided by the installation: the ports entry in Compose, the Service in Kubernetes. Whoever creates a Connector that listens publishes its port there; how, the installation's manual says under "Publishing a Connector's listening port".

The port stays a parameter of the Connector (Port and ListenAddress for Modbus TCP). The plugin declares in its manifest which parameter the port hangs on, and the Application Center makes three things of that:

  • One port, one Connector. On creation and on every save of the parameters the port is checked across all Connectors that listen — the stopped ones included, because the port hangs on the parameters, not on the run. A port another Connector holds is refused naming that Connector; a value that is no port between 1 and 65535 likewise. This applies on creation already, because the port comes from the plugin's default: a second Modbus Connector would otherwise quietly take 502 again.
  • The line in the status. The Overview shows under Status, per listener, "listening on ‹address›:‹port›" and beside it what the running Connector says about it: listening (the port is bound), taken (it could not be bound, with the reason — another programme holds it, say), unknown (the Connector is not running or has not bound the port yet) or not reported (an older plugin that does not tell). The entry also names the address and port the installation has to publish.
  • Kubernetes, on request. Where the installation is set up for it, the Application Center keeps a Service of its own for its Connectors' listeners: a port appears with the Connector and disappears with it, without a redeploy. Where that fails — a missing permission, an unreachable API server — the Application Center keeps running, shows the reason in its health and leaves a notice; the next attempt follows by itself.

Resources​

A Connector's Resources tab shows what it needs in CPU, memory and network – now and over the time the tab has been open. It is measured only while someone looks: with the tab, the Application Center starts measuring the Connector every second, and every new point appears by itself. When the tab is closed or the browser window hidden, the measurement ends after a few seconds and the history is dropped; a Connector nobody looks at costs no measurement. The history reaches back at most 15 minutes and lives in memory only. A restart of the Connector shows in the curves as a gap, not as a jump.

  • CPU and memory are measured by the Application Center itself, at the Connector's process. CPU is given in percent of the cores available to the Application Center (in a container with limited CPU these are the ones assigned, not all of the machine); under Process the value relative to one core stands as well. Resident memory is what the process holds in memory, private memory the part only it holds.
  • Network traffic is counted by the Connector itself and reported on request. Under Connections each listener and remote shows how much goes in and out, how many connections are open and how many were opened since start – many opened with few open point to constant reconnects. Not every plugin can reach the bytes on the wire: where the library hands out no socket, it counts only the payload (the curve is then a lower bound, protocol framing is missing), and an OPC UA server reports only its sessions, no bytes. Both are noted at the connection.
  • If a Connector reports no network traffic, the page says why: it speaks an older contract, it does not count, or it has not answered yet. That never means it has no traffic.

Times are in UTC; the switch above the CPU curve sets them to the profile's time zone. If the installation asks for it, the Application Center leaves a notification when a Connector needs more CPU or memory than a configured threshold for a sustained time. For that it reads CPU and memory of every Connector even without a viewer, but only every few seconds and without asking the Connectors; the tab then shows those points too.

Delivering duplicates​

A Mioty telegram is received by every Base Station that hears it. With decent coverage that is the rule and not the exception: the same telegram arrives two, three, five times. The Service Center recognises these multiple receptions and marks them as duplicates.

The deliver duplicates switch decides whether this Connector gets them as well.

When it belongs on. For Connectors that evaluate the reception itself: coverage, localisation from time-of-flight or field-strength differences, link-quality diagnostics. For those Connectors the copies are the measurement — each one carries the information which Base Station heard the telegram at which quality. Without them exactly what the Connector exists for is missing.

When it belongs off. Anywhere a time series or a register is written. A duplicate records the same measurement a second time: a counter counts twice, a time series gets two points with the same value, an average shifts in favour of the devices with the best coverage. This is the default, and for the normal case the right one.

The switch takes effect at once. No restart of the Connector is needed for it.

Off does not mean duplicate-free​

This is the part that belongs written out, because it cannot be worked out from the outside.

The Service Center's duplicate detector is local to a process. It sees what runs through its process and marks a second copy as such. In multi-replica operation — several Service Center replicas, across which the Base Stations' connections are spread — each replica sees only its own share. If the same telegram is received by two Base Stations whose connections sit on two different replicas, neither knows about the other's copy. The telegram then comes through twice, and both times unmarked.

The switch, turned off, therefore filters what was recognised as a duplicate — not everything that is one. The difference is nil on a single node and grows with the number of replicas.

What follows from it: anything that must not process a measurement twice — a billing counter, a quantity balance, a register that accumulates — deduplicates itself. The pair of End Point EUI and packet counter (epEui, packetCnt) is the key for it: it is identical across all copies of one telegram and is not reused per device. A Connector that remembers the last pair seen per device and discards repeats is independent of how many replicas are running.

When the delivery breaks off​

What a Connector is to receive, the Application Center first puts into a buffer per Connector on disk; from there a delivery reads it into the Connector's session. If that delivery ends with an error, nothing reaches the Connector any more, even while its process is still running. The Connector's page then says The delivery to the connector broke off, with the cause beneath.

What the Application Center does then. It ends the session as it would for a crashed process and starts the Connector again, with the same waits as after any crash. While the restart is pending the Connector is Restarting, and during a wait the page names the next attempt. If a restart fails, its error takes the notice's place and stands under Last error. If the cause stays, the restarts repeat; their number is on the Diagnostics tab.

Where the delivery goes on. The new session begins at the last record the Connector has acknowledged without a gap. What it never acknowledged it gets again, including what it had processed but not yet acknowledged before the break: repeats are to be expected, and a Connector deduplicates them as described in Delivering duplicates.

What can be lost. The buffer is bounded, at 256 MiB and 24 hours per Connector. If the outage lasts longer or more arrives, the oldest part of the buffer is dropped; the Application Center counts every record dropped that way and warns in its log. A Connector that speaks an IPC protocol before 3.5 does not acknowledge; for it a record counts as delivered once it is written, and what was under way at the break does not come again.

Updating​

Installing a new Plugin version only makes it available; running Connectors do not move by themselves. The move is an operation of its own per Connector, and that is deliberate: a plant is not switched over in one go but one Connector after another, with a pause for observation in between.

One Connector​

The Connector is stopped, moved to the new version and started again. If the new version does not come up, it runs on the old one again. The fallback happens by itself and is reported, with the reason. The outage is thereby confined to the attempt.

Several at once​

The selected Connectors are stopped and started again one after another — not simultaneously, so that half the plant does not stand still together. The dialog lists beforehand what will happen, distinguishing the running ones (will be stopped) from the already stopped ones (stay stopped and take the new version at their next start).

A hundred per run at most. A selection covering more Connectors — "all matches" over a long list — is refused before anything is stopped; the surface says so before it asks. Narrow it down by Plugin, state or name.

The run stops at the first failure. Whatever moved before that stays moved; the rest keep running unchanged. The message names how many were done. That is the cautious order: a run that carries on after the first error leaves a plant in a state nobody can survey any more.

The with an update filter above the list shows which Connectors have a newer version at all.

The Connector's views​

A Connector can bring a surface of its own: tiles, tables, forms, buttons — whatever it needs to show and adjust its own work. It only describes these views; they are drawn with this surface's own building blocks. Nothing executable crosses the boundary. Connectors that bring no views at all are the normal case; the section is then simply absent.

If a Connector brings detailed explanations of its views, they sit behind the manual button — that is the Connector's manual and not this one. It is also where the rest of a description goes when it is too long for the space above a table: the screen carries the first sentence, and beside it, at the card's title, the book that opens it in the manual. The same mark that leads into the MNC manual everywhere else — a reader learns one gesture for "there is more written about this", whoever wrote the text.

A Connector may also bring chapters that never appear on the screen at all: pure reference — what a quality code means, how an address suggestion is arrived at. Those live in the manual only. A card whose entire content is the sentence "this is explained elsewhere" is area without a function on a page somebody works on.

Where a view sits​

Not in a tab strip of its own, and that is a decision against what was there before: the views once stood in a second tab strip inside the Overview tab — so the screen a plant is actually set up on lay two words deep, under a heading that says the opposite of setting up.

Now what a view lets you do decides where it sits:

  • A view with something to fill in — a mapping table, a form, a choice in the topology — sits in the Mapping tab. It is the Connector's assignment of the plant, and the tab exists only on a Connector that brings such a view.
  • A view that only shows sits in the Diagnostics tab, below the counters and the process details the host keeps.
  • A view whose id is addressing or mapping sits on the Mapping tab even where it only shows: what a Connector publishes where is mapping — the MQTT Connector's topics, for one, stand there beside the preview of the addresses.

Each view is a section of its own there, with its heading, one below the other. A tab a Connector brings nothing for does not exist: a Connector whose plugin brings its Betrieb as a view and nothing else has only Diagnostics.

Where the plugin declares a mapping — see The mapping — the Mapping tab is that mapping, in the one form there is for every kind: the Modbus TCP Connector assigns registers there, the MQTT Connector shows there the addresses it forms out of the paths. A view with something to fill in that the plugin brings beside it sits under the mapping; the old register map of a plugin that meanwhile declares a mapping is not drawn a second time. Plugins from before the declaration keep the path through their views.

A table of a view is paged like every list of this surface — even where the Connector delivers it whole: the page stands in the address, the search line above narrows it, and the count under the table says how many rows there are in all.

An entry you have begun survives the tab switch. Fill in half a mapping table, look at Overview to see what the Connector is reporting, and it is unchanged when you come back — unsaved, exactly as it was. What it does not survive is leaving the page; what is saved is what was saved.

What a table shows, and what stands beside it​

A Connector describes which columns exist; how many of them are visible at once is this surface's decision. It is the one that knows how wide the window is — a table of thirteen columns is no longer a table on a tablet, it is a horizontal scrollbar with numbers in it.

Five rules apply:

  • What is the same in every row stands above the table. The plant path, the chosen branch — said once instead of repeated sixteen times.
  • The rest of the row is in the row itself. At the right of every row, view row leads to every value of that row, including those the table had no room for. Clicking the row does the same. Nothing is lost; it is one click further away.
  • Where a row asks for a lot, it is edited in a dialog. A table with one editable column is corrected where it stands. One with seven is a form that looks like a table — there edit row leads to a dialog in which every field gets its label, its bounds and its error message.
  • Which column goes first is the Connector's to say. Until now the answer was the declaration order, and the declaration order says something else: it is the reading order, left to right. The fault-value table names the register addresses before the field name — right for reading a register list and wrong for narrowing, because the field name is the thing an operator chooses a fault value BY. A column may therefore be declared essential (it stays at every width) or secondary (it goes first). This changes no column's place: where a column sits is still decided by the declaration order.
  • What an empty cell means stands in the cell. As grey guide text — "boundary value of the data type", "derived from the data type". This is not a default: a default is written into the cell when a row is created, and from that moment nothing can tell it apart from something a person typed. Guide text is never written anywhere; it says what the Connector will do if the cell stays empty, and leaves the cell empty.

What is saved is always the whole table. Apply in the dialog changes that one row and writes nothing yet.

Saving is per view, not per table. Below everything belonging to one view stands exactly one Save / Discard pair, and it applies to all of it. Before, every editable table carried its own pair — two of them on the register mapping, identical in appearance, both writing the same Connector, and neither saying which half of the screen it meant. Where more than one table hangs below it, it says so beside the buttons: Applies to every entry in this view. That matters most for Discard — it also resets the table you have not scrolled down to yet.

A refusal, by contrast, stays at its table. Which cell the Connector would not take is a statement about a document, and a message under the shared button would leave open which one was meant.

When the rows are the Connector's​

Some tables do not get their rows from the operator: one row per measuring point below the chosen branch, derived from the topology. There is no adding and no removing there — creating a row would invent a measuring point that does not exist, and removing one would hide a place that does. That is exactly what the stored branch is there to prevent.

The cells stay the operator's. A row is emptied by clearing its cells, which is an ordinary edit, and an empty address cell there means not yet assigned. That is the normal state of many rows and not a complaint — which is why two empty address cells there are not duplicates of each other. Only rows that actually name an address are compared.

The search line above a long table​

From fifteen rows a search box stands above the table. It hides what does not match — on a large branch one wants to see "only the temperatures" while filling in four cells.

It only hides. What is saved is the whole table, hidden rows included. The search is stored nowhere, it survives nothing, and it cannot delete anything. While it is hiding something, the line underneath says how many rows of how many are visible.

When two people edit at once​

The documents behind these views are shared. Two operators can have the same mapping table open, and there are two messages for it:

  • "The data changed" appears while editing: somebody saved elsewhere. Your own entries stay until you reload — nothing is lost, only the ground moved. Reloading discards your own changes.
  • "Someone else saved in the meantime" appears on saving: the changes were not applied, because they would otherwise have overwritten the other person's. The way on is: reload, look, edit again.

When a selection no longer fits​

A Connector restricts which fields it accepts. If something about an existing selection changes — a field disappears from the schema, a node is deleted — the selection is not silently deleted. It stays, marked as a warning, until it is replaced.

That is the deliberate choice: a selection cleared automatically would be a configuration change nobody made and nobody notices. A selection left standing and marked is a question somebody has to answer.

The register map​

A Connector that puts values on a fieldbus needs a flat, numbered list: place 0, place 1, place 2 — and behind every place exactly one value out of the plant. That list is the register map, and it does not come about by somebody typing devices in. It comes about by somebody selecting at the plant.

The map belongs to the Connector alone. There is no entity of its own for it and no screen beside it: the Connector sees the whole topology, and in its views one picks a branch out of it. On the Connector it is found in the Mapping tab, which only a Connector that has something to map has; see Where a view sits. The branch yields the list of measuring points below it, and in that list one enters an address, a data type and a fault value per measuring point.

The branch chooser is a tree with a search field. What is stored is the node's identity, what is shown is its path — the identity survives a rename and a move, while the path is meant to change when the plant is re-addressed. Beside the chooser, open in the topology leads to the chosen node and back here again.

Why the branch is stored at all, and not only its result. If a new measuring point appears below the branch later, it has to become visible. Anybody who knows only the finished assignment cannot tell "nothing is deliberately assigned here" from "something here is new and nobody has looked". The stored branch is what makes the unassigned ones nameable.

The way to the topology leaves the configuration. An edit to the Connector that has been started and not yet saved is lost with it — save first, then go and look.

A number never moves​

Once an address is given out, a place is a location and not a device. Three things follow:

  • Exchanging a device moves no number. If the sensor at a node is swapped for another, the place stays the same. What changes is the diagnostic information beside it — the EUI, the type — and not the address a controller reads.
  • Renaming or moving the branch moves no number. The branch is stored as an identity, not as a name.
  • When a measuring point drops out, nothing shifts up. Its address simply becomes free again. A list that closed its gaps would push every value behind the gap onto a different address, and nobody on the other side of the bus would notice.

New measuring points therefore never cause a recalculation. They appear where they stand in the tree — even where their predecessor carries register 100 and they carry 354. Tree order and address order are two different things, and that is not a defect.

How a fault value is chosen​

A register holds a number and has no room for a second value beside it saying whether the first one means anything. So when a value is missing or a sensor is faulty, a number has to stand for it — and which number that may be is the real question. One the target system can mistake for a measurement is the wrong one.

Where a cell expects such a fault value, the surface therefore offers what the device document itself declares about it:

  • An IODD declares values like these. They are on offer, each with its number and the document's own text — -32768 — Sensor fault. Where the document declares a value without naming it, it is offered all the same, with a note instead of an invented name. Where this IODD declares none for this field, that is stated as a sentence.
  • A mioty blueprint cannot declare such values — the Application Layer Specification has no element for it. There is then nothing to offer, and that too is stated as a sentence, so that an empty choice does not look like a failed load.

Where the document declares a measuring range, it stands underneath. It is the reason a number outside it is usable as a fault value at all: a field measuring 0 to 1000 can never mean -32768 as a reading.

A number of your own may always be entered. The declared values are an offer, not a positive list — if the target system insists on its own sentinel, the target system wins.

Emptying the field leaves nothing there, and then the boundary value of that row's data type applies: int16 serves −32768, uint16 serves 65535, int32 and uint32 accordingly, float32 serves NaN. The reason is the one above: zero is a perfectly ordinary measurement in almost every unit there is, and a register meant to say "no valid value" must not serve the most believable number of all. Anybody who does want 0 enters 0 — it then stands in the cell and wins like any other entered number.

The one exception is bool, and it keeps 0. A flag has two states and both of them are measurements; the data type has no number left over that would be neither. The register's boundary value would fall outside what the connector promises for a flag, and a PLC testing for "not zero" would read it as a set flag — "nothing arrived" would become a raised alarm.

The Source column therefore tells three origins apart rather than two: this place's own value, the row's default from the register assignment, and the data type's default. "Nobody decided" and "somebody decided 0" could not be told apart before.

The mapping​

A Connector whose plugin declares a mapping has the Mapping tab on its page — one screen for every kind, not one per plugin. The mapping says which measuring points of the published topology leave through this Connector and, where the protocol has addresses of its own, where to. The Application Center holds the rows; the plugin declares what an address is for it, makes suggestions, offers commands and checks every revision before it is saved. The surface knows no protocol: it draws what the plugin declares.

What stands on the screen comes from three sources. From the Application Center: place, field, value class and the state of every row. From the plugin: the columns of the target address with their rules, the suggestion per row, the buttons and the refusals cell by cell. From the topology: which measuring points there are at all.

StateMeaning
MappedThe row has an address, and the measuring point is in the topology.
UnmappedThe measuring point is in scope and has no address yet. Only an assigned mapping has this state.
OrphanedThe row has an address, but its measuring point is gone — the device carries another document, the node was deleted. It stays with its last known place until somebody clears it; nothing moves up.
ConflictThe plugin cannot use the row as it stands. The reason is under the state — two rows on the same register, two paths on the same topic.

The list is paged like every other, with a search over place, field and address. The column headers sort — place, field, state, value class and every target column — and the order stands in the page's address, so a sorted list can be sent on. The filters by branch, state and value class are chips above the list; "Filter by …" in a column header opens the matching chip. A notice above the list counts conflicts and orphaned rows as long as there are any.

Assigned​

Modbus TCP; EtherNet/IP and PROFINET in future: every measuring point gets a target address out of the columns the plugin declares — register, encoding, factor. What a row leaves empty is unmapped. Rows are edited as in every table of a Connector: up to two input columns in the row, otherwise in the row dialog. The scope is chosen as branches of the topology, see below.

Derived​

MQTT: there is nothing to enter. The address of every measuring point follows from its path in the topology, and the plugin forms it; the Address column shows the preview, the question mark at the header the rule. Two paths that lead to the same address stand in the list as a conflict. Renaming or moving a node changes the address with it — for a path-based address that is a deliberate re-addressing, not an accident.

Mirrored​

OPC UA, in future: the plugin's address space is the topology. There is only the scope, no columns and no preview.

The scope​

Where the plugin declares a scope, the Scope section stands above the list: the chosen branches as chips, + Branch as a searchable list of the authored nodes, and one sentence with the figures — how many measuring points under how many branches, and how many of them without an address. A branch is saved at once, not with the draft: it decides which rows there are, not what a row says. What is stored is the node's identity, not its name — renaming or moving the branch changes nothing about what is published.

Why the branch is stored and not only its result is explained under The register map: only the stored branch makes a new measuring point beneath it visible as unmapped.

Draft, selection and commands​

Every change — an entered address, an accepted suggestion, a cleared row — first stands in the draft. The draft survives paging, searching, filtering and sorting: it is kept per measuring point, not per page. The bar under the list says how many rows are changed and whether what is saved takes effect at once or only after a restart of the Connector; Discard takes all of it back.

Rows can be ticked, on the page or — when more rows match the question than are on the screen — as "all matching". The plugin's buttons that act on a selection stand at the right of the line above the table that names the selection, as soon as something is ticked: "Assign sequentially from …" asks for the start register, "Apply suggestion" takes, for every chosen row, what the plugin suggests, "Clear" turns a mapping into none. Buttons without a selection act on the whole mapping, such as "Append every unmapped row", and stand under the tab bar. A button that does something irreversible asks first — on a selection with the number of chosen rows.

A command saves nothing. What it returns are suggestions, and they land in the draft — look at them page by page, Discard if they do not fit, Save if they do. That is what makes "assign 3,000 measuring points sequentially from register 40001" safe to try.

Saving, checking and conflicts​

Save happens in two steps, the first of which writes nothing. First the draft goes to the running plugin as a rehearsal; the plugin sees the whole mapping that would result and says no where something does not work: the cell is marked, the refusal stands under it — or, where the row is edited in the dialog, as a list under the table and in the dialog at the field. Only a revision the plugin has accepted is then saved, and saved against the revision that was read: if somebody else saved in the meantime, the surface says so and offers Reload rather than overwriting their work.

While the Connector is stopped, the mapping can be read and not changed. The Application Center could store the rows, but nobody could check them, and an address nobody has checked is noticed at the PLC. A revision no plugin has confirmed yet — from an import while the Connector was not running, say — stands as not yet verified above the list until the next start confirms it or reports conflicts. Where the plugin has refused the saved revision, that stands above the list too, in its own words.

Every saved revision leaves a notice — "n rows changed, m cleared" — among the notifications. There is no full history.

CSV​

CSV export downloads the mapping as a file: path;field and the plugin's columns, UTF-8 with a byte order mark, one line per measuring point. The file is meant for the spreadsheet and for the ways a register list leaves a plant — to the machine builder, into the PLC documentation.

CSV import goes the same way back, in the export's shape. The chosen file is checked first: every line the Application Center cannot read as a measuring point — a path that does not exist, a field the node does not have, a column the plugin does not declare — stands in the dialog with its number and the reason, and nothing goes to the plugin until every line resolves. Then the plugin checks the rows as it does on save. Only a file both have accepted can be saved with Apply; the dialog says beforehand how many rows change and how many are cleared. Place and field are resolved to the measuring point's identity — so a file does not survive a renaming, and a device exchange does not disturb it.

The import is offered only for an assigned mapping, and only while no draft is open: two sources for the same measuring point would be one too many.

Deleting a Connector​

The Connector is stopped and deleted permanently: configuration, state documents, counters and log. The Plugin stays installed and can go on serving as the basis for new Connectors.