# Making a tag dynamic

**URL:** <https://forum.inductiveautomation.com/t/making-a-tag-dynamic/54918>\
**Category:** Ignition\
**Tags:** ignition80, ignition81\
**Created:** [January 12, 2022, 9:31am UTC](https://forum.inductiveautomation.com/t/making-a-tag-dynamic/54918 "2022-01-12T09:31:57Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Atanu\_Sanyal](https://avatars.discourse-cdn.com/v4/letter/a/e19adc/32.png) [@Atanu\_Sanyal](https://forum.inductiveautomation.com/u/Atanu_Sanyal)\
**Post date:** [January 12, 2022, 9:31am UTC](https://forum.inductiveautomation.com/t/making-a-tag-dynamic/54918/1 "2022-01-12T09:31:57Z")

</div>

Hello All,  
Hope you are doing well.  
Can anybody support me to get solution how I can make PRD\_POP2\_Index integer tag dynamic for different instances to read value. Tanks in advance.

system.tag.readBlocking([’[Plant\_Model]PDM/SiteName/AreaName/LotName/LotNo/InternalTags/PopUp/PRD\_POP2\_Index’])[0].value

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [January 12, 2022, 9:38am UTC](https://forum.inductiveautomation.com/t/making-a-tag-dynamic/54918/2 "2022-01-12T09:38:59Z")

</div>

Hi,  
I think you’ll need to be a bit clearer, I have no idea what you mean.

What do you have, and what do you want to achieve ?

---

<div class="post-metadata">

**Author:** ![Atanu\_Sanyal](https://avatars.discourse-cdn.com/v4/letter/a/e19adc/32.png) [@Atanu\_Sanyal](https://forum.inductiveautomation.com/u/Atanu_Sanyal)\
**Post date:** [January 12, 2022, 9:58am UTC](https://forum.inductiveautomation.com/t/making-a-tag-dynamic/54918/3 "2022-01-12T09:58:43Z")

</div>

Hi Pascal,

i have created a UDT memory tag named- (PRD\_POP2\_Index)  
now i want to make this tag dynamic for different instances to read the value by using  
system.tag.readBlocking

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [January 12, 2022, 10:19am UTC](https://forum.inductiveautomation.com/t/making-a-tag-dynamic/54918/4 "2022-01-12T10:19:21Z")

</div>

What do you mean by “dynamic” ?  
Each instance will be a new tag, with its own name, its own value, etc.  
Reading a specific instance will return this instance’s qualified value, regardless of other instances.

Can you give an example of what you mean ?

---

<div class="post-metadata">

**Author:** ![amarks](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/amarks/32/45610_2.png) [@amarks](https://forum.inductiveautomation.com/u/amarks)\
**Post date:** [January 12, 2022, 7:10pm UTC](https://forum.inductiveautomation.com/t/making-a-tag-dynamic/54918/5 "2022-01-12T19:10:04Z")

</div>

I agree that this is very unclear, but assuming that in the tag name “Index” is not literal and is a placeholder for a number index, @Atanu_Sanyal should use indirect binding

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [January 12, 2022, 7:36pm UTC](https://forum.inductiveautomation.com/t/making-a-tag-dynamic/54918/6 "2022-01-12T19:36:19Z")

</div>

You can’t make a tag dynamic in the sense that it switches between connecting two or more tags in a PLC or other device. What you can do is create tags for each item you might want to monitor and then access those tags by making an [indirect binding in Vision](https://docs.inductiveautomation.com/display/DOC81/Indirect+Tag+Bindings+in+Vision) or an [indirect binding in Perspective](https://docs.inductiveautomation.com/display/DOC81/Tag+Bindings+in+Perspective#TagBindingsinPerspective-IndirectTagBindingMode)…

---

<div class="post-metadata">

**Author:** ![Atanu\_Sanyal](https://avatars.discourse-cdn.com/v4/letter/a/e19adc/32.png) [@Atanu\_Sanyal](https://forum.inductiveautomation.com/u/Atanu_Sanyal)\
**Post date:** [January 13, 2022, 12:40pm UTC](https://forum.inductiveautomation.com/t/making-a-tag-dynamic/54918/7 "2022-01-13T12:40:31Z")

</div>

thank you, actually i got the solution.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [January 13, 2022, 12:42pm UTC](https://forum.inductiveautomation.com/t/making-a-tag-dynamic/54918/8 "2022-01-13T12:42:24Z")

</div>

It would be good etiquette to share what the solution is so that others may benefit too.
