IMD SolutionComputing LibraryShop main store

Troubleshooting

Why Ignition eWON Connector tags show zero values

Edge computing and IIoT Published 6 min read By IMD Solution engineering team

Short answer

Zero or stale values on Ignition tags from an eWON Connector are a Flexy-side fault, not a historian fault: upgrade every Flexy to firmware 14.1 or later, leave Read all values in realtime off, and verify each value against its source. The sqlt_data and sqlth tables and the t_stamp column belong to Ignition's tag historian schema, so treat their formats and growth as Ignition questions.

On this page
  1. Decide first which side the fault is on
  2. Bring every Flexy to firmware 14.1 or later
  3. Turn off Read all values in realtime
  4. What the sqlt_data and sqlth tables actually are
  5. Counting a 14-tag system from 5 correct to 14 of 14
  6. Verify before you close the case
  7. Questions asked

When an Ignition eWON Connector lists every tag but the values sit at zero, the fault is on the Flexy side, and the fix is two steps: bring each Flexy to firmware 14.1 or later, then leave the Connector's Read all values in realtime option off. In the reported plant case, a Flexy serving 14 float values read only 5 of them correctly with that option enabled; after the firmware upgrade and with the option switched off, the values began updating. Everything else that looks alarming after connecting an eWON — the sqlt_data tables, the sqlth tables, fast growth, the unreadable t_stamp column — belongs to Ignition's tag historian schema and is not a Connector fault.

Decide first which side the fault is on #

The Connector's documented job is narrow: synchronize Flexy realtime and historical data into Ignition's tag historian as tags, creating them and updating their values, and stopping there. That scope splits the symptoms cleanly:

  • Tag list wrong, values stuck at zero or stale: Flexy and Connector side. Work the firmware step and the realtime-read option first.
  • Tag values good in Ignition but rows missing, timestamps unreadable, or tables growing fast: Ignition historian side. The eWON connection does not change how those tables behave.

The second group is a historian question even when the tag arrived through the eWON Connector — the same layer behind why Ignition historian tags stopped recording but live data is good.

Bring every Flexy to firmware 14.1 or later #

The documented floor for the Connector is Flexy firmware 14.1, and older builds affect Connector operation. Check the version on every Flexy the Connector serves: the reported setup had two eWONs connected, and both need the same floor. The clearest symptom of an old build is a data-management screen that does not match the Connector's documentation — the affected system offered only DataMailbox and Custom where the documentation also lists TALK2M API. When your options are fewer than the manual shows, upgrade before diagnosing anything else, wrong values included.

Update through HMS's documented firmware-update methods for Flexy 1xx and 2xx hardware, and schedule the update in a maintenance window, because the Flexy restarts and every tunnel and data path through it drops until it is back. One reported loose end: a _config folder that the Connector documentation shows inside the individual tag provider folders never appeared on the affected system, and it never turned into a diagnosable fault. Do not build anything on it and do not create it by hand.

Turn off Read all values in realtime #

With Read all values in realtime enabled, the Connector still lists every tag, but the values can read zero or stale: the list populates while the data does not. The published demo configuration for this integration has the option checked under the Connector's advanced settings, so it is easy to carry it past a first connect without noticing.

The recovery that held came from both steps in order. The firmware upgrade alone left the system still behaving oddly; switching the option off started the values updating. If you enable the option briefly to test, re-verify every value against its source before trusting the tag set, and switch it back off the moment floats read zero or stale again.

What the sqlt_data and sqlth tables actually are #

Connecting an eWON created these tables in MySQL in the reported setup, and none of them belongs to the Connector. They are Ignition's tag historian schema: Ignition's historian owns every insert through its datastore connection, and the Flexy never writes to the database itself — the reason why eWON Flexy BASIC cannot write to MySQL directly applies here too.

  • sqlt_data_1_2020_04: the sample storage. Ignition creates one table for each month of the year, for each datastore, and the name reads datastore 1, year 2020, month 04. Growth is the historian doing its job — a row lands for each recorded sample, so a table under continuously changing tags grows quickly. The rate follows each tag's scan class and change detection, and retention is a historian datastore purge setting, not a Connector option.
  • sqlth_te: the tag entries, one row per historized tag, which is why it read like the tag listing.
  • sqlth_partitions: the registry of storage partitions; its start_time and end_time mark the span of each month table.
  • sqlth_scinfo and sqlth_sce: the historian's scan-class records — definitions and their execution history.
  • sqlth_drv: driver records for the historian's data sources.

