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

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

各種検索方法:
View All Solutions

Kepware Knowledge Base: Solution


Communications Problem when Connecting with Another OPC Client


Last Update: 2018/11/12

Problem:
Some clients may encounter a communications problem when connecting to OPC servers that support more than one version of OPC. Symptoms of a problem include write transaction failure and/or incomplete data change events.

For example, a user is running the OPC Quick Client on the same PC and under the same user account as the production client. When an attempt is made to connect the OPC Quick Client to the server, the OPC Quick Client reports "Failed to connect to 2.0 data access interface." This means that DCOM security may not be allowing callbacks from the server to reach the client, thus causing symptoms similar to those described above.

Solution:
Ensure that DCOM security has been configured properly. For information on configuring DCOM, refer to the Remote OPC DA Quick Start Guide (DCOM). For information on more advanced settings, refer to DCOM - Secure by Default. If connection problems persist after DCOM security has been set properly, do the following:

  1. In KEPServerEX, click File | Project Properties. Then, select OPC DA Settings.
  2. Next, uncheck the Enable OPC 2.0 data access interfaces and Enable OPC 3.0 data access interfaces options. Do not disable all of the interfaces.
  3. Once finished, click OK.
  4. Next, click Runtime | Reinitialize. This forces the client to disconnect, which is necessary for the options to take effect.

Note: If the problem continues, disable a different set of data access interfaces. By disabling OPC DA interfaces that the client can't properly use to communicate to the server, the client is forced to resort to another interface (like OPC 1.0, when using the instructions provided above).

Tags
DCOM

Related Products
KEPServerEX

Related Protocols
OPC Data Access (DA)