mini/mini.c
changeset 98 f564d0929292
parent 83 e8b76a509bc9
child 104 052bc82d5442
--- a/mini/mini.c	Thu Mar 02 13:08:07 2006 +0000
+++ b/mini/mini.c	Mon Mar 06 15:12:34 2006 +0000
@@ -17,7 +17,7 @@
 
 /*****************************************************************************/
 
-#define ABTASTFREQUENZ 1000
+#define ABTASTFREQUENZ 100
 
 struct timer_list timer;
 
@@ -47,7 +47,9 @@
     static unsigned int counter = 0;
 
     // Prozessdaten lesen und schreiben
-    EtherCAT_rt_domain_xio(domain1);
+    EtherCAT_rt_domain_queue(domain1);
+    EtherCAT_rt_master_xio(master);
+    EtherCAT_rt_domain_process(domain1);
 
     k_angle = EC_READ_U16(r_inc);
     k_pos   = EC_READ_U32(r_ssi);