I would like to control the OPC UA Client App connect/disconnect from the PLC. I also want to read the client state to verify that the connect/disconnect occured. I have tried various fbs like DL_ReadNode, DL_ReadNodeValue, etc. but the data types are not correct and I get errors. When I try to write, to trigger the connect or disconnect commands, I get an error, 16#0D0A0201 that I cannot find in the documentation:
Are there any examples of how to do this? I have seen some other examples in the forum but they are associated with other function blocks that exist, like motion function blocks. How can I read/write objects (they look like JSON objects) in the datalayer from the PLC?
... View more