Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
2Activity
0 of .
Results for:
No results containing your search query
P. 1
OPC - WINCC OPC Www.otomasyonegitimi.com

OPC - WINCC OPC Www.otomasyonegitimi.com

Ratings: (0)|Views: 34|Likes:

More info:

Published by: www.otomasyonegitimi.com on Apr 15, 2012
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

12/02/2013

pdf

text

original

 
1
2
Edition: 3C79000–G7076–C225–01
OPC Server Interface
ManualThis manual is based on version 2.0 of the OPCspecification from the OPC Foundation.This manual is available only in English.
Computing
 
!
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 aparticular part of the documentation.
Qualified Personnel
Only
qualified personnel
should be allowed to install and work on this equipment. Qualified persons aredefined 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 thetechnical descriptions, and only in connection with devices or components from other manufacturerswhich 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
SIMATIC
R
, SIMATIC HMI
R
and SIMATIC NET
R
are registered trademarks of SIEMENS AG.Some of other designations used in these documents are also registered trademarks; the owner’s rightsmay 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 toprotect the product and connected equipment. These notices are highlighted in the manual by a warningtriangle and are marked as follows according to the level of danger:
We have checked the contents of this manual for agreement with the hardware andsoftware described. Since deviations cannot be precluded entirely, we cannotguarantee full agreement. However, the data in this manual are reviewed regularlyand any necessary corrections included in subsequent editions. Suggestions forimprovement are welcomed.
Disclaimer of LiabilityCopyright Siemens AG 1999 All rights reserved
The reproduction, transmission or use of this document or its contents is notpermitted without express written authority. Offenders will be liable for damages.All rights, including rights created by patent grant or registration of a utility modelor design, are reserved.
Siemens AGAutomation 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 InterfaceC7900
 – 
G7076
 – 
C225
 – 
01
Contents
1OPC Custom Interface1-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1.1Creating and Using an OLE Object in C/C++1-2. . . . . . . . . . . . . . . . . . . . . . . .1.2Additional Information about the Interface Description for the OPC CustomInterface1-5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.3The
OPC Server
Object1-6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.4Objects of the
OPC Group
Class1-11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.5IDataObject Interface1-16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2OPC Automation Interface2-1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.1Creating and Using an OLE Object in Visual Basic2-2. . . . . . . . . . . . . . . . . . .2.2Object Model for the Automation Interface2-5. . . . . . . . . . . . . . . . . . . . . . . . . .2.3The
OPCServer
Object2-6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.4The
OPCBrowser
Object2-8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.5The
OPCGroups
Collection Object2-10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.6The
OPCGroup
Object2-12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.7The
OPCItems
Collection Object2-15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2.8The
OPCItem
Object2-17. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figures
1-1OPC Server Object1-6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-2OPC Group Object1-11. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-3IAdviseSink (Client) and IDataObject (Server) Interfaces1-16. . . . . . . . . . . . . .2-1Activating the Reference for the Automation Interface2-2. . . . . . . . . . . . . . . .2-2Object Model for the Automation Interface2-5. . . . . . . . . . . . . . . . . . . . . . . . . .
Tables
1-1Objects and Interfaces of the OPC Custom Interface1-5. . . . . . . . . . . . . . . .2-1Properties of the
OPCServer
Object2-6. . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-2Properties of the
OPCBrowser
Object2-8. . . . . . . . . . . . . . . . . . . . . . . . . . . .2-3Properties of the
OPCGroups
Object2-10. . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-4Properties of the
OPCGroup
Object2-12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-5Properties of the
OPCItems
Collection Object2-15. . . . . . . . . . . . . . . . . . . . .2-6Properties of the
OPCItem
Object2-17. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->