Greetings,
I would like to bring the Onefinity to its maximum Z height when I execute a manual tool change.
Obviously, that max Z height is based on several factors (current work piece height, Z gantry bolt position, etc).
Must I know the maximum Z height beforehand?
Is there a G code that brings Z to the highest position?
Note: I understand that I can move the Z joystick up and the Z gantry will stop just before its mechanical limit. I want to do this as part of the G code.
Onefinity must know this limit. Itās discovered during machine homing.
It there a G variable that I can use in the G code?
I know this is an old post, and OP already got what they needed, but Iām surprised by use of G0 here without G53 ahead of it. (Also I think Onefinity usually is set up with a Z max-soft-limit of 0, so all machine Zs are 0 or negative). As I understand it āG0 Z0ā will go to machine 0 only if a new 0 hasnāt been set. If youāve already probed or otherwise set a new origin it will go there, which could be anywhere, often the surface of the wasteboard (a bad place to go for a tool change). āG53 G0 Z0ā should use machine coordinates to take the Z carriage to the top of its travel, whatever the current coordinate system is. Iām no expert, so maybe Iām missing something.
-r
See also Aiph5uās ātool-changeā routine; I read the other day that someone prefers a position more in the middle of X travel for manual tool change, can be modified to suit your needs.