Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    BLTouch3 + Duet2 + RRPF3 Upgrade (not working properly)

    Scheduled Pinned Locked Moved Solved
    Using Duet Controllers
    4
    6
    365
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • interwebsdesignerundefined
      interwebsdesigner
      last edited by

      I have found lots of posts on this and cannot seem to get my BL up and running after upgrading to the new board/firmware.

      • I have checked all the wires many times - same setup on rrpf
      • BL cycles as normal on startup with a solid light at the end
      • Z Home raises the bed but never deploys the pin on BL
      • Can't manually deploy or retract the pin and z-probe on UI says 1000 and is red.

      I have to be missing something here with the new syntax - it was all just working before the upgrade. I do have to do a wire continuity test but hopefully it is just an issue with the new config.

      Here is my config:

      ; Communication and general
      M111 S0                             			; Debug off
      M550 PBigBot	                    			; Machine name (P + anything you like)
      M551 Preprap                        			; Machine password (used for FTP connections)
      M552 S1           								; Enable WiFi
      M555 P2                             			; Set output to look like Marlin
      M575 P1 B57600 S1		                		; Comms parameters for PanelDue
      M669 k1                    						; set CoreXY mode
      
      ; Configuration
      M569 P0 S0               						; X Drive 0 goes forwards (change to S0 to reverse it)
      M569 P1 S1              						; Y Drive 1 goes forwards. 
      M569 P2 S1                						; ZaZb - Motors - Forwards
      M569 P3 S1                						; E0 Drive 3 goes forwards 0
      M569 P4 S1                						; E1 Drive 4 goes forwards
      
      M350 X16 Y16 Z16 E16 I1             			; Set 16x microstepping with interpolation
      
      M92 X100 Y100 Z397            					; Set axis steps/mm.
      M92 E415	            						; Set extruder steps/mm.
      
      M906 X800 Y800 Z800 E800            			; Set motor currents (mA).
      
      M201 X1000 Y1000 Z500 E500         				; Accelerations (mm/s^2)					
      M203 X12000 Y12000 Z1200 E800       			; Maximum speeds (mm/min)
      M566 X800 Y800 Z30 E600             			; Maximum jerk speeds mm/minute
      
      M208 X300 Y300 Z500            					; set axis maxima (adjust to suit your machine)
      M208 X0 Y0 Z0 S1                    			; set axis minima (adjust to make X=0 and Y=0 the edges of the bed)
      
      G21                                 			; Work in millimetres
      G90                                 			; Send absolute coordinates...
      M83                                 			; ...but relative extruder moves
      
      ; Endstops
      M574 X1 S1 P"xstop"
      M574 Y2 S1 P"!^ystop"
      
      ; Z probe BLTouch
      M558 P9 C"^zprobe.in"H5 F200 T2000
      G31 X39 Y50 Z1 P2.5
      M557 X15:285 Y15:285 S25
      
      ; Heaters & Temp Sensors
      M308 S0 P"bedtemp" Y"thermistor" T100000 B4388 ; 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                            			   ; disable 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 B4388  ; 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                                        ; disable bang-bang mode for heater and set PWM limit
      
      ; Tools
      M563 P0 D0 H1 F0                               ; define tool 0
      
      ; Fans
      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
      
      ;*** If you are using axis compensation, put the figures in the following command
      M556 S78 X0 Y0 Z0                   		; Axis compensation here
      M208 S1 Z0									; set minimum Z
      M501										; Load Config-Override.g that is created using M500
      T0                                  		; select first hot end
      
      ; M98 P/sys/homeall.g
      

      Home Z (trying to get homez.g working and then I will update homeall.g)

      G91 ; relative positioning
      G1 H2 Z5 F4800 ; lift Z relative to current position
      G90 ; absolute positioning
      G1 X150 Y105 F4800 ; go to first probe point
      G30 ; home Z by probing the bed```
      

      deployprobe.g:

      M280 P0 S10
      

      retract.g:

      M280 P0 S90
      
      Phaedruxundefined 1 Reply Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator @interwebsdesigner
        last edited by

        @interwebsdesigner said in BLTouch3 + Duet2 + RRPF3 Upgrade (not working properly):

        M558 P9 C"^zprobe.in"H5 F200 T2000

        Looks like you're missing a space between the pin name and the H5.

        Does sending M401 and M402 cause the pin to deploy and retract?

        @interwebsdesigner said in BLTouch3 + Duet2 + RRPF3 Upgrade (not working properly):

        retract.g:

        Are the actual files called deployprobe.g and retractprobe.g and are they located in the system files area?

        If you send the M280 commands to deploy and retract does it work?

        Can you also send M122 and M98 P"config.g" in the console and share the results?

        Z-Bot CoreXY Build | Thingiverse Profile

        DIY-O-Sphereundefined interwebsdesignerundefined 2 Replies Last reply Reply Quote 0
        • DIY-O-Sphereundefined
          DIY-O-Sphere @Phaedrux
          last edited by DIY-O-Sphere

          @interwebsdesigner
          The declaration of the servo channel is missing.

          M950 S0 C"exp.heater7"                          ; create servo pin 0 for BLTouch
          

          As an example..

          Insert that code before

          M558
          

          (UTC+1)

          1 Reply Last reply Reply Quote 1
          • A Former User?
            A Former User
            last edited by

            This post is deleted!
            interwebsdesignerundefined 1 Reply Last reply Reply Quote 0
            • interwebsdesignerundefined
              interwebsdesigner @Phaedrux
              last edited by

              @phaedrux said in BLTouch3 + Duet2 + RRPF3 Upgrade (not working properly):

              M280

              • Fixed the space
              • They are named correctly in the system files area
              • M280 commands are non responsive

              M122

              === Diagnostics ===
              RepRapFirmware for Duet 2 WiFi/Ethernet version 3.2.2 running on Duet WiFi 1.02 or later
              Board ID: 0JD0M-9P6B2-NJ4S8-6J9D6-3SJ6S-1A4GJ
              Used output buffers: 3 of 24 (11 max)
              === RTOS ===
              Static ram: 23460
              Dynamic ram: 73244 of which 200 recycled
              Never used RAM 15176, free system stack 184 words
              Tasks: NETWORK(ready,186) HEAT(blocked,308) MAIN(running,449) IDLE(ready,20)
              Owned mutexes:
              === Platform ===
              Last reset 00:03:02 ago, cause: software
              Last software reset at 2022-01-01 10:06, reason: User, GCodes spinning, available RAM 15352, slot 0
              Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0041f000 BFAR 0xe000ed38 SP 0x00000000 Task MAIN Freestk 0 n/a
              Error status: 0x00
              Aux0 errors 0,0,0
              MCU temperature: min 20.8, current 25.0, max 25.2
              Supply voltage: min 24.1, current 24.3, max 24.7, under voltage events: 0, over voltage events: 0, power good: yes
              Driver 0: position 0, standstill, SG min/max not available
              Driver 1: position 0, standstill, SG min/max not available
              Driver 2: position 0, standstill, SG min/max not available
              Driver 3: position 0, standstill, SG min/max not available
              Driver 4: position 0, standstill, SG min/max not available
              Driver 5: position 0
              Driver 6: position 0
              Driver 7: position 0
              Driver 8: position 0
              Driver 9: position 0
              Driver 10: position 0
              Driver 11: position 0
              Date/time: 2022-01-01 10:09:34
              Cache data hit count 221935625
              Slowest loop: 6.06ms; fastest: 0.21ms
              I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
              === Storage ===
              Free file entries: 10
              SD card 0 detected, interface speed: 20.0MBytes/sec
              SD card longest read time 3.1ms, write time 0.0ms, max retries 0
              === Move ===
              DMs created 83, maxWait 0ms, bed compensation in use: none, comp offset 0.000
              === MainDDARing ===
              Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
              === AuxDDARing ===
              Scheduled moves 0, completed moves 0, hiccups 0, stepErrors 0, LaErrors 0, Underruns [0, 0, 0], CDDA state -1
              === Heat ===
              Bed heaters = 0 -1 -1 -1, chamberHeaters = -1 -1 -1 -1
              Heater 1 is on, I-accum = 0.0
              === GCodes ===
              Segments left: 0
              Movement lock held by null
              HTTP is idle in state(s) 0
              Telnet is idle in state(s) 0
              File is idle in state(s) 0
              USB is idle in state(s) 0
              Aux is idle in state(s) 0
              Trigger is idle in state(s) 0
              Queue is idle in state(s) 0
              LCD is idle in state(s) 0
              Daemon is idle in state(s) 0
              Autopause is idle in state(s) 0
              Code queue is empty.
              === Network ===
              Slowest loop: 15.89ms; fastest: 0.00ms
              Responder states: HTTP(2) HTTP(1) HTTP(0) HTTP(0) FTP(0) Telnet(0), 0 sessions
              HTTP sessions: 1 of 8
              - WiFi -
              Network state is active
              WiFi module is connected to access point 
              Failed messages: pending 0, notready 0, noresp 0
              WiFi firmware version 1.26
              WiFi MAC address 48:3f:da:a6:ef:04
              WiFi Vcc 3.38, reset reason Power up
              WiFi flash size 2097152, free heap 23624
              WiFi IP address 192.168.1.16
              WiFi signal strength -52dBm, mode 802.11n, reconnections 0, sleep mode modem
              Clock register 00002002
              Socket states: 0 0 2 0 0 0 0 0
              

              M98 P"config.g"

              M98 P"config.g"
              Heater 0 is disabled because its model is undefined
              Heater 1 is disabled because its model is undefined
              

              I just haven't run the tuning yet

              @DIY-O-Sphere
              I added that line to the the config. New config here -

              ; Communication and general
              M111 S0                             			; Debug off
              M550 P"BigBot"	                    			; Machine name (P + anything you like)
              M551 P"reprap"                        			; Machine password (used for FTP connections)
              M552 S1           								; Enable WiFi
              M555 P2                             			; Set output to look like Marlin
              M575 P1 B57600 S1		                		; Comms parameters for PanelDue
              M669 k1                    						; set CoreXY mode
              
              ; Configuration
              M569 P0 S0               						; X Drive 0 goes forwards (change to S0 to reverse it)
              M569 P1 S1              						; Y Drive 1 goes forwards. 
              M569 P2 S1                						; ZaZb - Motors - Forwards
              M569 P3 S1                						; E0 Drive 3 goes forwards 0
              M569 P4 S1                						; E1 Drive 4 goes forwards
              
              M350 X16 Y16 Z16 E16 I1             			; Set 16x microstepping with interpolation
              
              M92 X100 Y100 Z397            					; Set axis steps/mm.
              M92 E415	            						; Set extruder steps/mm.
              
              M906 X800 Y800 Z800 E800            			; Set motor currents (mA).
              
              M201 X1000 Y1000 Z500 E500         				; Accelerations (mm/s^2)					
              M203 X12000 Y12000 Z1200 E800       			; Maximum speeds (mm/min)
              M566 X800 Y800 Z30 E600             			; Maximum jerk speeds mm/minute
              
              M208 X300 Y300 Z500            					; set axis maxima (adjust to suit your machine)
              M208 X0 Y0 Z0 S1                    			; set axis minima (adjust to make X=0 and Y=0 the edges of the bed)
              
              G21                                 			; Work in millimetres
              G90                                 			; Send absolute coordinates...
              M83                                 			; ...but relative extruder moves
              
              ; Endstops
              M574 X1 S1 P"xstop"
              M574 Y2 S1 P"!^ystop"
              
              ; Z probe BLTouch
              M950 S0 C"exp.heater7" 							; create servo pin 0 for BLTouch
              M558 P9 C"^zprobe.in" H5 F200 T2000
              G31 X39 Y50 Z1 P2.5
              M557 X15:285 Y15:285 S25
              
              ; Heaters & Temp Sensors
              M308 S0 P"bedtemp" Y"thermistor" T100000 B4388 ; 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                            			   ; disable 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 B4388  ; 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                                        ; disable bang-bang mode for heater and set PWM limit
              
              ; Tools
              M563 P0 D0 H1 F0                               ; define tool 0
              
              ; Fans
              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
              
              ;*** If you are using axis compensation, put the figures in the following command
              M556 S78 X0 Y0 Z0                   		; Axis compensation here
              M208 S1 Z0									; set minimum Z
              M501										; Load Config-Override.g that is created using M500
              T0                                  		; select first hot end
              
              ; M98 P/sys/homeall.g
              

              On power up it is still cycling the test and turning solid red. Just nothing with the M280 commands. I am going to go through the PDF and see if I missed anything.

              1 Reply Last reply Reply Quote 0
              • interwebsdesignerundefined
                interwebsdesigner @A Former User
                last edited by

                @arnold_r_clark This did it. Works as expected now! Thanks all - on to the next problem 👍

                M950 S0 C"exp.heater3" ; create servo pin 0 for BLTouch
                
                1 Reply Last reply Reply Quote 0
                • Phaedruxundefined Phaedrux marked this topic as a question
                • Phaedruxundefined Phaedrux has marked this topic as solved
                • First post
                  Last post
                Unless otherwise noted, all forum content is licensed under CC-BY-SA