How to make two communicating OPCUA servers have different data architecture|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
How to make two communicating OPCUA servers have different data architecture
Avatar
Clément Perrin
New Member
Members
Forum Posts: 2
Member Since:
01/11/2024
sp_UserOfflineSmall Offline
1
04/05/2024 - 05:59
sp_Permalink sp_Print sp_EditHistory

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:

  1. Read my Beckhoff PLC tags through ADS with my PC
  2. 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
  3. Set up on my PC a 2nd gateway with another software. This 2nd gateway will be OPCUA server and client.
  4. Set the 2nd gateway OPCUA client to read tags from the 1st gateway OPCUA server.
  5. Make my tags from the 2nd gateway OPCUA client follow a NodeSet2.xml
  6. 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.

Avatar
Randy Armstrong
Admin
Forum Posts: 1457
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
04/07/2024 - 04:29
sp_Permalink sp_Print

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?

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 11
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1353
Posts: 4589