IMD SolutionComputing LibraryShop main store

Explainer

What a historian migration moves and what you must rebuild

Edge computing and IIoT Published 8 min read

Short answer

A one-time SIMATIC IT Historian to PI migration is three jobs: a mapped backfill of archived measurements through the RDBMS via ODBC interface with your own TSQL queries, a live path commissioned separately (PI Connector for Siemens SIMATIC PCS 7 over OPC UA where data originates in PCS 7), and a rebuilt alarm, trend, calculation and audit layer. Run parallel, reconcile batches, then decommission.

On this page
  1. What actually transfers when you migrate SIMATIC IT Historian to PI?
  2. How do you get the archived history out of SIMATIC IT?
  3. How do you map source signals into PI points without corrupting the record?
  4. Example: how long does a 90-day backfill of 5,000 tags at a 10-second scan take?
  5. How does live data reach PI after SIMATIC IT is switched off?
  6. What has to be rebuilt by hand after the data lands?
  7. When can you safely decommission SIMATIC IT?
  8. Questions asked

No single connector migrates a SIMATIC IT Historian to PI in one operation. Split the job into three projects with separate acceptance tests: extract the archived measurements yourself through the relational backend using the RDBMS via ODBC interface and queries you write; commission a live collection path that survives SIMATIC IT's shutdown; and rebuild the trends, alarms, calculations and audit records that no interface carries. Run old and new historians in parallel, reconcile batches, and decommission only when every live tag has a source that exists without SIMATIC IT.

What actually transfers when you migrate SIMATIC IT Historian to PI? #

Only the timestamped measurements travel as data: every trend screen, alarm model, calculation, display and audit record is an application object that no interface migrates, so the project is one data transfer plus a rebuild of everything the historian presented on top of that data.

Draw the line precisely, because "move everything" is where migrations stall. A trend display is a presentation object; the timestamped values it plots are archive data. Moving the values does not recreate the display, and no query can. Write a scope register that gives every class an owner, a method and an acceptance test before any interface is installed, and make exclusions explicit.

Information class Moves through an interface? Route Acceptance evidence
Archived measurements Yes, as rows you query RDBMS via ODBC with your configured TSQL queries First and last timestamps, row counts and quality per tag match the source view
Live measurements after cutover Yes, on a new path PI Connector for Siemens SIMATIC PCS 7 over OPC UA, or the same ODBC route Values arrive and history accumulates on the PI point
Trends and displays No Rebuild and re-point at PI points Tags, units, scales and time navigation correct
Alarms and events No Re-model in PI or leave at the control system Event identity, time, state and acknowledgment match
Calculations No Re-implement and validate Results agree with stored source results over a common interval
Audit records No Export to your retention target Records retrievable with attribution and context

Part of a SIMATIC IT archive is MES material — batch context, order and part data — and not all of it belongs in a trending archive. Decide class by class before moving anything; the trade between a historian and a SQL database for discrete, part-driven data is laid out in historian or SQL database for discrete part-driven data.

How do you get the archived history out of SIMATIC IT? #

The RDBMS via ODBC interface executes the TSQL queries you configure and nothing more: it does not know which SIMATIC IT tables hold the history, so the schema comes from Siemens documentation and the installed database's own metadata.

That is the whole contract. Open Database Connectivity is database access, not application knowledge, so the interface cannot find signal identifiers, engineering units or quality flags for you, and it cannot model PI structure from arbitrary tables. You locate the relationships between signal IDs, timestamped rows, units and quality, then write the extraction and the destination mapping yourself.

Check two things before bulk transfer. First, that the queries reach older archives, not only the active store: querying the live database alone can produce an apparently successful import with years missing. Retrieve one known signal over a recent interval and one over an old interval, and require the identity, first and last timestamps, values and quality to match the source historian's own view. Second, check the dialect and timestamp behavior of your configured queries against the installed backend, because the interface runs what you give it.

The route choice is the same one described in backfilling Wonderware Historian data into PI: connector or RDBMS: a database interface moves anything you can query but carries no application model; a source-specific connector moves only what the source exposes, with far less schema work on your side.

