Reading on Analog Input/Output #363
Unanswered
Asclepiios
asked this question in
Q&A
Replies: 1 comment 8 replies
-
Hello there, first question is: What device and what version of python-snap7 do you got? |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
For a project I need to read the Input and Output of a PLC with python.
I do not have acces to the PLC, but my reading of Input and Output seems to work, since I obtain value and no error.
Here is my code :
data = s7_client.read_area(snap7.types.Areas.PE, 0, starting_byte, size)
Is there a way to read Analog Input/Output ? It seems not possible with snap7.types.Areas.PE since it give me the error :
b'CPU : Address out of range'
Is there a specific Areas that I miss ? I don't see one in the file, or any function ready to read on analog.
with kind regards,
Asclepiios
Beta Was this translation helpful? Give feedback.
All reactions