# Data Type Paramters

**URL:** <https://forum.inductiveautomation.com/t/data-type-paramters/32610>\
**Category:** Ignition\
**Created:** [February 25, 2020, 11:14pm UTC](https://forum.inductiveautomation.com/t/data-type-paramters/32610 "2020-02-25T23:14:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robot\_B9](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/robot_b9/32/3599_2.png) [@Robot\_B9](https://forum.inductiveautomation.com/u/Robot_B9)\
**Post date:** [February 25, 2020, 11:14pm UTC](https://forum.inductiveautomation.com/t/data-type-paramters/32610/1 "2020-02-25T23:14:57Z")

</div>

I have a Data Type that includes the OPC path in the parameters and have created several tags using this data type and will end up using similar Data Types for many additional tags.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/8/8cb3738f61fe05fbe774bda46b5bd786c28eb9ba.png)  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/9/9f3b00a4747e4ed7b6dd1ca623bf5e68d7e82afa.png)

The problem is that I am developing the screens using a soft PLC on my PC and this OPC path will change in the field.

Is there a way to change this OPC path without physically changing them one at a time or creating new tags?

---

<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:** [February 26, 2020, 1:53am UTC](https://forum.inductiveautomation.com/t/data-type-paramters/32610/2 "2020-02-26T01:53:52Z")

</div>

If your soft PLC and the real PLC have the same syntax, you can delete the driver device for the soft PLC and replace it with the device for the real PLC, using the same name. Then it will “Just Work.” If the soft PLC is not the same, you will have to script the changes. See the system.tag.\* scripting functions in the manual.

---

<div class="post-metadata">

**Author:** ![Robot\_B9](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/robot_b9/32/3599_2.png) [@Robot\_B9](https://forum.inductiveautomation.com/u/Robot_B9)\
**Post date:** [February 26, 2020, 5:49pm UTC](https://forum.inductiveautomation.com/t/data-type-paramters/32610/3 "2020-02-26T17:49:51Z")

</div>

Thanks for the reply.

Since, I will be using a lot of tags created using Data Types that use the Data Type Parameters to indirectly address tags in an array, I was hoping that I could find an easy way to change the parameter name “OPCpath” for all these tags at one location like a string memory tag.

The OPC path will be different even after I update the OPC Server Connection in the project configuration.

I’m not sure I can do that with the “system.tag.\*” scripting because of the indirect addressing.

Thanks again

---

<div class="post-metadata">

**Author:** ![MMaynard](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mmaynard/32/3366_2.png) [@MMaynard](https://forum.inductiveautomation.com/u/MMaynard)\
**Post date:** [February 26, 2020, 7:55pm UTC](https://forum.inductiveautomation.com/t/data-type-paramters/32610/4 "2020-02-26T19:55:36Z")

</div>

You can export the tags to XML, script the changes, and re-import.

---

<div class="post-metadata">

**Author:** ![Robot\_B9](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/robot_b9/32/3599_2.png) [@Robot\_B9](https://forum.inductiveautomation.com/u/Robot_B9)\
**Post date:** [February 27, 2020, 3:54pm UTC](https://forum.inductiveautomation.com/t/data-type-paramters/32610/5 "2020-02-27T15:54:24Z")

</div>

That seems like my best option … Thanks
