> For me, the issue of RTnet is irrelevant. I would, instead, just want to 
> use
> the Linux driver. If we can get that to generate and receive ethernet 
> frames
> in real time, we are in business.
>
> Then we could let the PC be a master and any peripherals be slaves. In the
> case of the UPC board, there might be only one slave. The master would 
> poll
> each of the slaves as appropriate.
>
> Ken
>
That is the way the ACN protocols work, although they operate with a more 
peer-to-peer structure. ACN rides on top of Internet Protocol, so the 
standard Linux driver should work fine. If a device has something to say it 
just says it, and everyone who wants to listen does. This does not increase 
bandwidth consumption and may decrease it because there is no need for the 
controller to ask a responder for information. When looking at things like 
encoders transported in an uncompressed format over ethernet this is the 
most bandwidth efficient method. Compressed or interpreted data are 
similarly efficient.

Let me illustrate with a stepper motor:
Simple Controller: Move +1 step X
Simple Drive: Moved +1 step X
Messages sent until final position reached. This is the direct ethernet 
equivalent of the parallel port

Medium Controller: Move +1000 steps X
Medium Drive: Moved +1000 steps X
One message sent to move 1" (.001 step resolution).

For compound moves either the drive or the controller becomes more 
complicated in the medium solution, so at this point what I would suggest is 
to aim for a medium solution for single axis moves that switches down to the 
simple method for compund moves. This should be relatively easy to code at 
the EMC end and almost brainless at the drive end. ACN structures already 
accomodate the different data types.

Advanced controllers are a more involved discussion.

I will edit the streaming ACN packet structure and post it to the list.

Thanks,
Javid





-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to