Article - CS281555

Error "Unable to read bytes[...] Device returned data access error [Code=0x05]" using Siemens drivers in PTC Kepware Products

Modified: 30-May-2024   


Applies To

  • Kepware Server (formerly KEPServerEX) 5.20.396.0 to 6.4.321.0
  • ThingWorx Kepware Server (legacy) 8.0 to 8.2

Description

  • 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
  • Error message in Event Log:
Unable to read bytes '<bytes>' starting at offset '<offset>' for Data Block '<address>' on device '<device>'. Device returned data access error [Code=0x05] 
  • 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]
This is a printer-friendly version of Article 281555 and may be out of date. For the latest version click CS281555