CODESYS - the IEC 61131-3 automation software
https://forum.codesys.com/

Raspberry + Ethercat
https://forum.codesys.com/viewtopic.php?f=21&t=9435
Page 1 of 1

Author:  thomasri [ Fri Jan 11, 2019 8:25 am ]
Post subject:  Raspberry + Ethercat

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

Author:  Roland Wagner [ Fri Jan 11, 2019 9:38 am ]
Post subject:  Re: Raspberry + Ethercat

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.

Author:  thomasri [ Fri Jan 11, 2019 9:52 am ]
Post subject:  Re: Raspberry + Ethercat

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

Author:  thomasri [ Fri Jan 11, 2019 10:55 am ]
Post subject:  Re: Raspberry + Ethercat

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

Author:  Edwin Schwellinger [ Fri Jan 11, 2019 1:08 pm ]
Post subject:  Re: Raspberry + Ethercat

Hi,
yes sure... this will work too!

BR
Edwin

Author:  blewl [ Mon Jan 21, 2019 11:11 am ]
Post subject:  Re: Raspberry + Ethercat

I used this adaptor successfully

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

Page 1 of 1 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/