Devices
A Device is one connection from a Site Runtime to one piece of field equipment: a PLC, a drive, a meter, an OPC UA server. You pick a protocol plugin, fill in the connection form, then add poll groups and tags. The Site Runtime polls the device and sends the values to the plant historian and to any Uplink that subscribes.

The page is Connectivity → Devices. Its hint reads "Field connections on this runtime. Groups poll tags (R/W/S); Uplinks subscribe to groups."
How it works
- A device belongs to the Site Runtime shown in the top bar. The page lists only that runtime's devices. Choose the runtime first. Without one the form says "Select a site runtime first."
- The connection form is not hand-made. It is drawn from the plugin's schema, so every plugin shows exactly its own fields. Each plugin is described in the protocol reference.
- A device is bound to one ISA-95 equipment. Its tags become tags of that equipment. See Groups and tags.
- Everything you enter for groups and tags stays in the form until you click Create & connect (new device) or Save (existing device).
Step by step
Add a device
- Choose the Site Runtime in the top bar.
- Open Connectivity → Devices and click Add device.
- On the page "Choose a plugin" search with Search plugins… and click a plugin card. The page shows how many plugins there are. Serial and Ethernet plugins are in the same list.
- In the section Device of the form fill the general fields (table below).
- Open the connection tab (or tabs) and fill the connection fields. A required field has an asterisk. If one is empty the form says "Fill required fields:
label". - Optional: click Test connection (see Test connection).
- Optional: open Groups & tags in the left rail and add groups and tags now. You can also do it later by editing the device.
- Click Create & connect. You see the toast "Device created and connection attempted".
If you did not pick an equipment, the Console creates one from the device name and shows "Equipment linked from device". Tags that have both a name and an address become Plant tags under that equipment ("N Plant tags linked to equipment").

General fields (section Device)
| Field | Meaning | Notes |
|---|---|---|
| Name * | The device name. | The placeholder is the plugin name. The name identifies the device in rules and in default MQTT topics, so choose a stable one such as line1-modbus. |
| Description | Free text. | Placeholder "Optional note". |
| ISA-95 equipment | The equipment that owns this device's tags. | Pick an existing node, labelled "Plant browse equipment". Leave it empty to have one created from the device name. |
| Create under work center (only if none selected) | Where the new equipment goes. | Shown only while no equipment is selected. Clear — create new on save removes a selection. |
| New equipment mini form | Create an equipment without leaving the page. | Fields Work center, Code, Name, button Create equipment (toast "Equipment added to Model"). If the model has no work center the form says "Add a work center under Plant → Model first." |
The plugin picker
- The picker lists Device plugins only. Uplink plugins (MQTT, Kafka and so on) are on the Uplinks page.
- Search matches the plugin name, id, description and category.
- In mii Lite a plugin that is not installed on the runtime is greyed and its tooltip says "Not installed here". See Lite notes.
- The page above the list may say that the Site Runtime cannot be reached and that a standard list is shown. Then the real list can differ.
The connection form
The fields come from the plugin schema (/api/v1/schema/<plugin> on the Site Runtime). What you can rely on:
| Behaviour | What you see |
|---|---|
| Required field | Asterisk after the label. The form will not save with it empty. |
| Choice field | Radio buttons, for example Connection Mode Client or Server. |
| Number field | Has a minimum and a maximum, shown in the reference page of the plugin. |
| Conditional field | Appears only when another field has a value. Example: Modbus RTU shows Serial Device, Baud Rate and the other serial fields only when Physical Link is Serial, and IP Address and Port when it is Ethernet. |
| Secret (password, key) | Saved secrets show "••••••••". They are never shown again. Leave the field alone to keep the secret. |
| TLS certificates | Pick a CA or a client key pair from the Certificates store. The certificate fields appear when TLS is on. |
Typical fields many plugins share: IP Address or Target PLC IP Address, Port, a connection timeout in ms, a retry count and a send interval. The defaults are the protocol's usual values (Modbus TCP port 502, S7 port 102, EtherNet/IP port 44818, OPC UA opc.tcp://127.0.0.1:4840/).
Test connection
Click Test connection in the top right of the form. The button is hidden for users who are limited to certain areas or machines.
The test is shallow on purpose:
| Plugin kind | What the test does |
|---|---|
| Serial plugin | Opens the serial port. Not supported on Windows yet. |
| EtherNet/IP (CIP) family | Registers an EtherNet/IP session. |
| Everything else | Opens a plain TCP connection to the host and port. |
The test does not read a tag. "Connection test succeeded" means the host answers on that port. It does not prove that the unit id, the rack and slot or the addresses are right. Errors you can see are "TCP connect to host:port failed" and "missing serial device (or host/port for Ethernet)". Otherwise the toast says "Connection test failed".
Edit a device
- In the list click the device's Edit button. The page title is "Configure device".
- Change fields, groups or tags and click Save.
- To go straight to the groups, click Tags in the row.
If somebody else saved the same device while you were editing, you see "Somebody else changed this device while you were editing it." Choose Load theirs (drops what you entered) or Save my changes (keeps their changes and adds yours).
Suspend and resume
Click Suspend in the row. The device keeps its configuration, but polling stops ("Device suspended — polling stopped"). Its status becomes Suspended and the button turns into Resume ("Device resumed").
Use it for planned maintenance, a PLC that is off for weeks, or a device that floods the log. The bulk button Suspend disconnected suspends every device that is not connected ("N disconnected devices suspended").
Delete a device
Click Delete in the row. The browser asks Delete "<name>"? This cannot be undone.
Connection status
The list shows a status chip per device. The Console derives it from the Site Runtime's driver state and the latest samples:
| Status | Meaning | Typical reason text |
|---|---|---|
| Connected | The driver is linked. Either at least one sample has quality good, or the device has no tags yet or the first poll is still running. | none |
| Connecting | The driver is not linked yet. | "Connecting to PLC", the last driver error, or "Waiting for first poll". |
| Failed | The driver has an error and is not linked, or every sample is bad. | The error text, or "All tags reporting bad quality". |
| Idle | Nothing to report yet. | "Edge runtime offline", "Waiting for edge driver". |
| Suspended | You suspended the device. | "Suspended by operator". |
Summary tiles above the list: Total connections, "N connected · M enabled", Plugin types, Connection status ("N not connected") and Recovery status ("N down").
Recovery
A device that is not connected is retried by the Site Runtime with the retry settings of its plugin (for example Maximum Retry Times, Retry Interval (ms), or the Modbus Device Degradation options). The Console also probes the disconnected devices on its own.
The tile Recovery status shows one of:
- "Auto-recovering — probing every 15s": at least one device is down and is probed every 15 seconds.
- "All connections healthy".
- "Checking…".
Click Retry now to probe at once. Last check shows when it last ran.
Lite notes
- mii Lite has exactly one built-in Site Runtime. The top-bar runtime is that one, and the runtime page does not offer Add runtime.
- Lite Windows ships a core set of plugins, not all of them. The picker asks the running Site Runtime which plugins are installed and greys the others ("Not installed here"). While the runtime cannot be asked, a standard list is shown. See Lite on Windows.
- Serial plugins (Modbus RTU and others) cannot be probed on Windows yet.
- In Free mode (no licence file) Lite wipes configuration every few hours, including devices. A banner counts down. See Licensing.
Examples
Modbus TCP: line1-modbus
The demo plant simulator serves Modbus TCP on demo-sim:5020. Unit ids 1 to 4 are Filler, Capper, Conveyor and Compressor. The same server also listens on ports 5021 to 5024, one per machine.
| Section | Field | Value |
|---|---|---|
| Device | Name | line1-modbus |
| Device | Description | Line 1 PLC (simulator) |
| Device | ISA-95 equipment | Filler |
| Connection | IP Address | demo-sim |
| Connection | Port | 5020 |
| Connection | everything else | defaults: Connection Mode Client, Start Address PLC Addresses (Base 1), Endianess of 4-Byte Data ABCD |
Add one group fast (1000 ms) and the tags State (1!40001), Speed (1!40002), Temperature (1!40003, Decimal 0.1), Pressure (1!40004, FLOAT). The full table is in Groups and tags.

