01/11/2024
Hello everyone,
I am working on a POC where I am essentially trying to make my PLC tags browsable through OPCUA and follow a personalized NodeSet2.xml
One difficulty is that the TwinCAT software I use to read my PLC tag, can also set up an OPC UA server on my PC but can’t support following a NodeSet2.xml. Having an OPCUA server following a NodeSet2.xml is my main objective. To do so, I thought about the following approach:
- Read my Beckhoff PLC tags through ADS with my PC
- Set up on my PC a 1st gateway with TwinCAT making my tag browsable through OPCUA. This 1st gateway will host the 1st OPCUA server
- Set up on my PC a 2nd gateway with another software. This 2nd gateway will be OPCUA server and client.
- Set the 2nd gateway OPCUA client to read tags from the 1st gateway OPCUA server.
- Make my tags from the 2nd gateway OPCUA client follow a NodeSet2.xml
- Make my rearranged tags browsable through OPCUA with my 2nd gateway OPCUA server
My main challenge is to understand how to do step 5 and I haven’t found any descriptive resources online. Is it even possible? If not, what would be your advice?
Thank you for your insights
PS: I’ve failed to add a picture describing my approach.
05/30/2017
I don’t understand why you would want to do this.
NodeSet2 files are intended for static information like Types and well known instances.
They can be cached and used to quickly resolve references to ObjectTypes/VariableType/ReferenceType or DataTypes.
For any dynamic content the only viable option is to use the Browse/Read services.
Am I misunderstanding your use case?
1 Guest(s)