RRF2 to RRF3 BL Touch problem



  • I haven't used my printer for about 6 months and am now getting back into it. (amazing how much I have forgotten about the workings of the Duet in that time!)
    Anyway my current working configuration is 2.0.5.
    I got another sd card and copied my good v2 configuration onto it. I then proceeded to upgrade to first 3.0 and then 3.1.3. After comparing my v2 config with v3 config I strted it up. X and Y home fine. However the pin on my BL Touch will not deploy. When I turn the machine on it does do the self test of going up and down twice and then retracts and the light comes on. I am pretty sure I copied what others have used for the BL but something has to be incorrect. Here is my info.
    By the way I have tried both C"^zprobe.in" and C"zprobe.in"

    Config.g
    ; Configuration file for Duet WiFi (firmware version 3)
    ; executed by the firmware on start-up
    ;
    ; generated by RepRapFirmware Configuration Tool v3.1.3 on Mon Jun 15 2020 11:14:50 GMT-0600 (Mountain Daylight Time)

    ; General preferences
    G90 ; send absolute coordinates...
    M83 ; ...but relative extruder moves
    M550 P"My Printer" ; set printer name
    M669 K1 ; select CoreXY mode

    ; Network
    M552 S1 ; enable network
    M586 P0 S1 ; enable HTTP
    M586 P1 S0 ; disable FTP
    M586 P2 S0 ; disable Telnet

    ; Drives
    M569 P0 S0 ; physical drive 0 goes backwords
    M569 P1 S0 ; physical drive 1 goes backwards
    M569 P2 S0 ; physical drive 2 goes backwards
    M569 P3 S1 ; physical drive 3 goes forwards
    M569 P4 S0 ; physical drive 4 goes backward
    M584 X0 Y1 Z2:4 E3 ;two Z Motors connected to driver outputs A and E1
    M671 X-20:310 Y0:0 S2 ;Leadscrew at left (connected to Z) and right connected to E1) of X axis
    M350 X16 Y16 Z16 E16 U16 I1 ; configure microstepping with interpolation
    M92 X101.84 Y104.96 Z402.42 U402.42 E2892.00 ; set steps per mm
    M566 X500.00 Y500.00 Z100.00 U100.00 E60.00 ; set maximum instantaneous speed changes (mm/min)
    M203 X10000.00 Y10000.00 Z6000.00 U6000.00 E8000.00 ; set maximum speeds (mm/min)
    M201 X800.00 Y800.00 Z30.00 U30.00 E120.00 ; set accelerations (mm/s^2)
    M906 X1200.00 Y1200.00 Z800.00 U800.00 E500.00 I30 ; set motor currents (mA) and motor idle factor in per cent
    M84 S30 ; Set idle timeout

    ; Axis Limits
    M208 X-25 Y-15 Z0 S1 ; set axis minima
    M208 X330 Y340 Z300 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 S2 ; configure Z-probe endstop for low end on Z

    ; Z-Probe
    ;M307 H3 A-1 C-1 D-1 ; disable heater on PWM channel for BLTouch
    M950 S0 C"exp.heater3" ; create servo pin 0 for BLTouch
    M558 P9 C"^zprobe.in" H3 F120 T4800 ; set Z probe type to bltouch and the dive height + speeds
    ;M558 H30 ;*** Remove this line after delta calibration has been done and new delta
    parameters have been saved
    G31 P25 X30 Y-10 Z.48 ; set Z probe trigger value, offset and trigger height
    M557 X15:285 Y15:275 S20 ; define mesh grid ; define mesh grid
    M376 H10

    ; 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 B4725 C7.06e-8 ; 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 S"E3D_V6" 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

    Deploy.g
    ; deployprobe.g
    ; called to deploy a physical Z probe
    ;
    ; generated by RepRapFirmware Configuration Tool v2 on Wed Aug 14 2019 07:35:06 GMT-0600 (Mountain Daylight Time)
    M280 P3 S10 I1

    Retractprobe.g
    ; retractprobe.g
    ; called to retract a physical Z probe
    ;
    ; generated by RepRapFirmware Configuration Tool v2 on Wed Aug 14 2019 07:35:06 GMT-0600 (Mountain Daylight Time)
    M280 P3 S90 I1

    Home.g
    ; homez.g
    ; called to home the Z axis
    ;
    ; generated by RepRapFirmware Configuration Tool v2 on Wed Aug 14 2019 07:35:07 GMT-0600 (Mountain Daylight Time)
    G91 ; relative positioning
    G1 Z5 F6000 H2 ; lift Z relative to current position
    G90 ; absolute positioning
    G1 X153 Y158 F6000 ; go to middle
    G30 ; home Z by probing the bed

    ; Uncomment the following lines to lift Z after probing
    G91 ; relative positioning
    G1 H2 Z5 F100 ; lift Z relative to current position
    G90 ; absolute positioning

    I would appreciate any advice
    Thanks


  • Moderator

    @GeorgeM said in RRF2 to RRF3 BL Touch problem:

    Deploy.g
    ; deployprobe.g
    ; called to deploy a physical Z probe
    ;
    ; generated by RepRapFirmware Configuration Tool v2 on Wed Aug 14 2019 07:35:06 GMT-0600 (Mountain Daylight Time)
    M280 P3 S10 I1
    Retractprobe.g
    ; retractprobe.g
    ; called to retract a physical Z probe
    ;
    ; generated by RepRapFirmware Configuration Tool v2 on Wed Aug 14 2019 07:35:06 GMT-0600 (Mountain Daylight Time)
    M280 P3 S90 I1

    P3 needs to be P0

    In RRF3 we use the M950 command to create the servo control pin. You have M950 S0 C"exp.heater3" ; create servo pin 0 for BLTouch The S0 means servo number 0. The M280 command for deploy and retract needs to target that servo number.



  • @GeorgeM IMHO the filename for deploying is deployprobe.g, not deploy.g.



  • Thank you so much. That worked. And your explanation was very helpful.


Log in to reply