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

Set current hight as Z=0 and save #3293

Closed
robvoi opened this issue Sep 7, 2020 · 8 comments
Closed

Set current hight as Z=0 and save #3293

robvoi opened this issue Sep 7, 2020 · 8 comments
Labels

Comments

@robvoi
Copy link

robvoi commented Sep 7, 2020

Not sure if I can ask usage questions here but I didn't find a forum or such.

Is there a way to set the current hight as Z=0 from GCode/Terminal?
Or to define an offset which also applies after a reboot.

I use the Coordinate Offset (via the Klipper Plugin for Octoprint) but this doesn't safe the offset permanently.

What I want to achieve: with two fixed Z-Endstops (hall effect) I stop both Z-axis at a specific height. This levels the Z axis.
Now I am 0.X mm off the bed. This I easily want to set via console by moving 0.05 up or down until Z is perfect. Then save.

@klipper-gitissuebot
Copy link

Hi @robvoi,

It did not look like there was a Klipper log file attached to this ticket. The log file has been engineered to answer common questions the Klipper developers have about the software and its environment (software version, hardware type, configuration, event timing, and hundreds of other questions).

Unfortunately, too many people have opened tickets without providing the log. That consumes developer time; time that would be better spent enhancing the software. If this ticket references an event that has occurred while running the software then the Klipper log must be attached to this ticket. Otherwise, this ticket will be automatically closed in a few days.

For information on obtaining the Klipper log file see: https://github.com/KevinOConnor/klipper/blob/master/docs/Contact.md

The log can still be attached to this ticket - just add a comment and attach the log to that comment.

Best regards,
~ Your friendly GitIssueBot

PS: I'm just an automated script, not a human being.

@schnello
Copy link
Contributor

Is there a way to set the current hight as Z=0 from GCode/Terminal?

I use SET_KINEMATIC_POSITION Z=0

@robvoi
Copy link
Author

robvoi commented Sep 11, 2020

I use SET_KINEMATIC_POSITION Z=0
Thanks. But this doesn't save until after a reset, does it?
That's what I want I need.

@schnello
Copy link
Contributor

If you want apply an offset use the SET_GCODE_OFFSET command

https://github.com/KevinOConnor/klipper/blob/master/docs/G-Codes.md#extended-g-code-commands

@robvoi
Copy link
Author

robvoi commented Sep 11, 2020

Again thanks.
But ... Also this doesn't survive a restart.

@KevinOConnor
Copy link
Collaborator

If you have a hall effect endstop, then your can set that as the Z endstop and use the position_endstop field to set the position. Otherwise, there is no ability to save an offset in the config file. However, if one updates their slicer to run a macro at each print start, then one can place a preset offset in that macro.

-Kevin

@robvoi
Copy link
Author

robvoi commented Sep 11, 2020

If you have a hall effect endstop, then your can set that as the Z endstop and use the position_endstop field to set the position. Otherwise, there is no ability to save an offset in the config file. However, if one updates their slicer to run a macro at each print start, then one can place a preset offset in that macro.

-Kevin

Hi Kevin,
first .... great firmware. Really great.

Thanks a lot for your advise.
position_endstop works - "but" I have to do it at two spots. (z0 & z1)
I now solved it with a macro that sets the offset. The slices calls the macro.
Only one position in the config. And the sliced modes work with changing offsets.

What does't work is to do all this from OctoPod (iPhone) as I can't change the config from there.
But that's a pure comfort thing.

Maybe something for the future? Set and store Z offset from Terminal OR save current position to config as Z=0.

@github-actions
Copy link

github-actions bot commented Oct 3, 2020

Hello,

It looks like there hasn't been any recent updates on this
Klipper github issue. If you created this issue and no
longer consider it open, then please login to github and
close the issue. Otherwise, if there is no further activity
on this thread then it will be automatically closed in a few
days.

Best regards,

~ Your friendly GitIssueBot

PS: I'm just an automated script, not a human being.

@github-actions github-actions bot added the Stale label Oct 3, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Nov 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants