Hello,
I’m using axc-f-3152 controller as an OPC UA client to read values from a OPC UA server. A permanent OPC UA client license is purchased and used in this project.
All variables, certificates are set-up very well and values can be read stably from the server.
Except if the server machine has a power down, and power up later, the value reading cannot be recovered. The programs tried but failed, the notifications look like this after server power down:
image.pngSequence(The screenshot is a bit vague):
ConnectionWarningWatchdogTimeout,
ConnectionErrorApiReconnect,
Service=‚Activate session‘, Status=‚BadSessionIdInvalid‘,
ServerState=‚NewSessionCreated‘,
ServerState=‚ConnectedNewSession‘,
CreateMonitoredItems failed with status BadNothingToDo
My timeout setting:
image.pngI expect the session could be recovered, but it seems the subscription items were empty after reconnect(that’s what „BadNothingToDo“ means, empty list).
Deactivating and then activating the OPC UA client service from WBM works. But this power-down scenario happens and we cannot count on service switch off and on to solve this issue(two reboots).
Is ST code possible to detect and re-subscribes after reconnect? Or what can I do?
Thank you very much for your idea.
Best regards
Kevin

Best Regads,