#Solved G30 XY position and probe offset (G31)?
-
Forget about this post - It just confuses me but should not be an issue. Thing is I got it backwards as it does count for the G31 numbers..
...............................................................................I am confused of the G30 command about the XY values and could not find it in the duzoki. (might have missed it just browsing through)
Configuring my bed.g G32 file I figure out that the G30 command specifies the probe position and not the nozzle position which can be confusing.
Is there a reason not using nozzle position and the probe offset from G31 in the G30 command?
Example:
; bed.g
; called to perform automatic bed compensation via G32
; G31 P500 X-5 Y-25 Z1.75 ; set Z probe trigger value, offset and trigger heightM401 ; deploy Z probe (omit if using bltouch)
G1 F12000
G30 P0 X0 Y0 Z-99999 ; probe near a leadscrew (actual X5 Y25)
G30 P1 X300 Y0 Z-99999 ; probe near a leadscrew (actual X305 Y25)
G30 P2 X150 Y260 Z-99999 S3 ; probe near a leadscrew and calibrate 3 motors (actual X155 Y285)
M402 ; retract probe (omit if using bltouch)
-
-
Perhaps I have not understood you post.
When using G30 P# Xaaa Ybbb the X and Y parameters specify the XY point to probe, which is what you want it to do.
Is it not working that way for you?
Frederick
-
I pretty much have the same question. I have a X probe offset of -23mm and have that entered in the probe configuration. I would expect based on some other firmware testing that issuing a probe command would take the offset into consideration on the x / y points to probe. For example, I wanted to probe at 0,0. The nozzle moves to 0,0 and tries to probe which will fail because the probe is hanging off the bed by -23mm. So when I created the mesh map, I had to take that into account and skew all my x numbers by the offset. Where is the probe X offset actually used? I do not think I have run a G29 with non-adjusted numbers because I didn't want to crash the bed so I don't really know if I give a coord like X150, Y150 if it will end up moving to X173 (since it has to account for the -23 offset).
-
@jamesarm97 said in #Solved G30 XY position and probe offset (G31)?:
I pretty much have the same question. I have a X probe offset of -23mm and have that entered in the probe configuration. I would expect based on some other firmware testing that issuing a probe command would take the offset into consideration on the x / y points to probe. For example, I wanted to probe at 0,0. The nozzle moves to 0,0 and tries to probe which will fail because the probe is hanging off the bed by -23mm. So when I created the mesh map, I had to take that into account and skew all my x numbers by the offset. Where is the probe X offset actually used? I do not think I have run a G29 with non-adjusted numbers because I didn't want to crash the bed so I don't really know if I give a coord like X150, Y150 if it will end up moving to X173 (since it has to account for the -23 offset).
Probably best to create your own thread and share your actual config files and printer details. There could be any number of things contributing to what you're seeing. If we can see your actual gcode being used we have a much better idea of what is actually happening.