Skip to main content
3-Newcomer
October 6, 2026
Question

Derived Tag based on Boolean Values

  • October 6, 2026
  • 0 replies
  • 7 views

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.