FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We are updating our platform to a new
system.
Read more: Important
information on the platform change.
01-23-2023 08:06 AM
Is there an example PLC code for OPC UA Connection - startup and recovery?
Solved! Go to Solution.
01-19-2023 07:33 PM - last edited on 01-23-2023 08:07 AM by CodeShepherd
When using the OPC UA Client app, it is necessary to start the connection manually as of version 1.16.0.
This is detailed in this post:
In this same post, a Node Red example is given for starting the OPC UA Client if the current state is Disconnected. This can be used on startup or to recover if the connection is lost during runtime.
Attached is PLC Code to do the same. The file is a PLCOpenXML file that can be imported into the ctrlX PLC Engineering program.