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

    BLtouch does not work after changing to DUEX5 board

    Scheduled Pinned Locked Moved
    General Discussion
    6
    51
    2.2k
    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.
    • Haggan90undefined
      Haggan90 @dc42
      last edited by

      @dc42 Thank you, I will try that!

      1 Reply Last reply Reply Quote 0
      • Haggan90undefined
        Haggan90 @dc42
        last edited by

        @dc42 said in BLtouch does not work after changing to DUEX5 board:

        @Haggan90 said in BLtouch does not work after changing to DUEX5 board:

        @Veti Yes of course, which heater do I need to disable if I wan to use PWM_2?

        Try disabling heater 7 and use PWM5 on the DueX, that's a common combination.

        Do I need to change anything more then this: M307 H7 A-1 C-1 D-1 ?
        And remove the M307 from config-override.g

        1 Reply Last reply Reply Quote 0
        • Phaedruxundefined
          Phaedrux Moderator
          last edited by

          You'll also have to update your deploy and retract macros to reference the new pin number as well.

          Haggan90undefined 1 Reply Last reply Reply Quote 0
          • Haggan90undefined
            Haggan90 @Phaedrux
            last edited by

            @Phaedrux Should that be M280 P5 S10 then?

            1 Reply Last reply Reply Quote 0
            • Phaedruxundefined
              Phaedrux Moderator
              last edited by Phaedrux

              P7 for heater pin 7

              By the way using pins gets a lot easier in RRF3. Might be time to consider updating.

              Haggan90undefined 1 Reply Last reply Reply Quote 0
              • Haggan90undefined
                Haggan90 @Phaedrux
                last edited by

                @Phaedrux Right now I just want the printer to work again, been down for almost a year now 😕

                Changing to heater 7 did not work, still the same problem..

                1 Reply Last reply Reply Quote 0
                • Phaedruxundefined
                  Phaedrux Moderator
                  last edited by

                  Please post the current version of your config.g, config-override.g, deploy and retract macros, and please double check which pin you're connected to. And refresh me on which wires are going where.

                  Haggan90undefined 1 Reply Last reply Reply Quote 0
                  • Haggan90undefined
                    Haggan90 @Phaedrux
                    last edited by

                    @Phaedrux Ok!
                    Config.g

                    
                    ; General preferences
                    G21												; work in millimeters
                    G90                                             ; Send absolute coordinates...
                    M83                                             ; ...but relative extruder moves
                    
                    ; Network
                    M552 S1                                         ; Enable network
                    M586 P0 S1                                      ; Enable HTTP
                    M586 P1 S0                                      ; Disable FTP
                    M586 P2 S0                                      ; Disable Telnet
                    
                    
                    ; Drives						
                    M584 X6 Y1 Z2:5:4 E3							; set 3 Z drivers
                    M569 P1 S0                                      ; Drive 1 goes backwards
                    M569 P2 S0                                      ; Drive 2 goes backwards
                    M569 P3 S1                                      ; Drive 3 goes forwards
                    M569 P4 S1                                      ; Drive 4 goes forwards
                    M569 P5 S0                                      ; Drive 5 goes backwards
                    M569 P6 S1                                      ; Drive 6 goes forwards
                    
                    M669 K0 Y-1.005:1:0:							; set Y to react with X
                    
                    ; Defining X and Y coordinates of the leadscrews
                    M671 X-80:580:580 Y245:490:0 S5 				; leadscrews at front right, rear right and middle left
                    
                    M350 U16 X16 Y16 E16 Z16 I1                    	; Configure microstepping with interpolation
                    M92  X133.33 Y242.00 Z200 E415.00      			; Set steps per mm
                    M566 X900.00 Y900.00 Z20.00 E200.00		     	; Set maximum instantaneous speed changes (mm/min)
                    M203 X15000.00 Y15000.00 Z600.00 E3600.00		; Set maximum speeds (mm/min)
                    M201 X1000.00 Y1000.00 Z30.00 E3000		     	; Set accelerations (mm/s^2)
                    M906 X1000.00 Y1500.00 Z1000.00 E700.00 I30 	; Set motor currents (mA) and motor idle factor in per cent
                    M84 S30                                         ; Set idle timeout
                    
                    
                    ;Energize Z steppers
                    M906 I100 										; prevent idle current reduction
                    G91 											; relative mode
                    G1 S2 Z0.1 										; energize all 3 motors
                    G90 											; absolute mode
                    
                    ; Axis Limits
                    M208 X0 Y0 Z0 S1                       	 		; Set axis minima
                    M208 X500 Y500 Z750 S0                 			; Set axis maxima
                    
                    ; Endstops
                    M574 X1 S0										; Set active low endstops
                    M574 Y2 S1                               		; Set active high endstops
                    
                    ; Pressure advance
                    M572 D0 S0.05
                    
                    ; BLTouch - Heaters
                    M307 H7 A-1 C-1 D-1 							; Disable the Heater7 to free up PWM channel 5 on the Duex board
                    
                    ; Z-Probe
                    M574 Z1 S2 										; Define Z to use Probe. Home to Min.
                    M558 P9 H5 F100 T2000							; Set Z probe type/mode 9.
                    G31 P50 X0 Y73.8 Z2.55							; Z probe trigger value, offset in relation to nozzle. And trigger height adjustment
                    M557 X0:500 Y0:400 S100							; define mesh grid
                    
                    
                    
                    ; Heaters
                    M140 H-1 					; Disable heated bed
                    
                    ;M305 P0 T100000 B4138 R4700                    ; Set thermistor + ADC parameters for heater 0
                    ;M143 H0 S120                                   ; Set temperature limit for heater 0 to 120C
                    M305 P1 T100000 B4138 R4700                     ; Set thermistor + ADC parameters for heater 1
                    M143 H1 S280                                   	; Set temperature limit for heater 1 to 280C
                    .
                    
                    ; Fans
                    M106 P0 S0 I0 F600 H-1                        	; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
                    M106 P1 S1 I0 F500 H1 T45                       ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
                    
                    ; Tools
                    M563 P0 D0 H1 F0                                ; tool 0 uses extruder 0 and heater 1
                    G10 P0 X0 Y0 Z0 R0 S0                           ; set tool 0 offsets and temperatures
                    
                    
                    M501;
                    
                    ; Automatic saving after power loss is not enabled
                    
                    ; Custom settings are not configured
                    

                    Config-override.g

                    
                    0:/sys/config-override.g
                    ; config-override.g file generated in response to M500
                    ; This is a system-generated file - do not edit
                    ; Heater model parameters
                    M307 H0 A90.0 C700.0 D10.0 S1.00 V0.0 B1
                    M307 H1 A351.8 C150.9 D9.0 S0.80 V24.4 B0
                    M307 H2 A340.0 C140.0 D5.5 S1.00 V0.0 B0
                    M307 H4 A340.0 C140.0 D5.5 S1.00 V0.0 B0
                    M307 H5 A340.0 C140.0 D5.5 S1.00 V0.0 B0
                    M307 H6 A340.0 C140.0 D5.5 S1.00 V0.0 B0
                    
                    G10 L2 P1 X0.00 Y0.00 Z0.00 U0.00
                    G10 L2 P2 X0.00 Y0.00 Z0.00 U0.00
                    G10 L2 P3 X0.00 Y0.00 Z0.00 U0.00
                    G10 L2 P4 X0.00 Y0.00 Z0.00 U0.00
                    G10 L2 P5 X0.00 Y0.00 Z0.00 U0.00
                    G10 L2 P6 X0.00 Y0.00 Z0.00 U0.00
                    G10 L2 P7 X0.00 Y0.00 Z0.00 U0.00
                    G10 L2 P8 X0.00 Y0.00 Z0.00 U0.00
                    G10 L2 P9 X0.00 Y0.00 Z0.00 U0.00
                    
                    My Duet
                    Send code...
                    Status
                    Idle
                    Tool Position
                    X
                    0.0
                    Y
                    0.0
                    Z
                    0.10
                    Extruder Drives
                    Drive 0
                    0.0
                    Speeds
                    Requested Speed
                    0 mm/s
                    Top Speed
                    0 mm/s
                    Sensors
                    Vin
                    24.5 V
                    MCU Temperature
                    33.2 C
                    Fan RPM
                    0
                    Z-Probe
                    0
                     Tools
                     Extra
                     Control All
                    Tool	Heater	Current	Active	Standby
                    Tool 0
                    T0 - Load Filament	Heater 1
                    off	22.1 C	
                    0
                    0
                    Temperature Chart
                    System Directory
                    
                    

                    deploy

                    ; deployprobe.g
                    ; called to deploy a physical Z probe
                    ;
                    ; generated by RepRapFirmware Configuration Tool v2 on Tue Nov 20 2018 21:58:16 GMT+0100 (centraleuropeisk normaltid)
                    M280 P7 S10
                    
                    
                    

                    Retract

                    ; retractprobe.g
                    ; called to retract a physical Z probe
                    ;
                    ; generated by RepRapFirmware Configuration Tool v2 on Tue Nov 20 2018 21:58:16 GMT+0100 (centraleuropeisk normaltid)
                    M280 P7 S90
                    
                    
                    

                    bltouch.PNG

                    1 Reply Last reply Reply Quote 0
                    • Phaedruxundefined
                      Phaedrux Moderator
                      last edited by

                      Does the BLTouch do a self test at power on?
                      Does sending M401 and M402 deploy and retract the pin?

                      Haggan90undefined 1 Reply Last reply Reply Quote 0
                      • Haggan90undefined
                        Haggan90 @Phaedrux
                        last edited by

                        @Phaedrux said in BLtouch does not work after changing to DUEX5 board:

                        Does the BLTouch do a self test at power on?
                        Does sending M401 and M402 deploy and retract the pin?

                        No it does not.
                        Nothing hapends at all.. The bltouch just lights constantly red.

                        1 Reply Last reply Reply Quote 0
                        • Haggan90undefined
                          Haggan90
                          last edited by

                          This is my M122

                          M122
                          === Diagnostics ===
                          RepRapFirmware for Duet 2 WiFi/Ethernet version 2.05.1 running on Duet WiFi 1.02 or later + DueX5
                          Board ID: 08DGM-956GU-DJMSJ-6JTDD-3S86L-1APHG
                          Used output buffers: 3 of 24 (20 max)
                          === RTOS ===
                          Static ram: 25712
                          Dynamic ram: 93624 of which 0 recycled
                          Exception stack ram used: 296
                          Never used ram: 11440
                          Tasks: NETWORK(ready,628) HEAT(blocked,1232) DUEX(suspended,160) MAIN(running,3736) IDLE(ready,160)
                          Owned mutexes:
                          === Platform ===
                          Last reset 00:18:03 ago, cause: power up
                          Last software reset time unknown, reason: User, spinning module GCodes, available RAM 11400 bytes (slot 2)
                          Software reset code 0x0003 HFSR 0x00000000 CFSR 0x00000000 ICSR 0x0441f000 BFAR 0xe000ed38 SP 0xffffffff Task 0x4e49414d
                          Error status: 0
                          Free file entries: 10
                          SD card 0 detected, interface speed: 20.0MBytes/sec
                          SD card longest block write time: 18.2ms, max retries 0
                          MCU temperature: min 26.5, current 35.2, max 35.5
                          Supply voltage: min 24.3, current 24.5, max 24.8, under voltage events: 0, over voltage events: 0, power good: yes
                          Driver 0: standstill, SG min/max not available
                          Driver 1: standstill, SG min/max not available
                          Driver 2: standstill, SG min/max not available
                          Driver 3: standstill, SG min/max not available
                          Driver 4: standstill, SG min/max not available
                          Driver 5: standstill, SG min/max not available
                          Driver 6: standstill, SG min/max not available
                          Driver 7: standstill, SG min/max not available
                          Driver 8: standstill, SG min/max not available
                          Driver 9: standstill, SG min/max not available
                          Date/time: 2021-01-19 20:58:36
                          Cache data hit count 3312721499
                          Slowest loop: 35.52ms; fastest: 0.07ms
                          I2C nak errors 0, send timeouts 0, receive timeouts 0, finishTimeouts 0, resets 0
                          === Move ===
                          Hiccups: 0, FreeDm: 160, MinFreeDm: 159, MaxWait: 162ms
                          Bed compensation in use: none, comp offset 0.000
                          === DDARing ===
                          Scheduled moves: 1, completed moves: 1, StepErrors: 0, LaErrors: 0, Underruns: 0, 0
                          === Heat ===
                          Bed heaters = -1 -1 -1 -1, chamberHeaters = -1 -1
                          === GCodes ===
                          Segments left: 0
                          Stack records: 2 allocated, 0 in use
                          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
                          serial is idle in state(s) 0
                          aux is idle in state(s) 0
                          daemon is idle in state(s) 0
                          queue is idle in state(s) 0
                          autopause is idle in state(s) 0
                          Code queue is empty.
                          === Network ===
                          Slowest loop: 102.91ms; fastest: 0.00ms
                          Responder states: HTTP(0) HTTP(0) HTTP(0) HTTP(0) FTP(0) Telnet(0) Telnet(0)
                          HTTP sessions: 1 of 8
                          - WiFi -
                          Network state is running
                          WiFi module is connected to access point 
                          Failed messages: pending 0, notready 0, noresp 0
                          WiFi firmware version 1.23
                          WiFi MAC address bc:dd:c2:53:09:3f
                          WiFi Vcc 3.32, reset reason Turned on by main processor
                          WiFi flash size 4194304, free heap 25824
                          WiFi IP address 192.168.1.214
                          WiFi signal strength -78dBm, reconnections 0, sleep mode modem
                          Socket states: 0 0 0 0 0 0 0 0
                          
                          1 Reply Last reply Reply Quote 0
                          • Phaedruxundefined
                            Phaedrux Moderator
                            last edited by

                            Hmm. That's a bit strange.

                            Can you try removing the Duex entirely and connect the BLTouch directly to the Duet to test? You can use the same config if you connect to heater pin 7 on the expansion port.

                            Normally the BLtouch will perform a self test when connected to 5v.

                            What version of BLTouch is it?

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

                              @Phaedrux The strange thing is that it worked perfect when I used a duex2 board...
                              Could there be anything wrong with the firmware on this new duex5? I have not updated any firmware after I installed it.

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

                                @Phaedrux said in BLtouch does not work after changing to DUEX5 board:

                                You can use the same config

                                But he has to invert signal in deploy and retract....
                                Edit:
                                M280 P7 S10 I1
                                M280 P7 S90 I1

                                (UTC+1)

                                Phaedruxundefined 1 Reply Last reply Reply Quote 0
                                • Phaedruxundefined
                                  Phaedrux Moderator
                                  last edited by

                                  This post is deleted!
                                  1 Reply Last reply Reply Quote 0
                                  • Phaedruxundefined
                                    Phaedrux Moderator @DIY-O-Sphere
                                    last edited by

                                    @DIY-O-Sphere said in BLtouch does not work after changing to DUEX5 board:

                                    @Phaedrux said in BLtouch does not work after changing to DUEX5 board:

                                    You can use the same config

                                    But he has to invert signal in deploy and retract....
                                    Edit:
                                    M280 P7 S10 I1
                                    M280 P7 S90 I1

                                    Yes of course, when using the Duet expansion header directly it must be inverted. Thanks.

                                    Haggan90undefined 1 Reply Last reply Reply Quote 0
                                    • Haggan90undefined
                                      Haggan90 @Phaedrux
                                      last edited by

                                      @Phaedrux Tried it and still the same thing, nothing happends but red LED

                                      1 Reply Last reply Reply Quote 0
                                      • Phaedruxundefined
                                        Phaedrux Moderator
                                        last edited by

                                        @Phaedrux said in BLtouch does not work after changing to DUEX5 board:

                                        What version of BLTouch is it?

                                        Can you try connecting it to a different 5v source?

                                        Does the pin move freely if you pull it out by hand?

                                        Maybe check the pin itself by removing the grub screw at the top and sliding the pinout entirely. Sometimes cleaning it and reseating it can help.

                                        Haggan90undefined 1 Reply Last reply Reply Quote 0
                                        • Haggan90undefined
                                          Haggan90 @Phaedrux
                                          last edited by

                                          @Phaedrux said in BLtouch does not work after changing to DUEX5 board:

                                          @Phaedrux said in BLtouch does not work after changing to DUEX5 board:

                                          What version of BLTouch is it?

                                          Can you try connecting it to a different 5v source?

                                          Does the pin move freely if you pull it out by hand?

                                          Maybe check the pin itself by removing the grub screw at the top and sliding the pinout entirely. Sometimes cleaning it and reseating it can help.

                                          I'm not sure what version it is but it's the one with a metal pin.
                                          Yes, the pin moves freely and I have tried adjusting the grub screw.

                                          1 Reply Last reply Reply Quote 0
                                          • Phaedruxundefined
                                            Phaedrux Moderator
                                            last edited by

                                            Is it a version with a trace to cut?

                                            Haggan90undefined 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA