Computing Library
Earlier articles
Troubleshooting
Why S7 Connector status turns bad after one minute
A status dot that is green and then turns bad after about one minute means the connector established the connection but lost acquisition or Databus publication. Test the three boundaries separately: PLC session and tag reads, Databus credentials and publish permissions, and an exact topic match including every segment.
Comparison
Redirecting PLC data logging to an external industrial PC
Keep the controller logging to its SD card and move completed log files to the PC with a periodic push or pull; collect live OPC UA values on the PC only when losing records during outages is acceptable. The tag count, rate, record size, retention and worst outage fix the storage, and the worked example sizes it.
How-to
Installing Process Historian 2013 Update 5 with KB2756195
KB2756195 comes inside the Process Historian 2013 Update 5 package: extracting the archive creates a dedicated hotfix subfolder, and you run that hotfix manually before the update only when it is not already installed, so no Microsoft support contact is needed. The readme's Updates 1 to 4 line lists the accepted starting versions, so an installation at the Update 3 level goes straight to Update 5.
How-to
Estimate historian disk space from measured daily growth
No datasheet gives a historian's bytes per record. Count the records your logging settings schedule, measure the historian data folder for about a month of real production, and project the net growth linearly to the retention target. In the worked example, 2.3 GB over 31 days is 74 MB per day, or 27 GB per year, sizing a 64 GB data volume with a 35 percent margin.
Troubleshooting
Fix an ODBC SSL Security error 08001 on an edge PC
The 08001 SSL Security error with ConnectionOpen(SECDoClientHandshake()) fails inside the SQL client's security negotiation, before any login is attempted, so rechecking the server name, database or credentials cannot fix it. Test from the PC that opens the connection, verify the SQL Server endpoint on port 1433, and install a current Microsoft OLE DB or ODBC driver with TLS 1.2 support.
Troubleshooting
Historian migration schema conversion leaves tags missing
A Wizard transfer that finishes proves only that the files arrived, not that the schema conversion ran to completion. When tag names are missing after a historian migration, read the transfer and conversion results separately, confirm the destination application points at the converted database, and check the source tag metadata against the migration guide for the release before touching anything. Reconvert only from a fresh, verified source copy.
Troubleshooting
When one Modbus TCP server can serve two clients
One Modbus TCP server can serve two clients. The same server address and listening port work when the server implementation holds concurrent sessions and the CPU has free connection resources; a second server block on its own port is only for implementations that cannot hold both clients.
Troubleshooting
Why oversized history blocks spike historian RAM at merge
Merge crashes on 15 to 20 GB history blocks are an input-volume problem, not a memory problem. Measure which of three causes fills the blocks — corrupted block sets, alarm and event bloat, or store-and-forward replay into old intervals — then fix that source. Adding RAM only moves the crash threshold; recalculated blocks stay small once the true cause is removed.
Explainer
PI AF SDK: the native path from a C# application to PI
No driver joins two OPC UA clients, so KEPServerEX needs no new driver for this. Read PI Data Archive and PI Asset Framework from C# through PI AF SDK, which needs the server-side PSA license. Any new values must flow through a real OPC UA server endpoint that a licensed PI OPC UA interface or connector collects from.
Comparison
WinCC CAS versus SIMATIC IT Historian: which archive fits
WinCC CAS is the long-term archive inside one WinCC system: it stores process values, messages and batch data from OS servers and SIMATIC BATCH. SIMATIC IT Historian is a plant-level historian that aggregates raw, compressed, validated and aggregated data from heterogeneous sources and adds KPI calculation and reporting. Choose CAS for a single WinCC installation; choose the Historian when you must consolidate several systems or serve validated, user-facing reports.
Troubleshooting
Edge gateway cloud connected but PLC variables missing
A Connected cloud status proves only the gateway-to-hub link. When the metric node tree shows only Sys, data and downstream and the driver list lacks the PLCnext data source, discovery between controller and gateway failed, not the cloud link. Run the controller-side checks, escalate through the gateway application's Contact Support channel with the evidence list, and accept the fix only when a changed test value reaches the hub.
Troubleshooting
Aggregation Matrix report fails when tag count rises
The failing report is the bigger aggregate workload even though it covers a shorter time range: report size follows tags times intervals, not the date span. The error name identifies the database function that was executing, not the cause. Capture the complete SQL message and test one report setting at a time.