Can't figure out axis limits with dual Z bed leveling
-
There are dozens of threads on this topic but this is driving me mad. I think I'm on the right track, I send G32, it homes but when it goes to make the first probe to the left it goes past the bed and crashes and then drops the bltouch probe. I've adjusted all the settings I can think of so I'm not sure what's telling it to go to the neighbors house. I've followed the wiki and more threads than I can count. I thought it was M208 but there's no effect when I change it.
generated by RepRapFirmware Configuration Tool v3.2.3 on Fri Feb 26 2021 10:46:02 GMT-0500 (Eastern Standard Time)
; General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"My Printer" ; set printer name; Network
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S0 ; disable FTP
M586 P2 S0 ; disable Telnet; Drives
M569 P0 S0 ; physical drive 0 goes forwards s1 is forward s0 backwards
M569 P1 S1 ; physical drive 1 goes forwards
M569 P2 S0 ; physical drive 2 goes forwards
M569 P3 S1
M569 P4 S0 ; physical drive 3 goes forwards
M584 X0 Y1 Z2:4 E3 ; set drive mapping
M671 X-20:270 Y0:0 S5 ;leadscrews at left (connected to Z) and right (connected to E1) of X axis
M208 X10:300 Y0:130 ;X carriage moves from -5 to 270, Y bed goes from 0 to 130
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z400.00 E420.00 ; set steps per mm
M566 X900.00 Y900.00 Z60.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min)
M201 X500.00 Y500.00 Z20.00 E250.00 ; set accelerations (mm/s^2)
M906 X800 Y800 Z800 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
M84 S30 ; Set idle timeout; Axis Limits
M208 X0 Y0 Z0 S1 ; set axis minima
M208 X310 Y310 Z180 S0 ; set axis maxima; Endstops
M574 X2 S1 P"!xstop" ; configure active-high endstop for high end on X via pin !xstop
M574 Y2 S1 P"!ystop" ; configure active-high endstop for high end on Y via pin !ystop
M574 Z2 S2 ; configure Z-probe endstop for high end on Z; Z-Probe ; create servo pin 0 for BLTouch
M558 P9 C"^zprobe.in" H5 F120 T6000 ; set Z probe type to bltouch and the dive height + speeds
M950 S0 C"exp.heater7"
G31 P500 X27 Y0 Z2.7 ; set Z probe trigger value, offset and trigger height
M557 X15:215 Y15:195 S20 ; define mesh grid; bed.g
; called to perform automatic bed compensation via G32
;
; generated by RepRapFirmware Configuration Tool v3.2.3 on Fri Feb 26 2021 10:46:02 GMT-0500 (Eastern Standard Time)G28 ; home
G30 P0 X5 Y130 Z-99999 ; probe near a leadscrew, half way along Y axis
G30 P1 X270 Y130 Z-99999 S2 ; probe near a leadscrew and calibrate 2 motors -
post your bed.g
-
Very end of post
-
to probe at x5 the nozzle needs to to go x-22.
so change the coordinate of the first probe point
-
@Veti Thanks for the response, Veti. I changed X5 to X-22 and it gave the same response. Carriage went to left but tried to keep going past it's limit.
-
you understood me wrong. you need to set the nozzle in to opposite direction.
set to x32 to for the nozzle to be at x5
-
@resh said in Can't figure out axis limits with dual Z bed leveling:
@Veti Thanks for the response, Veti. I changed X5 to X-22 and it gave the same response. Carriage went to left but tried to keep going past it's limit.
Keep in mind that the G30 commands that accept XYZ values take into account the probe offsets.
So when you use, just as an example, G30 P0 X0 Y0 Z-99999 the firmware tries to move the probe to that location which can put the nozzle outside your normal limits to locations that it cannot actually reach.
Using the example above with your probe offsets of X=27 Y=0 the nozzle would have to be able to move to X-27 Y0.
Thus the importance of trying to mount the probe with offsets as small as possible.
Frederick
-
Thanks guys, I got this working. Should I create a separate macro for this or just run it every time I do a home all? Also, I've seen a youtube video where it does the same probes twice (very fast) before it makes adjustments. Is this necessary?
-
@resh said in Can't figure out axis limits with dual Z bed leveling:
Thanks guys, I got this working. Should I create a separate macro for this or just run it every time I do a home all? Also, I've seen a youtube video where it does the same probes twice (very fast) before it makes adjustments. Is this necessary?
I home my Z axis using endstop sensors.
I use the Z probe for setting the Z=0 datum, leveling the bed and creating the mesh compensation height maps.
I run the bed leveling procedure at the start of a print.
Check the A and S parameters of the M558 command for how to do multiple probing to improve accuracy.
Frederick