Linking a multistate display to 3 different tags

Hi,
I would like to be able to display 4 different colors in a Multi-state indicator, but linking them to 3 different tags. State 0 being inactive and state 1,2,3 just displaying a different color when each of these tags changes its Boolean value to 1. Any ideas?
I tried generating a dummy tag and scripting Expression something like that, but cant get it to work...

&&{[.]o_Lt_AMBER 1}=1
&&{[.]o_Lt_GREEN}=2
&&{[.]o_Lt_RED}=3

Any help will be highly appreciated.

Cheers.

binEnum(toBoolean({[.]o_Lt_AMBER 1}),
toboolean({[.]o_Lt_GREEN}),
toboolean({[.]o_Lt_RED}))

Working with enumerators…Thank you. By the way is there a good manual describing the scripting language within the Induction software? The Induction manual is pretty skimpy in that area.

Sure, see here: jython.org/jythonbook/en/1.0 … e-language

Oh, do you mean the expression language? There is not much to learn about it. It is expressions with functions and data types and bindings and some syntax. The Ignition user manual covers it.

@nmudge I am trying to implement this exact configuration in a Vision window. The system I am retrofitting uses individual tags for the HOA status. I need to use these individual bits to drive a single multi-state indicated. Please advise.

You've asked this on a nine year-old thread. You should probably start a new one and delete your post here (and I'll delete mine).

You'll also need to post your tag names and a truth table of what you want.

Thank you for the advice. I actually ended up using the binEnum expression to drive the integer value of the object.