is there a way to programmatically clear the cache of the Data Source Manager in CODESYS so that variable values are re-synchronized from the OPC UA server (Symbol Configuration with OPCUA features)?
Alternatively, is it possible to trigger a manual synchronization of data source variables from within the application code at runtime?
Hereβs the situation:
A variable is first written by the OPC UA client to the server in one state of a state machine and changes to another state β so the initial communication works.
Later, the server changes the variable value, but the client does not receive or reflect the updated value, unless the variable is actively written again.
Iβm looking for a way to force the client (data source manager) to re-read or refresh the variable state from the server, possibly by clearing the internal cache or triggering a sync.
Any ideas or suggestions would be greatly appreciated!
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi everyone,
is there a way to programmatically clear the cache of the Data Source Manager in CODESYS so that variable values are re-synchronized from the OPC UA server (Symbol Configuration with OPCUA features)?
Alternatively, is it possible to trigger a manual synchronization of data source variables from within the application code at runtime?
Hereβs the situation:
A variable is first written by the OPC UA client to the server in one state of a state machine and changes to another state β so the initial communication works.
Later, the server changes the variable value, but the client does not receive or reflect the updated value, unless the variable is actively written again.
Iβm looking for a way to force the client (data source manager) to re-read or refresh the variable state from the server, possibly by clearing the internal cache or triggering a sync.
Any ideas or suggestions would be greatly appreciated!
Thanks!