CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version 
It is currently Sat May 27, 2017 3:23 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: tcp server
PostPosted: Wed May 10, 2017 6:32 am 
Offline

Joined: Tue May 09, 2017 10:03 am
Posts: 6
Hello

Is it possible to get TCP working in simulation mode with the local network card in your pc?

And also, if you have more than one client, are you supposed to make several instances of NBS.TCP_Connection depending on how many clients you will support?


Top
   
 Post subject: Re: tcp server
PostPosted: Thu May 11, 2017 9:36 am 
Offline

Joined: Tue May 09, 2017 10:03 am
Posts: 6
I used the Control Win softplc instead and then tcp/ip is working.

And about having more than one client, creating several instances of tcp_connection solves that issue. However, when a client disconnects the xDone flag is set and it seems that you can't use that tcp_connection instance any longer. Since there is no "reset" input to the block i tried setting xEnable to false and then back to true but the Done flag stays true.

Does anyone know how to solve this?


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

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 4 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:  
cron
Powered by phpBB® Forum Software © phpBB Limited