# Metric/Imperial Unit conversion

**URL:** <https://forum.inductiveautomation.com/t/metric-imperial-unit-conversion/99020>\
**Category:** Ignition\
**Created:** [November 22, 2024, 9:57pm UTC](https://forum.inductiveautomation.com/t/metric-imperial-unit-conversion/99020 "2024-11-22T21:57:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_Stilson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/brian_stilson/32/73410_2.png) [@Brian\_Stilson](https://forum.inductiveautomation.com/u/Brian_Stilson)\
**Post date:** [November 22, 2024, 9:57pm UTC](https://forum.inductiveautomation.com/t/metric-imperial-unit-conversion/99020/1 "2024-11-22T21:57:12Z")

</div>

I apologize if this has been covered to death but my google searches have been fruitless.

Is there a way to switch between imperial and metric units on tags? They'll be coming from the PLC all in imperial units, so I'm thinking I can have them read a session property, just a true/false condition and then use that to turn scale mode to Linear or Off. I can then have parameters in my UDT for a scale factor. However, when I try to do a binding on the Scale Mode part of my value tags, it doesn't appear to work. My binding is:

if({session.props.custom.metric},"Linear","Off")

Is there a way to have tag values dynamically shift or should this be on the objects themselves?

---

<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:** [November 22, 2024, 9:58pm UTC](https://forum.inductiveautomation.com/t/metric-imperial-unit-conversion/99020/2 "2024-11-22T21:58:55Z")

</div>

You really need to do this in your UI with expressions. Changing the tag scaling not only changes things for everyone connected, but corrupts any history you are collecting.

---

<div class="post-metadata">

**Author:** ![Brian\_Stilson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/brian_stilson/32/73410_2.png) [@Brian\_Stilson](https://forum.inductiveautomation.com/u/Brian_Stilson)\
**Post date:** [November 22, 2024, 9:59pm UTC](https://forum.inductiveautomation.com/t/metric-imperial-unit-conversion/99020/3 "2024-11-22T21:59:14Z")

</div>

Gotcha. I'll do that, then.
