IR Sensor and trigger hight
-
I can't get the IR Sensor to Z0.
Sensor is physically adjusted to be 1.5mm above nozzle. Offset -2/26.5 (x/y).
Adjusting it to 1.5mm above nozzle gives me a trigger hight of 3.14mm but shall aim for 0.5 to 2.5mm according to DC42's page. Also, the vallue shown at 3.14mm trigger is 1000.
I suspect, the probe is broken.
Any help highly appreciated.PS: Duet3 RRF3.1.1 CoreX/Y
-
How do you have it setup in config.g?
What is your bed surface? -
Bed surface is a Geckotech.
; Z-Probe
M558 P8 C"io3.in" H5 F120 T6000
G31 P500 X-2 Y26.42 Z3.14 -
@observatoer said in IR Sensor and trigger hight:
M558 P8
You should be using M558 P1 for analogue probe mode.
-
@Phaedrux Tried P1 w same result. Saw a comment from DC42 to use Mode 8 for the probe on RRF3.
-
Does performance change with a piece of paper on the bed surface?
-
@Phaedrux No, I already tried different surfaces and they where detected equally.
-
so you've gone through this procedure?
https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe
-
@Phaedrux Yes, several times to confirm doing it right.
-
So what exactly is happening incorrectly? I'm not sure I understand from your first post.
When you use G30 s-1 to measure the trigger height, what value do you get?
When you use that value in G31 Z, are you able to move the nozzle to touch the bed at z0? -
@Phaedrux
Doing G30 S-1 gives me 3.14. Adding this to the config.g and home Z gives me Z=0, but the nozzle is esteem. 3.14mm above the bed.
If I reajust the probe hight, the same thing happens, just with different values. Higher probe, lower Z and visa versa. -
@observatoer
Considering that you have the z-probe fine Tuned and configured. You commented that you have the problem when you do the homing. Is it possible that you do not use the z-probe to set z=0 and that there is this difference of one millimeter between the z-axis sensor and the z-probe?In my printer, with dual z axis, after home with micros witches every motor, I run a G30 command to set Z=0 with de Z-probe then I run a G32 command.
It works well for me in reprap 3.1 on a duetWifi+Duex
-
Please post your full config.g and homeall.g / homez.g please
-
@Phaedrux Thanks for the support! Maybe, I figured it out but nor sure about the "how".
; General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Duet 3" ; set printer name
G21 ; Work in millimetres
M575 P1 B57600 S1 ; Comms parameters for PanelDue
M669 K1 ; select CoreXY mode; Network & Logging
M111 S0 ; Debug off
M929 P"eventlog.txt" S0 ; Start logging to file eventlog.txt; Axis and motor configuration
M569 P0 S0 ; physical drive 0 goes backwards
M569 P1 S0 ; physical drive 1 goes backwards
M569 P2 S1 ; physical drive 2 goes forward
M569 P3 S0 ; physical drive 3 > Right goes backwards
M569 P4 S0 ; physical drive 4 > Left Front goes backwards
M569 P5 S0 ; physical drive 5 > Left Back goes backwardsM584 X1 Y2 Z3:4:5 E0 ; set drive mapping: Achtung. Z Motoren P3=Z3, P4 = Z4 und P5=Z5!! Sonst funktioniert Leveling nicht.
M350 X16 Y16 E16 I1 ; configure microstepping with interpolation
M350 Z16 I1 ; z axis isolated
M92 E830 ; set steps per mm Extruder
M92 X191.883 Y191.883 ; set steps per mm (0.9/16T=200s/mm) calibrated PLA: 190.9286
M92 Z3200 ; z axis isolated
M203 X24000 Y24000 Z900 E8000 ; set maximum speeds (mm/min)
M201 X1000 Y1000 Z40 E1300 ; set accelerations (mm/s^2)
M906 X1900 Y1900 Z1600 E650 I5 ; set motor currents (mA) and motor idle factor in per cent
M566 X1000 Y1000 Z150 E3000 ; Maximum jerk speeds mm/minute / Jubilee
M84 S600 ; Set idle timeout;Pressure Advance
M572 D0 S0.05 ; set pressure advance for extruder 0. Direct Drive recomendation = 0.025;Leadscrew locations
M671 X-10:-10:333 Y22.5:277.5:150 S7.5 ; Front left, Rear Left, Right S7.5 is the max correction - measure your own offsets, to the bolt for the yoke of each leadscrew; Axis Limits
M208 X0 Y0 Z-2 S1 ; set axis minima
M208 X305 Y305 Z315 S0 ; set axis maxima; Z-Probe
M558 P8 C"io3.in" H5 F120 T6000 ; Changed from Mode 1 to Mode 8 for IR / set Z probe type to unmodulated and the dive height + speeds
G31 P500 X-2 Y26.42 Z1.45 ; set Z probe trigger value, offset and trigger height (DC42)
M557 X0:295 Y0:295 S70 ; define mesh grid; Endstops
M574 X1 S1 P"io1.in" ; configure active-high endstop for low end on X via pin io1.in
M574 Y1 S1 P"io2.in" ; configure active-high endstop for low end on Y via pin io2.in
M574 Z1 S2 ; configure Z-probe endstop for low end on Z; Heater & Fan
M308 S0 P"temp0" A"Heat Bed" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0
M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0
M143 H0 S120 ; set temperature limit for heater 0 to 120C
M307 H0 B1 S1.00 ;enable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0M308 S1 P"temp1" A"Slice Hotend" Y"thermistor" T500000 B4723 C1.19622e-7 ; Slice Thermistor: configure sensor 1 as thermistor
; on pin temp1
M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1
M143 H1 S280 ; set temperature limit for heater 1 to 280C
M307 H1 B0 S1.00 ; set bang-bang mode for heater; Fans
M950 F0 C"out8" Q500 ; create fan 0 on pin out8 and set its frequency >> Heatsink Fan
M106 P0 S0 H1 T45 ; set fan 0 value. Thermostatic control is turned on.
M950 F1 C"out9" Q500 ; create fan 1 on pin out9 and set its frequency. >> Part Fan
;;M106 P1 S1 H-1 ; set fan 1 value. Thermostatic control is turned off
M106 P1 S1 H1 T45;Probe points
M557 X20:275 Y30:275 P3; 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; Tools
M563 P0 S"Mosquito Magnum" 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;M98 P"config-user.g" ; Load custom user config if one exists.
;M501 ; Load saved parameters from non-volatile memory
;G29 S1
; Note: you will need to tune the bed heater, and both extruder cartridges before printing.
; See the following link for more details. https://duet3d.dozuki.com/Wiki/Tuning_the_heater_temperature_control; Custom settings are not defined
; Miscellaneous
M501 ; load saved parameters from non-volatile memory; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool v2.1.8 on Sat May 16 2020 15:05:51 GMT+0200 (CEST)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X-305 Y-305 F1800 ; move quickly to X or Y endstop and stop there (first pass)
G1 H1 X-305 ; home X axis
G1 H1 Y-305 ; home Y axis
G1 X5 Y5 F6000 ; go back a few mm
G1 H1 X-305 F360 ; move slowly to X axis endstop once more (second pass)
G1 H1 Y-305 ; then move slowly to Y axis endstop
G1 H1 Z-305 F360 ; move Z down stopping at the endstop
G90 ; absolute positioningG92 Z1.60 ; Remark: Adjuted from Z0 to Z1.60 // set Z position to axis minimum (you may want to adjust this)
;G92 Z0 ; set Z position to axis minimum (you may want to adjust this); Uncomment the following lines to lift Z after probing
G91 ; relative positioning
G1 Z5 F100 ; lift Z relative to current position
G90 ; absolute positioning; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool v2.1.8 on Sat May 16 2020 15:05:51 GMT+0200 (CEST)
G91 ; relative positioning
G1 H2 Z5 F300 ; lift Z relative to current position
G1 H1 Z-305 F300 ; move Z up until the endstop is triggered
;G92 Z0 ; set Z position to axis minimum (you may want to adjust this)
G92 Z1.60 ; set Z position to axis minimum (you may want to adjust this) -
Your homing files are using end stops to home Z and not the probe.
G1 H1 Z-305 F360 ; move Z down stopping at the endstop G90 ; absolute positioning G92 Z1.60 ; Remark: Adjuted from Z0 to Z1.60 // set Z position to axis minimum (you may want to adjust this)
These sections should be replaced with
G1 X100 Y100 F6000 ; move probe to center of the bed. Adjust as needed. G30 ; probe the bed to establish z0
-
@Phaedrux YES! This is the solution. Thank you very much