sorry, you can also try set_param(gcb,'debug','2') and update the model. That should tell you a little more about the slave.
On the command line, try ethercat config -p... As far as I could see it on my side, I did not see anything wrong. Am 11/11/2013 10:59 AM, schrieb Jasper Westpfahl:
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. I am using Etherlab 1.3-pre 14-Sep-2010 Best Regards, Jasper Richard Hacker <h...@igh.de> schrieb: Hello Jasper, click on the block to select it, then call set_param(gcb,'debug','1') from the matlab prompt and update your model. Check the debug information of the slave to see whether your configuration worked. What version of etherlab are you using? - Richard Am 11/11/2013 09:42 AM, schrieb Jasper Westpfahl: Hello Etherlab users, I am trying to configure the EL6692 connector from a Simulink model with a generic block and a device description xml to transmit various data between two masters. Neither Simulink nor dmesg throw any errors, but the RxPdo that are supposed to be configured do not show up on 'ethercat pdo -p 9' . The TxPdo do, with the exception of the last 'stuffing' byte (for alignment), show up. I have attached the xml and the output of 'ethercat pdo -p 9' in the hope that someone can have a quick look and give me a pointer. I would appreciate it. Thanks. Best regards, Jasper Westpfahl # ethercat pdo -p 9 SM0: PhysAddr 0x1000, DefaultSize 256, ControlRegister 0x26, Enable 1 SM1: PhysAddr 0x1100, DefaultSize 256, ControlRegister 0x22, Enable 1 SM2: PhysAddr 0x1200, DefaultSize 0, ControlRegister 0x24, Enable 1 RxPDO 0x1600 "RxPDO-Map" SM3: PhysAddr 0x1800, DefaultSize 20, ControlRegister 0x20, Enable 1 TxPDO 0x1a03 "" PDO entry 0x10f4:02, 2 bit, "" PDO entry 0x0000:00, 6 bit, "" PDO entry 0x0000:00, 3 bit, "" PDO entry 0x1800:09, 1 bit, "" PDO entry 0x1800:07, 1 bit, "" PDO entry 0x10f4:0e, 1 bit, "" PDO entry 0x10f4:0f, 1 bit, "" PDO entry 0x10f4:0a, 1 bit, "" PDO entry 0x10f4:0b, 32 bit, "" PDO entry 0x10f4:0c, 32 bit, "" PDO entry 0x10f4:0d, 32 bit, "" TxPDO 0x1a00 "TxPDO-Map" PDO entry 0x6000:01, 32 bit, "" PDO entry 0x6000:02, 32 bit, "" PDO entry 0x6000:03, 64 bit, "" PDO entry 0x6000:04, 64 bit, "" PDO entry 0x6000:05, 64 bit, "" PDO entry 0x6000:06, 64 bit, "" PDO entry 0x6000:07, 64 bit, "" PDO entry 0x6000:08, 64 bit, "" PDO entry 0x6000:09, 1 bit, "" PDO entry 0x6000:0a, 1 bit, "" PDO entry 0x0000:00, 6 bit, "" ------------------------------------------------------------------------ etherlab-users mailing list etherlab-users@etherlab.org http://lists.etherlab.org/mailman/listinfo/etherlab-users Mit freundlichem Gruß Richard Hacker _______________________________________________ etherlab-users mailing list etherlab-users@etherlab.org http://lists.etherlab.org/mailman/listinfo/etherlab-users
Mit freundlichem Gruß Richard Hacker -- ------------------------------------------------------------------------ Richard Hacker M.Sc. richard.hac...@igh-essen.com Tel.: +49 201 / 36014-16 Ingenieurgemeinschaft IgH Gesellschaft für Ingenieurleistungen mbH Heinz-Bäcker-Str. 34 D-45356 Essen Amtsgericht Essen HRB 11500 USt-Id.-Nr.: DE 174 626 722 Geschäftsführung: - Dr.-Ing. T. Finke, - Dr.-Ing. W. Hagemeister Tel.: +49 201 / 360-14-0 http://www.igh-essen.com ------------------------------------------------------------------------ _______________________________________________ etherlab-users mailing list etherlab-users@etherlab.org http://lists.etherlab.org/mailman/listinfo/etherlab-users