Application & Tools
Cover
Programming a OPC UA .NET Client with C# for the SIMATIC NET OPC UA Server
SIMATIC NET OPC UA Server Application description April 2010
Applications & Tools
Answers for industry.
Industry Automation and Drives Technologies Service & Support Portal This article is taken from the Service Portal of Siemens AG, Industry Automation and Drives Technologies. The following link takes you directly to the download page of this document.
For questions about this document please use the following e-mail address: online-support.automation@
Copyright Siemens AG 2010 All rights reserved
.NET OPC-UA Client
2
1.0, Entry ID: 42014088
SIMATIC .NET OPC-UA Client
OPC UA Client Example of SIMATIC NET OPC UA Server
Automation Task
1
Automation Solution
2
Basics
3
Function Mechanisms of this Application
4
Configuration
5
Installation
6
Startup of the Application
7
Operating the Application
8
Further Notes, Tips and Tricks, etc.
9
Reference
10
History
11
Copyright Siemens AG 2010 All rights reserved
.NET OPC-UA Client
1.0, Entry ID: 42014088
3
Warranty and Liability
Warranty and Liability
Note
The Application Examples are not binding and do not claim to be complete regarding the circuits shown, equipping and any eventuality. The application examples do not represent customer-specific solutions. They are only intended to provide support for typical applications. You are responsible for ensuring that the described products are used correctly. These application examples do not relieve you of the responsibility of safely and professionally using, installing, operating and servicing equipment. When using these application examples, you recognize that we cannot be made liable for any damage/claims beyond the liability clause described. We reserve the right to make changes to these application examples at any time without prior notice. If there are any deviations between the recommendations provided in this application example and other Siemens publications ? e.g. Catalogs ? the contents of the other documents have priority.
We do not accept any liability for the information contained in this document.
Any claims against us ? based on whatever legal reason ? resulting from the use of the examples, information, programs, engineering and performance data etc., described in this Application Example shall be excluded. Such an exclusion shall not apply in the case of mandatory liability, e.g. under the German Product Liability Act ("Produkthaftungsgesetz"), in case of intent, gross negligence, or injury of life, body or health, guarantee for the quality of a product, fraudulent concealment of a deficiency or breach of a condition which goes to the root of the contract ("wesentliche Vertragspflichten"). The damages for a breach of a substantial contractual obligation are, however, limited to the foreseeable damage, typical for the type of contract, except in the event of intent or gross negligence or injury to life, body or health. The above provisions do not imply a change of the burden of proof to your detriment.
It is not permissible to transfer or copy these application examples or excerpts of them without having prior authorization from Siemens Industry Sector in writing.
Copyright Siemens AG 2010 All rights reserved
.NET OPC-UA Client
4
1.0, Entry ID: 42014088
Copyright Siemens AG 2010 All rights reserved
Table of Contents
Table of Contents
Warranty and Liability ........................................................................................................... 4
1 Automation Task ......................................................................................................... 6
1.1
Overview ........................................................................................................ 7
1.2
Requirements ................................................................................................ 8
2 Automation Solution................................................................................................. 10
2.1
Overview of the overall solution................................................................ 10
2.2
Description of the core functionality ......................................................... 11
2.3
Hardware and software components used ............................................. 15
2.4
Alternative solutions ................................................................................... 16
3 Basics........................................................................................................................... 17
3.1 3.2 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.3
OPC basics.................................................................................................. 17 Basics of the OPC Unified Architecture................................................... 19 OPC UA specifications............................................................................... 19 Structure of the OPC UA server address space .................................... 21 Interface for the access to the OPC UA server address space ........... 25 Protocols and security mechanisms ........................................................ 28 Delimination and comparison with OPC data access ........................... 32 Basics on S7 communication.................................................................... 33
4 Function Mechanisms of this Application .......................................................... 36
4.1 4.2 4.3 4.3.1 4.3.2 4.3.3 4.4
OPC UA client API...................................................................................... 38 Simple OPC UA client................................................................................ 40 Convenient OPC UA client ........................................................................ 43 User interface .............................................................................................. 43 Class diagram ............................................................................................. 44 Sequence diagrams ................................................................................... 46 S7 program .................................................................................................. 52
5 Configuration.............................................................................................................. 56
5.1 5.2 5.3 5.3.1 5.3.2 5.3.3
Configuring the SIMATIC S7 stations...................................................... 56 Configuration of the OPC server station ................................................. 58 Configuration of the OPC UA security ..................................................... 62 OPC UA remote communication .............................................................. 62 Certificate storage....................................................................................... 63 Authentication, SecurityPolicy and MessageSecurityMode ................. 68
6 Installation................................................................................................................... 70
7 Startup of the Application ....................................................................................... 72
8 Operating the Application ....................................................................................... 76
8.1
Operation simple client .............................................................................. 76
8.2
Operating the convenient OPC UA client................................................ 78
9 Further Notes, Tips and Tricks, etc. ..................................................................... 84
10 Reference .................................................................................................................... 85
10.1 Bibliography................................................................................................. 85 10.2 Internet Link Specifications ....................................................................... 85
11 History.......................................................................................................................... 86
.NET OPC-UA Client
1.0, Entry ID: 42014088
5
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- internet 101 what is the internet
- application tools
- hypertext transfer protocol a short course
- simatic hmi wincc v7 5 wincc basic options webnavigator
- xerox centreware web installation guide
- digsi 4 v4 siemens
- stunnel implementation guide v1 1 9 20 06
- anatomy of native iis malware
- lecture notes on internet of things b tech r16 v semester
- computer programming lecture notes
Related searches
- money management tools free
- crm tools for small business
- financial tools software
- budgeting tools printable
- dorothy sayers lost tools of learning
- lost tools of learning pdf
- lost tools of learning sayers
- tools for money management
- financial planning tools online
- stock research tools free
- financial management tools for teenagers
- dirt cheap wholesale tools bulk