Multi-State Indicator

I'm trying to set up a multi state indicator to changed states from a PLC tag. I've tried Bool and Int tags. I set up states and tried to test but it either erases my states or doesn't change at all.

Any advice?

Show examples of what bindings you've tried on the indicator. The most common setup is to bind the tag to the state property of the indicator and use the style customizer to configure looks of the different states.

1 Like

If the text will be used by a number of clients, I normally do this inside an expression tag which binds to the tag within a case statement and results in the descriptive text. I most commonly use these for device statuses and modes

Eg

case({[.]Status},
   0, 'Stopped',
   1, 'Starting', 
   2, 'Running',
   3, 'Stopping', 
   'INVALID' 
) 

(I always then use the status description tag for my colour state bindings. It abstracts the status away from a random integer value)

1 Like

Thank you for the link and advice. As I read through, and watched the video, I noticed they had additional properties showing available to them. Then I remembered you have to select "All Properties". I was doing the right thing, I just couldn't find the "state" property for binding when I had "Basic Properties" selected from the default. I had the class 8 months ago and haven't touched Ignition since then.

Thank you. I'm trying to keep it as simple as possible for the maintenance team to troubleshoot. They understand binding and how to find the root tag. They can cross reference in the PLC from there. Case logic is a little more complicated to teach a wrench turner with basic plc skills.

Another thing I do is for all my templates that show analogue and difital tags and device symbols, is add a right click action which opens up a tag info popup which shows a lot of the info in the tag editor for the tag. For devices it browses the tags within the instance and displays them in a list, clicking on them shows the tag info. Super helpful for engineers and maintenance as it shows the opcitempath and plc ip address, along with engineering ranges (settable for the right privilege), if history is enabled, alarms, etc

1 Like