AnsweredAssumed Answered

Is there a way to include multiple pi tags in a multistate symbol automatically?

Question asked by Kopko on Aug 14, 2017
Latest reply on Aug 15, 2017 by gmichaud-verreault

Hello everyone. I'm new to PB and stucked in this problem.

I have this tag "RSATL2_230_CH*.s" that if I search will give me a list of PI Tags that can assume "on" or "off".

I want to include all of this PI Tags in a multistate symbol through PI Calc. Here I want to include a formula that compares if the state of any of these PI Tags has changed.


I know that I can do this manually, including the PI Tags one by one and comparing with a formula like this:

{ IF ‘tag’<> “on” AND ‘tag’<> “off” .... THEN “0” ELSE "1’" }

But is it possible to make it automatically? I'm not sure if I will need VBA for this.