Hello,

DC is a little bit more difficult than normal io.

First there are some questions:

- Which Realtime Subsystem do you use? (RTAI, Xenomai, Preempt)
- Which CPU do you use?
- Which NIC driver do you use?
- Which etherlab master version do you use?
- What is your system latency? (RTAI/testsuite)
- Which slave do you want to use?

About OP State

try to set

ethercat debug 1

and start your application and post the dmesg output.

Best regards

Andreas


Am 14.11.2011 13:22, schrieb [email protected]:
Hi all,

I have problems when running the examples in DC, both in real time and without it.

I modify the examples to suit the device I have, so I set a module
digital output (Beckhoff EL2004).

The problem is that the slave never goes to OP state, without giving any error message,
but if I comment the line of code:

'ecrt_master_application_time (master, EC_TIMEVAL2NANO (tv))'

so that I'm not updating the time of application, the slave goes to OP state and work
correctly, but I get the error line:

"EtherCAT ERROR 0: Received app_time not up to now, But Already active master). '

Does somebody know why doesn't the Ethercat slave go to OP state when using the
ecrt_master_application_time method?

Thank you



Mit freundlichem Gruß

Andreas Stewering-Bone

--
------------------------------------------------------------------------

Dipl.-Ing.(FH) Andreas Stewering-Bone
[email protected]
Tel.: +49 201 / 36014-15

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

Reply via email to