On Friday 23 September 2011 16:42:00 [email protected] wrote: > Hello everybody, > I've just started now with EtherCAT stuff and I'm having several problems. > I have some Beckhoff modules to make tests, but when I try to run the > example program, included in its code, I can't make it work all of them > correctly. I have a digital outputs module (EL2004), another one of > digital inputs (EL1004). One module of analog outputs (EL41342) and an > other of analog inputs (EL3102). I also have the bus coupler (EK1101). > I've modified rtai example to make them work, but I found problems in OP > mode, not all of them get's slave status, and it doesn't work. Does > somebody knows what it happens? I can't find where is the error. Thank > you in advance. Here there is my code and my modules configuration:
Please take small steps. First of all, try the examples, such as mini.c and rtai_example.c. Get them to compile and load first. Change your hardware so that the examples load. When that works, you may start modifying in _small_ steps until you are confident enough to start your own projects. Apart from attaching the output of ethercat slaves also attach output dmesg (and please not everything, only the important parts!!) Mit freundlichem Gruß Richard Hacker -- ------------------------------------------------------------------------ Richard Hacker M.Sc. [email protected] 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. S. Rotthäuser, - Dr.-Ing. T. Finke, - Dr.-Ing. W. Hagemeister Tel.: +49 201 / 360-14-0 http://www.igh-essen.com ------------------------------------------------------------------------ _______________________________________________ etherlab-users mailing list [email protected] http://lists.etherlab.org/mailman/listinfo/etherlab-users
