Need Probe Setup Help



  • I have a switch type probe that I am trying to set up. Totally confused about the nomenclature. So, here is 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-19b2
    Current probe settings with the switch installed on E0 and the probe registering when pushed with board LED on/then going off:
    ; Z-Probe
    M558 P8 C"!io0.in" H5 F300 T6000 R0.4           ; set Z probe type to switch and the dive height + speeds
    G31 P500 X0 Y0 Z20.6                            ; set Z probe trigger value, offset and trigger height
    M557 R52 S20                                   ; define mesh grid
    
    Once this is correct, I can move on to 2 other issues to complete my installation. It's been a tough slog so far.
    


  • If it is a simple switch, you should be using P5.

    What issues are you having?



  • I was using P8 for an unfiltered response. When I employ the probe command, it stops above the bed and probes the air.



  • is it a delta? Try running G30 first to get the correct bed height



  • Yes, delta. G30, then M558?



  • No, making sure you have M501 at the end of your config, send the following commands
    G30
    G32
    M500



  • OK. G30 gives me 2 error messages: G30
    Error: G30: Z probe 0 not found
    9/17/2020, 10:20:06 AM	G30
    Error: G30: Insufficient axes homed for bed probing
    


  • Post your whole config as you seem to have an issue with your M558 setting



  • Q5
    G30
    Status
    Idle
    Mode: FFF
    Tool Position
    X
    0.0
    Y
    0.0
    Z
    205.01
    Extruder Drives
    Drive 0
    0.0
    Speeds
    Requested Speed
    0 mm/s
    Top Speed
    0 mm/s
    Sensors
    Vin
    24.2 V
    MCU Temperature
    33.2 C
     Tools
     Extra
     Control All
    Tool	Heater	Current	Active	Standby
    Tool 0
    T0 - Load Filament	Heater 1
    off	20.3 C	
    0
    0
    Bed	Heater 0
    off	21.0 C	
    0
    0
    Temperature Chart
    System Directory
    0:/sys/config.g
    ▲
    ; Configuration file for Duet WiFi (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.4 on Wed Sep 16 2020 09:55:19 GMT-0400 (Eastern Daylight Time)
    
    ; General preferences
    G90                                            ; send absolute coordinates...
    M83                                            ; ...but relative extruder moves
    M550 P"Q5"                                     ; set printer name
    M665 R104.3 L215 B180.8 H210                   ; Set delta radius, diagonal rod length, printable radius and homed height
    M666 X0 Y0 Z0                                  ; put your endstop adjustments here, or let auto calibration find them
    
    ; Network
    M552 S1                                        ; enable network
    M586 P0 S1                                     ; enable HTTP
    M586 P1 S0                                     ; disable FTP
    M586 P2 S0                                     ; disable Telnet
    
    ; Drives
    M569 P0 S1                                     ; physical drive 0 goes forwards
    M569 P1 S1                                     ; physical drive 1 goes backwards
    M569 P2 S1                                     ; physical drive 2 goes forwards
    M569 P3 S1                                     ; physical drive 3 goes forwards
    M584 X0 Y1 Z4 E3                               ; set drive mapping
    M350 X16 Y16 Z16 E16 I1                        ; configure microstepping with interpolation
    M92 X80.00 Y80.00 Z80.00 E663.00               ; set steps per mm
    M566 X1200.00 Y1200.00 Z1200.00 E1200.00       ; set maximum instantaneous speed changes (mm/min)
    M203 X18000.00 Y18000.00 Z18000.00 E1200.00    ; set maximum speeds (mm/min)
    M201 X1000.00 Y1000.00 Z1000.00 E1000.00       ; set accelerations (mm/s^2)
    M906 X800 Y800 Z800 E600 I30                   ; set motor currents (mA) and motor idle factor in per cent
    M84 S30                                        ; Set idle timeout
    
    ; Axis Limits
    M208 Z0 S1                                     ; set minimum Z
    
    ; 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 S1 P"zstop"                            ; configure active-high endstop for high end on Z via pin zstop
    
    ; Z-Probe
    M558 P8 C"!io0.in" H5 F300 T6000 R0.4           ; set Z probe type to switch and the dive height + speeds
    G31 P500 X0 Y0 Z20.6                            ; set Z probe trigger value, offset and trigger height
    M557 R52 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 S100                                   ; set temperature limit for heater 0 to 100C
    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 S1 H T45                               ; set fan 0 value. Thermostatic control is turned on
    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
    M950 F2 C"fan2" Q500                           ; create fan 2 on pin fan2 and set its frequency
    M106 P2 S1 H1 T45                              ; set fan 2 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
    
    M501
    
    ; Custom settings are not defined
    


  • remove lines 1 to 42 from your config file. they shouldn't be there



  • Interesting. Those lines do not show in my config.g. I am copying the config.g by selecting all, copy, paste. When I do that those other lines appear but I don't see them otherwise. Weird.
    ; generated by RepRapFirmware Configuration Tool v3.1.4 on Wed Sep 16 2020 09:55:19 GMT-0400 (Eastern Daylight Time)
    
    ; General preferences
    G90                                            ; send absolute coordinates...
    M83                                            ; ...but relative extruder moves
    M550 P"Q5"                                     ; set printer name
    M665 R104.3 L215 B180.8 H210                   ; Set delta radius, diagonal rod length, printable radius and homed height
    M666 X0 Y0 Z0                                  ; put your endstop adjustments here, or let auto calibration find them
    
    ; Network
    M552 S1                                        ; enable network
    M586 P0 S1                                     ; enable HTTP
    M586 P1 S0                                     ; disable FTP
    M586 P2 S0                                     ; disable Telnet
    
    ; Drives
    M569 P0 S1                                     ; physical drive 0 goes forwards
    M569 P1 S1                                     ; physical drive 1 goes backwards
    M569 P2 S1                                     ; physical drive 2 goes forwards
    M569 P3 S1                                     ; physical drive 3 goes forwards
    M584 X0 Y1 Z4 E3                               ; set drive mapping
    M350 X16 Y16 Z16 E16 I1                        ; configure microstepping with interpolation
    M92 X80.00 Y80.00 Z80.00 E663.00               ; set steps per mm
    M566 X1200.00 Y1200.00 Z1200.00 E1200.00       ; set maximum instantaneous speed changes (mm/min)
    M203 X18000.00 Y18000.00 Z18000.00 E1200.00    ; set maximum speeds (mm/min)
    M201 X1000.00 Y1000.00 Z1000.00 E1000.00       ; set accelerations (mm/s^2)
    M906 X800 Y800 Z800 E600 I30                   ; set motor currents (mA) and motor idle factor in per cent
    M84 S30                                        ; Set idle timeout
    
    ; Axis Limits
    M208 Z0 S1                                     ; set minimum Z
    
    ; 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 S1 P"zstop"                            ; configure active-high endstop for high end on Z via pin zstop
    
    ; Z-Probe
    M558 P8 C"!io0.in" H5 F300 T6000 R0.4           ; set Z probe type to switch and the dive height + speeds
    G31 P500 X0 Y0 Z20.6                            ; set Z probe trigger value, offset and trigger height
    M557 R52 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 S100                                   ; set temperature limit for heater 0 to 100C
    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 S1 H T45                               ; set fan 0 value. Thermostatic control is turned on
    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
    M950 F2 C"fan2" Q500                           ; create fan 2 on pin fan2 and set its frequency
    M106 P2 S1 H1 T45                              ; set fan 2 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
    
    M501
    
    ; Custom settings are not defined
    


  • If you send M558, what does it output?



  • M558
    Error: M558: Z probe 0 not found



  • I've just realised why. You've used a duet 3 pin name with a duet 2.
    Where do you have it connected?



  • At position E0 on the endstop connectors



  • change your command to

    M558 P8 C"!e0stop" H5 F300 T6000 R0.4
    


  • @jay_s_uk said in Need Probe Setup Help:

    M558 P8 C"!e0stop" H5 F300 T6000 R0.4

    Done.



  • Before you ask:

    m558
    Z Probe 0: type 8, input pin !e0stop, output pin nil, dive height 5.0mm, probe speed 300mm/min, travel speed 6000mm/min, recovery time 0.44 sec, heaters normal, max taps 1, max diff 0.03



  • Run G30 and see if it probes.
    I would make sure you've homed your machine using G28 and then tap the probe on the way down to make sure it stops



  • @jay_s_uk
    "Probe already triggered"

    Remove exclamation point from 558?



  • yes please



  • Great progress! G30 starts probe quite slowly, stops immediately when triggered and raises up a bit.
    Do it again with probe?



  • now you've got the height set you can G32 (assuming your bed file is correct)



  • Sorry - took a bit of doing, but G32 yields a 6 point probe. You are awesome. Now, M500?



  • @1d1 yep.


Log in to reply