Bind Engineering unit to a tag inside UDT

Hello Everyone,
I have a UDT for VFD. Engineering unit for Speed will change depending on where machine is going, It can be RPM or ft/min. Now PLC have a int tag for the same, like 1=ft/min , 2=RPM etc. Now I created expression tag in UDT to convert int to string, now I need to bind this tag to actual speed tag’s engineering unit but unfortunately I can only bind engineering unit to parameter and I can not write parameter value automatically like binding property to a tag value in same UDT.

I might have confused you. Please ask if you have any doubts, I hope to be able to connect these two.

Let me know your thoughts.

Thank you

We solved this by adding a tag event script on our unit tag.

1 Like