Convert XML to OPC UA|OPC UA Implementation: Stacks, Tools, and Samples|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
Convert XML to OPC UA
Avatar
Jesse Chen
New Member
Members
Forum Posts: 2
Member Since:
04/26/2022
sp_UserOfflineSmall Offline
1
04/26/2022 - 22:31
sp_Permalink sp_Print

Hello, I have a machine which sends data out via a proprietary communications protocol. It is essentially XML messages over TCP/IP sockets. 

I need an OPC UA server to read these XML messages so that other OPC clients can extract real time data. I don’t think KEPServerEX can help in this scenario.

What’s the best way to do this? I prefer COTS product over SDK. 

Thanks in advance.

Avatar
Randy Armstrong
Admin
Forum Posts: 1580
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
04/27/2022 - 10:18
sp_Permalink sp_Print

Since you have a custom XML schema you will need to write code.

You should look for an SDK in Java or .NET because they have advanced XML parsing capabilities.

Avatar
Jesse Chen
New Member
Members
Forum Posts: 2
Member Since:
04/26/2022
sp_UserOfflineSmall Offline
3
04/27/2022 - 20:26
sp_Permalink sp_Print

Thanks Randy,

I will look into an SDK like Softing dataFEED. 

Can Ignition WebDev with Python resource do the trick? 

Avatar
Simon de Kraa
The Netherlands
Member
Members
Forum Posts: 12
Member Since:
02/24/2022
sp_UserOfflineSmall Offline
4
05/12/2022 - 03:29
sp_Permalink sp_Print

WebDev could work. You could read and process the XML file and create/update/delete the necessary tags from Python.

You have to take into account that at the moment the Ignition OPC-UA module does not support status codes other than Good and Bad. There is no full OPC-UA support.

Avatar
Ema Hlinka Ema Hlinka
New Member
Members
Forum Posts: 1
Member Since:
07/14/2022
sp_UserOfflineSmall Offline
5
07/14/2022 - 14:49
sp_Permalink sp_Print

I am agreed with your answer my problem is solved. I am very happy

Have a nice day to all the members 😇

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