[etherlab-dev] buffered mode and triple-buffer

Koch Daniel DK at paul.eu
Thu Nov 21 09:23:00 CET 2013



-----Ursprüngliche Nachricht-----
Von: Koch Daniel Im Auftrag von PAUL-SOFTWARE
Gesendet: Donnerstag, 21. November 2013 08:06
An: etherlab-dev at etherlab.org
Betreff: buffered mode and triple-buffer

Hello list, 

Does anybody know how to copy the twincat-behaviour using triple-buffers?

My Problem is s long as i want to integrate the ability controlling a servo controller in our machines directly via the Ethercat-Master (1.5.2) in a rtai-module, I have been stuck giving the opportunity running the servo-controller in free-run-mode without any errors (seeing it on unexpected working-counter-changes in the messages-log on ethercat master). For several reasons, i want to have it working without distributed clocks!

I am NOT a twincat-professional, but if I run this configured twincat-project (see screenshot_drive_tlgs.png & screenshot_master_tlgs.png).Depending on analysing the ethercat-configurations runs fine with just the expected working counter changes with twincat. It does some (IMHO) weird sync-management with triple-buffers (see screen_shot_drive_tripple_buffer.png in the attachments). Is there a way to copy this behaviour with our Ethercat-Master?

When I have a look in the source-code of the master, in theory, I could change the fmmu-configuration to ask these logical-adresses as the twincat-project does, but this is not the exact point. I do not see how I could copy the behaviour having the slave ordered using "triple-buffers" (what ever this exactly means). 

Btw: Ethercat itself seperates it's sync-management into buffer- and mailbox-mode right? Am I right, If I say, the default behaviour configuring a syncmanager for, -let's say -just exchanging pdo's, is buffer mode?

Has anybody else experienced this problem or does anybody have a idea what I could do?

Mit freundlichen Grüßen / Best regards

Daniel Koch

 
-----------------------------------------------------------------------------------
PAUL Maschinenfabrik GmbH & Co. KG
Max-Paul-Straße 1
88525 Dürmentingen
Deutschland / Germany

Tel.:	+49 (0) 7371 / 500 - 0
Fax:	+49 (0) 7371 / 500 - 111
Mail:	software at paul.eu
Web:	www.paul.eu
-----------------------------------------------------------------------------------
Kommanditgesellschaft, Sitz Dürmentingen, Registergericht Ulm HRA 650073, Pers. haftende Gesellschafterin: 
Paul Maschinenfabrik GmbH, Sitz Riedlingen, Registergericht Ulm HRB 650013, Geschäftsführer: Werner Paul
Ust.-IdNr DE 146544409
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screenshot_twincat_wireshark_tribble_buffer.png
Type: image/png
Size: 75710 bytes
Desc: screenshot_twincat_wireshark_tribble_buffer.png
URL: <http://lists.etherlab.org/pipermail/etherlab-dev/attachments/20131121/ed236dd8/attachment-0012.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screenshot_drive_tlgs.png
Type: image/png
Size: 23205 bytes
Desc: screenshot_drive_tlgs.png
URL: <http://lists.etherlab.org/pipermail/etherlab-dev/attachments/20131121/ed236dd8/attachment-0013.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screenshot_drive_tripple_buffer.png
Type: image/png
Size: 23205 bytes
Desc: screenshot_drive_tripple_buffer.png
URL: <http://lists.etherlab.org/pipermail/etherlab-dev/attachments/20131121/ed236dd8/attachment-0014.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screenshot_master_tlgs.png
Type: image/png
Size: 127974 bytes
Desc: screenshot_master_tlgs.png
URL: <http://lists.etherlab.org/pipermail/etherlab-dev/attachments/20131121/ed236dd8/attachment-0015.png>


More information about the Etherlab-dev mailing list