 |
plc.myforum.ro PLCs users www.plc.myforum.ro!
|
| View previous topic :: View next topic |
| Author |
Message |
valz Member 3


Joined: 26 Jul 2015 Posts: 771
|
Posted: 07/10/2022 20:14 Post subject: OPC UA clients with .NET and helper class |
|
|
Creating of OPC UA clients with .NET and helper class
https://support.industry.siemens.com/cs/document/109737901/
The OPC Foundation provides you with a .NET OPC UA stack free of charge. Based on this API, you can confecționate your own OPC UA clients to suit your application. To simplify the handling of the API, we offer you a superordinate .NET helper class.
Helper class
To create an OPC UA client, the Helper class "UAClientHelperAPI" implements the most important functions of the .NET stack of the OPC Foundation in its own C# class. The helper class can be found in the attached application example.
Client example for the OPC UA server of a SIMATIC S7-1500
As of firmware 2.0 of SIMATIC S7-1500 an integrated OPC UA Server has been added to the control system. This enables an additional option of direct process data exchange of the SIMATIC S7‑1500 with a wide variety of other systems that support OPC UA.
The SIMATIC S7-1500 OPC UA server is planned and configured via the TIA Portal. The OPC UA Client is created in C# / .NET and internally uses the freely accessible OPC UA .NET stack of the OPC foundation. For easier individual implementations of a .NET client the “UAClientHelperAPI” C# class is included in delivery. This class summarizes the basic functions of the .NET stack of the OPC Foundation and considerably facilitates the use of the basic functions for you. Client and server are connected via Ethernet and communicate through OPC UA via TCP/IP. Additionally the configuration of the OPC UA server of the SIMATIC S7-1500 is explained.
Documentation and example project
https://support.industry.siemens.com/cs/attachments/109737901/109737901_OPC_UA_Client_S7-1500_DOKU_V1_5_en.pdf
https://support.industry.siemens.com/cs/attachments/109737901/109737901_OPC_UA_Client_S7-1500_CODE_V1_5.zip
Additional client examples based on the helper class
https://support.industry.siemens.com/cs/document/109748892/opc-ua-client-library-for-microsoft-excel
https://support.industry.siemens.com/cs/document/42014088/programming-an-opc-ua-.net-client-with-c-for-the-simatic-net-opc-ua-server |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro
|