I wish to allow linuxcnc to remap m2 and m30.
I have managed to fumble around the code and I think I have it working - mostly.
An unmapped m2 still works, a remapped m2 gets called.
Even a remapped m2 with recurrsive M2 call, does in fact run the remap and then 
the builtin M2.
But then it complains of a call stack underrun.

I'm not sure what that means - my guess is stack/return codes are not right.
If anyone could point me in the right direction - there is a branch remap_m2.
run the qtvcp screen sim; industrial_lathe_wear in a terminal to see debug code.

In case you are wondering I want to add a counter to increment when a program 
ends,
but remapping the end of a program to do something could be a common use.

Chris

_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to