Linuxcnc stops executing ngc file for unknown reason
- giantstone
- Offline
- Senior Member
Less
More
- Posts: 55
- Thank you received: 0
09 Mar 2019 19:50 - 09 Mar 2019 19:51 #128175
by giantstone
Linuxcnc stops executing ngc file for unknown reason was created by giantstone
Hi, I'm experiencing an unknown issue,
the machine stops running at a specific line of the g-code sequence, the file is attached as fur_cutting_stop1824.ngc,
this issue repeatedly happens, and its the first time i encounter it.
i also attached a screen-shot when the machine stops as 1.png.
.ini and .hal config files are also provided.
i set the machine in auto run mode via python interface, the issue happened,
and I used the linuxcnc UI to run the fur_cutting_stop1824.ngc the issue happened,
with no error reported, and the positions of the axis are within allowed range.
could someone help me to identify the cause?
the machine stops running at a specific line of the g-code sequence, the file is attached as fur_cutting_stop1824.ngc,
this issue repeatedly happens, and its the first time i encounter it.
i also attached a screen-shot when the machine stops as 1.png.
.ini and .hal config files are also provided.
i set the machine in auto run mode via python interface, the issue happened,
and I used the linuxcnc UI to run the fur_cutting_stop1824.ngc the issue happened,
with no error reported, and the positions of the axis are within allowed range.
could someone help me to identify the cause?
Last edit: 09 Mar 2019 19:51 by giantstone.
Please Log in or Create an account to join the conversation.
- Leon82
- Offline
- Platinum Member
Less
More
- Posts: 592
- Thank you received: 77
09 Mar 2019 22:46 #128183
by Leon82
Replied by Leon82 on topic Linuxcnc stops executing ngc file for unknown reason
Your program at the bottom seems to go from positive z5. To a rapid of z0 with no retract. Could this be it?
Please Log in or Create an account to join the conversation.
- Richard J Kinch
- Offline
- Senior Member
Less
More
- Posts: 61
- Thank you received: 4
10 Mar 2019 06:11 - 11 Mar 2019 13:22 #128202
by Richard J Kinch
Is it hanging, versus stopping out of autorun?
Hanging occurs when some instant logical condition necessary to the new motion mode (g0 vs g1) is unsatisfied, while the previous mode didn't consider it necessary and thus ran fine.
A typical cause is the spindle-at-speed logic interfering with motion starts, when the at-speed signal is defective or misconfigured. There's no timeout or other error displayed, and things just hang. This can be intermittent and thus frustrating to debug, because if something changes in the machine, programs (that used to work) mysteriously stumble into the problem, and there's no messages to help you diagnose the source.
Replied by Richard J Kinch on topic Linuxcnc stops executing ngc file for unknown reason
could someone help me to identify the cause?
Is it hanging, versus stopping out of autorun?
Hanging occurs when some instant logical condition necessary to the new motion mode (g0 vs g1) is unsatisfied, while the previous mode didn't consider it necessary and thus ran fine.
A typical cause is the spindle-at-speed logic interfering with motion starts, when the at-speed signal is defective or misconfigured. There's no timeout or other error displayed, and things just hang. This can be intermittent and thus frustrating to debug, because if something changes in the machine, programs (that used to work) mysteriously stumble into the problem, and there's no messages to help you diagnose the source.
Last edit: 11 Mar 2019 13:22 by Richard J Kinch.
Please Log in or Create an account to join the conversation.
- giantstone
- Offline
- Senior Member
Less
More
- Posts: 55
- Thank you received: 0
11 Mar 2019 02:36 #128280
by giantstone
Replied by giantstone on topic Linuxcnc stops executing ngc file for unknown reason
shouldn't be this reason because there are other lines the same as " z5 rapid to z0" and linuxcnc did not hang.
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23178
- Thank you received: 4864
11 Mar 2019 13:04 #128321
by andypugh
Replied by andypugh on topic Linuxcnc stops executing ngc file for unknown reason
It looks like the program has stopped, rather than having hung (though I am not 100% sure that the Axis buttons update if the program is started from the Python interface, which you mentioned doing)
Did the spindle stop?
Waiting for spindle-at-speed is one possible explanation if the G-code is still running. But the GUI buttons do appear to show a stopped condition.
Do you have any hardware buttons connected to stop / pause?
Did the spindle stop?
Waiting for spindle-at-speed is one possible explanation if the G-code is still running. But the GUI buttons do appear to show a stopped condition.
Do you have any hardware buttons connected to stop / pause?
Please Log in or Create an account to join the conversation.
- Richard J Kinch
- Offline
- Senior Member
Less
More
- Posts: 61
- Thank you received: 4
11 Mar 2019 13:27 #128328
by Richard J Kinch
Yes, but he didn't indicate if that was the program's direct result, or he pressed stop himself after it was hanging.
Replied by Richard J Kinch on topic Linuxcnc stops executing ngc file for unknown reason
But the GUI buttons do appear to show a stopped condition.
Yes, but he didn't indicate if that was the program's direct result, or he pressed stop himself after it was hanging.
Please Log in or Create an account to join the conversation.
Time to create page: 0.065 seconds