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 Fri Aug 23, 2019 1:07 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Raspberry + Ethercat
PostPosted: Fri Jan 11, 2019 8:25 am 
Offline

Joined: Thu Jan 10, 2019 1:54 pm
Posts: 8
Hello,
I am using a raspberry PI3+ with codesys v3.5 SP14.
I have success to compile and execute a small project to the PI. I can control the program in using the webvisu with the ethernet port too.

Now, I would like to use an Ethercat slave (Beckhoff EK1100). On my PI, I have only one Ethernet port and I think it may use only for Ethercat bus (Ethercat master) . So in this case, it will not be possible to access to the PI with ethernet. So I need to have 2 ethernet ports.

What is the best solution to access to the PI in Ethernet and to use Ethercat on the PI?

Thanks for your help


Top
   
 Post subject: Re: Raspberry + Ethercat
PostPosted: Fri Jan 11, 2019 9:38 am 
Offline
Site Admin
User avatar

Joined: Mon Jan 31, 2005 10:48 am
Posts: 228
You can take almost any USB-to-Ethernet adapter. We do so here, too. According to my experience all the (3 or 4) different adapters I have used for this purpose worked well.

_________________
Roland Wagner
Moderator


Top
   
 Post subject: Re: Raspberry + Ethercat
PostPosted: Fri Jan 11, 2019 9:52 am 
Offline

Joined: Thu Jan 10, 2019 1:54 pm
Posts: 8
I tried one but I didn't work. It is possible to ping the ethernet port (usb adaptater) but the communication crashs after several seconds.
Any configuration to set inside the PI?
Roland, do you know if there is a tutorial somewhere to add an ethernet port with an adaptater?

Thanks


Top
   
 Post subject: Re: Raspberry + Ethercat
PostPosted: Fri Jan 11, 2019 10:55 am 
Offline

Joined: Thu Jan 10, 2019 1:54 pm
Posts: 8
the other way could be :
- a wifi dongle connected on one usb port from the pi
https://www.kubii.fr/claviers-et-peripheriques-usb/1471-dongle-wi-fi-officiel-raspberry-pi-kubii-3272496004825.html

- connection between my laptop and the pi, to download the codesys program for example, on the wifi network
- connection between the pi and the EK1100 from Beckhoff for the Ethercat bus on the Ethernet port

It could work??


Top
   
 Post subject: Re: Raspberry + Ethercat
PostPosted: Fri Jan 11, 2019 1:08 pm 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3394
Hi,
yes sure... this will work too!

BR
Edwin


Top
   
 Post subject: Re: Raspberry + Ethercat
PostPosted: Mon Jan 21, 2019 11:11 am 
Offline

Joined: Tue Jan 30, 2018 11:11 am
Posts: 8
I used this adaptor successfully

https://www.amazon.co.uk/UGREEN-Etherne ... rnet&psc=1


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 3 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