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 Sat Dec 07, 2019 2:55 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Wed May 11, 2016 4:14 pm 
Offline

Joined: Sat Jan 09, 2016 4:36 pm
Posts: 51
Hi,
UDP communication with raspberry pi2 work fine, but I need to count byte in input. There is szCount variable, but it remain to zero.
Can I do something?
BR


You do not have the required permissions to view the files attached to this post.


Top
   
PostPosted: Thu May 12, 2016 7:22 am 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3562
Hi,
could you give this a try and
and you need to wait till xReady = TRUE, after that data's are valid and szCount should be <> 0.


BR
Edwin


You do not have the required permissions to view the files attached to this post.


Top
   
PostPosted: Fri May 13, 2016 10:29 am 
Offline

Joined: Sat Jan 09, 2016 4:36 pm
Posts: 51
Hi,
as you advice me I tried but the result is the same. No change.
BR


You do not have the required permissions to view the files attached to this post.


Top
   
PostPosted: Tue May 17, 2016 9:13 am 
Offline

Joined: Sat Jan 09, 2016 4:36 pm
Posts: 51
Please,
can you say me something?
BR


Top
   
PostPosted: Tue Sep 13, 2016 3:21 pm 
Offline

Joined: Sat Jan 09, 2016 4:36 pm
Posts: 51
Edwin, the time pass but the problem remain? Can you tell me somethink abut this problem?


Top
   
PostPosted: Tue Sep 13, 2016 10:42 pm 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3562
Hi,
Could you attach your project to check?
BR
Edwin


Top
   
PostPosted: Wed Sep 14, 2016 8:05 am 
Offline

Joined: Sat Jan 09, 2016 4:36 pm
Posts: 51
Sure.
https://dl.dropboxusercontent.com/u/152 ... ectarchive
Please, let me know.
BE


Top
   
PostPosted: Fri Sep 16, 2016 6:58 am 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3562
Hi,

if you Change FB_UDP_RECEIVE.xDone to FB_UDP_RECEIVE.xReady in Network 4 it should work

BR
Edwin


You do not have the required permissions to view the files attached to this post.


Top
   
PostPosted: Thu Sep 22, 2016 11:40 am 
Offline

Joined: Sat Jan 09, 2016 4:36 pm
Posts: 51
It work Edwin.
Thank you!


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

All times are UTC+01:00


Who is online

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