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

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

各種検索方法:
View All Solutions

Kepware Knowledge Base: Solution


U-CON: Receiving Unsolicited Data Without a Unique ID


Last Update: 2019/02/11

Problem:
A connected device sends several pieces of data in one transaction, but the data packets do not contain a unique identifier.

Solution:
Follow the instructions below.

  1. In KEPServerEX, create a new U-CON channel.
  2. In Mode, check Unsolicited Mode. In Key Length, enter 0.
  3. Continue through the Channel Wizard, configuring the channel as desired. Once finished, create a new device.
    The unsolicited transaction steps are similar to those discussed in Processing Unsolicited Requests.
  4. Once the message from the device is read into the read buffer, use Processing Commands in the Transaction Editor (such as "Seek Character") to locate a byte within the data packet that can be used to locate the device data.
  5. Test the byte using Conditional Commands.

Note: If using a scale or barcode scanner that does not have unique identifiers, configure one channel for each device that is sending data.