@Lcevette,
Thank you.
I didn't expect the look ahead, motion speeds over the trajectory would succeed.
Because i didn't really know how to calculate the speeds at gcode segment transitions.
I think we all together made succes.
Without the community input i would certainly not be at this stage.
Once you have something that works on this level, it has value.
@Vmi,
I was not aware of that. It's smart.
I have had an idea to create a virtual ethercat slave that replaces the hal environment.
Just like the ethercat-master examples create their own kernel modules. But it was just
an idea. Better stay at the current hal environment.
I spent a few day's finding the problem of my current situation, where the production machine was not
working as should, both on parport as on ethercat.
The problem is that the stepper motors where rotating very slow and hickey on ethercat.
Where this normally should run with more speed then a parport.
I did a few iso install's including the linuxcnc iso. 4 day's of trying to figur out the problem and no luck.
I even thought yesterday, maybe i have got infected by
Stuxnet. Because the ethercat test board has worked without
any problems a few years ago and now it was not working good at all.
In previous post a was able to run a script to run the ethercat steppers on hal-core. So this morning i extended the
succesfull script to finally run the cnc program with it without any problems anymore.
To run the ethercat test board along with the cnc app :
So this start first the "runtest_4_axis_state_machine", this is a script that starts the hal environment with the components.
Then it start the cnc program.
Now this is working as should be.
In the previous i was starting the cnc program as first, then loading the hal environment. Maybe this was causing trouble.
I have readed that user db1981 has also mentioned, first load the important hal stuff.
So in the end, the problem was not a compromised debian iso or a stuxnet or a zero day. It was just loading the
hal & program in wrong order.
Now the ethercat board also failed on a fresh linuxcnc installation yesterday, it moved the motors very slow and hickey,
maybe i have to look what was going wrong there as i now know it runs ok on halcore.
Ok this was a long story. I hope it was not bothering you.