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

[FR] USB Serial connection, G30 Z values to 4 decimal places #17326

Closed
qwewer0 opened this issue Mar 29, 2020 · 10 comments
Closed

[FR] USB Serial connection, G30 Z values to 4 decimal places #17326

qwewer0 opened this issue Mar 29, 2020 · 10 comments
Labels
T: Feature Request Features requested by users.

Comments

@qwewer0
Copy link
Contributor

qwewer0 commented Mar 29, 2020

Description

Is there a way to make G30 - Single Z-Probe - to output in 4 decimal places, instead of 2?

UBL too gives Z values in 2 decimal places to the serial connection (USB), but with G29 S-1 we get values with 4 decimal places.

@qwewer0 qwewer0 closed this as completed Mar 29, 2020
@qwewer0 qwewer0 reopened this Mar 30, 2020
@ellensp
Copy link
Contributor

ellensp commented Mar 30, 2020

You realize that is 0.1 micron? no way your machine has that much accuracy or repeatably.

@ellensp
Copy link
Contributor

ellensp commented Mar 30, 2020

I don't see anything obvious in the code that limits the DP, what is probably the issue is that you would need > 10000 steps/mm to resolve the Z position to this level.

@qwewer0
Copy link
Contributor Author

qwewer0 commented Mar 30, 2020

So, it could be that the given G30 output is rounded up by the software (Pronterface, Slic3r), and that is why I only see 2 decimal places?
8mm thread rod with 2mm pitch, 1/16 micro stepp is 0.0025mm, 2.5 micron.
Probe standard deviation: 0.001375

@qwewer0 qwewer0 closed this as completed Mar 30, 2020
@qwewer0
Copy link
Contributor Author

qwewer0 commented Mar 30, 2020

Yes, it is a software limit. G30 gives value to 4 decimal places with Python.

I came to a conclusion too soon. G30 gives Z value in 2 decimal places, no matter if the software is Pronterface, Slic3r or Python.

@qwewer0 qwewer0 reopened this Mar 31, 2020
@qwewer0 qwewer0 changed the title [FR] G30 - 4 decimal places [FR] USB Serial connection, G30 Z values to 4 decimal places Mar 31, 2020
@ellensp
Copy link
Contributor

ellensp commented Apr 2, 2020

What are your Steps/mm for Z ?

@qwewer0
Copy link
Contributor Author

qwewer0 commented Apr 2, 2020

400, but why does it matter?

@ellensp
Copy link
Contributor

ellensp commented Apr 2, 2020

So I can replicate your setting, to try and see what is going on.

@qwewer0
Copy link
Contributor Author

qwewer0 commented Apr 2, 2020

Ok, but I don't think it has anything to do with it, as G29 and G30 gives 2 decimal places, but with G29 S-1 It lists all the Z value to 4 decimal places. But I want the G30 values and not the UBL values at the moment.

@boelle boelle added the T: Feature Request Features requested by users. label Jun 20, 2020
@qwewer0
Copy link
Contributor Author

qwewer0 commented Jul 12, 2020

#18367

@qwewer0 qwewer0 closed this as completed Jul 12, 2020
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Sep 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T: Feature Request Features requested by users.
Projects
None yet
Development

No branches or pull requests

3 participants