[etherlab-dev] Ethercos big fix
Len Remmerswaal
lremmerswaal at revolutioncontrols.com
Wed Apr 27 12:19:24 CEST 2011
Sorry, that would be a small _bug_ fix.
-----Original Message-----
From: etherlab-dev-bounces at etherlab.org [mailto:etherlab-dev-bounces at etherlab.org] On Behalf Of Len Remmerswaal
Sent: woensdag 27 april 2011 11:41
To: etherlab-dev at etherlab.org
Subject: [etherlab-dev] Ethercos big fix
Hi all,
I am trying to get ethercos running. I had some more luck after clearing
this bug:
<quote>
diff -r 450be8d89459 modules/etherlab_base/src/c/etl_scicos.c
--- a/modules/etherlab_base/src/c/etl_scicos.c Thu Mar 31 14:29:05 2011
+0200
+++ b/modules/etherlab_base/src/c/etl_scicos.c Mon Apr 18 08:49:54 2011
+++ +0200
@@ -208,7 +208,7 @@
else
{
//Dummy Entry
- sync_config[i].index = 0;
+ sync_config[i].index = EC_END;
}
//Get Direction
</quote>
This is with respect to ethercos-0.0.2-rc15, nov 2009.
Before this change, I had failures on the pdo configuration of any
Ethercat device, both in real time and in in-scicos runs.
After this change, some things go right (demos/test_el4102.cos runs OK!)
and others do not.
To be continued.
BTW: Seeing the central position of this show-stopping bug: is there any
activity on this project at all?
Is there a mercurial repository available like for the etherlab master?
Is there a more recent release then Nov 2009 somewhere?
Thanks,
Len.
_______________________________________________
etherlab-dev mailing list
etherlab-dev at etherlab.org
http://lists.etherlab.org/mailman/listinfo/etherlab-dev
More information about the etherlab-dev
mailing list