没有合适的资源?快使用搜索试试~ 我知道了~
109748892_OPC_UA_ClientLibrary_DOC_V2_0_en.pdf
需积分: 5 0 下载量 11 浏览量
2024-04-20
23:44:58
上传
评论
收藏 1.04MB PDF 举报
温馨提示
试读
18页
109748892_OPC_UA_ClientLibrary_DOC_V2_0_en.pdf
资源推荐
资源详情
资源评论
Legal information
OPC UA Client Library
Entry ID: 109748892, V2.0, 09/2019
2
© Siemens AG
2017 All rights reserved
Legal information
Use of application examples
Application examples illustrate the solution of automation tasks through an interaction of several
components in the form of text, graphics and/or software modules. The application examples are
a free service by Siemens AG and/or a subsidiary of Siemens AG (“Siemens”). They are non-
binding and make no claim to completeness or functionality regarding configuration and
equipment. The application examples merely offer help with typical tasks; they do not constitute
customer-specific solutions. You yourself are responsible for the proper and safe operation of the
products in accordance with applicable regulations and must also check the function of the
respective application example and customize it for your system.
Siemens grants you the non-exclusive, non-sublicensable and non-transferable right to have the
application examples used by technically trained personnel. Any change to the application
examples is your responsibility. Sharing the application examples with third parties or copying the
application examples or excerpts thereof is permitted only in combination with your own products.
The application examples are not required to undergo the customary tests and quality inspections
of a chargeable product; they may have functional and performance defects as well as errors. It is
your responsibility to use them in such a manner that any malfunctions that may occur do not
result in property damage or injury to persons.
Disclaimer of liability
Siemens shall not assume any liability, for any legal reason whatsoever, including, without
limitation, liability for the usability, availability, completeness and freedom from defects of the
application examples as well as for related information, configuration and performance data and
any damage caused thereby. This shall not apply in cases of mandatory liability, for example
under the German Product Liability Act, or in cases of intent, gross negligence, or culpable loss of
life, bodily injury or damage to health, non-compliance with a guarantee, fraudulent
non-disclosure of a defect, or culpable breach of material contractual obligations. Claims for
damages arising from a breach of material contractual obligations shall however be limited to the
foreseeable damage typical of the type of agreement, unless liability arises from intent or gross
negligence or is based on loss of life, bodily injury or damage to health. The foregoing provisions
do not imply any change in the burden of proof to your detriment. You shall indemnify Siemens
against existing or future claims of third parties in this connection except where Siemens is
mandatorily liable.
By using the application examples, you acknowledge that Siemens cannot be held liable for any
damage beyond the liability provisions described.
Other information
Siemens reserves the right to make changes to the application examples at any time without
notice. In case of discrepancies between the suggestions in the application examples and other
Siemens publications such as catalogs, the content of the other documentation shall have
precedence.
The Siemens terms of use (https://support.industry.siemens.com) shall also apply.
Security information
Siemens provides products and solutions with industrial security functions that support the secure
operation of plants, systems, machines and networks.
In order to protect plants, systems, machines and networks against cyber threats, it is necessary
to implement – and continuously maintain – a holistic, state-of-the-art industrial security concept.
Siemens’ products and solutions constitute one element of such a concept.
Customers are responsible for preventing unauthorized access to their plants, systems, machines
and networks. Such systems, machines and components should only be connected to an
enterprise network or the Internet if and to the extent such a connection is necessary and only
when appropriate security measures (e.g. firewalls and/or network segmentation) are in place.
For additional information on industrial security measures that may be implemented, please visit
https://www.siemens.com/industrialsecurity.
Siemens’ products and solutions undergo continuous development to make them more secure.
Siemens strongly recommends that product updates are applied as soon as they are available
and that the latest product versions are used. Use of product versions that are no longer
supported, and failure to apply the latest updates may increase customer’s exposure to cyber
threats.
To stay informed about product updates, subscribe to the Siemens Industrial Security RSS Feed
at: https://www.siemens.com/industrialsecurity.
Table of Contents
OPC UA Client Library
Entry ID: 109748892, V2.0, 09/2019
3
© Siemens AG
2017 All rights reserved
Table of Contents
Legal information ..................................................................................................... 2
1 Introduction .................................................................................................... 4
1.1 Overview ........................................................................................... 4
1.2 Mode of operation .............................................................................. 4
1.3 Components used ............................................................................. 5
2 Commissioning and operation....................................................................... 6
2.1 Configuring the OPC UA server of the S7-1500 ................................. 6
2.2 Installing the OPC UA Client Library .................................................. 6
2.3 Operation .......................................................................................... 8
2.3.1 Description of the user interface and operating the sheets ................. 8
3 Creating the OPC UA Excel Client ............................................................... 13
4 OPC UA Client Library .................................................................................. 14
5 Worth knowing ............................................................................................. 16
5.1 Certificate handling in the example program .................................... 16
5.2 Information about the license model of the software ......................... 16
6 Appendix ....................................................................................................... 17
6.1 Service & support ............................................................................ 17
6.2 Links and literature .......................................................................... 18
6.3 Change documentation .................................................................... 18
1 Introduction
OPC UA Client Library
Entry ID: 109748892, V2.0, 09/2019
4
© Siemens AG
2017 All rights reserved
1 Introduction
1.1 Overview
As of firmware V2.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.
In this application example, you can find the OPC UA Client Library with which you
can create your own OPC UA client applications in Excel VBA to interchange data
between Excel and the SIMATIC S7-1500.
Assumed knowledge
The following basic knowledge is required by the user:
• Basics of programming in C#/.NET and Excel VBA
• Basics of configuring in the TIA Portal
• Basics of OPC
1.2 Mode of operation
The "OPC UA Client Library" is a "Dynamic Link Library" (DLL) that can be
integrated into Microsoft Excel in order to program OPC UA client functions in
Excel via VBA OPC.
The library internally uses the C# class “UAClientHelperAPI”. This class
summarizes the most important functions of the underlying .NET stack of the OPC
Foundation. The OPC UA Excel Client communicates with the OPC UA server of a
SIMATIC S7-1500.
The SIMATIC S7-1500 OPC UA server is planned and configured via the TIA
Portal. Client and server are connected via Ethernet and communicate through
OPC UA via TCP/IP.
For more information, please refer to the entry \3\.
Figure 1-1
SIMATIC S7-1500Windows PC/PG
Industrial Ethernet
OPC UA Excel Client OPC UA Server
OPC UA
UAClientHelperAPI
OPC UA .NET Stack
OPC UA Client Library
剩余17页未读,继续阅读
资源评论
工控搬砖人
- 粉丝: 491
- 资源: 197
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功