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

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

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

Kepware Knowledge Base: Solution


Received Unable to read bytes '<bytes>' starting at offset '<offset>' for Data Block '<address>' on device '<device>'. Device returned data access error [Code=0x05] Error Message


Last Update: 2018/11/7

Problem:
Reading data from a data block results in an error that causes all registers in the block to be invalidated and the quality to be set to Bad.

Possible Cause: An incorrect request may have been sent to the device after Item Syntax was used to access a Boolean in a data block. The error will occur when requesting a bit in a byte that is positioned at the end of the data block. This affects the following item syntax:

  • DB[num],B[address][.bit]
  • DB[num],BYTE[address][.bit]
  • DB[num].DBB[address][.bit]
  • DB[num].DB[address][.bit]

Solution:
Access Booleans using alternate syntax. For more information, refer to the examples below.

  • Instead of "DB[num],B[address][.bit]" use "DB[num],C[address][.bit]".
  • Instead of "DB[num],BYTE[address][.bit]" use "DB[num],C[address][.bit]".
  • Instead of "DB[num].DBB[address][.bit]" use "DB[num].C[address][.bit".
  • Instead of "DB[num].DB[address][.bit]" use "DB[num].C[address][.bit]".