Hi,
I'm trying to read analog inputs on a Modbus RTU device.
The COM Port doesn't work.
I added the SysCom in CODESYSControl_User.cfg.
Any suggestion?
Best Regards Thanks
Straccio80
Originally created by: KevinR
Hi Straccio80,
did you try Com Port number 2 in codesys. Because Com port 1 is used for the rs232 console port.
Gesendet von meinem LYA-L29 mit Tapatalk
Hi KevinR,
I Tried, it's the same.
Thank you for replying.
Best Regards
i fixed the problem.
In CODESYSControl_User.cfg i setted
[SysCom] Linux.Devicefile=/dev/ttyUSB
instead of
[SysCom] Linux.Devicefile=/dev/ttyRS485
and it's working fine.
Best regards
Log in to post a comment.
Hi,
I'm trying to read analog inputs on a Modbus RTU device.
The COM Port doesn't work.
I added the SysCom in CODESYSControl_User.cfg.
Any suggestion?
Best Regards
Thanks
Straccio80
Originally created by: KevinR
Hi Straccio80,
did you try Com Port number 2 in codesys. Because Com port 1 is used for the rs232 console port.
Gesendet von meinem LYA-L29 mit Tapatalk
Hi KevinR,
I Tried, it's the same.
Thank you for replying.
Best Regards
Straccio80
Hi,
i fixed the problem.
In CODESYSControl_User.cfg i setted
[SysCom]
Linux.Devicefile=/dev/ttyUSB
instead of
[SysCom]
Linux.Devicefile=/dev/ttyRS485
and it's working fine.
Best regards
Straccio80