python-snap7: Reading DB1 of S7-1200 shows error "CPU : Address out of range"

I am reading s7-1200-1214C-1AG31 whose firmware version is V3. I close all the protection method in portol and create an unprotected DB block as snap7 documentation said. image But when I tried to use “read_area(S7AreaDB,1,0,2)” to read it , it shows error: snap7.snap7exceptions.Snap7Exception: b'CPU : Address out of range'

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 17 (8 by maintainers)

Most upvoted comments

Did you use the optimized data block? @Zhxhh Because since S7-1200 there is a new functionality in TIA, that optimitzes the memory. Maybe you can try to unclick it.