machine stops in the middle of an NC program

More
17 years 3 months ago - 17 years 3 months ago #495 by tedani
Replied by tedani on topic Bug fixed!!!!!
I have modified emctaskmain.cc to fix the bug. Now, EMC can process the remaining lines after buffer full condition is cleared. This bug only occurs if stepping an NC program from the very beginning.

"emcTaskPlan" is split into several local functions, the "goto" statement is eliminated. The state machine is now easier for human to understand.

For me to read the source code more easier, I reformatted the source using my style. I apologized for the trouble if you didn't like it.

Attachment emctaskmain.tgz not found

Last edit: 17 years 3 months ago by tedani.

Please Log in or Create an account to join the conversation.

More
17 years 3 months ago #503 by BigJohnT
Replied by BigJohnT on topic Re:Bug fixed!!!!!
To submit a patch follow the instructions on this page.

wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Git...gh_e_mail_or_the_web

Thanks for finding that.

John

Please Log in or Create an account to join the conversation.

More
17 years 3 months ago #505 by tedani
Replied by tedani on topic Re:Bug fixed!!!!!
BigJohnT wrote:

To submit a patch follow the instructions on this page.

wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Git...gh_e_mail_or_the_web

Thanks for finding that.

John


I didn't know this submission procedure and apologized for the trouble caused.:( Could you do it for me?:unsure:

Please Log in or Create an account to join the conversation.

Time to create page: 0.065 seconds
Powered by Kunena Forum