I have a PLC with a variable set of tags which start with a certain prefix and then an index indicating which of my stations the tags relate to.
I can dynamically search and access these tags already using a combination of the tag browser and a bit of logic. I can create a timer script to monitor all of these tags, but this will quickly become inefficient, as it is expected that a copy of this PLC with its tags will be placed at more stations in the future. I do not want to have to check if 100 different tags have changed in value in the last 10 seconds and then update my database based on only a few changes which occurred. The timer script would have to run on the server, because we cannot guarantee that the station computer will be on at all times.
I need to be able to dynamically create a tag change event for all of the tags I find in the PLC matching my search criteria. Is there any way to do this?
from com.inductiveautomation.ignition.gateway.sqltags.execution.tags import AbstractGatewayTag
Unfortunately, it says there is no gateway module.
I am sure this is a common problem, but I cannot find a solution.