Opc data Access Automation Specification



Download 1,93 Mb.
Pdf ko'rish
bet99/107
Sana03.01.2022
Hajmi1,93 Mb.
#317185
1   ...   95   96   97   98   99   100   101   102   ...   107
Bog'liq
OPC DA Auto 2.02 Specification

4.6.4.2

 

Write  

Description 

Write makes a blocking call to write this value to the server. 

Syntax 


 Write (Value As Variant) 

 

Part Description 



Value 

Value to be written to the data source. 

 

Example Private 



Sub 

WriteButton_Click() 

Dim AnOPCItem as OPCItem 

Set OPCItem = GetOPCItem(SomeItemServerHandle) 

Dim Value As Variant  

77 


 


OPC Data Access Automation Specification2.02 

Value = 1975 

AnOPCItem.Write Value  

End Sub 


78 

 



OPC Data Access Automation Specification2.02 

5

 

OPC Data Access Automation Definitions and Symbols 

5.1

 

OPCNamespaceTypes  

Symbol Description 

OPCHierarchical  

OPCFlat  

   

5.2

 

 OPCDataSource  

Symbol Description 

 OPCCache 

 

OPCDevice  



   

5.3

 

 OPCAccessRights  

Symbol Description 

 OPCReadable 

 

OPCWritable  



   

5.4

 

 OPCServerState 

Symbol Description 

OPCRunning 

The server is running normally. This is the usual state for a server

 

OPCFailed                        



A vendor specific fatal error has occurred within the server. The 

server is no longer functioning. The recovery procedure from this 

situation is vendor specific. An error code of E_FAIL should 

generally be returned from any other server method. 

 

OPCNoconfig  



The server is running but has no configuration information loaded 

and thus cannot function normally. Note this state implies that the 

server needs configuration information in order to function. Servers 

which do not require configuration information should not return this 

state.

 

OPCSuspended  



The server has been temporarily suspended via some vendor specific 

method and is not getting or sending data. Note that Quality will be 

returned as OPC_QUALITY_OUT_OF_SERVICE. 

OPCTest 


The server is in Test Mode. The outputs are disconnected from the 

real hardware but the server will otherwise behave normally. Inputs 

may be real or may be simulated depending on the vendor 

implementation. Quality will generally be returned normally.  

OPCDisconnected  

The Automation server object is not connected to an OPC custom 

interface server 

  


Download 1,93 Mb.

Do'stlaringiz bilan baham:
1   ...   95   96   97   98   99   100   101   102   ...   107




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©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