New IR z probe issues
-
@Phaedrux its a glass bes with a black material on it. i can throw a piece of white paper on it to see if it makes a difference.
-
@Phaedrux sorry for the delay, same result with the plain white piece of paper, stopped at
Stopped at height 1.745 mm
-
Consistently? Does that make sense given the thickness of the glass? assuming the black is on the back side?
-
@Phaedrux im new to this but i dont think so. i thought when we got it level in the middle and sent that code it told the probe where 0 is? shouldnt that be where it stops then?
-
Post your homing files and bed.g.
When you do the G30 S-1 procedure to measure the trigger height, is it consistent now?
-
bed.g
; called to perform automatic bed compensation via G32
;
; generated by RepRapFirmware Configuration Tool v3.1.3 on Sun Jul 05 2020 20:32:26 GMT-0500 (Central Daylight Time)
M561 ; clear any bed transform
G29 ; probe the bed and enable compensation; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool v3.1.3 on Sun Jul 05 2020 20:32:27 GMT-0500 (Central Daylight Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X+250 Y+250 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
G1 H2 X-5 Y-5 F6000 ; go back a few mm
G1 H1 X+230 Y+230 F360 ; move slowly to X and Y axis endstops once more (second pass)
;G1 H1 Z305 F360 ; move Z up stopping at the endstop
G1 H1 Z-320 F360 ; move Z stopping at the endstop
G90 ; absolute positioning; Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 Z5 F100 ; lift Z relative to current position
;G90 ; absolute positioning; homex.g
; called to home the X axis
;
; generated by RepRapFirmware Configuration Tool v3.1.3 on Sun Jul 05 2020 20:32:27 GMT-0500 (Central Daylight Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 X+250 F1800 ; move quickly to X axis endstop and stop there (first pass)
G1 H2 X-5 F6000 ; go back a few mm
G1 H1 X+230 F360 ; move slowly to X axis endstop once more (second pass)
G1 H2 Z-5 F6000 ; lower Z again
G90 ; absolute positioning; homey.g
; called to home the Y axis
;
; generated by RepRapFirmware Configuration Tool v3.1.3 on Sun Jul 05 2020 20:32:27 GMT-0500 (Central Daylight Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
G1 H1 Y+230 F1800 ; move quickly to Y axis endstop and stop there (first pass)
G1 H2 Y-5 F6000 ; go back a few mm
G1 H1 Y+230 F360 ; move slowly to Y axis endstop once more (second pass)
G1 H2 Z-5 F6000 ; lower Z again
G90 ; absolute positioning; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool v3.1.3 on Sun Jul 05 2020 20:32:27 GMT-0500 (Central Daylight Time)
G91 ; relative positioning
G1 H2 Z5 F6000 ; lift Z relative to current position
;G1 H1 Z305 F1800 ; move Z up until the endstop is triggered
G1 H1 Z-320 F360 ; move Z stopping at the endstop
G90 ; absolute positioning; Uncomment the following lines to lift Z after probing
;G91 ; relative positioning
;G1 Z5 F100 ; lift Z relative to current position
;G90 ; absolute positioning -
Your homing file is configured to use the Z endstop instead of the probe.
So in homeall/homez you'd want to replace this part:
@agent0810 said in New IR z probe issues:
;G1 H1 Z305 F360 ; move Z up stopping at the endstop
G1 H1 Z-320 F360 ; move Z stopping at the endstop
G90 ; absolute positioningwith something like this
G90 ; absolute positioning G1 X150 Y150 F6000 ; move probe to center of bed G30 ; probe the bed
-
@Phaedrux Changed as requested, and same result. do i need to move the mount holding my probe up a bit?
-
@agent0810 said in New IR z probe issues:
do i need to move the mount holding my probe up a bit?
Maybe? I haven't seen how you have it mounted and even then I'm not an expert on the IR probe. Maybe post a photo?
Also check the lens of the sensor to see if it's dirty or bent or something. It can be cleaned with a cotton bud and IPA.
-
@Phaedrux
would a BL touch be a better route? -
Well the IR sensor should be a good choice, I'm just not sure what's really going on. Can you provide some more details on the setup as it is now so we can figure out if it's a configuration issues, or an issue with the probe itself. We'll try and cover our bases first.
Post your config.g as it is right now. Confirm you're running fw 3.1.1 by sending M115. Also send M98 P"config.g" and post the results.
Post a photo of your probe as mounted and a close up of it. Also maybe the wiring at the board.
-
![0_1595371525574_B5BF8F32-97A5-4454-A1BB-D0C398173C08.heic](Uploading 100%) @Phaedrux
M115
FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.1.1 ELECTRONICS: Duet WiFi 1.02 or later FIRMWARE_DATE: 2020-05-19b2M98 P"config.g"
HTTP is enabled on port 80
FTP is enabled on port 21
TELNET is enabled on port 23
Warning: Heater 0 appears to be over-powered. If left on at full power, its temperature is predicted to reach 365C
Warning: Heater 0 appears to be over-powered. If left on at full power, its temperature is predicted to reach 209C; Configuration file for Duet WiFi (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.1.3 on Sun Jul 05 2020 20:32:26 GMT-0500 (Central Daylight Time); General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Schaal3DPrinter" ; set printer name; Network
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S1 ; enable FTP
M586 P2 S1 ; enable Telnet; Drives
M569 P0 S0 ; physical drive 0 goes forwards
M569 P1 S0 ; physical drive 1 goes forwards
M569 P2 S0 ; physical drive 2 goes forwards
M569 P3 S0 ; physical drive 3 goes forwards
M584 X0 Y1 Z2 E3 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z800.00 E102.30 ; set steps per mm
M566 X900.00 Y900.00 Z12.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 X225 Y225 Z300 S0 ; set axis maxima; Endstops
M574 X2 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop
M574 Y2 S1 P"ystop" ; configure active-high endstop for low end on Y via pin ystop
M574 Z1 S1 P"zstop" ; configure active-high endstop for high end on Z via pin zstop; Z-Probe
M558 P1 C"^zprobe.in" H5 F120 T6000 ; set Z probe type to unmodulated and the dive height + speeds
G31 P500 X0 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height
M557 X15:215 Y15:195 S20 ; define mesh grid; Heaters
M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S120 ; set temperature limit for heater 0 to 120C
M308 S1 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp
M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit; Fans
M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on; 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; Custom settings are not defined
; Miscellaneous
M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
M501![0_1595371433780_B5BF8F32-97A5-4454-A1BB-D0C398173C08.heic] -
That mount seems to put it at a bit of an angle?
-
yea the mount isnt the best but the best i can find right now. ive stood there and pushed it level and made sure it is. i make sure it is for tests, but same results. right now when i home/or print it runs the nozzle on the glass bed so nothing comes out.
-
Your trigger height in G31 is still the default 2.5. Your measured amount was closer to 1.7ish, so you need to update that. The trigger height would be more consistent if the mount was improved.
It is triggering now though right?
https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe
-
so when i do home all it goes up to the nozzle then back down a bit, then i do the G30 S-1 and it goes up to almost where i need it to be, so close. but still needs to go up a bit more. i have gone through the page alot and changed the offset and trigger heights with no luck. i tried at 1.7, 5, and now im at 0, all put it at the same place.
here is my config currently; Configuration file for Duet WiFi (firmware version 3)
; executed by the firmware on start-up
;
; generated by RepRapFirmware Configuration Tool v3.1.3 on Sun Jul 05 2020 20:32:26 GMT-0500 (Central Daylight Time); General preferences
G90 ; send absolute coordinates...
M83 ; ...but relative extruder moves
M550 P"Schaal3DPrinter" ; set printer name; Network
M552 S1 ; enable network
M586 P0 S1 ; enable HTTP
M586 P1 S1 ; enable FTP
M586 P2 S1 ; enable Telnet; Drives
M569 P0 S0 ; physical drive 0 goes forwards
M569 P1 S0 ; physical drive 1 goes forwards
M569 P2 S0 ; physical drive 2 goes forwards
M569 P3 S0 ; physical drive 3 goes forwards
M584 X0 Y1 Z2 E3 ; set drive mapping
M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
M92 X80.00 Y80.00 Z800.00 E102.30 ; set steps per mm
M566 X900.00 Y900.00 Z12.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 X225 Y225 Z300 S0 ; set axis maxima; Endstops
M574 X2 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop
M574 Y2 S1 P"ystop" ; configure active-high endstop for low end on Y via pin ystop
M574 Z1 S1 P"zstop" ; configure active-high endstop for high end on Z via pin zstop; Z-Probe
M558 P1 C"zprobe.in" H5 F120 T6000 ; set Z probe type to unmodulated and the dive height + speeds
G31 P500 X50 Y0 Z0.005 ; set Z probe trigger value, offset and trigger height
M557 X15:215 Y15:195 S20 ; define mesh grid; Heaters
M308 S0 P"bedtemp" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin bedtemp
M950 H0 C"bedheat" T0 ; create bed heater output on bedheat and map it to sensor 0
M307 H0 B1 S1.00 ; enable bang-bang mode for the bed heater and set PWM limit
M140 H0 ; map heated bed to heater 0
M143 H0 S120 ; set temperature limit for heater 0 to 120C
M308 S1 P"e0temp" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin e0temp
M950 H1 C"e0heat" T1 ; create nozzle heater output on e0heat and map it to sensor 1
M307 H1 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit; Fans
M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
M106 P0 S0 H-1 ; set fan 0 value. Thermostatic control is turned off
M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on; 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; Custom settings are not defined
; Miscellaneous
M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
M501 -
@agent0810 said in New IR z probe issues:
so when i do home all it goes up to the nozzle then back down a bit, then i do the G30 S-1 and it goes up to almost where i need it to be
Sorry this doesn't make any sense to me.
Are you following the instructions on jogging the nozzle to touch the bed, sending G92 Z0, raising the nozzle a bit and then sending G30 S-1? That should give you a trigger height. You then put that trigger height value into the G31 Z. Then after rebooting and homing you should be able to have Z0 just touch the bed.
-
Doing everything you say there, except instead of raising the nozzle i am lowering the bed. that is what has me confused, from everything im doing i feel like i should be getting the results i want.\
and to be clear, what i put in G31 Z is the output on the console right?
thanks again
-
and to be clear, what i put in G31 Z is the output on the console right? so i would put in 1.501 for this?
7/21/2020, 10:55:50 PM G30 S-1
Stopped at height 1.501 mm -
@agent0810 said in New IR z probe issues:
and to be clear, what i put in G31 Z is the output on the console right? so i would put in 1.501 for this?
7/21/2020, 10:55:50 PM G30 S-1
Stopped at height 1.501 mmYes, that's correct. You can send
G31 Z1.501
in the console, then sendG31
to check it is set, eg my G31 response is:G31 Z probe 0: current reading 0, threshold 500, trigger height 1.250, offsets X20.0 Y0.0
Test that the probe is functioning correctly by homing Z, then move Z to 0 and check the nozzle is just touching the bed. Then modify your G31 line in config.g, so that the new setting persists after a reset. Change G31 line in config.g to:
G31 P500 X0 Y0 Z1.501 ; set Z probe trigger value, offset and trigger height
Ian