Get Values from S7-1200 Datablock

Hi.

I’m having an issue trying to read tag data from within a data block on a Siemens S7-1200 PLC.
The data is stored within the block in a series of arrays (24 hours worth of quality data). I’m only interested in the first instance of the array as this is current data. The first element of each array is the time and date (in DTL format) followed by 13 elements in UInt format. PUT/GET has been enabled in TIA (V16) and our software engineer has confirmed this on-line. I’m at a loss with this at the moment.

The log file shows " S74srv-Error in read subrequest response (Error: 5 Req Addr: DB 9 30 - 1)".

I’ve set up a separate value reading the PLC input word as a test and this is updating as expected based on the 1000ms update time in the IO server.

Have you checked your tag syntax against the format shown in our documentation?

Thanks Kyle. It turned out to be an optimized DB. It’s reading fine now that the option in TIA has been un-checked (though the software engineer is now complaining about losing another 1% of memory :roll_eyes:)

1 Like

Thank you for the update @IanP! Sorry about the memory though… :frowning: