After referencing Z 25mm down?

Hello!
is it possible to move Z-axis 25mm after referencing down?
Tronxy - Mainsail - uptodate
Thx

no? (charakters…xyzv…)

What exactly mean by that?

up?

after he has finished reference, I want my Z goes down for 25mm (+25mm)

A wild guess is, that you are talking about “homing” and in particular homing the z-axes, right? See homing_override

I assume you have a corexy?

So the bed goes down, but Z increases/goes up.


So much questions…

Another reason not to delete the template and provide all information that are asked for.

1 Like

just a question after referencing / homing to change Z position
does not care about the printer itself I think ? can be wrong of course.

@Sineos thx, just adding a line there G1 Z25; would that be the answer?

Simply said: yes.

Haven’t you tried already?

if I change the printer.cfg, I get an error

[homing_override]
gcode:
#   A list of G-Code commands to execute in place of G28 commands
#   found in the normal g-code input. See docs/Command_Templates.md
#   for G-Code format. If a G28 is contained in this list of commands
#   then it will invoke the normal homing procedure for the printer.
#   The commands listed here must home all axes. This parameter must
#   be provided.
axes: z
G1 Z25;
#   The axes to override. For example, if this is set to "z" then the
#   override script will only be run when the z axis is homed (eg, via
#   a "G28" or "G28 Z0" command). Note, the override script should
#   still home all axes. The default is "xyz" which causes the
#   override script to be run in place of all G28 commands.
#set_position_x:
#set_position_y:
#set_position_z:
#   If specified, the printer will assume the axis is at the specified
#   position prior to running the above g-code commands. Setting this
#   disables homing checks for that axis. This may be useful if the
#   head must move prior to invoking the normal G28 mechanism for an
#   axis. The default is to not force a position for an axis.

What error?


For your code snippet:

First the Gcodes
Then the axes:

https://www.klipper3d.org/Config_Reference.html#homing_override

As I assumed: the G1 Z25; is at the wrong place.

where should it be?
…

Behind this, as it is explainded in the descriptive text.

But it should look like this:

G28
G1 Z25 G500

I’ll try now,…,.,.,.

Can you please share the printer.cfg and the klippy.log?

config-202355-9250.zip (5.3 KB)

log is 0kb?
klippy (6).log (3.0 KB)

Try this:

[homing_override]
gcode:
     G28
     G1 Z25 G500

still error
klippy (8).log (22.0 KB)

homing_override and safe_z_homing cannot be used simultaneously