The timestamp columns are integers: t_stamp, start_time and end_time hold milliseconds counted from 1 January 1970 UTC — Unix time multiplied by 1000. Divide by 1000 for Unix seconds before handing a value to anything that expects seconds. Querying Ignition tag historian t_stamp values and sqlt_data partitions works through those conversions and the month-table naming.

If the tables themselves fail to appear, that is the historian's datastore connection — the same fault behind why Ignition tag historian tables are not created — not a Connector symptom.

Counting a 14-tag system from 5 correct to 14 of 14 #

Inputs, all from the reported case:

  • 14 float values served by the connected Flexy.
  • 5 of them reading correctly with Read all values in realtime enabled; the remaining 9 sitting at zero.
  • Documented firmware floor: 14.1.

Rule: a tag counts as recovered only when its value in Ignition matches a value read at the source and it has left zero. A populated tag list proves nothing, and the case closes only when every tag matches.

Arithmetic: 14 - 5 = 9 values still wrong before the fix. As a share of the tag set, 9 ÷ 14 = 0.643, so 64 percent of the list was unverified, while 5 ÷ 14 = 0.357 means only about 36 percent read true. The target after the fix is 14 ÷ 14 = 1.00: every tag matching.

Result: 9 zero readings to clear.

Decision: upgrade the firmware to the documented floor, switch Read all values in realtime off, then re-check the remaining tags against their source values. Any tag still at zero after both steps is no longer a Connector symptom — check that tag's source on the Flexy itself, the device definition and tag addresses on its device list, before escalating.

Verify before you close the case #

Work the checks in order:

  1. Read the firmware version on every Flexy the Connector serves and upgrade any build below the documented floor.
  2. Confirm the data-management options now match the Connector documentation for your firmware; if options are still missing, the firmware step is not finished.
  3. Leave Read all values in realtime off.
  4. Compare each float and integer in Ignition against a value read at the source — accept no populated list as success.
  5. Prove the historian write once: force a change on one tag, then confirm a new row with a fresh t_stamp in the current month's sqlt_data table.

A tag that passes steps 4 and 5 but still drops to zero intermittently points back to the source device or the Flexy's own tag configuration, not to the Connector or the historian.

Questions asked

What Flexy firmware does the Ignition eWON Connector need?

At least 14.1, on every Flexy the Connector serves — the reported setup had two eWONs and both needed the upgrade. Do the firmware step before changing any Connector setting, because an old build also explains a data-management screen that shows fewer options than the documentation lists. HMS publishes Flexy firmware recovery files for its 1xx and 2xx hardware for a unit that will not boot after an update, so have the current package in hand before you start.

Should Read all values in realtime go back on once firmware is current?

Treat off as the operating position: the reported recovery kept Read all values in realtime disabled. If you enable it briefly to test, compare every float and integer against a source value before trusting the list, and switch it back off the moment floats read zero or stale again. A full tag list is not evidence of good data in either position.

Is the t_stamp column Unix time?

Yes — it is Unix time in milliseconds stored as an integer. Multiply a Unix-seconds value by 1000 to compare it with the stored column, or divide the stored value by 1000 to get seconds. The partition table's start_time and end_time columns use the same format. If your dates land in January 1970, a tool read the integer as seconds when it was milliseconds.

Where do I escalate when zero values return after the fix?

Split the layers. Flexy behavior and Connector options go through the HMS/Ewon support channel, with the firmware version and the state of the data-management screen in hand. The sqlt_data tables, the sqlth schema, timestamp conversion and database growth are Ignition's tag historian schema, so those go to Ignition support, even when every tag arrived through the eWON Connector.

Keep reading

  • Troubleshooting

    Plant SCADA Connector shows connected but historian tags are NULL

    Connected status on both Connector ends proves the connections, not the reads: with Citect error 29, Bad User Parameters, the driver subsystem rejects the read before any value exists to store. Check the I/O Device special options and the variable tag data types first and leave the historian destination alone.

    Edge computing and IIoT

  • 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.

    Edge computing and IIoT

  • Troubleshooting

    Read Proficy Historian OPC-HDA tags into Ignition

    Create the Proficy historical connection through the OPC COM module's documented OPC-HDA workflow, not the new OPC Server connection dialog. Charts get their data from interval reads; values usable as Designer tags need a runScript bridge into a shared script built on system.opchda.readRaw. Enabling tag history on bridged tags stores new values only — the existing Proficy archive is not migrated.

    Edge computing and IIoT

Why an Ignition Easy Chart loads slowly on 15-day history