Question
Derived Tag based on Boolean Values
I have multiple alarm tags in PLC. I need to set an integer (long) value based on those tags such as
If tag1 = true then 1000 or if tag2 = true then 1005 or if tag3 = true then 1010
I can’t seem to figure out a formula that will let me do something like that.

