検索機能を使用して 500 を上回る Kepware の知識ベース記事の中から閲覧します。結果を絞り込むか、クエリーを下部の検索フィールドに入力します。

解決策が見つからなかった場合には、当社の PTC eSupport Portal で追加資料を確認することもできます。eSupport Portal へのログインを要求された場合、My Kepware の認証情報を使用できます。My Kepware アカウントが必要ですか? こちらで作成

各種検索方法:
View All Solutions

Kepware Knowledge Base: Solution


Does an OPC Client Know When a Server Disconnects?


Last Update: 2018/11/07

It is the OPC Client that establishes a connection to the server, not the server that connects to the OPC Client. Therefore, when the server shuts down normally (such as through an exit command), it will send a message to the OPC Client letting it know that the server is shutting down. It is up to the OPC Client to clean up its connections to the server. No message will be sent when the server shuts down abnormally.

Note: The OPC Client application can check the server's status. If it receives no response, then it has the option of closing or removing all objects that have been created for the server. If all else fails, the OPC Client will receive a message from DCOM after several minutes, letting it know that the connection to the server is stale. At this point, the OPC Client may close or remove objects.

Related Products
KEPServerEX

Related Protocols
OPC Data Access (DA)