Dynamic Tag Scaling

I have a reference tag that is taking the actual position of an object and scaling it down to the screen specifications. I am trying to make the Raw Low, Raw High, Scaled Low, and Scaled High dynamically change based on the value of an expression tag that is in the same folder. I seem to be stuck and having trouble with this scaling. The expression tags work, it’s now down to how can I move that expression value into the reference tag property?

This is what I am currently attempting:

You can't. Those can only be bound to parameters.

You can use a tag value change script and @pturmel Automation Toolkit Bulk Script together to write that data when the expression tag value changes.

Unfortunately, you can’t actually bind those settings to a tag. You can bind them to a parameter if it’s part of a UDT, or you can write to those settings from an OnChange script on the other tag. system.tag.writeBlocking(‘[.]../ThisTag.ScaledLow’, whatevervalue) for example.

No, the actors can only write to OPC items, not to tags or tag props.

However, a tag value change event on the expression tags can write to the range properties. It cannot be done with a binding.

I meant to say the bulk action:
image

I'll edit...

1 Like