Changing OPC tag to memory tag and vice versa dynamically in run-time

Hello
How I can change OPC tag to memory tag dynamically in run-time?
I need this because I want to define a simulation mode in project so by changing this mode to all tag update by a script that simulate process behavior and write simulate value to tags. this needs disabling tag update data from OPC UA server and after switch back from memory to OPC tag the OPC item data data remain the same.
Making OPC tag Item path empty and write value to to it is NOT working and value is always null.
Using sim driver also not a good idea because I have around 1500 tags.
I want a method to disable temporally read from OPC and write value by script.

Thanks.
Nader

2 Likes

Guessing never got an answer for this. My use case is about the same, but more around testing Alarms and HMI screens manually for things that do not happen normally in the device.

Have you tried this (Ignition 8+)?