I have 5 OPC tags (from a PLC) in a tag group updating every 5 minutes,
what I want is to get the most recent value when a button is pressed.
I can’t get the most recent value from the PLC, I keep getting the old value and I need to wait for the 5 minutes to refresh.
how can I force a tag to get the most recent value from the PLC when I press a button?
I tried system.tag.scan(“provider”,“Group name”) but that didn’t refresh the values…
any ideas… Thanks!