Do calculation on OPC Tags

Opc source path shows unit in Celsius.

I need translate to Fahrenheit and import this to Tag Browser.
I need this translation to be in tag level, so I can apply alarming in F units as well.

What is the best/short way to do this? other than using OPC and Expression Tag.

Use the scaling feature on the tag definition. (Or switch to Celsius!)

Scaling can't handle this conversion, can it?

I think you need an expression tag, or derived tag if the conversion should work in both directions, i.e. the tag is writable.

It does, as far as I can see.

2 Likes

Huh, not sure why I thought that.

This is on OPC Tag, I am not sure what I can use for Fahrenheit Conversion:

I showed you in post #4!

0°C → 32°F
100°C → 212°F

It's a linear scaling.

1 Like

:scream: Right it is linear equation.. My bad..