Note: further details still missing (work in progress)
build-essentials
and git
ethercat scan
ethercat/example
to your projectfolder myproject
myproject.c
ethercat cstruct > mappings.c
./myproject
Now you have your own EtherCAT Master running - probably doing nothing else than transferring useless data to and from your slaves.
Now with the master running and working with your hardware, you probably want to implement some realtime logics.
You can integrate pdserv
into your master application, which provides a non-realtime interface into the realtime process. On the other side you can use either pdcom
or the graphical Testmanager
.
So far we have used