# PLC to Ignition Interactions

**URL:** <https://forum.inductiveautomation.com/t/plc-to-ignition-interactions/99896>\
**Category:** Ignition\
**Tags:** ignition81, scripting\
**Created:** [December 16, 2024, 5:46pm UTC](https://forum.inductiveautomation.com/t/plc-to-ignition-interactions/99896 "2024-12-16T17:46:20Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [December 17, 2024, 3:20pm UTC](https://forum.inductiveautomation.com/t/plc-to-ignition-interactions/99896/5 "2024-12-17T15:20:25Z")

</div>

> [@Xander\_Dawson-Fink](#):
>
> advantages to using the Gateway Tag Change Event

There are pros and cons. (Numerous discussions here on those.) But it is almost always preferable to `system.util.invokeAsynchronous()`. Starting new threads is a performance killer, and can run wild if you aren't careful.

Discussions like these (and more, if you tweak the search terms):

[https://forum.inductiveautomation.com/search?q=gateway%20tag%20change%20event%20valueChange%20thread%20pool%20order%3Alatest](https://forum.inductiveautomation.com/search?q=gateway%20tag%20change%20event%20valueChange%20thread%20pool%20order%3Alatest)

If you have a particular need for `valueChange` scripting, but also need to not block other tag events, study this topic and all of its links:

> [@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/plc-to-ignition-interactions/99896)._
