Not familiar enough with Ignition yet to see if or how something like this can be done.
I have two Expression Tags tagA, tagB that are not based on machines.
Currently we have a transaction group monitoring the change in each of the tags.
However they call the same procedure, which has 3 parameters,
- The value of tagA or TagB
- A dependent OPC Expression Tag (ie if it is the transaction group for tagA, we will use tagAA, tagB will use tagBB)
- a dependent Fixed triggered expression item ( tagA will always use X, tagB will always use Y)
So basically I want to accomplish the following in one single “trigger” :
if tagA changed, i want to call procedure123 with tagA.value, tagAA.value, “X”,
but if it is tagB that changed, then call procudere123 with tagB.value, tagBB.value, “Y”
Things could be simplified since in our in our current environment tagAA, and tagBB have the same value, but there is nothing that could prevent that being different in the future.
There is also the chance that additional SQL Tags to be monitored could be added, ie TagC, TagD, though that would be highly unlikely.
As to the why of reducing this - well it seems it would be more efficient to have fewer transaction groups and fewer items to maintain.
Looking forward to any ideas and suggestions