-
Notifications
You must be signed in to change notification settings - Fork 534
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
[Bug]: active tool not changed if home XYZ in tpre.g #949
Comments
Also if the |
Further testing: Homing any axis apart from Z within Having |
Homing within a tool change messes with the state machine, also on some
machines (e.g. tool changer) it may be desirable to put T-1 in the homing
files which would lead to infinite recursion if the tpre file uses G28. We
should perhaps generate an error message if G28 is encountered in a tool
change file.
I think it's possible to home within a tool change file by calling e.g.
homeall.g directly. So we should probably document this, and that G28 is
not allowed in a tool change file.
…On Thu, 25 Jan 2024 at 15:22, Andy Everitt ***@***.***> wrote:
Further testing:
Homing any axis apart from Z within tpre seems to be ok.
Having G28 Z in tpre causes RRF to run tpre but not tpost. This is
independent of if Z is homed or not before selecting the tool.
—
Reply to this email directly, view it on GitHub
<#949 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAUYI3BK7JEKO5DQOIIFR5DYQJ2DXAVCNFSM6AAAAABCKUKWGWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGQZDQMJVGA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
--
David Crocker, Duet3D Ltd.
|
This also relates to any "abort" commands called from within a tool change macro or a macro that this calls. This is also invalid. related to #765 |
Not solution to the situation, but possibly helpful: A config option to disable G28's behaviour of dropping the existing "homed" state as its first step would be an useful addition. |
I wonder if calling |
Duet Forum Discussion Thread
internal discussion
Which Duet products are you using?
Firmware Version
3.5.0-rc3
Duet Web Control Version
3.5.0-rc3
Are you using a Single Board Computer (RaspberryPi) with your Duet?
Please upload the results of sending M122 in the gcode console.
Please upload the content of your config.g file.
Please upload the content of any other releveant macro files.
tpre0.g
maybehome.g
Details specific to your printer.
E3D Toolchanger
Links to additional info.
No response
What happened?
Expected result
Observed result
state.currentTool = -1
Steps to reproduce
T0
whenXYZ
are unhomedThe text was updated successfully, but these errors were encountered: