Opc data Access Automation Specification



Download 1,93 Mb.
Pdf ko'rish
bet26/107
Sana03.01.2022
Hajmi1,93 Mb.
#317185
1   ...   22   23   24   25   26   27   28   29   ...   107
Bog'liq
OPC DA Auto 2.02 Specification

4.1.4.8

 

ServerState  

Description (Read-only) 

Returns 

the server’s state, which will be one of the OPCServerState values: 

Syntax 

ServerState As Long 

 

Setting Description 



OPC_STATUS_RUNNING  

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

OPC_STATUS_FAILED  

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.  

OPC_STATUS_NOCONFIG  

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. 

OPC_STATUS_SUSPENDED  

The server has been temporarily suspended via some vendor 

specific method and is not getting or sending data. Note that 

19 

 



OPC Data Access Automation Specification2.02 

Quality will be returned as 

OPC_QUALITY_OUT_OF_SERVICE. 

OPC_STATUS_TEST   

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.  

 

Remarks 


These are the server states that are described in the OPC Data Access Custom Interface 

Specification, and returned by an OPC server via the custom interface.   Refer to the OPC Data 

Access Custom Interface Specification IOPCServer::GetStatus() for more details. When you access 

this property, you will get the value that the automation server has obtained from the custom server 

via the GetStatus () interface.    

An error occurs if the client has not connected to a Data Access Server via the Connect method.. 

Example 

Dim ServerState As Long 

ServerState = AnOPCServer.ServerState 


Download 1,93 Mb.

Do'stlaringiz bilan baham:
1   ...   22   23   24   25   26   27   28   29   ...   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