Hi All, I finally figured out how to solve it. The only away that I got it to work was to define parity to None on modbus configuration, and now works like a charm. Just for the record I'm using the GPIO port pins (8,10) and a RS485 to ttl shield that you can find online. Thanks all for the support! Regards Ricardo
Hi thanks once again, Yes it supports because using python scripting I'm able to send data from the rasberry raspberry and receive it on my pc and vice versa (Image attached). But when using the CoDeSyS I just got red flags. Any light on this problem?
Hi thanks once again, Yes it supports because using python scripting I'm able to send data from the rasberry raspberry and receive it on my pc and vice versa (Image attached). But when using the CoDeSyS I just got red flags. Any light on this problem?
Hi thanks once again, Yes it supports because using python scripting I'm able to send data from the rasberry raspberry and receive it on my pc and vice versa (Image attached). But when using the CoDeSyS I just got red flags. Any light on this problem?
Hi eschwellinger, Thanks for replying, but I'm not shure if I got it right. Do you mean that I have bad configuration on my CODESYS config file? Or in my project? Thanks in advance!
Hi Dear All, I'm using my raspberry PI4 as a CoDeSyS PLC (Build from scratch with custom electronics). I was able to implement all fieldbuses with the exception of Modbus Serial. I'm using the internal Port (GPIO) and I configured it in /etc/Codesyscontrol_user.cfg the following away: [SysCom] Linux.Devicefile.1=/dev/ttyUSB0 Linux.Devicefile.2=/dev/ttyS0 I'm using COM2 on Master configuration. I'm using a interface board from TTL/RS485 (bidirectional board), and it's works perfectly with other devices...