没有合适的资源?快使用搜索试试~ 我知道了~
西门子Computing OPC Server Interface
需积分: 9 77 下载量 18 浏览量
2008-10-12
22:43:52
上传
评论
收藏 141KB PDF 举报
温馨提示
试读
42页
西门子Computing OPC Server Interface 英文版
资源推荐
资源详情
资源评论
!
Danger
indicates that death, severe personal injury or substantial property damage will result if proper precau-
tions are not taken.
!
Warning
indicates that death, severe personal injury or substantial property damage can result if proper precau-
tions are not taken.
!
Caution
indicates that minor personal injury or property damage can result if proper precautions are not taken.
Note
draws your attention to particularly important information on the product, handling the product, or to a
particular part of the documentation.
Qualified Personnel
Only qualified personnel should be allowed to install and work on this equipment. Qualified persons are
defined as persons who are authorized to commission, to ground, and to tag circuits, equipment, and sys-
tems in accordance with established safety practices and standards.
Correct Usage
Note the following:
!
Warning
This device and its components may only be used for the applications described in the catalog or the
technical descriptions, and only in connection with devices or components from other manufacturers
which have been approved or recommended by Siemens.
This product can only function correctly and safely if it is transported, stored, set up, and installed cor-
rectly, and operated and maintained as recommended.
Trademarks
SIMATICR, SIMATIC HMIR and SIMATIC NETR are registered trademarks of SIEMENS AG.
Some of other designations used in these documents are also registered trademarks; the owner’s rights
may be violated if they are used by third parties for their own purposes.
Safety Guidelines
This manual contains notices which you should observe to ensure your own personal safety, as well as to
protect the product and connected equipment. These notices are highlighted in the manual by a warning
triangle and are marked as follows according to the level of danger:
We have checked the contents of this manual for agreement with the hardware and
software described. Since deviations cannot be precluded entirely, we cannot
guarantee full agreement. However, the data in this manual are reviewed regularly
and any necessary corrections included in subsequent editions. Suggestions for
improvement are welcomed.
Disclaimer of LiabilityCopyright Siemens AG 1999 All rights reserved
The reproduction, transmission or use of this document or its contents is not
permitted without express written authority. Offenders will be liable for damages.
All rights, including rights created by patent grant or registration of a utility model
or design, are reserved.
Siemens AG
Automation and Drives (A&D)
Industrial Automation Systems (AS)
Postfach 4848, D- 90327 Nürnberg
E Siemens AG 1999
Technical data subject to change.
Siemens Aktiengesellschaft
i
OPC Server Interface
C7900–G7076–C225–01
Contents
1 OPC Custom Interface 1-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.1 Creating and Using an OLE Object in C/C++ 1-2. . . . . . . . . . . . . . . . . . . . . . . .
1.2 Additional Information about the Interface Description for the OPC Custom
Interface 1-5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.3 The “OPC Server” Object 1-6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.4 Objects of the “OPC Group” Class 1-11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.5 IDataObject Interface 1-16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2 OPC Automation Interface 2-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.1 Creating and Using an OLE Object in Visual Basic 2-2. . . . . . . . . . . . . . . . . . .
2.2 Object Model for the Automation Interface 2-5. . . . . . . . . . . . . . . . . . . . . . . . . .
2.3 The “OPCServer” Object 2-6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.4 The “OPCBrowser” Object 2-8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.5 The “OPCGroups” Collection Object 2-10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.6 The “OPCGroup” Object 2-12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.7 The “OPCItems” Collection Object 2-15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.8 The “OPCItem” Object 2-17. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figures
1-1 OPC Server Object 1-6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-2 OPC Group Object 1-11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-3 IAdviseSink (Client) and IDataObject (Server) Interfaces 1-16. . . . . . . . . . . . . .
2-1 Activating the Reference for the Automation Interface 2-2. . . . . . . . . . . . . . . .
2-2 Object Model for the Automation Interface 2-5. . . . . . . . . . . . . . . . . . . . . . . . . .
Tables
1-1 Objects and Interfaces of the OPC Custom Interface 1-5. . . . . . . . . . . . . . . .
2-1 Properties of the “OPCServer” Object 2-6. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-2 Properties of the “OPCBrowser” Object 2-8. . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-3 Properties of the “OPCGroups” Object 2-10. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-4 Properties of the “OPCGroup” Object 2-12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-5 Properties of the “OPCItems” Collection Object 2-15. . . . . . . . . . . . . . . . . . . . .
2-6 Properties of the “OPCItem” Object 2-17. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents
ii
OPC Server Interface
C7900–G7076–C225–01
1-1
OPC Server Interface
C7900–G7076–C225–01
OPC Custom Interface
Chapter Overview
This chapter shows how to use the OPC custom interface. It also lists the
interfaces and methods of the OPC customer interface. This is not a detailed
interface description but contains supplementary information and notes relating
specifically to the Computing software.
There is now an extended version of the OPC custom interface, specification 2.0.
Version 2.0 supplements the existing OPC custom interface in several aspects
particularly those simplifying the handling of asynchronous communication.
The interfaces of Version 1.0 of the OPC interface are completely upwards
compatible with Version 2.0.
Section Description Page
1.1 Creating and Using an OLE Object in C/C++ 1-2
1.2 Additional Information about the Interface Description for the OPC
Custom Interface
1-5
1.3 The “OPC Server” Object 1-6
1.4 Objects of the “OPC Group” Class 1-11
1.5 IDataObject Interface 1-16
1
剩余41页未读,继续阅读
资源评论
dubeinstain
- 粉丝: 5
- 资源: 9
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功