<div dir="ltr">Perhaps you could also use 'ethercat debug 1' ?<div><br></div><div>Also, while your application is running, you could check 'ethercat domains'. You should be able to see what will be sent to the slaves by your application.</div>
<div><br></div><div>J.</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/11 Jasper Westpfahl <span dir="ltr"><<a href="mailto:jasper2@gmx.net" target="_blank">jasper2@gmx.net</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Thank you Richard, I did not know about that parameter. The debug information, however does not mention the block. It only gives me a few warnings of unconnected in-/outputs of other blocks, no errors whatsoever.<br>
<br>
I am using Etherlab 1.3-pre 14-Sep-2010<br>
<br>
Best Regards,<br>
Jasper<br>
<br><br><div class="gmail_quote"><br>
<br>
Richard Hacker <<a href="mailto:ha@igh.de" target="_blank">ha@igh.de</a>> schrieb:<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<pre><div><div class="h5">Hello Jasper,<br><br>click on the block to select it, then call<br>set_param(gcb,'debug','1')<br>from the matlab prompt and update your model. Check the debug <br>information of the slave to see whether your configuration worked.<br>
<br>What version of etherlab are you using?<br><br>- Richard<br><br>Am 11/11/2013 09:42 AM, schrieb Jasper Westpfahl:<br></div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 1ex 0.8ex;border-left:1px solid #729fcf;padding-left:1ex">
<div><div class="h5">Hello Etherlab users,<br><br>I am trying to configure the EL6692 connector from a Simulink model with<br>a generic block and a device description xml to transmit various data<br>between two masters. Neither Simulink nor dmesg throw any errors, but<br>
the RxPdo that are supposed to be configured do not show up on 'ethercat<br>pdo -p 9' . The TxPdo do, with the exception of the last 'stuffing' byte<br>(for alignment), show up. I have attached the xml and the output of<br>
'ethercat pdo -p 9' in the hope that someone can have a quick look and<br>give me a pointer. I would appreciate it. Thanks.<br><br>Best regards,<br>Jasper Westpfahl<br><br><br># ethercat pdo -p 9<br><br>SM0: PhysAddr 0x1000, DefaultSize 256, ControlRegister 0x26, Enable 1<br>
SM1: PhysAddr 0x1100, DefaultSize 256, ControlRegister 0x22, Enable 1<br>SM2: PhysAddr 0x1200, DefaultSize 0, ControlRegister 0x24, Enable 1<br>RxPDO 0x1600 "RxPDO-Map"<br>SM3: PhysAddr 0x1800, DefaultSize 20, ControlRegister 0x20, Enable 1<br>
TxPDO 0x1a03 ""<br>PDO entry 0x10f4:02, 2 bit, ""<br>PDO entry 0x0000:00, 6 bit, ""<br>PDO entry 0x0000:00, 3 bit, ""<br>PDO entry 0x1800:09, 1 bit, ""<br>PDO entry 0x1800:07, 1 bit, ""<br>
PDO entry 0x10f4:0e, 1 bit, ""<br>PDO entry 0x10f4:0f, 1 bit, ""<br>PDO entry 0x10f4:0a, 1 bit, ""<br>PDO entry 0x10f4:0b, 32 bit, ""<br>PDO entry 0x10f4:0c, 32 bit, ""<br>
PDO entry 0x10f4:0d, 32 bit, ""<br>TxPDO 0x1a00 "TxPDO-Map"<br>PDO entry 0x6000:01, 32 bit, ""<br>PDO entry 0x6000:02, 32 bit, ""<br>PDO entry 0x6000:03, 64 bit, ""<br>PDO entry 0x6000:04, 64 bit, ""<br>
PDO entry 0x6000:05, 64 bit, ""<br>PDO entry 0x6000:06, 64 bit, ""<br>PDO entry 0x6000:07, 64 bit, ""<br>PDO entry 0x6000:08, 64 bit, ""<br>PDO entry 0x6000:09, 1 bit, ""<br>
PDO entry 0x6000:0a, 1 bit, ""<br>PDO entry 0x0000:00, 6 bit, ""<br><br><br><hr><br></div></div><div class="im">etherlab-users mailing list<br><a href="mailto:etherlab-users@etherlab.org" target="_blank">etherlab-users@etherlab.org</a><br>
<a href="http://lists.etherlab.org/mailman/listinfo/etherlab-users" target="_blank">http://lists.etherlab.org/mailman/listinfo/etherlab-users</a></div></blockquote><div class="im"><br><br>Mit freundlichem Gruß<br><br>Richard Hacker<br>
</div></pre></blockquote></div></div><br>_______________________________________________<br>
etherlab-users mailing list<br>
<a href="mailto:etherlab-users@etherlab.org">etherlab-users@etherlab.org</a><br>
<a href="http://lists.etherlab.org/mailman/listinfo/etherlab-users" target="_blank">http://lists.etherlab.org/mailman/listinfo/etherlab-users</a><br>
<br></blockquote></div><br></div>