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 Mon Jun 24, 2019 4:18 pm

All times are UTC+01:00

Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed Aug 29, 2018 12:04 pm 

Joined: Fri Jun 29, 2018 7:22 am
Posts: 14

I'm trying to figure out how to use the WAGO 750-651 module for serial communication in Codesys.
I am already using the onboard serial port and this works quite well.
Judging by the contents of this thread:
It seems that it is not possible to access the module as a COM port like in Codesys 2.3?
Is this correct? Or could someone help me getting it to work properly?


PostPosted: Sun Sep 02, 2018 2:52 pm 

Joined: Fri Dec 26, 2014 3:10 am
Posts: 48
Hi MortenL,

If you asking for Codesys V2.3 where you are refer to the wago version codesys runtime. If i not mistake to use the com module on wago there is separately library you need to use.

you may straight ask the library file from wago directly, if you can't get the library file just let me know. i'm try get from singapore wago for u.

Thank you
John Lee

PostPosted: Fri Sep 14, 2018 8:48 pm 

Joined: Fri Jun 29, 2018 7:22 am
Posts: 14
Hi John Lee

I was asking how to do it in CoDeSys 3.5, not 2.3.
Wago provides good examples and documentation for 2.3, but unfortunately not for 3.5

I did however manage to get it working.

It seems that the serial port isn't exposed in CoDeSys 3.5 as a port, but rather you have to use the control and status word along with the buffer to send data.
I made small program in SFC to do exactly this, it will take a string and transfer 3 bytes at a time while manipulating the control word correctly.

Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC+01:00

Who is online

Users browsing this forum: Andreas Kehrer and 7 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