Multi State Indicator Control

How can I operate a multi state indicator using three different discrete signals, one for each state?

Create 4 dynamic properties, discrete1, discrete2, discrete3, and status.

Bind the 3 discrete properties to whatever signals you wish to use

then make an expression binding on status, like so


Got it. Thanks.

You can also use the expression function binEnum() in place of nested if statements.


binEnum(0, false, 15, 0, 23)…returns 3 (the index of the 15 - any non-zero number is “true”)