# Inserting PLC values into a table with a Gateway Event Tag Change Script

**URL:** <https://forum.inductiveautomation.com/t/inserting-plc-values-into-a-table-with-a-gateway-event-tag-change-script/90235>\
**Category:** Ignition\
**Tags:** database, scripting, ignition81, perspective\
**Created:** [May 10, 2024, 2:33pm UTC](https://forum.inductiveautomation.com/t/inserting-plc-values-into-a-table-with-a-gateway-event-tag-change-script/90235 "2024-05-10T14:33:55Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [May 10, 2024, 4:17pm UTC](https://forum.inductiveautomation.com/t/inserting-plc-values-into-a-table-with-a-gateway-event-tag-change-script/90235/4 "2024-05-10T16:17:03Z")

</div>

Actually, I suspect that it started as a Tag value change script, but is being refactored as a Gateway Tag Change event.

> [@addSeconds in Expression scripting not working with Tag value](https://forum.inductiveautomation.com/t/addseconds-in-expression-scripting-not-working-with-tag-value/90152/16):
>
> Hi lrose, Thank you for the input, this is my first ignition project in years so I am relearning everything as I go. Where and how to script to be the most efficient is where I am struggling the most, so your comment is very helpful. Thank you! I will try to switch it over to a Gateway Tag Change Event.

Based on previous context, that arguably you wouldn't have if you didn't know to go look.

---

_[View the full topic](https://forum.inductiveautomation.com/t/inserting-plc-values-into-a-table-with-a-gateway-event-tag-change-script/90235)._
