Opc data Access Automation Specification


ABOUT THE OPC DATA ACCESS AUTOMATION WRAPPER DLL .......16



Download 1,93 Mb.
Pdf ko'rish
bet6/107
Sana03.01.2022
Hajmi1,93 Mb.
#317185
1   2   3   4   5   6   7   8   9   ...   107
Bog'liq
OPC DA Auto 2.02 Specification

ABOUT THE OPC DATA ACCESS AUTOMATION WRAPPER DLL .......16 



OPC DATA ACCESS AUTOMATION OBJECTS & INTERFACES ............17 

4.1 OPCSERVER OBJECT................................................................................................................ 17 

4.1.1 

Summary of Properties ......................................................................................................... 17 



4.1.2 

Summary of Methods............................................................................................................ 17 

4.1.3 Summary 

of Events............................................................................................................... 17 

4.1.4 OPCServer 

Properties ........................................................................................................... 17 

4.1.4.1 StartTime .......................................................................................................................... 17 

4.1.4.2 CurrentTime...................................................................................................................... 18 

4.1.4.3 LastUpdateTime................................................................................................................ 18 

4.1.4.4 MajorVersion .................................................................................................................... 18 

4.1.4.5 MinorVersion.................................................................................................................... 18 

4.1.4.6 BuildNumber .................................................................................................................... 19 

4.1.4.7 VendorInfo........................................................................................................................ 19 

4.1.4.8 ServerState ........................................................................................................................ 19 

4.1.4.9 LocaleID ........................................................................................................................... 20 

4.1.4.10 Bandwidth......................................................................................................................... 20 

4.1.4.11 OPCGroups....................................................................................................................... 21 

4.1.4.12 PublicGroupNames ........................................................................................................... 21 

4.1.4.13 ServerName ...................................................................................................................... 21 

4.1.4.14 ServerNode ....................................................................................................................... 21 

4.1.4.15 ClientName ....................................................................................................................... 22 

4.1.5 OPCServer 

Methods ............................................................................................................. 22 

4.1.5.1 GetOPCServers................................................................................................................. 22 

 



OPC Data Access Automation Specification2.02 

4.1.5.2 Connect ............................................................................................................................. 23 

4.1.5.3 Disconnect ........................................................................................................................ 24 

4.1.5.4 CreateBrowser .................................................................................................................. 24 

4.1.5.5 GetErrorString .................................................................................................................. 24 

4.1.5.6 QueryAvailableLocaleIDs ................................................................................................ 25 

4.1.5.7 QueryAvailableProperties................................................................................................. 25 

4.1.5.8 GetItemProperties ............................................................................................................. 26 

4.1.5.9 LookupItemIDs................................................................................................................. 27 

4.1.6 OPCServer 

Events ................................................................................................................ 28 

4.1.6.1 ServerShutDown ............................................................................................................... 28 

4.2 OPCBROWSER OBJECT............................................................................................................ 30 

4.2.1 


Summary of Properties ......................................................................................................... 31 

4.2.2 


Summary of Methods............................................................................................................ 31 

4.2.3 OPCBrowser 

Properties ........................................................................................................ 31 

4.2.3.1 Organization...................................................................................................................... 31 

4.2.3.2 

Filter.................................................................................................................................. 31 

4.2.3.3 DataType........................................................................................................................... 32 

4.2.3.4 AccessRights..................................................................................................................... 32 

4.2.3.5 CurrentPosition ................................................................................................................. 33 

4.2.3.6 Count................................................................................................................................. 33 

4.2.4 OPCBrowser Methods .......................................................................................................... 33 

4.2.4.1 Item ................................................................................................................................... 33 

4.2.4.2 ShowBranches .................................................................................................................. 34 

4.2.4.3 ShowLeafs ........................................................................................................................ 34 

4.2.4.4 MoveUp ............................................................................................................................ 35 

4.2.4.5 MoveToRoot..................................................................................................................... 35 

4.2.4.6 MoveDown ....................................................................................................................... 35 

4.2.4.7 MoveTo............................................................................................................................. 35 

4.2.4.8 GetItemID ......................................................................................................................... 36 

4.2.4.9 GetAccessPaths................................................................................................................. 36 

4.3 OPCGROUPS OBJECT ............................................................................................................... 38 

4.3.1 


Summary of Properties ......................................................................................................... 38 

4.3.2 


Summary of Methods............................................................................................................ 38 

4.3.3 Summary 

of Events............................................................................................................... 38 

4.3.4 OPCGroups Properties.......................................................................................................... 39 

4.3.4.1 Parent ................................................................................................................................ 39 

4.3.4.2 DefaultGroupIsActive....................................................................................................... 39 

4.3.4.3 DefaultGroupUpdateRate.................................................................................................. 39 

4.3.4.4 DefaultGroupDeadband .................................................................................................... 40 

4.3.4.5 DefaultGroupLocaleID ..................................................................................................... 40 

4.3.4.6 DefaultGroupTimeBias..................................................................................................... 40 

4.3.4.7 Count................................................................................................................................. 41 

4.3.5 OPCGroups Methods ............................................................................................................ 41 

4.3.5.1 Item ................................................................................................................................... 41 

 




OPC Data Access Automation Specification2.02 

4.3.5.2 Add ................................................................................................................................... 41 

