# OPC tag script using UDT parameters

**URL:** <https://forum.inductiveautomation.com/t/opc-tag-script-using-udt-parameters/84195>\
**Category:** Ignition\
**Tags:** vision, scripting\
**Created:** [January 12, 2024, 3:14pm UTC](https://forum.inductiveautomation.com/t/opc-tag-script-using-udt-parameters/84195 "2024-01-12T15:14:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ryan.white](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan.white/32/73193_2.png) [@ryan.white](https://forum.inductiveautomation.com/u/ryan.white)\
**Post date:** [January 13, 2024, 1:02am UTC](https://forum.inductiveautomation.com/t/opc-tag-script-using-udt-parameters/84195/2 "2024-01-13T01:02:31Z")

</div>

Please post code, not pictures of code. Tip: use the `</>` code formatting button to preserve code indentation and apply syntax highlighting. There’s an edit button (pencil icon) below your post so you can fix it.

> [@Wiki - how to post code on this forum](https://forum.inductiveautomation.com/t/wiki-how-to-post-code-on-this-forum/77831):
>
> This thread is intended as a short help file for all those struggling to post formatted code on the forum. Code block formatting Posting formatted code on the forum (and most others) is as simple as selecting the code and pressing the \</\> button. It works the same as applying Bold or Italic styles to your document. It preserves indentation and applies syntax highlighting. [How to post code] Note that all the \</\> button does is add three backticks ``` on the line before the code block and anot…

That aside, please explain the expected flow with more detail, ie: When tag `foo` has value `bar`, tag `knick` should have value `knack` written to it. We can't see enough of the code to figure out exactly what you are trying to accomplish.

---

_[View the full topic](https://forum.inductiveautomation.com/t/opc-tag-script-using-udt-parameters/84195)._