Keep the source read-only for the whole job — no inserts, updates or schema changes against a production archiving database — and run bounded extracts while watching the production database's response.

How do you map source signals into PI points without corrupting the record? #

Map every source signal to its PI point before one row is loaded: record the destination point, value type, engineering units, timestamp basis and quality translation per tag, because a value written without quality turns a communication failure into valid-looking history.

Similar names are not a mapping. Two signals can share a label while differing in equipment context, units or data type, so the specification — not the tag list — is the authority. Resolve time before comparing any values: establish whether source timestamps are UTC or local time and how daylight-saving transitions are represented, and keep the event time rather than substituting the import time. Decide the duplicate-timestamp and retry policy up front, so a re-run neither loses a window nor silently overwrites records.

Prove the mapping on a small sample containing a changing value, a steady value and a bad-quality record, and require each row to land on the intended point with the right type, units, timestamp and quality. Repeat the sample across a daylight-saving transition and after a deliberate restart before scaling up.

Example: how long does a 90-day backfill of 5,000 tags at a 10-second scan take? #

At one archived value every 10 seconds, 5,000 tags produce 43.2 million rows per day, so a 90-day window is about 3.89 billion rows, and at a sustained 5,000 rows/s the transfer needs roughly 216 hours — nine days of continuous runtime before any restart margin.

The arithmetic, step by step:

  • 86,400 s per day ÷ 10 s per record = 8,640 records per tag per day
  • 8,640 records × 5,000 tags = 43,200,000 rows per day
  • 43,200,000 rows per day × 90 days = 3,888,000,000 rows to move
  • 3,888,000,000 ÷ 5,000 rows/s = 777,600 s = 216 h ≈ 9.0 days
  • The same load at a cautious 1,000 rows/s takes 45 days: 3,888,000,000 ÷ 1,000 = 3,888,000 s = 1,080 h

The 10-second scan and the 5,000 rows/s are illustrative inputs, not specifications. The scan rate is whatever the SIMATIC IT logging configuration actually produced, and the transfer rate is whatever your pilot batch achieves against the production backend — measure the pilot, then rescale the window linearly: halve the rate and the days double.

Budget the backfill as its own project with bounded time windows, recorded boundaries and per-batch reconciliation; a nine-day best case is why the planning unit is a parallel-run project, not a weekend. If the pilot lands far below the budgeted rate, work through the causes behind why historian backfill runs slow from Tier 1 to Tier 2: source query cost first, then network hops, then destination write behavior.

How does live data reach PI after SIMATIC IT is switched off? #

Where the data originates in PCS 7, the documented live route is the PI Connector for Siemens SIMATIC PCS 7, which collects time-series and contextual data from Siemens' OPC UA server for OpenPCS 7.

Siemens' delivery release for PI-CONNECT OPC+ UA V1.9 lists PCS 7 V9.0 SP3 (OpenPCS 7) and PCS 7 V9.0 SP3 (WinCC OPC Server) as supported sources, so pin your PCS 7 release and confirm the OPC UA server is present before committing to either product. AVEVA's documentation for its OPC UA connector describes a PCS 7 mode that covers OPC UA servers which previously needed the dedicated PCS 7 connector — check which connector matches your installed versions rather than assuming. Bringing an OPC UA endpoint up includes certificate trust in both directions between collector and server; plan that exchange as part of commissioning.

Tags that exist only in the SIMATIC IT application layer — MES-computed values with no counterpart in PCS 7 — cannot come through the PCS 7 route. For those, the same RDBMS via ODBC interface can collect new rows, but then PI still depends on SIMATIC IT writing them: that is a bridge, not a replacement, and it postpones decommissioning until every such tag is re-sourced.

Whichever collector you choose needs its own always-on host next to the source, specified like any other cabinet computer: a fanless industrial mini PC is the standard fit for 24/7 collection duty at the line.

What has to be rebuilt by hand after the data lands? #

Trend screens, alarm and event models, calculated tags and the audit trail are rebuilt by hand, because an interface that runs queries or reads OPC UA carries no knowledge of how SIMATIC IT displayed, alarmed or computed anything.

