From: Ian on
Hi Gordon,

I was wondering if xPC Target 4.3 (R2010a) now provides enough support to implement ethercat?

Ian

Gordon Weast <gweast(a)mathworks.com> wrote in message <dvuduv$pco$7(a)fred.mathworks.com>...
> Simone,
>
> At this time, we only offer UDP support as a block in a model. While
> TCP/IP is used for host-target communication, we don't have support
> as a block for other communication. We have had some discussions
> about adding this capability, but we haven't come to any conclusions
> about how to present it or when it would be done.
>
> The Ethernet drivers are part of the kernel and are not exposed for
> use by S functions right now, except for UDP.
>
> Gordon Weast
> xPC Target Development
> The Mathworks
>
> Simone Marcheschi wrote:
>
> > Hi,
> >
> > In our lab (PERCRO, www.percro.org) we develop haptic interfaces
> > (robotic devices which interact directly with human) and we use xPC
> > target as real-time OS for our controllers.
> >
> > Now, we need to use a new communication bus (Ethercat,
> > www.ethercat.org) for implementing a distributed control
> > architecture.
> > This bus is a real-time extension of ethernet communication.
> >
> > We would like to know if it's possible to integrate the Ethercat
> > master stack in the xPC real-time application.
> >
> > Is this feature already supported?
> >
> > Is it possible to manipulate composition of ethernet packets which
> > are sent/received by target?
> >
> > Is it possible to have a detailed documentation about how the
> > ethernet (UDP) communication is implemented inside the xPC target?
> >
> > Thanks
> > Best Regards
> >
> > Simone Marcheschi