eduardo.viana
Hi everyone,
Currently I have one layer stack of sequent mycrosystems board attached to my raspberry pi 4. All software is uptodate and everything runs well pretty much.
An issue has come to my concern. Along the file execution, in such often I get an error message like below:

=======
=======
Traceback (most recent call last):
File "/usr/local/lib/python3.9/dist-packages/megaind-1.0.4-py3.9.egg/megaind/__init__.py", line 186, in getOptoCh
OSError: [Errno 121] Remote I/O error

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/pi/OpenPLC_v3/webserver/./core/psm/main.py", line 169, in <module>
update_inputs()
File "/home/pi/OpenPLC_v3/webserver/./core/psm/main.py", line 26, in update_inputs
opto_input = int(megaind.getOptoCh(0, 1))
File "/usr/local/lib/python3.9/dist-packages/megaind-1.0.4-py3.9.egg/megaind/__init__.py", line 189, in getOptoCh
Exception: Fail to read with exception [Errno 121] Remote I/O error
=======
=======
The only way to make it sorted is switching PI power off and on again. And software come back running without any error.
My scan cycle is around 14 miliseconds and the delay function is: time.sleep(0.05).

Does any body has experienced this situation?
Looking forward your feedback!
Cheers
Eduardo Viana
Reply 0 0
Reply