4.3.5.3 GetOPCGroup................................................................................................................... 42 

4.3.5.4 Remove ............................................................................................................................. 42 

4.3.5.5 RemoveAll ........................................................................................................................ 43 

4.3.5.6 ConnectPublicGroup......................................................................................................... 43 

4.3.5.7 RemovePublicGroup......................................................................................................... 43 

4.3.6 OPCGroups Events ............................................................................................................... 44 

4.3.6.1 GlobalDataChange............................................................................................................ 44 

4.4 OPCGROUP OBJECT ................................................................................................................. 46 

4.4.1 

Summary of Properties ......................................................................................................... 46 



4.4.2 

Summary of Methods............................................................................................................ 46 

4.4.3 Summary 

of Events............................................................................................................... 46 

4.4.4 OPCGroup Properties ........................................................................................................... 47 

4.4.4.1 Parent ................................................................................................................................ 47 

4.4.4.2 Name................................................................................................................................. 47 

4.4.4.3 IsPublic ............................................................................................................................. 48 

4.4.4.4 IsActive............................................................................................................................. 48 

4.4.4.5 IsSubscribed...................................................................................................................... 49 

4.4.4.6 ClientHandle ..................................................................................................................... 49 

4.4.4.7 ServerHandle .................................................................................................................... 50 

4.4.4.8 LocaleID ........................................................................................................................... 50 

4.4.4.9 TimeBias........................................................................................................................... 51 

4.4.4.10 DeadBand.......................................................................................................................... 51 

4.4.4.11 UpdateRate........................................................................................................................ 52 

4.4.4.12 OPCItems.......................................................................................................................... 52 

4.4.5 OPCGroup Methods.............................................................................................................. 52 

4.4.5.1 SyncRead .......................................................................................................................... 52 

4.4.5.2 SyncWrite ......................................................................................................................... 54 

4.4.5.3 AsyncRead ........................................................................................................................ 55 

4.4.5.4 AsyncWrite ....................................................................................................................... 56 

4.4.5.5 AsyncRefresh.................................................................................................................... 58 

4.4.5.6 AsyncCancel ..................................................................................................................... 59 

4.4.6 OPCGroup Events................................................................................................................. 59 

4.4.6.1 DataChange....................................................................................................................... 59 

4.4.6.2 AsyncReadComplete......................................................................................................... 60 

4.4.6.3 AsyncWriteComplete........................................................................................................ 61 

4.4.6.4 AsyncCancelComplete...................................................................................................... 61 

4.5 OPCITEMS OBJECT ................................................................................................................... 63 

4.5.1 

Summary of Properties ......................................................................................................... 63 



4.5.2 

Summary of Methods............................................................................................................ 63 

4.5.3 OPCItems Properties............................................................................................................. 64 

4.5.3.1 Parent ................................................................................................................................ 64 

4.5.3.2 DefaultRequestedDataType .............................................................................................. 64 

4.5.3.3 DefaultAccessPath ............................................................................................................ 64 

 



OPC Data Access Automation Specification2.02 

4.5.3.4 DefaultIsActive ................................................................................................................. 65 

4.5.3.5 Count................................................................................................................................. 65 

4.5.4 OPCItems 

Methods............................................................................................................... 65 

4.5.4.1 Item ................................................................................................................................... 65 

4.5.4.2 GetOPCItem...................................................................................................................... 66 

4.5.4.3 AddItem ............................................................................................................................ 66 

4.5.4.4 AddItems........................................................................................................................... 67 

4.5.4.5 Remove ............................................................................................................................. 68 

4.5.4.6 Validate............................................................................................................................. 68 

4.5.4.7 SetActive........................................................................................................................... 69 

4.5.4.8 SetClientHandles............................................................................................................... 70 

4.5.4.9 SetDataTypes .................................................................................................................... 70 

4.6 OPCITEM OBJECT ..................................................................................................................... 72 

4.6.1 


Summary of Properties ......................................................................................................... 72 

4.6.2 


Summary of Methods............................................................................................................ 72 

4.6.3 OPCItem 

Properties .............................................................................................................. 72 

4.6.3.1 Parent ................................................................................................................................ 72 

4.6.3.2 ClientHandle ..................................................................................................................... 72 

4.6.3.3 ServerHandle .................................................................................................................... 73 

4.6.3.4 AccessPath ........................................................................................................................ 73 

4.6.3.5 AccessRights..................................................................................................................... 73 

4.6.3.6 ItemID............................................................................................................................... 74 

4.6.3.7 IsActive............................................................................................................................. 74 

4.6.3.8 RequestedDataType .......................................................................................................... 74 

4.6.3.9 Value................................................................................................................................. 75 

4.6.3.10 

Quality .............................................................................................................................. 75 

4.6.3.11 TimeStamp........................................................................................................................ 75 

4.6.3.12 CanonicalDataType........................................................................................................... 75 

4.6.3.13 EUType............................................................................................................................. 76 

4.6.3.14 EUInfo .............................................................................................................................. 76 

4.6.4 OPCItem 

Methods ................................................................................................................ 76 

4.6.4.1 Read .................................................................................................................................. 76 

4.6.4.2 Write ................................................................................................................................. 77 




Download 1,93 Mb.

Do'stlaringiz bilan baham:
1   2   3   4   5   6   7   8   9   ...   107




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©www.hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish