Gmoccapy Stop Mid-Run
- electrosteam
- Offline
- Senior Member
-
Less
More
- Posts: 60
- Thank you received: 4
11 Feb 2025 09:29 - 11 Feb 2025 09:30 #321216
by electrosteam
Gmoccapy Stop Mid-Run was created by electrosteam
Hobby 3-axis mill, Raspberry Pi 4B, official download - reports as Gmoccapy 3.4.6.
Done several jobs since swapping from AXIS.
Running code - then stop.
No pop-up messages.
Found the Gmoccapy Log - nothing.
Cancelled job, but machine would not jog.
De-activate controls (Green/Red PB), then activate - machine jogs.
Need some hints on where to look, or a list of typical problems.
Thanks,
John.
Done several jobs since swapping from AXIS.
Running code - then stop.
No pop-up messages.
Found the Gmoccapy Log - nothing.
Cancelled job, but machine would not jog.
De-activate controls (Green/Red PB), then activate - machine jogs.
Need some hints on where to look, or a list of typical problems.
Thanks,
John.
Last edit: 11 Feb 2025 09:30 by electrosteam.
Please Log in or Create an account to join the conversation.
- newbynobi
-
- Offline
- Moderator
-
Less
More
- Posts: 2081
- Thank you received: 413
12 Feb 2025 05:33 #321321
by newbynobi
Replied by newbynobi on topic Gmoccapy Stop Mid-Run
That is a not known problem.
Running code means MDI Macros or commands, or AUTO programs?
How do your code end?
I recommend M2 as stop
Running code means MDI Macros or commands, or AUTO programs?
How do your code end?
I recommend M2 as stop
Please Log in or Create an account to join the conversation.
- electrosteam
- Offline
- Senior Member
-
Less
More
- Posts: 60
- Thank you received: 4
12 Feb 2025 06:04 #321322
by electrosteam
Replied by electrosteam on topic Gmoccapy Stop Mid-Run
Running a code file in AUTO, as accomplished many times before.
Code generated by CamBam from a FreeCad stl model.
Code end is M30.
One problem was that when the machine stopped, the line-of-code highlight also disappeared.
But, on reflection, I could have inspected the cutter position on the DRO and estimated the last successful line reasonably closely.
Then do a "start-from-here", CAREFULLY.
Is there any way to get the machine to record each code line as it is completed ?
Just line number that is overwritten each line would be sufficient.
Then I could read that location after a stop to identify bad code.
Code generated by CamBam from a FreeCad stl model.
Code end is M30.
One problem was that when the machine stopped, the line-of-code highlight also disappeared.
But, on reflection, I could have inspected the cutter position on the DRO and estimated the last successful line reasonably closely.
Then do a "start-from-here", CAREFULLY.
Is there any way to get the machine to record each code line as it is completed ?
Just line number that is overwritten each line would be sufficient.
Then I could read that location after a stop to identify bad code.
Please Log in or Create an account to join the conversation.
- newbynobi
-
- Offline
- Moderator
-
Less
More
- Posts: 2081
- Thank you received: 413
12 Feb 2025 17:12 #321357
by newbynobi
Replied by newbynobi on topic Gmoccapy Stop Mid-Run
I do not know a solution to do what you are asking for.
The question for me is, why the code stops?
If you just press pause, the program will continue after you pressed resume.
also recording the line might not help, as the interpreter reads ahead and so machining line 1000 interpreter may have already passed Line 1250
I imagine using python and code an own control might work.
Norbert
The question for me is, why the code stops?
If you just press pause, the program will continue after you pressed resume.
also recording the line might not help, as the interpreter reads ahead and so machining line 1000 interpreter may have already passed Line 1250
I imagine using python and code an own control might work.
Norbert
Please Log in or Create an account to join the conversation.
- electrosteam
- Offline
- Senior Member
-
Less
More
- Posts: 60
- Thank you received: 4
12 Feb 2025 21:53 #321387
by electrosteam
Replied by electrosteam on topic Gmoccapy Stop Mid-Run
The machine was unattended (briefly) as I moved around the workshop.
I admit that, if the machine was in the Pause state, I may not have noticed it.
Better error/status reporting next time.
I use standard USB mouse and keyboard.
This fault could indicate some EMI effect on one of those connections.
I found in the manual:
- gmoccapy.program.current-line (s32 OUT) - Indicates the current working line of the program.
Need then to generate a display, or memory location, with a one event memory.
Thanks for the comments,
John.
I admit that, if the machine was in the Pause state, I may not have noticed it.
Better error/status reporting next time.
I use standard USB mouse and keyboard.
This fault could indicate some EMI effect on one of those connections.
I found in the manual:
- gmoccapy.program.current-line (s32 OUT) - Indicates the current working line of the program.
Need then to generate a display, or memory location, with a one event memory.
Thanks for the comments,
John.
Please Log in or Create an account to join the conversation.
- HansU
-
- Offline
- Moderator
-
Less
More
- Posts: 666
- Thank you received: 198
26 Feb 2025 20:22 #322736
by HansU
Replied by HansU on topic Gmoccapy Stop Mid-Run
Was this an one time fault or did it happen again with this g-code file? Or also with other files?
The easiest way to get the last line is to monitor the pin gmoccapy.program.current-line with halscope.
The easiest way to get the last line is to monitor the pin gmoccapy.program.current-line with halscope.
Please Log in or Create an account to join the conversation.
Moderators: newbynobi, HansU
Time to create page: 0.062 seconds