Festo-se / festo-edcon

festo-edcon is a python package which bundles modules to facilitate operation of Festo electric drives (currently via EtherNet/IP and Modbus) using PROFIDRIVE
MIT License
9 stars 0 forks source link

ubuntu support #4

Open BartvanMarrewijk opened 3 weeks ago

BartvanMarrewijk commented 3 weeks ago

Currently, the driver only works for windows. Is there any guideline to get edcon working on ubuntu as well?

EvilEli commented 3 weeks ago

Actually it should also work on Linux Systems. It is even running on Raspberry Pi. Do you have more detailed information what's not working?

jb-chossat commented 2 weeks ago

Based on my tests, the package can run for a limited amount of time on Raspberry Pi OS and arch linux. However, there is a bug, probably in the code managing the communication protocol (Modbus or ethernet/ip), that leads to the communication dropping. Anyone doing more than a few seconds of demonstration should assume it is NOT going to work on linux at this moment.

EvilEli commented 2 weeks ago

Can you provide the log output when this error occurs? Does setting the modus timeout to 0.0 in the ComModbus constructor change your behavior?

jb-chossat commented 2 weeks ago

Sure. No, ComModbus at 0 does not change anything in my experience. All data files here: The code run, the console output, the wireshark trace Modbus fail.zip

EvilEli commented 2 weeks ago

Thanks! I will try to get access to a Linux PC to investigate the issue.