CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Sun Sep 15, 2019 1:06 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Thu Jan 24, 2019 5:47 pm 
Offline

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
   
PostPosted: Fri Jan 25, 2019 9:17 am 
Offline
User avatar

Joined: Tue Jun 28, 2016 2:45 pm
Posts: 65
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
   
PostPosted: Fri Jan 25, 2019 9:41 am 
Offline

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
   
PostPosted: Thu Feb 07, 2019 10:25 am 
Offline

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
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 4 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited