Page 1 of 1

Probe Z Value like Parameter in script

Posted: Tue Jun 25, 2024 11:54 am
by MikeLaMenace2005
Hello,

I have some issue about Probe Z. I found a solution to use the value of Probe Z.

I would like to put it on script for example "M140 S[bed0_temperature] T0" but for Probe_Z

Do you know how I can write something like "G1 F600 Z[PROBE_Z_VALUE]" ?

Thanks by advance.

Mike

Re: Probe Z Value like Parameter in script

Posted: Fri Jul 05, 2024 10:11 am
by S3D-Jason
I'm not sure I fully understand your post and what you're trying to accomplish, but I know there's a [current_position_z] variable that might be useful. It just gets replaced with the current toolhead Z position when that script is executed.