I have an idea how to do something, but I don't know which path to explore to figure out how to accomplish it. Here is the idea:
I have 2 DINTs that have 32 Running, and Failed bits, from 32 devices. I'd like to combine the two in Ignition to use in a "Multi-State Indicator" (and avoid adding 32 Dints from the PLC with the combined value). Three states would be displayed: Failed, Running, Off.
I believe if a DINT is labeled "Running", I can access the individual bits by adding a period... i.e. Running.0. Is that correct?
Then I would create an integer in Ignition that had something like an "If" function...
If Failed.0, then Status = 2, elseif Running.0, then Status = 1, else Status = 0. (No idea of the syntax, or where to even enter it.)
I have no idea how to even look this up to figure it out. There may be an easier way to accomplish this, but I just don't have enough experience with Ignition to see it. I just don't want to add 32 DINTs from the PLC to make this happen. Can you at least point me in the right direction?