IMD SolutionComputing LibraryShop main store

How-to

Pull Ignition Edge tags to the main gateway with a remote tag provider

Edge computing and IIoT Published 8 min read

Short answer

Create a Remote Tag Provider on the main gateway that links, over a Gateway Network connection, to the tag provider on the Ignition Edge gateway, and leave the PLC device connection on the Edge side of the wireless link. The hop then carries tag subscriptions between the gateways instead of the PLC poll. Initiate the connection from the Edge side when NAT blocks the reverse direction.

On this page
  1. Why the OPC-UA route is a dead end
  2. Build the Gateway Network connection and the provider
  3. Working the 20,000-tag PLC behind the wireless link
  4. Where history, alarms and writes live
  5. Prove the link survives a dropout
  6. Failure patterns to expect on a wireless link
  7. Questions asked

The fix is a Remote Tag Provider on the main gateway: a provider that links, over a Gateway Network connection, to the tag provider running on your Ignition Edge gateway. It is not an OPC-UA connection — an Edge install cannot serve OPC-UA across the network — and it needs no broker. Leave the PLC device connection on the Edge gateway, next to the PLC, and the wireless hop carries tag subscriptions between the two gateways instead of a poll that grows every time the tag database does. The steps below point the connection in the direction your NAT allows, build the provider on the main gateway, and then prove the arrangement survives the link dropping.

Why the OPC-UA route is a dead end #

An Edge install's OPC-UA server keeps serving its own gateway and binds to local access only, with no setting to widen that bind, so a UA client on the main gateway has nothing to connect to no matter which port you aim it at. That limitation is a topic of its own: the article on why an edge OPC UA server accepts local clients but not remote ones works the same symptom from the client side. If you want proof on your own install, the Edge OPC-UA server's subscription and client statistics are readable through the SDK, and the knowledge-base guide on accessing Ignition OPC-UA server subscriptions and client statistics walks through it.

Two other fixes go nowhere just as fast:

Attempt Why it fails
Reversing the existing push The push from the main gateway to the Edge gateway is a one-way construct; the Edge gateway has no mirrored push that sends the tag tree back.
Mounting the PLC device connection on the main gateway It returns the full tag poll to the wireless hop, where its load grows with the tag database — the original failure that pushed you onto the Edge install in the first place.

Build the Gateway Network connection and the provider #

First decide which gateway dials. On a wireless site the Edge gateway usually sits behind carrier or site NAT, and the main server cannot open a session toward it — in that case the Edge gateway initiates the outgoing connection toward the main server. A Gateway Network link carries traffic both ways once it is up, so the direction only decides who dials.

  1. On the initiating gateway, open the gateway webpage and go to Config > Networking > Gateway Network, then start a new outgoing connection. Enter the other gateway's host address, and take the port and SSL mode from that gateway's own Gateway Network settings rather than from assumption.
  2. On the receiving gateway, open its Gateway Network page, find the incoming connections list and approve the pending record. A connection left pending never carries data.
  3. On the Edge gateway, check that its Gateway Network settings allow remote connections and that the connecting gateway's role can reach the tag provider — an Edge install grants remote gateways nothing until you allow it.
  4. On the main gateway, go to Config > Tag Providers and create a new provider of the Remote Tag Provider type. Select the Edge gateway as the remote server and the Edge tag provider as the remote provider, then give the provider a local name.
  5. Open the Designer against the main gateway and browse the new provider. The Edge tag tree should appear under the local name you chose.

The paths above are the 8.1 gateway webpage ones; remote tag providers also exist on the 7.9 platform, where the same settings live under their own arrangement. The licensed alternative is Ignition Edge Sync Services, which acts as a limited remote server that synchronizes data from the edge of the network to a central Ignition server and carries its own license — choose it when you want scheduled synchronization toward the central server rather than live tag access, or when the Edge license on your gateway does not permit the provider connection, which the licensing information in the gateway configuration confirms.

Inputs, with where each comes from:

  • PLC tag database: 20,000 tags today, about 40,000 once the planned doubling lands (the site's own figures).
  • Link between the sites: one wireless WAN hop, provisioned for internet access rather than industrial polling (the site's constraint).
  • Placement after the procedure above: the device connection on the Edge gateway, the Remote Tag Provider on the main gateway (the configuration built in the previous section).

The rule: a device connection mounted on the main gateway puts every PLC read on the wireless hop, so that arrangement's load scales with the tag database. A Remote Tag Provider leaves the reads on the Edge LAN and sends only the subscribed tags across the hop, so its load scales with the subscription set instead.

The arithmetic: doubling the database doubles the polled arrangement's load and leaves the provider arrangement's load alone — with the device connection on the main gateway, the hop carries 20,000 tags' worth of reads today and 2 × 20,000 = 40,000 tags' worth after the doubling, while with the provider arrangement the count of PLC reads crossing the hop is 0 before the doubling and 0 after it. What the provider does put on the hop is the subscription set, and that set is the same size whether the database behind it holds 20,000 tags or 40,000.

The result: moving the poll off the hop removes a load that grows in exact proportion to the tag project, and what remains is change-driven subscription traffic that stays flat through the doubling. The decision: the provider arrangement wins whenever the main side subscribes to fewer tags than the PLC database holds — which every realistic SCADA set does against a database this size — so keep the device connection on the Edge gateway, pull the provider over the Gateway Network, and when the doubling lands, re-check the subscription set rather than the architecture.

Where history, alarms and writes live #

Tags read through the provider still execute on the Edge gateway: alarm evaluation, tag history and tag-level scripting attached to those tags run at the edge unless you rebuild them on the main side. When the wireless link drops, the main gateway sees the provider go bad while the Edge gateway keeps polling the PLC — so anything that must survive an outage, historian storage and alarm journaling above all, belongs on the Edge gateway. Reading that history back from the main side is its own task once the provider exists; the guide on querying tag history from a remote tag provider covers it.

If you later want a broker-based architecture instead of a gateway-to-gateway link, the same Edge gateway can feed one — the walkthrough on bridging OPC UA PLC data to MQTT with an edge PC shows what that version looks like. For pulling tags into the main gateway, though, it adds a broker and a second tag model without removing a step.

Set the remote provider's write permissions deliberately: a write from the main gateway rides the wireless hop down to the PLC. Treat that write path as a control change, and commission it on a spare tag that actuates nothing before anything on the main side writes to a live output.

  1. Open the Gateway Network status page on both gateways — the same networking area of the webpage you configured — and confirm the connection reads as connected, not pending or faulted.
  2. Browse the remote provider in the Designer and compare values against the Edge side: one fast-changing tag and one static tag, both directions of the comparison.
  3. If writes are enabled, write a test value to a spare PLC tag from the main gateway and confirm it lands at the controller.
  4. Disable the radio and watch the provider quality go bad on the main gateway, then restore the link and confirm that quality and values recover without restarting either gateway. If the radio drops often, the guide on holding an Ignition Edge connection up through wireless dropouts covers the timeout settings that decide how rough each recovery looks.
  5. Check the PLC device connection on the Edge gateway throughout; it stays healthy because it never leaves the local network. If you ever find the gateway online while the PLC looks offline, the article on diagnosing an edge gateway that is online but PLC offline separates the two halves.
  • Stuck at pending — the receiving gateway never approved the incoming connection. Approve it and the link comes up.
  • Stuck at connecting — a firewall or the NAT blocks the direction you chose. Reverse which gateway initiates and approve again on the receiver.
  • Provider present but empty — the wrong remote provider was selected in the provider step. Re-check the provider name on the Edge gateway.
  • Slow screens after recovery — a large batch of subscriptions re-establishes at once over a thin link. Trim what each client window subscribes to.

With the connection approved from the side that can actually dial, the provider created on the main gateway and the poll left at the edge, the wireless link moves only what your screens and histories truly need — and it stays that size when the tag database doubles.

Questions asked

Do I need an MQTT broker or any extra software between the two gateways?

No. A Remote Tag Provider runs entirely on the two Ignition gateways across their Gateway Network connection, so no broker, client application or middleware sits between them. MQTT is a different architecture: it suits designs that want broker-based store-and-forward, and an Edge gateway can feed a broker if you later choose that path, but nothing in this setup requires it.

Do these steps apply to Ignition 7.9 gateways as well as 8.1?

Remote tag providers exist on both platforms — the feature is documented for 7.9 and for current releases — but the configuration pages are laid out differently between versions. The paths in this article are the 8.1 ones, so on a 7.9 gateway, work from that version's own Gateway Network and Tag Providers pages rather than following these paths literally.

What happens to the tags the main gateway already pushed to the Edge gateway?

They stay where they are. The push from the main gateway and the pull you add are independent of each other: the Edge tag provider keeps holding the pushed tags next to the tags it scans from the PLC, and the Remote Tag Provider on the main gateway exposes that whole Edge provider — pushed and scanned tags together — under the local name you gave it. Namespace collisions are the one thing to watch when both directions write the same folder.

Does the tag flow stop if nobody has a Designer open?

No. Both the Remote Tag Provider on the main gateway and the tag provider it links to live in the gateways' runtime, so the flow does not depend on any Designer session. Use the Designer to create and check the configuration, then close it; the main gateway keeps reading Edge tags, and only a gateway restart or a Gateway Network fault interrupts them.

Keep reading

  • How-to

    Pushing UDT definitions to Ignition Edge gateways with EAM

    Yes. An EAM Send Tags task pushes nested UDT definitions to every Edge gateway, because each gateway resolves its instances locally; a remote tag provider will not resolve a type held only on the main gateway. Expect remote tag delay of the 100 ms poll rate plus the network round trip, delivered over WebSockets.

    Edge computing and IIoT

  • Troubleshooting

    Run central tag event scripts on remote Edge tags

    Tag Event scripts on tags hosted by a remote tag provider do not execute on the central Ignition gateway: the provider shares values and definitions, not event execution. Host the logic in a Gateway Tag Change event on the central gateway, subscribed to the remote tag's provider-qualified path.

    Edge computing and IIoT

  • Troubleshooting

    Why an edge gateway OPC UA device limit hides new devices

    The missing create-new-device link on an Edge gateway is the license cap, not a PLC fault: a Limited edition allows 2 OPC Device Connections, and the web config hides the link once the count is reached. Count the configured devices, read the edition on the license page, then delete an unused device, reuse the existing entry for a PLC swap, or move to a Standard license.

    Edge computing and IIoT