bltouch 3.1duet 2 wifi duex5 firmware version v3.1.3



  • Good morning I need help, I can't configure my bltouch 3.1 on my 3d print, mount duet2 wifi v1.04 and duex5 v 0.10, you could compile the attached file for me.
    IMG_9871.JPG
    ; Configuration file for Duet WiFi (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.3 on Wed Jul 08 2020 12:06:30 GMT+0200 (CEST)

    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"cube pro duo" ; set printer name

    ; 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 forwards
    M569 P2 S1 ; physical drive 2 goes forwards
    M569 P3 S1 ; physical drive 3 goes forwards
    M569 P4 S1 ; physical drive 4 goes forwards
    M569 P9 S1 ; physical drive 9 goes forwards
    M584 X0 Y1 Z2 E3:4:9 ; set drive mapping
    M350 X16 Y16 Z16 E16:16:16 I1 ; configure microstepping with interpolation
    M92 X87.35 Y86.69 Z1076.77 E82.09:82.09:82.09 ; set steps per mm
    M566 X900.00 Y900.00 Z12.00 E120.00:120.00:120.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X15000.00 Y15000.00 Z1200.00 E600.00:600.00:600.00 ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z250.00 E250.00:250.00:250.00 ; set accelerations (mm/s^2)
    M906 X1500 Y1500 Z800 E800:800:800 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 X290 Y298 Z210 S0 ; set axis maxima

    ; Endstops
    M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop
    M574 Y1 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 low end on Z via pin zstop

    ; Z-Probe
    M558 P0 H5 F120 T6000 ; disable Z probe but set dive height, probe speed and travel speed
    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 B5500 ; 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
    M308 S2 P"e1temp" Y"thermistor" T100000 B5500 ; configure sensor 2 as thermistor on pin e1temp
    M950 H2 C"e1heat" T2 ; create nozzle heater output on e1heat and map it to sensor 2
    M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
    M308 S3 P"duex.e2temp" Y"thermistor" T100000 B5500 ; configure sensor 3 as thermistor on pin duex.e2temp
    M950 H3 C"duex.e2heat" T3 ; create nozzle heater output on duex.e2heat and map it to sensor 3
    M307 H3 B0 S1.00 ; disable bang-bang mode for heater and set PWM limi

    ; Fans
    M950 F0 C"fan0" Q500 ; create fan 0 on pin fan0 and set its frequency
    M106 P0 C"ESTRUSORI" S0 H3:2:1 T120 ; set fan 0 name and value. Thermostatic control is turned on
    M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
    M106 P1 C"NOZZLE" S0 H1:2:3 T45 ; set fan 1 name and value. Thermostatic control is turned on
    M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency
    M106 P2 C"LUCI LED" S0 H-1 ; set fan 2 name and value. Thermostatic control is turned off
    M950 F3 C"duex.fan6" Q500 ; create fan 3 on pin duex.fan6 and set its frequency
    M106 P3 C"VENTOLA 6" S0 H-1 ; set fan 3 name and value. Thermostatic control is turned off
    M950 F4 C"duex.fan7" Q500 ; create fan 4 on pin duex.fan7 and set its frequency
    M106 P4 C"VENTOLA 7" S0 H-1 ; set fan 4 name and value. Thermostatic control is turned off

    ; Tools
    M563 P0 S"estrusero 1" D0 H1 F0:1 ; 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
    M563 P1 S"estrusero 2" D1 H2 F0:1 ; define tool 1
    G10 P1 X0 Y0 Z0 ; set tool 1 axis offsets
    G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C
    M563 P2 S"estrusero 3" D2 H3 F0:1 ; define tool 2
    G10 P2 X0 Y0 Z0 ; set tool 2 axis offsets
    G10 P2 R0 S0 ; set initial tool 2 active and standby temperatures to 0C

    ; Custom settings are not defined



  • You don’t have a z probe configured. You should follow the guides for duet z probes. Google duet zprobes. There is a good guide that will help.



  • hi I tried with this configuration but nothing, I can help where I went wrong

    ; Configuration file for Duet WiFi (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.3 on Wed Jul 08 2020 12:06:30 GMT+0200 (CEST)

    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"cube pro duo" ; set printer name

    ; 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 forwards
    M569 P2 S1 ; physical drive 2 goes forwards
    M569 P3 S1 ; physical drive 3 goes forwards
    M569 P4 S1 ; physical drive 4 goes forwards
    M569 P9 S1 ; physical drive 9 goes forwards
    M584 X0 Y1 Z2 E3:4:9 ; set drive mapping
    M350 X16 Y16 Z16 E16:16:16 I1 ; configure microstepping with interpolation
    M92 X87.35 Y86.69 Z1076.77 E82.09:82.09:82.09 ; set steps per mm
    M566 X900.00 Y900.00 Z12.00 E120.00:120.00:120.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X15000.00 Y15000.00 Z1200.00 E600.00:600.00:600.00 ; set maximum speeds (mm/min)
    M201 X500.00 Y500.00 Z250.00 E250.00:250.00:250.00 ; set accelerations (mm/s^2)
    M906 X1500 Y1500 Z800 E800:800:800 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 X290 Y298 Z210 S0 ; set axis maxima

    ; Endstops
    M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop
    M574 Y1 S1 P"ystop" ; configure active-high endstop for low end on Y via pin ystop

    ; Z-Probe
    M307 H7 A-1 C-1 D-1 ; disabilita uscita del riscaldatore estrusore 7 che è in comune con pwm5
    M950 S0 C"duex.pwm5" ; create servo pin 0 for BLTouch
    M558 P9 C"^zprobe.in" H5 F120 T6000 ; set Z probe type to bltouch 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 B5500 ; 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
    M308 S2 P"e1temp" Y"thermistor" T100000 B5500 ; configure sensor 2 as thermistor on pin e1temp
    M950 H2 C"e1heat" T2 ; create nozzle heater output on e1heat and map it to sensor 2
    M307 H2 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit
    M308 S3 P"duex.e2temp" Y"thermistor" T100000 B5500 ; configure sensor 3 as thermistor on pin duex.e2temp
    M950 H3 C"duex.e2heat" T3 ; create nozzle heater output on duex.e2heat and map it to sensor 3
    M307 H3 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 C"ESTRUSORI" S0 H3:2:1 T120 ; set fan 0 name and value. Thermostatic control is turned on
    M950 F1 C"fan1" Q500 ; create fan 1 on pin fan1 and set its frequency
    M106 P1 C"NOZZLE" S0 H1:2:3 T45 ; set fan 1 name and value. Thermostatic control is turned on
    M950 F2 C"fan2" Q500 ; create fan 2 on pin fan2 and set its frequency
    M106 P2 C"LUCI LED" S0 H-1 ; set fan 2 name and value. Thermostatic control is turned off
    M950 F3 C"duex.fan6" Q500 ; create fan 3 on pin duex.fan6 and set its frequency
    M106 P3 C"VENTOLA 6" S0 H-1 ; set fan 3 name and value. Thermostatic control is turned off
    M950 F4 C"duex.fan7" Q500 ; create fan 4 on pin duex.fan7 and set its frequency
    M106 P4 C"VENTOLA 7" S0 H-1 ; set fan 4 name and value. Thermostatic control is turned off

    ; Tools
    M563 P0 S"estrusero 1" D0 H1 F0:1 ; 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
    M563 P1 S"estrusero 2" D1 H2 F0:1 ; define tool 1
    G10 P1 X0 Y0 Z0 ; set tool 1 axis offsets
    G10 P1 R0 S0 ; set initial tool 1 active and standby temperatures to 0C
    M563 P2 S"estrusero 3" D2 H3 F0:1 ; define tool 2
    G10 P2 X0 Y0 Z0 ; set tool 2 axis offsets
    G10 P2 R0 S0 ; set initial tool 2 active and standby temperatures to 0C

    ; Custom settings are not defined



  • @konte1978 said in bltouch 3.1duet 2 wifi duex5 firmware version v3.1.3:

    ; Z-Probe
    M307 H7 A-1 C-1 D-1 ; disabilita uscita del riscaldatore estrusore 7 che è in comune con pwm5
    M950 S0 C"duex.pwm5" ; create servo pin 0 for BLTouch
    M558 P9 C"^zprobe.in" H5 F120 T6000 ; set Z probe type to bltouch 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

    M307 - you dont need to use it as you didnt define heater on those pins
    G31 P500 - it is recommended to use P25 with BLTouch, instead of 500
    What is in your deployprobe.g and extractprobe.g files ?



  • @konte1978 said in bltouch 3.1duet 2 wifi duex5 firmware version v3.1.3:

    General preferences

    M669 kinematic typ is missing



  • @aidar

    deployprobe.g
    M280 P0 S10 ; deploy BLTouch
    retractprobe.g
    M280 P0 S90 ; retract BLTouch



  • @aidar said in bltouch 3.1duet 2 wifi duex5 firmware version v3.1.3:

    M307 - you dont need to use it as you didnt define heater on those pins
    G31 P500 - it is recommended to use P25 with BLTouch, instead of 500
    What is in your deployprobe.g and extractprobe.g files ?

    in addition with this configuration when I run home all it returns me as error "g28 error failed to anable endstop" and z axis does not move.



  • Well you dont have Z endstop defined, you have probe for homing z. So you should use G30 for homing Z, but i think you have some G1 moves in your homing files for that. Please post your homing files here.
    Also, have you done that yet? https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe#Section_Static_test_of_the_Z_probe



  • @aidar negative if I write the command M401 P7 the probe does not move.



  • Dont use P parameter with M401. It is probe index, you have only one probe, so you dont have to specify probe index. M401 runs macro deployprobe.g and thats it. So as you deployprobe.g already exists with right parameters, M401 will just deploy your probe if all is connected correctly.



  • @aidar said in bltouch 3.1duet 2 wifi duex5 firmware version v3.1.3:

    Dont use P parameter with M401. It is probe index, you have only one probe, so you dont have to specify probe index. M401 runs macro deployprobe.g and thats it. So as you deployprobe.g already exists with right parameters, M401 will just deploy your probe if all is connected correctly.

    I'm desperate it still doesn't work, you could modify the file to insert for me.



  • Just check that all is in that order https://duet3d.dozuki.com/Wiki/Connecting_a_Z_probe#Section_Software_setup_RepRapFirmware_Num_3
    Also be sure you dont have any M307 H7 command in config.override.g file.



  • I managed to make it work, this is my configuration ,I hope it helps someone.

    config.g
    ; Endstops
    M574 X1 S1 P"xstop" ; configure active-high endstop for low end on X via pin xstop
    M574 Y1 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 low end on Z via pin zstop

    ; Z-Probe
    M307 H7 A-1 C-1 D-1 ; disabilita uscita del riscaldatore estrusore 7 che è in comune con pwm5
    M950 S0 C"duex.pwm5" ; creare il servo pin 0 per BLTouch
    M558 P9 C"^zprobe.in" H5 F120 T6000 A10 R0.75 S0.02 ; set Z probe type to bltouch and the dive height + speeds
    G31 P25 X82 Y-50.5 Z2.6 ; impostare il valore del trigger della sonda Z, l'offset e l'altezza del trigger
    M557 X0: 209 Y80: 298 S20 ; definire la griglia mesh

    deployprobe.g
    M280 P0 S10 ; deploy BLTouch

    etractprobe.g
    M280 P0 S90 ; retract BLTouch

    homeall.g
    G91 ; posizione relativa
    G1 Z10 F6000 S2 ; Alzo di 10 mm
    G90 ; Posizione assoluta
    G1 X141.5 Y110 F6000 ; Posiziono la sonda al centro del piatto
    G30 ; Sondo il piatto con il BLTouch



  • @konte1978
    the M307 H7 A-1 C-1 D-1 is not used any more in RRF3. See https://duet3d.dozuki.com/Wiki/Gcode#Section_M307_Set_or_report_heating_process_parameters in section "Notes - RepRapFirmware 3".


Log in to reply