cpppo
cpppo copied to clipboard
AssertionError: Failed to receive any response
Hi , I am using your documentation to read and write values -
enip_server --print SCADA=INT[1000] TEXT=SSTRING[100] FLOAT=REAL
I used the above command to simulate the controllogix.
python -m cpppo.server.enip.client -v --print SCADA[1]=99 SCADA[0-10] 'TEXT[1]=(SSTRING)"Hello, world!"' TEXT[0-3]
and i am using this command to write values in tags Here is the error i am facing -
4-12 16:47:14.231 MainThread enip.cli NORMAL __init__ Connect: Failure in 8.109/ 5.000s: Failed to receive any response
Traceback (most recent call last):
File "C:\Users\SinghI\AppData\Local\Programs\Python\Python38-32\lib\runpy.py", line 192, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\SinghI\AppData\Local\Programs\Python\Python38-32\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\Users\SinghI\AppData\Local\Programs\Python\Python38-32\lib\site-packages\cpppo\server\enip\client.py", line 2248, in <module>
sys.exit( main() )
File "C:\Users\SinghI\AppData\Local\Programs\Python\Python38-32\lib\site-packages\cpppo\server\enip\client.py", line 2177, in main
with connector_cls( host=addr[0], port=addr[1], timeout=timeout, profiler=profiler,
File "C:\Users\SinghI\AppData\Local\Programs\Python\Python38-32\lib\site-packages\cpppo\server\enip\client.py", line 1261, in __init__
assert data is not None, "Failed to receive any response"
AssertionError: Failed to receive any response