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 Oct 17, 2019 11:37 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
PostPosted: Mon Mar 18, 2019 7:42 pm 
Offline

Joined: Mon Mar 18, 2019 10:31 am
Posts: 3
Hello,

I have installed Oscat Network Library 1.2.1 with Oscat Basic Library 3.3.1 into my Codesys 3.5 SP12 project. I have compared my code with FTP client demo project and then, Ftp client parameters are Ok but, I have little problem with upload file.

When I upload text file into my FTP server the first time, all is correct. But when I try again new upload text file into my FTP server, there is no error but only excessive time reponse (44 seconds) and finally, file is correctly transferred after this long time.

When I check using download text file from FTP server, I have no problem and there is correct transfer file under 6 seconds time.

Do you have any idea for problem, please?

Thanks a lot for help


Top
   
PostPosted: Tue Mar 19, 2019 7:40 am 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3492
Hi,
for me this works like charm on my PFC
See attached file from the examples directory:
viewtopic.php?f=23&t=6247
This example use the OSCAT Basic Version 3.3.3.0
and Oscat Network version 1.2.1.1 library installed from CODESYS Store.

PFC <-> FTP Server on PC send and receive the logfile.txt
around 9s the upload of the file, no mather how often this will executed
I use the 2th generation PFC with ~20% more Performance.

BR
Edwin


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


Top
   
PostPosted: Tue Mar 19, 2019 9:39 am 
Offline

Joined: Mon Mar 18, 2019 10:31 am
Posts: 3
Hello,

Thank you for your quick reply.

I have already used this Ftp client demo file for checking communication.

What is strange, that the first upload file is Ok because time response is 1 second.
But when, I try again second upload file. Ftp client function is waiting on step 200 and step 210 during 44 sec and after that, upload is finished correctly.

I'm not sure but, maybe, there is problem with my Oscat Library installation into my application project ?

Effectively, with newer PFC, it is faster than my controller. And with this newer PFC compatible with my Ethercat application project, I could use another FTP Library like WagoAppFtp for example.

Best regards


Top
   
PostPosted: Wed Mar 20, 2019 8:01 am 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3492
...guess using WagoAppFtp is only possible if you are using eCockpit


Top
   
PostPosted: Mon Mar 25, 2019 11:55 am 
Offline

Joined: Mon Mar 18, 2019 10:31 am
Posts: 3
Hello Edwin,

I would like to give my feedback using Oscat Ftp Server for my application.

Problem is linked with text file size because, with my communication machine Mitutoyo Kogame, I need to transfer very short text file size (90 bytes).
If I increased text file size, time response for transfer file will reduce until file size reach 4096 bytes.
So, with 4096 bytes file size, my response time has reduced from 44 seconds to 3 seconds

Best regards


Top
   
PostPosted: Mon Mar 25, 2019 7:11 pm 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3492
Hi,
ok good to know.
So you could probably deal with this?!
BR
Edwin


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 6 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:  
Powered by phpBB® Forum Software © phpBB Limited