Computing Library
Earlier articles
Explainer
WinCC runtime archives versus a central process historian
Each WinCC server archives its own tags at runtime; SIMATIC Process Historian is a separate central tier that collects the long-term-relevant tags and messages from multiple WinCC servers into its own SQL Server database. Keep runtime archiving on, keep archives on each server, and point long-term and cross-server queries at the historian.
Troubleshooting
Why the Expression option is missing in Historian Web Client
The Expression control in the Web Trend interface is licensed content: it appears only when the active license reports the Advanced Historian feature as licensed. An administrator account adds permissions, not entitlement, and the 2023 R2 SP1 upgrade did not remove the feature. When the license includes Advanced but the control stays hidden, re-run Historian Search in the AVEVA Configurator and reboot.
Troubleshooting
Why MQTT Engine writes fail with Bad_NodeIdUnknown
Bad_NodeIdUnknown on an MQTT Engine tag write is an OPC UA namespace lookup failure at the server executing the write — the node id is not in its address space. It is not a VPN fault: with good edge tags and a live Engine tag, fix the write target's node path, not the transport.
How-to
Get ETAP RTU data into AVEVA Historian the supported way
Keep the ETAP acquisition path and feed AVEVA Historian from ETAP's OPC UA publication for live values, with a documented historical import for the SQLDB and MongoDB records. The gateway zeros carry OPC DA quality 0x0040, Uncertain, from a second RTU session the reported single-client limit leaves unavailable, so they are acquisition failures, not measurements.
Explainer
How many trend pens fit in one historian client window
The AVEVA Historian Client Guide documents no pre-set limit on tags in a trend: the count is bounded by the client computer's resources. The 12,000-tag license sizes the server and the concurrent-user license sizes sessions, so neither caps pens. The figure to commit to a customer is a tested operating point — the highest pen total that populates within the agreed acceptance time with the full window layout open.
Troubleshooting
Stop duplicate InTouch alarms in Historian on TSE
Every TSE session runs a full InTouch instance, and each one submits its own alarm and event records to Historian, so one transition lands once per session. $HistoricalLogging = false stops value historization only. Split the project: a server application that owns alarm generation and all Historian logging, and client applications with neither, with every alarm display reading the server's provider.
Troubleshooting
Why Historian SDK events never show in AlarmClient mode 2
Yes, this is expected behavior. The Historian SDK stores records in dbo.Events and never raises transactions in the Alarm and Event system, so AlarmClient mode = 2, which lists recent alarms and events from the alarm provider, cannot show them. AlarmApp in Historical mode reads the Historian database directly and displays the same rows with their custom messages; only Application Server events such as write success reach recent mode.
Troubleshooting
Why Tier 2 historian replication loses the asset hierarchy view
Tier 2 replication does not lose the asset hierarchy: each tag's Location extended property arrives intact, and Historian Client Desktop simply does not render it as a tree. Point general users at Historian Client Web search on Tier 2 and keep Desktop on Tier 1 for power users. Rebuild a custom Public Namespace only if a tree is mandatory, and design its orphan cleanup for renames first.
Selection guide
Run Ignition Edge Panel natively or in Docker on an industrial PC
Install Edge Panel natively on the Windows industrial PC that drives the operator display: a container cannot put the Panel client on the host desktop, only the gateway behind a published port. Use the official Docker image for disposable test gateways, or for production on a Linux host. Two containerized Edge Panel gateways are still two licensed gateways; two native gateways share one PC with unique listen ports and install directories.
How-to
Reading Ignition historian data from MATLAB or Python
Put a REST endpoint on the Ignition gateway with the Web Dev module: it runs system.tag.queryHistory for the requester and returns JSON or CSV, so MATLAB or Python parses a defined recordset and never touches historian storage tables. Direct SQL against the documented tables is the fallback; an SDK module is the heavyweight path. One contract to define: tag paths, time bounds, alignment basis, output format.
Troubleshooting
Why Ignition historian tags stopped recording but live data is good
Correct live values, an executing historical scan class and a valid database connection prove acquisition only. Set Timestamp Source to System so Max Time Between Records of 10 seconds forces samples against the gateway clock, then read the Store and Forward queue direction and the database's own insert errors. Zero stored rows against a timed minimum count means the write path, not the tag, has failed.
How-to
Expose only approved Ignition tags to an external historian
No — on Ignition 8.1 an authenticated OPC UA client browses everything, and the gateway will not run a second UA server. Republish only the approved tags through a separate server such as Node-RED with the Ignition Node-RED module, firewall Ignition's own endpoint, or move to 8.3 role-based access.