Smart effector with Duet wifi not triggering on bed leveling



  • I just installed a smart effector on my tevo little monster. When I go to bed level it just crashes into the plate. The green light does come on when it crashes or when i flick the nozzle.

    here is config.g

    ; General preferences
    M111 S0 ; Debugging off
    G21 ; Work in millimetres
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves
    M555 P1 ; Set firmware compatibility to look like RepRapFirmare
    M665 R165 L400.35 B175 H550 ; 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
    M208 Z0 S1 ; Set minimum Z

    ; Endstops
    M574 X2 Y2 Z2 S1 ; Define active high microswitches
    M558 P1 X0 Y0 Z0 H5 F120 T6000 ; Set Z probe type to unmodulated, the axes for which it is used and the probe + travel speeds
    M557 R130 S20 ; Define mesh grid

    ;Z-Probe
    M307 H3 A-1 C-1 D-1 ; reserve pin 21 for M42 or servo use
    M558 P5 R0.4 F1000
    G31 P100 X0 Y0 Z0 ; Set Z probe trigger value, offset and trigger height

    ; Drives
    M569 P0 S1 ; Drive 0 goes forwards
    M569 P1 S1 ; Drive 1 goes forwards
    M569 P2 S1 ; Drive 2 goes forwards
    M569 P3 S1 ; Drive 3 goes forwards
    M350 E32 I0 ; Configure microstepping without interpolation
    M350 X32 Y32 Z32 I1 ; Configure microstepping with interpolation
    M92 X160 Y160 Z160 E837 ; Set steps per mm
    M566 X1200 Y1200 Z1200 E3000 ; Set maximum instantaneous speed changes (mm/min)
    M203 X39960 Y39960 Z39960 E3000 ; Set maximum speeds (mm/min)
    M201 X1000 Y1000 Z1000 E1500 ; Set accelerations (mm/s^2)
    M906 X1800 Y1800 Z1800 E1500 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Heaters
    M143 S285 ; Set maximum heater temperature to 285C
    M301 H0 S1.00 P10 I0.1 D200 T0.4 W180 B30 ; Use PID on bed heater (may require further tuning)
    M305 P0 T100000 B4607 C8.950070e-8 R4700 ; Set thermistor + ADC parameters for heater 0
    M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1

    ; 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

    ; Network
    M550 PLittleMonster ; Set machine name
    M552 S1 ; Enable network
    M586 P0 S1 ; Enable HTTP
    M586 P1 S0 ; Disable FTP
    M586 P2 S0 ; Disable Telnet

    ; Fans
    M106 P0 S1 I0 F500 H1 T50 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P1 S0 I0 F500 H-1 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off

    ; Custom settings are not configured

    ; Miscellaneous
    M501 ; Load saved parameters from non-volatile memory

    Here is bed.g

    ; bed.g
    ; called to perform automatic delta calibration via G32
    ;
    ; generated by RepRapFirmware Configuration Tool on Sat Oct 21 2017 14:08:18 GMT-0400 (Eastern Standard Time)

    ; Clear any bed transform
    M561

    ; Home all towers
    G28

    ; Probe the bed at 6 peripheral and 6 halfway points, and perform 7-factor auto compensation
    ; Before running this, you should have set up your Z-probe trigger height to suit your build, in the G31 command in config.g.
    G30 P0 X0 Y149.9 H0 Z-99999
    G30 P1 X129.82 Y74.95 H0 Z-99999
    G30 P2 X129.82 Y-74.95 H0 Z-99999
    G30 P3 X0 Y-149.9 H0 Z-99999
    G30 P4 X-129.82 Y-74.95 H0 Z-99999
    G30 P5 X-129.82 Y74.95 H0 Z-99999
    G30 P6 X0 Y74.9 H0 Z-99999
    G30 P7 X64.87 Y37.45 H0 Z-99999
    G30 P8 X64.87 Y-37.45 H0 Z-99999
    G30 P9 X0 Y-74.9 H0 Z-99999
    G30 P10 X-64.87 Y-37.45 H0 Z-99999
    G30 P11 X-64.87 Y37.45 H0 Z-99999
    G30 P12 X0 Y0 H0 Z-99999 S7
    ; Use S-1 for measurements only, without calculations. Use S4 for endstop heights and Z-height only. Use S6 for full 6 factors
    ; If your Z probe has significantly different trigger heights depending on XY position, adjust the H parameters in the G30 commands accordingly. The value of each H parameter should be (trigger height at that XY position) - (trigger height at centre of bed)



  • It does work with with a G30 executed.



  • Is the distance from the bed to the nozzle tip really 550mm when homed on the Tevo seems a little high to me (I dont know the printer so not certain but based on my own Kossel XL which is 1 meter high total my homed hight is near 400mm).

    To me you are diving to low before the FW gets chance to slow down for the probe so you have 2 options.

    1 Reduce the Homed hight in the M665 line to a value much closer to what the reality says.
    2 Increase the Dive hight in the M558 line (the H param)

    or a combination of both and for initial configuration I would set the dive hight to 30 or more for the first autodial runs anyway

    HTH

    Doug

    ps one other thing I noticed is that you are doing a 7 factor cal I would change that to S6 or S8 and make sure your Rod length in the M665 is correct first.



  • I think that was part of it.

    This is the new config that works. The facebook group helped me figure out. It is working pretty well finally. Now I just have the get the prints looking a little better with the 0.8 nozzle.

    Paul Sinclair M111 S0 ; Debugging off
    G21 ; Work in millimetres
    G90 ; Send absolute coordinates...
    M83 ; ...but relative extruder moves
    M555 P1 ; Set firmware compatibility to look like RepRapFirmare
    M665 R165 L400.35 B175 H550 ; 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
    M208 Z0 S1 ; Set minimum Z

    ; Endstops
    M574 X2 Y2 Z2 S1 ; Define active high microswitches
    M557 R130 S20 ; Define mesh grid

    ;SmartEffector
    M558 P5 R0.4 F1000 H30
    G31 P100 X0 Y0 Z-0.1

    ; Drives
    M569 P0 S1 ; Drive 0 goes forwards
    M569 P1 S1 ; Drive 1 goes forwards
    M569 P2 S1 ; Drive 2 goes forwards
    M569 P3 S1 ; Drive 3 goes forwards
    M350 E32 I0 ; Configure microstepping without interpolation
    M350 X32 Y32 Z32 I1 ; Configure microstepping with interpolation
    M92 X160 Y160 Z160 E837 ; Set steps per mm
    M566 X1200 Y1200 Z1200 E3000 ; Set maximum instantaneous speed changes (mm/min)
    M203 X39960 Y39960 Z39960 E3000 ; Set maximum speeds (mm/min)
    M201 X1000 Y1000 Z1000 E1500 ; Set accelerations (mm/s^2)
    M906 X1800 Y1800 Z1800 E1500 I30 ; Set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Heaters
    M143 S285 ; Set maximum heater temperature to 285C
    M301 H0 S1.00 P10 I0.1 D200 T0.4 W180 B30 ; Use PID on bed heater (may require further tuning)
    M305 P0 T100000 B4607 C8.950070e-8 R4700 ; Set thermistor + ADC parameters for heater 0
    M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1

    ; 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

    ; Network
    M550 PLittleMonster ; Set machine name
    M552 S1 ; Enable network
    M586 P0 S1 ; Enable HTTP
    M586 P1 S0 ; Disable FTP
    M586 P2 S0 ; Disable Telnet

    ; Fans
    M106 P0 S1 I0 F500 H1 T50 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on
    M106 P1 S0 I0 F500 H-1 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned off

    ; Custom settings are not configured

    ; Miscellaneous
    M501 ; Load saved parameters from non-volatile memory


Locked
 

Looks like your connection to Duet3D was lost, please wait while we try to reconnect.