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é
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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é
Read S71200/15000 chapter here:
http://snap7.sourceforge.net/snap7_client.html#target_compatibility