A device is bound to one equipment, and an equipment takes one device (a second one is refused with MI-1004 "equipment already has a connection"). So line1-modbus with unit id 1 belongs to the Filler. The Capper (unit id 2), Conveyor (3) and Compressor (4) need their own devices, each bound to its own equipment. The Console allows only one device per host and port (a second one is refused with MI-1004 "connection already defined"), so give each device its own port (the simulator: 5022 Capper, 5023 Conveyor, 5024 Compressor) or its own gateway address. Tag addresses stay 2!40002, 3!40002 and 4!40004. The unit id is the first number of the address.
OPC UA: line1-opcua
The same simulator serves OPC UA at opc.tcp://demo-sim:4840/demo-plant/, security mode None.
| Section | Field | Value |
|---|---|---|
| Device | Name | line1-opcua |
| Device | ISA-95 equipment | Filler (or a separate equipment for the comparison) |
| Connection | Endpoint URL | opc.tcp://demo-sim:4840/demo-plant/ |
| Connection | Security Mode | None |
| Connection | Update Mode | Read |
| Connection | Username, Password | empty |
The Filler temperature node has the OPC UA node id ns=2;s=Filler.Temperature. In a tag Address you write it as 2!Filler.Temperature: namespace index, !, identifier. Use type DOUBLE. See Addressing.

The Console has no node browser for OPC UA (or for Modbus). The API route /api/v2/devices/browse exists, but the Site Runtime answers "browse is not supported in this runtime". To find node ids use the browser of your OPC UA server or a tool such as UaExpert, then type the address into the tag.
Limits and good practice
- One device per equipment. If one controller serves several machines, create one device per machine on the same host.
- Do not poll faster than the equipment can answer. Slow groups on a slow serial link make the device look disconnected. See Groups and tags.
- Name devices after the equipment or the line, not the IP address. The name is part of the default MQTT topic and of rules.
- Keep passwords and keys in the secret fields and the Certificates store. Never put them in the description.
- Suspend a device instead of deleting it when it is only off for a while.
- Each protocol has its own settings and limits. Check the protocol reference of your plugin before you size groups.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| "Select a site runtime first." | No Site Runtime chosen in the top bar. | Choose a runtime. In Lite there is only one. |
| Plugin is greyed, "Not installed here" | The runtime does not ship that plugin. | Use an installed plugin, or use the Enterprise stack. |
| "Connection test failed" | Host unreachable, wrong port, firewall. | Check from the Site Runtime host. The test is a TCP connect from the runtime, not from your browser. |
| Test succeeds but the status stays Connecting | Wrong unit id, rack or slot, security settings. | The test does not read tags. Check the plugin's protocol notes. |
| Status Failed, "All tags reporting bad quality" | Addresses not valid on this device. | Check addresses and types. See Addressing. |
| Status Idle, "Edge runtime offline" | The Site Runtime is not reporting. | See Runtimes. |
| "Fill required fields: …" | A required connection field is empty. | Fill the fields with an asterisk. |
| "Somebody else changed this device…" | Two people edited at once. | Load theirs or Save my changes. |