b'CPU : Item not available' Error #323
Unanswered
KAYAUgurBerat
asked this question in
Q&A
Replies: 2 comments 5 replies
-
This error can be legit... |
Beta Was this translation helpful? Give feedback.
4 replies
-
me too, but i don't know how to slove that. If you go through, can you give me some tips. Thank you too much |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone, I want to change the values of the data blocks in the plc with the snap7 library. When I try this, I get the error shown below.
b'CPU : Item not available'
Traceback (most recent call last):
File "D:/Belgeler D/pythonProject/plcdeneme.py", line 10, in
plc_info = plc.get_cpu_info()
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\snap7\client.py", line 161, in get_cpu_info
check_error(result, context="client")
File "C:\Program Files (x86)\Microsoft Visual Studio\Shared\Python37_64\lib\site-packages\snap7\common.py", line 92, in check_error
raise Snap7Exception(error)
snap7.exceptions.Snap7Exception: b'CPU : Item not available'
Process finished with exit code 1
And this is my code:
I made all the plc settings on Snap7's own site. What should I do to fix this problem? Thank you from n


ow
Beta Was this translation helpful? Give feedback.
All reactions