# Combining multiple tags into one

**URL:** <https://forum.inductiveautomation.com/t/combining-multiple-tags-into-one/25842>\
**Category:** Ignition\
**Created:** [June 14, 2019, 8:08pm UTC](https://forum.inductiveautomation.com/t/combining-multiple-tags-into-one/25842 "2019-06-14T20:08:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![damean.thomas](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/damean.thomas/32/11367_2.png) [@damean.thomas](https://forum.inductiveautomation.com/u/damean.thomas)\
**Post date:** [June 14, 2019, 8:08pm UTC](https://forum.inductiveautomation.com/t/combining-multiple-tags-into-one/25842/1 "2019-06-14T20:08:03Z")

</div>

I was wondering if anyone has any insights. i have a large number of valves with indicator tags for open and closed. Is there any way to combine the open and closed position of each valve into an array or UDT to use in indicating the valve condition. ie valve opened = valve 1 open, valve closed = valve 1 closed. Tag valve position : valve 1 open=1, valve 1 closed =0

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [June 15, 2019, 12:23pm UTC](https://forum.inductiveautomation.com/t/combining-multiple-tags-into-one/25842/2 "2019-06-15T12:23:20Z")

</div>

I would add a couple of custom properties to a multistate indicator, then use binEnc to drive the state of the indicator. See attached file. Note: the radio buttons are there to simulate the I/O.

[test\_multistateDemo\_2019-06-15\_0821.proj](https://us1.discourse-cdn.com/inductiveautomation/original/2X/9/93158535c133e1d8d36363cdf2667e97bd353675.proj) (6.6 KB)

![2019-06-15_8-22-27](https://us1.discourse-cdn.com/inductiveautomation/original/2X/1/1e6b0d28223cb6320a5a69aed63521ced00df59f.jpeg)

---

<div class="post-metadata">

**Author:** ![damean.thomas](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/damean.thomas/32/11367_2.png) [@damean.thomas](https://forum.inductiveautomation.com/u/damean.thomas)\
**Post date:** [June 17, 2019, 11:41pm UTC](https://forum.inductiveautomation.com/t/combining-multiple-tags-into-one/25842/3 "2019-06-17T23:41:20Z")

</div>

Thank you, this worked perfectly.
