IMD Solution Computing Library
Plant-floor computing, explained.
Practical answers for the engineers who specify, install and maintain industrial PCs, edge devices and the software that runs on them.
Read the latest articlesLatest articles
Explainer
LatestWhy Sparkplug B sends DBIRTH once and DDATA only on change
A Sparkplug B publisher sends the complete metric set once, in DBIRTH, when the session starts, then publishes only the metrics that change in each DDATA. That is the design, not a fault: consumers must cache birth state and apply deltas. If an application needs periodic snapshots or self-contained per-topic values, publish a separate plain MQTT feed instead of forcing Sparkplug to repeat itself.
Explainer
Why Process Historian enters the ActiveRecovery state
ActiveRecovery is the Process Historian's normal catch-up sub-state: the historian requests buffered data from an OS Server to fill a recognized inactivity gap, then returns to Active by itself. Treat the paired lost-connection alarms as a side effect of that pull. Investigate only when a window lasts minutes, repeats roughly ten or more times a day, or never returns to Active.
Troubleshooting
Why an edge gateway OPC UA device limit hides new devices
The missing create-new-device link on an Edge gateway is the license cap, not a PLC fault: a Limited edition allows 2 OPC Device Connections, and the web config hides the link once the count is reached. Count the configured devices, read the edition on the license page, then delete an unused device, reuse the existing entry for a PLC swap, or move to a Standard license.
How-to
Configuring OPC UA to MySQL writes with a Template node
A Template node between the OPC UA client and the MySQL node renders the counter into an INSERT statement on the topic property, the place the standard MySQL node looks for its query. The payload must carry only the scalar value, and the Now function stamps database execution time, not the OPC UA source timestamp.
Troubleshooting
OpenEMS InfluxDB password versus API token in Docker
The password in the documented influx setup command initializes InfluxDB's first user account; it is not what OpenEMS sends. On a v2 server such as the reported v2.7.12 container, OpenEMS authorizes with an API token in the Timedata.InfluxDB ApiKey field, so you choose your own secret password at setup and enter the token, not the password, in the connector.
How-to
How two Docker containers share one CSV file on an edge PC
The vendor Node-RED container stores its CSV through a relative-path bind mount, so no other container can reach it. Declare a Docker named volume, mount it in both the Node-RED and Python services, point the write file node at /mydata, and mount the volume read-only on the Python side.
Troubleshooting
Why WinLC RTX RTSS initialization failure happens on a VM
An RTSS initialization failure means the RTX real-time subsystem cannot start on the host as presented, so no controller configuration work will succeed until the platform is qualified. WinLC RTX 4.4 was never released, a Windows XP SP2 multiprocessor HAL is a known failure source, and WinAC RTX is not supported on VMware.
How-to
Save Node-RED OPC UA values to MySQL through a template insert
Wire the OPC UA client, a Template node and the MySQL node in series. The Template node builds INSERT INTO test.prosys_table (Counter, Time) VALUES from the measured value plus Now(), and places the finished statement on msg.topic, because the MySQL node reads its query from msg.topic and returns results in msg.payload. Then prove the row with a SELECT.
Troubleshooting
PLCnext MQTT client ENO false: readiness before broker checks
A false ENO on the PLCnext MQTT client function block means the client instance is not ready for method calls; it is not a verdict on broker credentials or the network. Keep EN true across scans until ENO turns true, issue Connect once per attempt, then verify the same-subnet path and the TCP connection before blaming authentication.
How-to
MQTT to Modbus TCP with Node-RED on an edge gateway
Yes: Node-RED with the node-red-contrib-modbus package can serve MQTT data to a SCADA client as Modbus TCP. Read the RTU device in Node-RED first, give the Modbus server node a port nothing else owns, and scale each MQTT payload to one integer per holding register before the first end-to-end test.
Explainer
What a historian does in an OPC and PLC system
A historian is a service on a plant PC that reads time-stamped process values from PLCs through OPC and writes them, with timestamp and quality, into a compressed time-series database. The PLC keeps the control and OPC keeps the transport; the historian turns those values into trends, reports and years of queryable process history.
How-to
Transferring old WinCC tag logging data to Process Historian
Old WinCC tag logging archives do not arrive on a newly commissioned Process Historian PC by themselves. Check version compatibility for your installed releases, back up and freeze the source archives, run the vendor's documented commissioning and historical-transfer procedure, then validate coverage by querying the same tag and interval in both systems.