Metric/Imperial Unit conversion

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?

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.

1 Like

Gotcha. I'll do that, then.