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

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

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

Kepware Knowledge Base: Solution


Received Unable to read '<block size>' starting at offset '<offset>' for Memory Type PAW on device '<device name>'. Device returned data access error [Code=0x05] Error Message


Last Update: 2018/11/7

Problem:
An out of range error is received after attempting a direct read on peripheral addresses.

Possible Cause:
The driver reads the PAW data in blocks of 32 bytes, starting with 0. If one or more bytes in a block is not defined in an analog output module, then all the tags for that block will have bad quality. The error message indicates the number of bytes included in the read (starting at the first address for the block of data being read).

Solution:
Access the values from the process image instead of the peripheral. For example, address "AW###" instead of "PAW###".

Note: The "Device returned data access error [Code=0x05]" part of the error message indicates that one or more addresses in that block is not defined in the device. For example, a project has tags addressed "PAW336," "PAW338," "PAW340," and "PAW342." The Event Log displays the error message "Unable to read 8 bytes starting at offset 336 for Memory Type PAW (e.g. PAW336) on device 'SiemensTCP.WTP_S7300'. Device returned data access error [Code=0x05]". This indicates that one or more of those offsets are not defined in an analog output module in the device.