Author |
Message |
straccio80
|
PostPosted: Thu Jan 24, 2019 5:47 pm |
|
Joined: Sun Mar 22, 2015 11:38 am Posts: 14
|
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
You do not have the required permissions to view the files attached to this post.
|
|
Top |
|
 |
KevinR
|
PostPosted: Fri Jan 25, 2019 9:17 am |
|
Offline |
 |
Joined: Tue Jun 28, 2016 2:45 pm Posts: 61
|
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
_________________ Building & Process Automation with HVAC Library for CODESYS© - www.hvac-automation.com
|
|
Top |
|
 |
straccio80
|
PostPosted: Fri Jan 25, 2019 9:41 am |
|
Joined: Sun Mar 22, 2015 11:38 am Posts: 14
|
Hi KevinR,
I Tried, it's the same.
Thank you for replying.
Best Regards
Straccio80
|
|
Top |
|
 |
straccio80
|
PostPosted: Thu Feb 07, 2019 10:25 am |
|
Joined: Sun Mar 22, 2015 11:38 am Posts: 14
|
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
|
|
Top |
|
 |