Menu

get error: snap7.snap7exceptions.Snap7Exception: b'CPU : Address out of range'

André
2018-03-31
2018-04-01
  • André

    André - 2018-03-31

    Hi,
    I'm runnnig snap7 on raspberry pi and on os x. I can read Input when using plc.read_area().
    Unfortunately, I get 'snap7.snap7exceptions.Snap7Exception: b'CPU : Address out of range' when using plc.db_read() or plc.read_area() when I try to read DB's.

    On PLC side:
    I have created an DB (DB7) and on position DB7.2 I created a byte.

    I don't know what to do. Can anyone help me?

    initial position:

    OSX:
    snap7: stable 1.4.2 (bottled) (installed with brew)
    Python 3.6.5

    RaspberryPi:
    snap7: python-snap7 0.9 (installed with pip)
    Python 2.7.13

    S71200:
    TIA V12 SP1

    Best,
    André

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.