OPC-UA Server targeting .NET 4.0|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
OPC-UA Server targeting .NET 4.0
Avatar
Simon Gautschi
New Member
Members
Forum Posts: 2
Member Since:
06/17/2014
sp_UserOfflineSmall Offline
1
08/29/2017 - 00:23
sp_Permalink sp_Print

How to develop a OPC-UA server to also run on Windows XP Embedded (.NET 4.0)? We are thinking about this, because a lot of our PLCs are running on existing industrial pc’s.

Is it possible to target the actual core components to .net 4.0 and develop a first version of our OPC-UA server?
Which base would you recommend to start? (older version, other SDK)

Avatar
Randy Armstrong (Sparhawk)
Member
Members
Forum Posts: 20
Member Since:
05/12/2015
sp_UserOfflineSmall Offline
2
08/29/2017 - 22:16
sp_Permalink sp_Print

SDK vendors like Unified Automation support .NET 3.5 with their .NET SDK.

If you want to use the OPC-F codebase you can go back to older versions but this will mean you will lose new features and bug fixes (support for new security policies will be the most serious issue). You should be able to re-target the code base and remove code that does not compile. 

Avatar
Simon Gautschi
New Member
Members
Forum Posts: 2
Member Since:
06/17/2014
sp_UserOfflineSmall Offline
3
08/29/2017 - 22:52
sp_Permalink sp_Print

Okay, thank you for the recommendation.

For future use we want to work with the OPC-Foundation codebase.

Starting with an example from the current version of UA-.NET (1.03.342). Using the “Reference Server” from the “Sample Applications” folder. Retarget the project and all of it’s dependencies to .NET 4.0:
 – So far it is building and running without any modification of code. I understand that this is an “untested” situation.

Avatar
Frederick Loveless
Member
Members
Forum Posts: 20
Member Since:
10/02/2014
sp_UserOfflineSmall Offline
4
08/30/2017 - 08:01
sp_Permalink sp_Print

You can target the .net 4.0 network with .Net 3.5 libraries. The following KB article form KEPware explains how to do this for the ClientAce v3.5 version. Those libraries targeted .Net 3.5.

https://www.kepware.com/suppor…..000000S6XD

This information came from an MSDN KB article. You also have to make sure the embedded XP image has been updated to support .Net 4.0 as that was not originally supported.

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