Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stopped in the middle of a job #42

Closed
oldlad opened this issue Jan 20, 2018 · 8 comments
Closed

stopped in the middle of a job #42

oldlad opened this issue Jan 20, 2018 · 8 comments

Comments

@oldlad
Copy link

oldlad commented Jan 20, 2018

Hi Martin,
I am a complete beginner to cnc milling but i have been making PCBs for many years with the etching method, i,m 70 years young so have patience with me please.
I have been using your great software for a few weeks now and had fantastic results with my pcb milling, i am using your latest version of open cnc pilot and it all seemed to work ok until today.
I set up my Shapeoko 2 to mill a new pcb and probed the board, all ok so i started the milling but half way through the job it just stopped, no buttons had been pressed or anything. on the scrolling code in the bottom right hand corner of the screen i could see it was scrolling idle but had no idea why.
The all the buttons were as they should be, i repressed start a few times but nothing happened, in the end i just had to abbort the job. if you have any idea what had gone wrong i would be greatful for any advice you could give me.
Kind regards, Colin

@martin2250
Copy link
Owner

Hi Colin,

I've never had that happen to me before though I have a few guesses what could have caused it:

  • gcode file contains M0/M1/M6: did it stop while cutting or could it have been a toolchange? In this case the status bar should have shown 'hold' instead of 'run' or 'idle'
  • grbl reset without going into alarm state: how well is your setup protected from electrical interference? This would go unnoticed by OpenCNCPilot and it wouldn't do anything as it assumes the buffer is full and doesn't receive 'ok' from grbl.

You can usually get everything running again by issuing a soft reset. This will clear the buffer and reset everything to its original state. If you use G10 instead of G91 to set your coordinate system it won't even loose it's position (unless grbl was reset by hardware).

If you run into that problem again and a soft reset doesn't fix it, you can attach a screenshot and the file that you were running (just don't copy-paste it into the comment :) ).

Cheers
Martin

@oldlad
Copy link
Author

oldlad commented Jan 20, 2018 via email

@oldlad
Copy link
Author

oldlad commented Jan 21, 2018 via email

@martin2250
Copy link
Owner

martin2250 commented Jan 21, 2018

Hi Colin,

According to the Wiki, Alarm 4 indicates that the probe pin is already shorted to ground before the "G38.2" probe command. The latest version of OpenCNCPilot should already translate that to

Probe fail. The probe is not in the expected initial state before starting probe cycle, where G38.2 and G38.3 is not triggered and G38.4 and G38.5 is triggered.

Did you extract the "Resources" folder when you last upgraded OpenCNCPilot or just the .exe?

Anyways, you should check your wiring for shorts and also jog the bit off the surface before starting the probing cycle.

Greetings
Martin

@oldlad
Copy link
Author

oldlad commented Jan 21, 2018 via email

@oldlad
Copy link
Author

oldlad commented Jan 21, 2018 via email

@martin2250
Copy link
Owner

Hi again,
just out of curiosity: was it an original Arduino or a clone?
I'll close this issue if there are no further problems. If you run into any more trouble just reopen it.

Cheers!

@oldlad
Copy link
Author

oldlad commented Jan 21, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants