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 Thu Feb 27, 2020 9:08 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Modbus TCP Read/Write
PostPosted: Wed Feb 01, 2017 11:09 am 
Offline

Joined: Fri Nov 25, 2011 8:28 am
Posts: 11
I have a Wago PLC and would like to connect with modbus TCP.
It is possible to create READ/WRITE variable?

Gianni


Top
   
PostPosted: Thu Feb 02, 2017 8:18 am 
Offline

Joined: Fri Nov 25, 2011 8:28 am
Posts: 11
I use the function FC23 but i can't use the same variable in read and write

Gianni


Top
   
PostPosted: Thu Feb 02, 2017 10:10 am 
Offline

Joined: Mon Nov 21, 2016 3:00 pm
Posts: 11
Hi Poix.

I had the same problem that I needed to read and write to the same variable from an HMI using ModbusTCP.
But unfortunately, it seems that this is not possible anymore in Codesys 3.5.
In my solution, i changed the driver to OPC UA, but this might nog be possible for you.

Jesper


Top
   
PostPosted: Thu Feb 02, 2017 5:06 pm 
Offline

Joined: Fri Nov 25, 2011 8:28 am
Posts: 11
Thank's for your replay, but I have to connect to a Wago PLC.


Gianni


Top
   
PostPosted: Fri Feb 10, 2017 10:23 pm 
Offline

Joined: Mon Mar 24, 2014 4:11 am
Posts: 8
May be possible to use Network Variable instead of MB protocol. CoDeSys doesnt handle RW variables in MB registers any longer.


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

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 6 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