Function Refused By CPU #455
Replies: 5 comments 2 replies
-
Hi @GleeisonRodrigues |
Beta Was this translation helpful? Give feedback.
-
Hi @nikteliy , I did that. |
Beta Was this translation helpful? Give feedback.
-
Did you reinitialize the db after that? |
Beta Was this translation helpful? Give feedback.
-
Hi I also did that :( |
Beta Was this translation helpful? Give feedback.
-
Hi @nikteliy , here is my project. thanks for your help. |
Beta Was this translation helpful? Give feedback.
-
Having an issue with try to read a DB. My connection is successful but I get the rejection on the read function. In the DB example I have created a global DB26 and I am trying to read DB26.00. The db optimization is turned off as per the instruction and also I enable the features ALLOW PUT/GET .
CPU is 6ES7 214-1HG40-0XB0 CPU 1214C DC/DC/Rly Firmware Version 4.2
python version 3.11.4
Reading Example:
import snap7.client as c
from snap7.util import *
from snap7.types import *
if name == "main":
plc = c.Client()
plc.connect('192.168.0.20',0,1)
print("Connection Sucessful")
data = plc.db_read(26,0,1)
Beta Was this translation helpful? Give feedback.
All reactions