使用搜索功能查看 Kepware 的信息库,其中包含 500 多篇知识库文章。缩小搜索结果范围,或在下面的搜索字段中输入您的查询。

或者,如果您无法找到解决方案,我们还有另一个资源:我们的 PTC eSupport Portal。 如果系统提示您登录 eSupport Portal,您可以使用“我的 Kepware”凭据。需要一个“我的 Kepware”帐户吗?在此处创建

搜索解决方案结果:
View All Solutions

Kepware Knowledge Base: Solution


U-CON: Receiving Unsolicited Data Without a Unique ID


Last Update: 2019/2/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.