I am trying to exchange 6axis robot data with Visual Components 4.2 for my Digital Twin model through OPC UA. On that purpose I’m using CODESYS PLC program. To connect CODESYS and VC 4.2 through OPC UA, I followed the following link and I was successful on that:
But to get the axis variables I have created a python script where I made MyObject>MyVariable which should have been added on Server tree of VC4.2 so that later I can pair all my axis variables (such as axis velocity, torque, current etc.) there but I’m not able to add that in Server tree. Attached an image of that.
Also attached my python program to create MyVariables in server.PythonApplication1.sln (995 Bytes)
What am I missing to do that on my purpose? Or is there any other way to exchange robot axis variables data for Digital Twin purpose between CODESYS and VC4.2.