Work the scope register class by class. Alarms: decide whether they live in PI or stay at the control system, then verify that event identity, time, state and acknowledgment carry over meaningfully — a migrated alarm list that loses its lifecycle is worse than a clean re-model. Calculations: re-implement them, then validate the new results against the stored source results over a common interval before trusting them. Audit: export with attribution and action history into whatever store meets your retention requirement. Displays: rebuild and re-point them at the PI points the mapping specification defined.

This rebuild is where most of the project hours go, and it is the part with no interface shortcut; for full scope — alarms, trends, calculations, audit, displays — plan on integrator time to understand the application, and expect some customization.

When can you safely decommission SIMATIC IT? #

Cut over only after a parallel run: both historians record the same tags, you reconcile at least one full batch per critical line — first and last timestamps, row counts and spot checks against a known tag, value and timestamp — and every difference is explained.

The decision per case:

  • Every live tag sourced through PCS 7 OPC UA and the backfill reconciled: decommission after the parallel window closes.
  • Any live tag that exists only because SIMATIC IT writes rows: no decommission date — re-source the tag first, because today's ODBC collection is a bridge that keeps the old system alive.
  • Backfill complete but the parallel run shows unexplained gaps: stop the cutover, find the dropped window, re-run that batch from its recorded boundary.

One post-cutover symptom deserves a name: live values good, trends empty. That means the new path is updating the snapshot but not the archive store; the checks are in why PI shows live values but no trend history. Run them before the parallel window is declared a success. Until all three cases resolve in favor of the new system, SIMATIC IT stays in service.

Questions asked

Does the RDBMS via ODBC interface need setup before the first query?

Yes. The interface is configured against one database connection, so before any query runs you confirm the backend type, the account it logs in with and the ODBC data source defined on the collector host, and you verify with Siemens that your SIMATIC IT release supports that access mode. None of the schema knowledge comes with the interface; the table relationships are your job to document.

Can SIMATIC IT stay permanently as a live bridge into PI?

Technically the ODBC route can keep collecting new rows indefinitely, but a permanent bridge means the old system stays licensed, patched and backed up forever, and the decommissioning you planned never happens. Treat it as interim: re-source every live tag through the PCS 7 OPC UA route or another collector, then retire SIMATIC IT on a written date.

How do I prove a backfill batch did not drop or duplicate records?

Reconcile each window per tag: compare row counts and the first and last timestamps between source and PI, then confirm one known tag, value and timestamp by hand. Fix the boundary convention before the first batch runs — decide whether a window's end timestamp belongs to the closing window or the opening one — and apply the same rule on every retry.

How far ahead should the parallel run be scheduled?

Schedule it around the backfill, not a calendar: in the worked example the transfer alone needs about nine days of continuous runtime before reconciliation can start, so the parallel window is the backfill duration plus enough production to cover at least one full campaign per product family. The gate is reconciled batches, not weeks on a plan.

Keep reading

  • Comparison

    Move DeltaV Continuous Historian data into a PI system

    When PI points exist, collect DeltaV live values with OPC DA and recover history with OPC HDA; when points and AF structure are missing, let the DeltaV Smart Connector create them from EntHist.xml. Add PI-to-PI only for a second office-LAN server. Prove buffering, service identity and archive coverage by test before the bulk load.

    Edge computing and IIoT

  • Explainer

    Connect on-premise OPC UA and SQL servers to a cloud PI System

    Yes. Install the AVEVA adapters on-premise, on a small host next to the OPC UA and SQL servers, and point egress at PI Web API in the cloud; the PI Data Archive port is not a supported egress destination. Only the adapter-to-Web API direction needs an outbound route.

    Edge computing and IIoT

  • Troubleshooting

    Backfill late and out-of-order data into Canary collectors

    Canary's SQL and MQTT collectors both insert historical samples that arrive out of time order, so late data after an outage lands at its correct timestamp; only the OPC DA and OPC UA collectors refuse inserts. Confirm a backfill by opening the affected window in the historian files and looking for samples marked Added with Good quality, and set the MQTT Collector's Reordering Queue Size above its default 0 when messages arrive out of sequence.

    Edge computing and IIoT