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

Z axis reset #860

Open
JamieAKing opened this issue Jan 1, 2018 · 2 comments
Open

Z axis reset #860

JamieAKing opened this issue Jan 1, 2018 · 2 comments

Comments

@JamieAKing
Copy link

Not sure if it’s a so much an issue rather than an annoyance
I am using the nightly ugcs platform build to control an ardunio running grbl.
All works well until a user error forces me to stop the machine mid stream using the software button in ugcs. Whilst the machine stops, it looses the g54 z axis position, reverting it to the g53. Forcing a reprobe of the z axis. Is this normal or is something afoot?

Also any movement command proceeding the completed probe is still in the g32.1 state. Could a G0 please be included at the end of the probing routine. 500mm is a long way at 25mm/min and as mentioned above the stop button resets the z axis........ ( after the third time in a row I had to go find a coffee and wait!)

Many thanks
Jamie

@winder
Copy link
Owner

winder commented Jan 2, 2018

The problem is that in order to stop GRBL midstream UGS must issue a "reset" to clear out the buffered commands. A GRBL reset reverts the WCS back to a default value.

I'm a little confused about the second comment though. Are you executing something like Z1 after the probe cycle to raise the tool? Could you explain your workflow in a little more detail?

Either way I think there are two improvements that could be made in UGS:

  1. After the "stop" button is pressed, set the WCS to what it was prior to the reset.
  2. Put a G0 at the end of the probe cycles.

@JamieAKing
Copy link
Author

Both your solutions would solve the problem completely.
On my home made machine I have a small touch plate recessed into the front of the waste board. This is also the location I do all my tool changes = G30. I set my Z origin at wasteboard and model the full stock thickness in fusion. I know this is not best practise to work in Z positive but as I do not have indexable tool bits the tool offset is irrelevant.
I also have a fence machined square to the XY axis that I use to locate stock timber = G28
This way if anything goes wrong during multiple operations, I can easily rezero and continue the part without error. Anyone who has reset x or y by mistake whilst setting the z axis in a random location will know the challenge that then lies ahead....
So for clarity my work flow is this:
Power on
Home
G30 to probe location
Zero Z,
G53 Z-5 to clear workholding, project etc
G28 to work holding zero location
Zero X & Y

@winder winder added this to the 2.0 milestone Mar 9, 2018
@breiler breiler removed this from the 2.0 milestone Jan 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants