# Link multiple SCADA tags to different plc

**URL:** <https://forum.inductiveautomation.com/t/link-multiple-scada-tags-to-different-plc/84918>\
**Category:** Ignition\
**Created:** [January 29, 2024, 8:36pm UTC](https://forum.inductiveautomation.com/t/link-multiple-scada-tags-to-different-plc/84918 "2024-01-29T20:36:54Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [January 30, 2024, 1:55pm UTC](https://forum.inductiveautomation.com/t/link-multiple-scada-tags-to-different-plc/84918/7 "2024-01-30T13:55:23Z")

</div>

If I understand your desire correctly, no Ignition tag type will do what you want. Only scripting will transfer data from a tag pointing at one device to a tag pointing somewhere else (to produce a write).

Ignition v7.9 and prior had a feature on Expression tags that would write the result of each execution to a desired OPC server/item path combination. That was deleted for v8, and upgrades replace that function with a "legacy" tag value change event script that performs that operation.

So you could try a bunch of tag change value events that call `system.opc.writeValue()` or `.writeValues()`, but those are synchronous operations that are inappropriate in tag value change events in any non-trivial quantity. Consider a gateway tag change event subscribing to all of the necessary tags. If write traffic is high, you will want to batch by target device, so the OPC drivers have an opportunity to optimize. The use of a `ConcurrentLinkedQueue` and a timer event (to pace the write batches) would be appropriate. See this topic:

> [@Java concurrent queue for tag change scripts](https://forum.inductiveautomation.com/t/java-concurrent-queue-for-tag-change-scripts/82044):
>
> Continuing the discussion from [[SOLVED] Are tag Value Changed scripts running asynchronously?](https://forum.inductiveautomation.com/t/solved-are-tag-value-changed-scripts-running-asynchronously/68704/5): We've got code in our standard library that I need to log a value change on a tag and then associate various data points with that value change. The value is located in a UDT, and because this is part of our "standard" library we use for our customers, the number of tags is variable and quite possibly numerous so having a gateway tag event script isn't feasible for this solution. I was reading up on …

---

_[View the full topic](https://forum.inductiveautomation.com/t/link-multiple-scada-tags-to-different-plc/84918)._
