FUXA icon indicating copy to clipboard operation
FUXA copied to clipboard

[FEATURE] Events and Actions to have AND + OR

Open lewsut opened this issue 1 year ago • 5 comments

It would be useful like may other packages to have the ability to AND, and also OR tags to drive events and actions of mimics.

For instance only show shape_1 if tag x and tag y are true.

lewsut avatar Dec 12 '23 10:12 lewsut

Hi, You can use scripts that are even more flexible

unocelli avatar Dec 12 '23 21:12 unocelli

I know, I certainly can, but it's not as fast or as user friendly, that's why nearly all HMI / SCADA applications allow you to do it in the GUI without scripting. Also this requires yet another tag? I would have to create an Xtag && Ytag == Ztag?

lewsut avatar Dec 13 '23 10:12 lewsut

The question is: where is the limit, only 2 tags, why not 3? and combined with brackets? and so it gets complicated. You certainly have an example of how the gui should look right?

unocelli avatar Dec 13 '23 18:12 unocelli

The question is: where is the limit, only 2 tags, why not 3? and combined with brackets? and so it gets complicated. You certainly have an example of how the gui should look right?

Well ideally it would be somewhat unlimited, and "scripts" would be accessible at the point of work. Here is an example, obviously this could be extrapolated for any number of tag tests. In the example below I show how a single tag works and how multi tag test works. This is Crimson 3.1 (not my favourite HMI software, but it's what I have installed) .

Doing things this way is more intuitive and doesn't require a special tag for the state of every displayed active object.

Animation

lewsut avatar Dec 14 '23 11:12 lewsut

Thanks, Yes, indeed the possibility of having the true/false condition via script is a nice feature.

unocelli avatar Dec 17 '23 09:12 unocelli