How-to
Connecting InTouch HMI tags to Wonderware Historian by version
Short answer
The installed InTouch release decides the path: on 2020 R2 or newer, configure the Historian connection inside InTouch and enable its store-and-forward; on earlier releases, let Historian's IDAS collector read the running InTouch application. Verify with one stored value before expanding the tag set.
On this page
- Which connection path does my InTouch version use?
- How do I prepare InTouch tags for historical logging?
- How do I establish the connection between InTouch and Historian?
- What collection interval and scan rate should I set?
- How does store-and-forward protect history during an outage?
- How do I prove a value actually reached the Historian?
- Why does Historian show no data for a live tag?
- Questions asked
Long-term retrieval of InTouch data is a two-product job, and the installed InTouch release decides who owns the connection. On InTouch 2020 R2 or newer, configure the Historian connection inside InTouch: it pushes values to Historian and carries its own store-and-forward. On anything earlier, configure the IDAS collector inside Historian to read the running InTouch application. This article walks the commissioning procedure for both paths, sets collection intervals with real storage arithmetic, and ends with the query that proves a value landed. Exact menu names differ between releases, so read option names from the installed version's own help rather than another release's screenshots.
Which connection path does my InTouch version use? #
InTouch 2020 R2 is the boundary: from that release onward you configure the Historian connection inside InTouch, which pushes data and manages store-and-forward; on earlier releases you configure Historian's IDAS collector to read the running InTouch application.
| Decision point | InTouch 2020 R2 or newer | Earlier InTouch releases |
|---|---|---|
| Where the connection lives | Inside InTouch | Inside Historian |
| Direction of flow | InTouch pushes values to Historian | The IDAS collector reads the running InTouch application |
| Outage handling | Store-and-forward enabled from the InTouch-managed configuration | Store-and-forward on the IDAS collector |
| Runtime dependency | InTouch supplies the selected values | The InTouch application must stay running |
Commit to one path per application. Historian's documentation for the 2023 release describes IDAS store-and-forward as protection against temporary data loss when a remote IDAS cannot reach the server, so the earlier path is not weaker on continuity; it is configured on the other product. Do not judge one side's health from the other's screens: each path reports its own connection and tag status.
How do I prepare InTouch tags for historical logging? #
Select a small commissioning set first — one analog tag that changes and one discrete tag — and confirm each changes with good quality in the running application before any historical collection is enabled.
Record the facts before touching configuration: the InTouch release, the Historian release, both machine names, and the InTouch application name. Watch the two commissioning tags in a tag-value view rather than on the operator display, and confirm value, quality and update rate at the tag itself, because a display binding and a historical mapping are different objects.
Decide per tag why it deserves history. Slow analog values get an interval, discrete states are worth storing on their transitions, and when a value only matters while a condition holds, follow the pattern of logging a tag only when another tag is true instead of collecting it around the clock.
How do I establish the connection between InTouch and Historian? #
Work a numbered commissioning procedure that records both product versions, backs up the application, configures the version-appropriate path, then activates collection on the two commissioning tags before any wider tag set.
- Record the installed InTouch release and Historian release, the application name and the Historian server name. The version pair selects the path.
- Back up the InTouch application and the Historian configuration, and spend a minute verifying HMI project data is inside your platform backup before changing collection settings.
- Validate the two commissioning tags in runtime: values changing, quality good. Fix driver and controller faults first; no collector stores what never reached the InTouch tag.
- Configure the connection on the path your version selected. On 2020 R2 or newer, use the Historian connection configuration inside InTouch, point it at the Historian server and enable store-and-forward. On earlier releases, configure the IDAS collector in Historian to reach the running InTouch application under the account that collector service actually uses.
- Map the two tags to their Historian tag names and check the data types line up.
- Set each collection interval from the process requirement, not from a default.
- Activate collection, then read the connection status and per-tag status on the component that owns the connection.
- Clear authentication, reachability and mapping errors until both commissioning tags report healthy.
- Expand the tag set in batches and re-check status after each batch.
What collection interval and scan rate should I set? #
Set the collection interval to half the shortest process event you must see, and never faster than the InTouch tag's own update; for slow analog loops, 5 seconds resolves a 10-second event at 17,280 stored values per tag per day.
Three rates bound each other: the driver's update rate decides how fresh the InTouch tag is, the collection interval decides how often the collector observes it, and storage filtering decides which observations are kept. A collection interval faster than the tag's update stores the same value twice and proves nothing.
Worked example, 60 analog tags at a 5-second interval:
- 86,400 s per day ÷ 5 s per value = 17,280 values per tag per day
- 17,280 values × 60 tags = 1,036,800 stored values per day
- 1,036,800 × 365 days = 378,432,000 values in the first year
That is the planning number for buffer sizing and storage growth; measure actual growth against it after a week of representative operation, because filtering changes the real count.
Deadband, as an illustrative example: a tag scaled 0 to 1000 units with a 0.5 percent-of-span deadband stores only changes of 1000 × 0.005 = 5 units or more, so a 3-unit drift between two collections leaves no record. Commission with filtering off or generous, then tighten it after comparing stored history against known source changes.
How does store-and-forward protect history during an outage? #
Enable store-and-forward on whichever component owns the connection: InTouch on the 2020 R2-or-newer path, the IDAS collector on the earlier path, so a temporary network or server outage does not erase the values collected during it.
Store-and-forward buffers values locally while the path to Historian is down and forwards them when it returns. Size the buffer for the longest outage you accept, using the rate arithmetic above: at a 5-second interval one tag produces 720 values per hour, so a 24-hour tolerance across 60 tags needs capacity for about 1,036,800 values. Check where the buffer writes and that the location survives the outage you sized for. Gaps concentrated around restarts point to a different mechanism: fixing AVEVA Historian overnight data gaps after restart covers that pattern.
How do I prove a value actually reached the Historian? #
Prove storage with one controlled change: record the InTouch value and its timestamp, then query Historian for that tag over a 30-second window either side of the recorded time and confirm the same value and timestamp are stored.
Use a normal process change or an approved simulation input for this test; never force a production output solely to generate a value. Check the clocks first: the InTouch computer and the Historian server must agree, or the 30-second window misses the record and a timestamp offset gets misread as missing data. The pass criterion is one confirmed record with a known tag, a known value and a known time. How fast larger queries return is a separate question; historian data retrieval speed is decided by factors beyond this connection.
Why does Historian show no data for a live tag? #
Diagnose along the chain — source, InTouch tag, collection connection, stored record, query — because each symptom localizes to a different layer, and a live screen value only proves the first two layers work.
- The InTouch tag is stale or bad quality: fix the driver and controller connection first, because collection cannot repair its own input.
- The tag changes but no records appear: the collection connection or mapping is at fault on the component that owns your path.
- Records exist but the trend is empty: the query's tag name, time range or timestamps are hiding them.
- Logging stopped after application edits: read why InTouch stops logging to Historian after WindowMaker edits before touching the collector.
- Small changes are missing: the deadband suppressed them; redo the arithmetic above before lowering it.
Questions asked
Can I upgrade InTouch instead of configuring IDAS on the old path?
Yes. Upgrading to InTouch 2020 R2 or newer moves connection management, including store-and-forward, into InTouch, and the Historian-side IDAS configuration for that application becomes unnecessary. Treat it as a migration: retest every historical tag mapping after the upgrade, because the collection path and its settings change with it.
How large should the store-and-forward buffer be?
Size it for the longest outage you will tolerate, using the same rate arithmetic: at a 5-second interval one tag produces 720 values per hour, so a 24-hour buffer for 60 tags must hold about 1,036,800 values plus headroom. Check the buffer's configured location has that capacity, and confirm the recovery count after the first real outage.
Does the IDAS collector need its own license?
That depends on the entitlements of the installed Historian, not on the collector itself; verify the licensing of the deployed Historian server before promising continuous collection from it. A collector that starts and then stops logging is a symptom worth checking against licensing as well as connectivity.
Why does the stored trend show flat lines between points?
Flat segments mean no qualifying change was stored in that window: either the process value held steady, or the deadband suppressed changes smaller than its threshold. Query the raw stored values without aggregation before adjusting anything; if small changes you need are absent, lower the deadband on that tag and accept the higher storage rate.