# Using Data Types Parameters

**URL:** <https://forum.inductiveautomation.com/t/using-data-types-parameters/11843>\
**Category:** Ignition\
**Created:** [June 22, 2016, 7:24am UTC](https://forum.inductiveautomation.com/t/using-data-types-parameters/11843 "2016-06-22T07:24:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eyudes](https://avatars.discourse-cdn.com/v4/letter/e/9fc29f/32.png) [@eyudes](https://forum.inductiveautomation.com/u/eyudes)\
**Post date:** [June 22, 2016, 7:24am UTC](https://forum.inductiveautomation.com/t/using-data-types-parameters/11843/1 "2016-06-22T07:24:26Z")

</div>

Hello everyone,

I am trying to use datatypes parameters to get a more complex structure. To do this I have some parameters and I make the OPC item path with them but the problem is that I need to make a calculation to get the final path, i.e:  
ns=1;s=[{param1}\_{param2}]R{(param3-1)\*64+1019}

This does not work, I have checked that if I make only one operation it works ({param3+1} or {param3\*64}) but when there are more than one I can’t do it.

Is there any way to do more than one operation?

Thanks!

---

<div class="post-metadata">

**Author:** ![Sparkblender](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/sparkblender/32/4373_2.png) [@Sparkblender](https://forum.inductiveautomation.com/u/Sparkblender)\
**Post date:** [December 11, 2017, 7:49am UTC](https://forum.inductiveautomation.com/t/using-data-types-parameters/11843/2 "2017-12-11T07:49:50Z")

</div>

eyudes,

did you find a solution to this challenge?  
I’m also trying to do something like this, but haven’t found a way.

This line OPC Item Path would work (e.g. Siemens addressing):

```auto
[{ModAddrDeviceName}]{ModAddrDb},X{ModDsOffs+ModDsLen}.3

```

but this one would not:

```auto
[{ModAddrDeviceName}]{ModAddrDb},X{ModDsOffs+ModDsLen*InsDsId}.3

```

Parenthesis in math operations don’t work either.

Thanks.
