• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] EtherCAT Slave
#2
Hi Scott,

this is an easy one.

Maybe you have recognized that we deliver example containers for netPI ready to use.

They all are located at Docker hub here: https://hub.docker.com/u/hilschernetpi/

There is on example container called https://hub.docker.com/r/hilschernetpi/n...-examples/. This example container configures the 2xRJ45 real-time ethernet ports either as EtherCAT slave, EtherNetIP Slave or PROFINET device depending on the pre-compiled user program you are starting. Each os the container examples is linked to the source code on Github. So follow the link and you'll find the documentation about all three protocols and also the ESI file in your case.

If you analyse the c-coded program you will see that it ends in an endless loop reading and writing to the ethernet controller's buffer. From there you can inject your data and pull out the data you need.

Armin








You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply


Messages In This Thread
[SOLVED] EtherCAT Slave - by snortman - April-16th-2018, 04:28 PM
RE: EtherCAT Slave - by JamieG - February-6th-2019, 02:26 AM
RE: EtherCAT Slave - by Armin@netPI - February-6th-2019, 10:27 AM
RE: EtherCAT Slave - by JamieG - February-7th-2019, 07:05 AM
RE: EtherCAT Slave - by Armin@netPI - February-7th-2019, 07:36 AM
Answer - by Armin@netPI - April-16th-2018, 08:21 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Configuring EtherCAT communication Hoeber 1 2,193 September-22nd-2021, 01:29 PM
Last Post: Armin@netPI
  running ethercat slave MGharat 6 5,722 December-10th-2019, 10:06 AM
Last Post: MGharat
  [SOLVED] Monitoring as EtherCAT Slave PRingelberg 8 6,731 October-16th-2018, 08:10 PM
Last Post: Armin@netPI

Forum Jump:


Users browsing this thread: 1 Guest(s)