Smart Effector on Duet Wifi with RepRapFirmware 3



  • I build a new Delta and tried out the new firmware.
    It seems the z_probe_mod pin does not work with this configuration:

    ; Z-Probe
    M558 P8 C"zprobe.in" H5 F300 T1200
    M950 S0 C"zprobe.mod"

    	; General preferences
    	G90                                         ; Send absolute coordinates...
    	M83                                         ; ...but relative extruder moves
    	M665 R135 L361 B130 H447                    ; 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
    	M550 P"Delta New"                           ; Set machine name
    	M552 S1                                     ; Enable network
    	;*** Access point is configured manually via M587
    	M586 P0 S1                                  ; Enable HTTP
    	M586 P1 S0                                  ; Disable FTP
    	M586 P2 S0                                  ; Disable Telnet
    
    	; Drives
    	M569 P0 S0                                  ; Drive 0 goes forwards
    	M569 P1 S0                                  ; Drive 1 goes forwards
    	M569 P2 S0                                  ; Drive 2 goes forwards
    	M569 P3 S1                                  ; Drive 3 goes forwards
    	M350 X16 Y16 Z16 E16 I1                     ; Configure microstepping with interpolation
    	M92 X160.00 Y160.00 Z160.00 E800.00         ; Set steps per mm
    	M566 X300.00 Y300.00 Z300.00 E1500.00       ; Set maximum instantaneous speed changes (mm/min)
    	M203 X6000.00 Y6000.00 Z6000.00 E6000.00    ; Set maximum speeds (mm/min)
    	M201 X500.00 Y500.00 Z500.00 E1500.00       ; Set accelerations (mm/s^2)
    	M906 X800.00 Y800.00 Z800.00 E800.00 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"                        ; Set active low and disabled endstops
    	M574 Y2 S1 P"!ystop"                        ; Set active low and disabled endstops
    	M574 Z2 S1 P"!zstop"                        ; Set active low and disabled endstops
    
    	; Z-Probe
    	M558 P8 C"zprobe.in" H5 F300 T1200
    	M950 S0 C"zprobe.mod"
    
    	G31 P100 X0 Y0 Z-0.15                       ; Set Z probe: X, Y, Z offsets, sensitivity/threshold
    	M557 R100 S20                               ; Define mesh grid
    
    	; Heaters
    	M308 S0 P"bed_temp" Y"thermistor" T100000 B3950 		; define bed temperature sensor
    	M308 S1 P"e0_temp" Y"thermistor" T100000 B4725 C7.06e-8 	; define E0 temperature sensor
    
    	M950 H0 C"bed_heat" T0 			    ; heater 0 uses the bed_heat pin, sensor 0
    	M143 H0 S120                                ; Set temperature limit for heater 0 to 120C
    
    	M950 H1 C"e0_heat" T1 			    ; heater 1 uses the e0_heat pin and sensor 1
    	M143 H1 S300                                ; Set temperature limit for heater 1 to 300C
    
    	M307 H1 S0.25 V23.9                         ; limit the hotend heater to 25% power
    
    	; Fans
    	M950 F0 C"fan0" Q500
    	M106 P0 S0.0 I0 H-1 C"Print Fan"       	    ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
    
    	M950 F1 C"fan1" Q50
    	M106 P1 T40 H1 C"Hotend Fan"                ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
    
    	; Tools
    	M563 P0 D0 H1                               ; 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                    
    
    	; Automatic saving after power loss is not enabled
    	M911 S20.0 R23.0 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000"
    
    	; enable: config-override.g
    	M501


  • If the only thing you have connected to the zprobe header is the smart effector, I think your config should look more like this:

    M558 P8 R0.4 C"zprobe.in+zprobe.mod" H5 F300

    Note that you don' t need or want a M950 for the zprobe stuff.



  • this works for me

    
    ; Endstops
    M574 X2 Y2 Z2 S1 ; Define active high microswitches
    M558 P5 C"^zprobe.in" X0 Y0 Z0 H5 R0.4 F1200 T6000 ; Set Z probe type to unmodulated, the axes for which it is used and the probe + travel speeds
    G31  P100 X0 Y0 Z-0.05; Set Z probe trigger value, offset and trigger height
    M557 R160 S20 ; Define mesh grid
    
    

    Doug


  • administrators

    @Dougal1957 said in Smart Effector on Duet Wifi with RepRapFirmware 3:

    this works for me

    
    ; Endstops
    M574 X2 Y2 Z2 S1 ; Define active high microswitches
    M558 P5 C"^zprobe.in" X0 Y0 Z0 H5 R0.4 F1200 T6000 ; Set Z probe type to unmodulated, the axes for which it is used and the probe + travel speeds
    G31  P100 X0 Y0 Z-0.05; Set Z probe trigger value, offset and trigger height
    M557 R160 S20 ; Define mesh grid
    
    

    Doug

    If you ever want to program the sensitivity of the Smart Effector, you will need to use C"zprobe.in+zprobe.mod" in the M558 command. The ^ isn't needed because the Smart Effector drives its output pin both high and low, but does no harm.



  • @dc42 David that's good to know (I have never had to adjust the smart effector the defaults work fine for me).

    Doug



  • zprobe.in+zprobe.mod works fine. I must have missed that in the docu. I usually use the effector with the sensitivity 8:247 and double tip each point.
    I get the best consistency with this setting. Down site is that the fans must be off during calibration. In the new firmware a lot of stuff changed. Took me a while to move settings. Good thing is that you have to do it just once.


Log in to reply