Trigger height is not right, still hitting bed when probing
-
trying to get this trigger height correct. seems any adjustment im doing has no effect. Im assuming i am adjusting the wrong spot..
code_text ; Select inductive probe, OMRON TL-Q5MC2-Z ; P8: unfiltered ; C"io2.in": set pin to zprobe ; T18000: Move to probe points at 300mm/s ; F1200: Probing Speed: 20mm/s ; H5: Dive height: 5mm ; A5 S0.01: Perform up to 5 touches until change is below 0.01mm ; B1: Turn off heaters while probing M400 M558 P8 C"io2.in" H10 F1200 T18000 A5 S0.01 B1; set Z probe type to modulated and the dive height + speeds G31 P500 X0 Y25 Z-.757 ; inductive probe offset, not critical, only used for coarse homing G4 P200
-
@frnknstn You don't use a negative number for the Z offset.
Use this: G31 P500 X0 Y25 Z0.757 -
@stephen6309 i switched this and it is still the same. am i changing this in another macro? ```
code_text; P8: unfiltered ; C"io2.in": set pin to zprobe ; T18000: Move to probe points at 300mm/s ; F1200: Probing Speed: 20mm/s ; H5: Dive height: 5mm ; A5 S0.01: Perform up to 5 touches until change is below 0.01mm ; B1: Turn off heaters while probing M400 M558 P8 C"io2.in" H10 F1200 T18000 A5 S0.01 B1; set Z probe type to modulated and the dive height + speeds G31 P500 X0 Y25 Z0.757 ; inductive probe offset, not critical, only used for coarse homing G4 P200
-
@frnknstn Make sure the sensor mounted solidly. You can run just G31 to make sure it was set correctly.
In my config.g I set the G31 with Z0 and I use a macro at the start of a print the set the the Z offset. For getting the offset, I use the paper method once everything is up to temp, run my macro, test then adjust it in the macro. Adjust again if needed when making a test print. I use a macros, since it's fast than rebooting.
My PLAOffset macro:
G31 P500 X-30 Y0 Z1.86 ; Set Z probe trigger value, offset and trigger height; increase to get closer M291 P"PLA Offset" S0 T2
-
@stephen6309 just noticed i dont even have G31 in my config
code_text ```; Configuration file for Duet WiFi (firmware version 2.03 or newer) ; executed by the firmware on start-up ; General preferences M111 S0 ; Debugging off G21 ; Work in millimetres G90 ; Send absolute coordinates... M83 ; ...but relative extruder moves M555 P2 ; Set firmware compatibility to look like Marlin M575 P1 B57600 S1 ; Comms parameters for PanelDue M564 S1 H1 ; Forbid axis movements when not homed ; General setup M669 K1 ; Select CoreXY mode (2.03 and up) ; Network M550 P"Duet3" ; Set machine name M552 S1 ; Enable network M586 P0 S1 ; Enable HTTP (for DWC) M586 P1 S1 ; Enable FTP (for remote backups) M586 P2 S0 ; Disable Telnet ; --- drive map --- ; _______ ; | 6 | 7 | ; | ----- | ; | 5 | 8 | ; ------- ; front ; Drive directions M569 P0.0 S0 V0 ; Drive 0: E Axis M569 P0.1 S0 V0 ; Drive 1: Z-LeftFront Axis M569 P0.2 S1 V0 ; Drive 2: Z-LeftRear Axis M569 P0.3 S0 V0 ; Drive 3: Z-RightRear Axis M569 P0.4 S1 V0 ; Drive 4: Z-RightFront Axis M569 P1.0 S1 V0 ; Drive 5: Expansion: B motor (X-axis) M569 P1.1 S1 V0 ; Motor mapping and steps per mm M584 X1.0 Y1.1 Z0.1:0.2:0.3:0.4 E0.0 M350 X16 Y16 Z16 I1 ; Use 1/16 microstepping with interpolation everywhere M350 E16 I1 ; no microstepping on the extruder M92 X80 Y80 Z400 ; Set XYZ steps per mm (1.8deg motors) ;M92 X160 Y160 Z800 ; Set XYZ steps per mm (0.9deg motors) M92 E404 ;417 was original - after tuning 405 was slightly over 100mm. Therefore, 404 ;M350 Z16 I0 ; disable Z interpolation ; Drive currents M906 X1200 Y1200 Z1200 E1000 ; XYZ and E current M906 I30 ; Idle current percentage M84 S120 ; Idle timeout ; Endstops M574 X2 S1 P"io0.in" ; X max active low endstop switch M574 Y2 S1 P"io1.in" ; Y max active low endstop switch ;M574 Z0 P"io3.in" ; zstop is free M208 X0 Y0 Z0 S1 ; Set axis minima M208 X400 Y300 Z230 S0 ; Set axis maxima ; Bed leveling ;M671 X-65:-65:265:265 Y-20:280:280:-20 S20 ; Define Z belts locations (Front_Left, Back_Left, Back_Right, Front_Right) M671 X-65:-65:320:320 Y-20:350:350:-20 S20 ; Define Z belts locations (Front_Left, Back_Left, Back_Right, Front_Right) M557 X50:200 Y50:200 S25 ; Define bed mesh grid (inductive probe, positions include the Z offset!) ; Accelerations and speed M98 P"/macros/print_scripts/speed_printing.g" ; Heaters M308 S0 P"temp_0" Y"thermistor" A"Bed" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0 M950 H0 C"out_0" T0 ; create bed heater output on out0 and map it to sensor 0 M307 H0 B0 R0.173 C613.4 D2.91 S1.00 V24.1 ; set model parameters for heater 1 and use PID mode M140 H0 ; map heated bed to heater 0 M143 H0 S120 ; set temperature limit for heater 0 to 120C M308 S1 P"temp_1" Y"thermistor" A"Hotend" T100000 B4725 C7.06e-8 ; configure sensor 1 as thermistor on pin temp1 M950 H1 C"out_1" T1 ; create nozzle heater output on out1 and map it to sensor 1 M307 H1 B0 R2.435 C159.6 D3.53 S1.00 V24.1 ; disable bang-bang mode for heater and set PWM limit M143 H1 S280 M950 F0 C"out7" Q100 M106 P0 C"Part Cooling" ;Side Fans ;M950 F5 C"duex.fan5" Q100; ;M950 F6 C"duex.fan6" Q100; ;M106 C"Electronics Bay"P5 T45:65 F50 H100:101:102 ; Electronics bay fan, turn on gradually if MCU is over 45C or any TMC driver is over temp ;M106 C"Electronics Bay"P6 T45:65 F50 H100:101:102 ; Electronics bay fan, turn on gradually if MCU is over 45C or any TMC driver is over temp ; Chamber temperature sensor via temperature daughterboard pins on Duex ;M305 S"Ambient" P104 X405 T21 ; Set DHT21 for chamber temp ;M305 S"Humidity [%]" P105 X455 T21 ; Set DHT21 for chamber humidity ; Disable unused heaters (so they are hidden on the PanelDue) ;M307 H2 A-1 C-1 D-1 ;M307 H3 A-1 C-1 D-1 ;M307 H4 A-1 C-1 D-1 ;M307 H5 A-1 C-1 D-1 ;M307 H6 A-1 C-1 D-1 ;M307 H7 A-1 C-1 D-1 ; Select inductive Z probe on powerup M98 P"/macros/print_scripts/activate_z_probe.g" ; Fans ; Fans M950 F0 C"out7" Q500 ; Parts cooling create fan 0 on pin out7 and set its frequency M106 P0 S0 H-1 M950 F1 C"out8" Q500 ; Extruder create fan 1 on pin out8 and set its frequency M106 P1 T45 H1 ; Tools M563 P0 D0 H1 F0 ; Define tool 0 G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C ; Enable pressure advance ; 0.085 was damn near perfect. Slight blobbing. Upping to 0.087. M572 D0 S0.087 M501 ; load config-override.g T0 ; select tool 0
-
@frnknstn I have that G31 in config.g to make sure a G29 doesn't send the bltouch off the bed.