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

    JohnSL's FSR on a dute Wifi 3.4.4 not working

    Scheduled Pinned Locked Moved Solved
    Tuning and tweaking
    3
    15
    532
    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.
    • eddygaraundefined
      eddygara
      last edited by

      I always hesitated upgrading this particular machines firm ware due to fear of all of this not working, and so it is to be true. I upgraded firmware from 2.0 to 3.4.4 and everything stopped working.

      I have the machine running fine now, though i can not for the life of me get my FSR to calibrate my printer.

      can someone please help, before i rip out all my hair.

      Z-probe reads a constant 1000 and triggers before even reaching the bed.

      When i home i also get all of these error messages.

      G28
      Error: in file macro line 7 column 8: G1: expected number after 'X'
      Error: G0/G1: target position not reachable from current position

      here is my config file.

      ; Configuration file for Duet WiFi (firmware version 3.3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.3.14 on Fri Nov 11 2022 17:32:14 GMT-0500 (Eastern Standard Time)

      ; General preferences
      G90 ; send absolute coordinates...
      M83 ; ...but relative extruder moves
      M550 P"My Printer" ; set printer name
      M665 R143.461 L290 B140 H300.74 ; 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

      ; 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 backwards
      M569 P1 S1 ; physical drive 1 goes backwards
      M569 P2 S1 ; physical drive 2 goes backwards
      M569 P3 S1 ; physical drive 3 goes forwards
      M584 X0 Y1 Z2 E3 ; set drive mapping
      M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
      M92 X160.00 Y160.00 Z160.00 E833.16 ; set steps per mm
      M566 X1200.00 Y1200.00 Z1200.00 E1200.00 ; set maximum instantaneous speed changes (mm/min)
      M203 X18000.00 Y18000.00 Z18000.00 E1200.00 ; set maximum speeds (mm/min)
      M201 X1000.00 Y1000.00 Z1000.00 E1000.00 ; set accelerations (mm/s^2)
      M906 X1200 Y1200 Z1200 E1200 I30 ; set motor currents (mA) and motor idle factor in per cent
      M84 S30 ; Set idle timeout

      ; Axis Limits
      M208 Z-1 S1 ; set minimum Z

      ; Endstops
      M574 X1 S1 P"xstop" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin xstop
      M574 Y1 S1 P"ystop" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin ystop
      M574 Z1 S1 P"zstop" ; configure switch-type (e.g. microswitch) endstop for low end on Z via pin zstop

      ; Z-Probe
      M558 P5 C"!zprobe.in" H5 F120 T6000 ; set Z probe type to switch and the dive height + speeds
      G31 P500 X0 Y0 Z2.5 ; set Z probe trigger value, offset and trigger height
      M557 R138 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 R0.137 K0.229:0.000 D24.81 E1.35 S1.00 B0 ; 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 B4138 ; 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
      M143 H1 S280 ; set temperature limit for heater 1 to 280C

      ; 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 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

      ; Miscellaneous
      T0 ; select first tool


      here is my homing file


      ; homedelta.g
      ; called to home all towers on a delta printer
      ;
      ; generated by RepRapFirmware Configuration Tool v3.2.0 on Sun Jan 03 2021 21:41:01 GMT-0500 (Eastern Standard Time)
      G91 ; relative positioning
      ;*** Slow homing has been configured. Change F180 to F1800 below when your configuration is working
      G1 H1 XH300.74 YH300.74 ZH300.74 F4000 ; move all towers to the high end stopping at the endstops (first pass)
      G1 H2 X-5 Y-5 Z-5 F2000 ; go down a few mm
      ;*** Slow homing has been configured. Change F180 to F360 below when your configuration is working
      G1 H1 X200 Y200 Z200 F3600 ; move all towers up once more (second pass)
      G1 Z-5 F6000 ; move down a few mm so that the nozzle can be centred
      G90 ; absolute positioning
      G1 X0 Y0 F6000 ; move X+Y to the centre

      eddygaraundefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
      • eddygaraundefined
        eddygara @eddygara
        last edited by

        I have already tried running this command in all of these variants with the same problem

        M558 P5 C"!zprobe.in" H5 F120 T6000 ; set Z probe type to switch and the dive height + speeds Didn't work

        M558 P5 C"^zprobe.in" H5 F120 T6000 ; set Z probe type to switch and the dive height + speeds Didn't work

        M558 P8 C"!zprobe.in" H5 F120 T6000 ; set Z probe type to switch and the dive height + speeds Didn't work

        M558 P8 C"^zprobe.in" H5 F120 T6000 ; set Z probe type to switch and the dive height + speeds Didn't work

        eddygaraundefined dc42undefined 2 Replies Last reply Reply Quote 0
        • eddygaraundefined
          eddygara @eddygara
          last edited by

          here is where the pins are attached alt text

          Phaedruxundefined 1 Reply Last reply Reply Quote 0
          • Phaedruxundefined Phaedrux referenced this topic
          • Phaedruxundefined
            Phaedrux Moderator @eddygara
            last edited by

            @eddygara said in JohnSL's FSR on a dute Wifi 3.4.4 not working:

            ; Endstops
            M574 X1 S1 P"xstop" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin xstop
            M574 Y1 S1 P"ystop" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin ystop
            M574 Z1 S1 P"zstop" ; configure switch-type (e.g. microswitch) endstop for low end on Z via pin zstop

            The endstops are set to the wrong end for a delta. They should be high end endstops. Change the X1 Y1 Z1 to X2 Y2 Z2

            @eddygara said in JohnSL's FSR on a dute Wifi 3.4.4 not working:

            G1 H1 XH300.74 YH300.74 ZH300.74 F4000

            This line is nonsense 🙂 Try G1 H1 X300 Y300 Z300 F4000

            Z-Bot CoreXY Build | Thingiverse Profile

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

              @eddygara said in JohnSL's FSR on a dute Wifi 3.4.4 not working:

              here is where the pins are attached alt text

              The pins of what?

              Z-Bot CoreXY Build | Thingiverse Profile

              eddygaraundefined 1 Reply Last reply Reply Quote 0
              • eddygaraundefined
                eddygara @Phaedrux
                last edited by

                @Phaedrux this the connection pins to the fsr sensor board.

                Phaedruxundefined 1 Reply Last reply Reply Quote 0
                • eddygaraundefined
                  eddygara @Phaedrux
                  last edited by

                  @Phaedrux said in JohnSL's FSR on a dute Wifi 3.4.4 not working:

                  @eddygara said in JohnSL's FSR on a dute Wifi 3.4.4 not working:

                  ; Endstops
                  M574 X1 S1 P"xstop" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin xstop
                  M574 Y1 S1 P"ystop" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin ystop
                  M574 Z1 S1 P"zstop" ; configure switch-type (e.g. microswitch) endstop for low end on Z via pin zstop

                  The endstops are set to the wrong end for a delta. They should be high end endstops. Change the X1 Y1 Z1 to X2 Y2 Z2

                  @eddygara said in JohnSL's FSR on a dute Wifi 3.4.4 not working:

                  G1 H1 XH300.74 YH300.74 ZH300.74 F4000

                  This line is nonsense 🙂 Try G1 H1 X300 Y300 Z300 F4000

                  Will this fix the probing issue of the FSR? Or is this to fix my homing command?

                  Thanks for the help!

                  1 Reply Last reply Reply Quote 0
                  • dc42undefined
                    dc42 administrators @eddygara
                    last edited by

                    @eddygara for the JohnSL board connected to Duet 2 I think you may need:

                    M558 P8 C"!^zprobe.in" H5 F120 T6000 ; set Z probe type to switch and the dive height + speeds

                    The correct setting will show a Z probe reading of 0 normally. For the Duet 2 you need the ^ character in the pin name. When the bed is tapped so that the LED on the JohnSL board flashes, DWC may or may not briefly show a Z prove reading of 1000.

                    Duet WiFi hardware designer and firmware engineer
                    Please do not ask me for Duet support via PM or email, use the forum
                    http://www.escher3d.com, https://miscsolutions.wordpress.com

                    eddygaraundefined 1 Reply Last reply Reply Quote 0
                    • eddygaraundefined
                      eddygara @dc42
                      last edited by

                      @dc42 said in JohnSL's FSR on a dute Wifi 3.4.4 not working:

                      @eddygara for the JohnSL board connected to Duet 2 I think you may need:

                      M558 P8 C"!^zprobe.in" H5 F120 T6000 ; set Z probe type to switch and the dive height + speeds

                      The correct setting will show a Z probe reading of 0 normally. For the Duet 2 you need the ^ character in the pin name. When the bed is tapped so that the LED on the JohnSL board flashes, DWC may or may not briefly show a Z prove reading of 1000.

                      Putting in that new change did no help. The board no longer reads 1000 on the z probe, but it will not activate when pressed on the bed.

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

                        @eddygara said in JohnSL's FSR on a dute Wifi 3.4.4 not working:

                        @Phaedrux this the connection pins to the fsr sensor board.

                        The photo shows a connection to an endstop, but your config is trying to use the zprobe input. Where is the actual signal wire connected?

                        Z-Bot CoreXY Build | Thingiverse Profile

                        eddygaraundefined 1 Reply Last reply Reply Quote 0
                        • eddygaraundefined
                          eddygara @Phaedrux
                          last edited by eddygara

                          @Phaedrux It funny you say that, my previous firmware had me connecting to the endtop,

                          Ive changed the position looking though some old post and found the correct connection that's working fine now.

                          My final issue is homing.

                          When i home now, instead of doing one pass up to the end stops, and moving back down for a 2nd pass. it just stops after the 1st pass directly on the end stops. then it doubles my z height, from 300, 600.

                          and i get this error.

                          G28
                          Error: G0/G1: target position not reachable from current position

                          When i did as you said and changed my end stop config, the printer would not home or moves the
                          axis at all,

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

                            What changes have you made to the config and homing file? Can you post homedelta.g and config.g as they are now?

                            Have you tested that the motor directions are correct?

                            It may be helpful to review these delta documents

                            https://docs.duet3d.com/en/User_manual/Machine_configuration/Configuration_linear_delta

                            https://docs.duet3d.com/en/User_manual/Tuning/Delta_calibration

                            Z-Bot CoreXY Build | Thingiverse Profile

                            eddygaraundefined 2 Replies Last reply Reply Quote 0
                            • eddygaraundefined
                              eddygara @Phaedrux
                              last edited by

                              @Phaedrux

                              config

                              ; Configuration file for Duet WiFi (firmware version 3.3)
                              ; executed by the firmware on start-up
                              ;
                              ; generated by RepRapFirmware Configuration Tool v3.3.14 on Fri Nov 11 2022 17:32:14 GMT-0500 (Eastern Standard Time)

                              ; General preferences
                              G90 ; send absolute coordinates...
                              M83 ; ...but relative extruder moves
                              M550 P"My Printer" ; set printer name
                              M665 R145.094 L290 B140 H290.716 ; Set delta radius, diagonal rod length, printable radius and homed height
                              M666 X1.57 Y-1.97 Z0.40, tilt X0.72% Y-1.10% ; put your endstop adjustments here, or let auto calibration find them

                              ; 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 backwards
                              M569 P1 S1 ; physical drive 1 goes backwards
                              M569 P2 S1 ; physical drive 2 goes backwards
                              M569 P3 S1 ; physical drive 3 goes forwards
                              M584 X0 Y1 Z2 E3 ; set drive mapping
                              M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
                              M92 X160.00 Y160.00 Z160.00 E833.16 ; set steps per mm
                              M566 X1200.00 Y1200.00 Z1200.00 E1200.00 ; set maximum instantaneous speed changes (mm/min)
                              M203 X18000.00 Y18000.00 Z18000.00 E1200.00 ; set maximum speeds (mm/min)
                              M201 X1000.00 Y1000.00 Z1000.00 E1000.00 ; set accelerations (mm/s^2)
                              M906 X1200 Y1200 Z1200 E1200 I30 ; set motor currents (mA) and motor idle factor in per cent
                              M84 S30 ; Set idle timeout

                              ; Axis Limits
                              M208 Z-1 S1 ; set minimum Z

                              ; Endstops
                              M574 X1 S1 P"xstop" ; configure switch-type (e.g. microswitch) endstop for low end on X via pin xstop
                              M574 Y1 S1 P"ystop" ; configure switch-type (e.g. microswitch) endstop for low end on Y via pin ystop
                              M574 Z1 S1 P"zstop" ; configure switch-type (e.g. microswitch) endstop for low end on Z via pin zstop

                              ; Z-Probe
                              M558 P8 C"!^zprobe.in" H30 F1000 T6000 ; set Z probe type to switch and the dive height + speeds
                              G31 P500 X0 Y0 Z-0.18 ; set Z probe trigger value, offset and trigger height
                              M557 R100 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 R0.137 K0.229:0.000 D24.81 E1.35 S1.00 B0 ; 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 B4138 ; 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
                              M143 H1 S280 ; set temperature limit for heater 1 to 280C

                              ; 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 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

                              ; Miscellaneous
                              T0 ; select first tool


                              homeing

                              ; homedelta.g
                              ; called to home all towers on a delta printer
                              ;
                              ; generated by RepRapFirmware Configuration Tool v3.2.0 on Sun Jan 03 2021 21:41:01 GMT-0500 (Eastern Standard Time)
                              G91 ; relative positioning
                              ;*** Slow homing has been configured. Change F180 to F1800 below when your configuration is working
                              G1 H1 X300 Y300 Z300 F4000 ; move all towers to the high end stopping at the endstops (first pass)
                              G1 H2 X-15 Y-15 Z-15 F2000 ; go down a few mm
                              ;*** Slow homing has been configured. Change F180 to F360 below when your configuration is working
                              G1 H1 X20 Y20 Z20 F3600 ; move all towers up once more (second pass)
                              G1 Z-25 F6000 ; move down a few mm so that the nozzle can be centred
                              G90 ; absolute positioning
                              G1 X0 Y0 F6000 ; move X+Y to the centre

                              eddygaraundefined 1 Reply Last reply Reply Quote 0
                              • eddygaraundefined
                                eddygara @eddygara
                                last edited by

                                @eddygara

                                As of right now the printer does work as intended minus the headache of the homing.

                                If i home anywhere on the bed after performing an action.

                                for example if i run a red calibration, then home. the printer will think im at my home height starting from where the printer head is at. doubling the effective home height.

                                i hope you understand.

                                1 Reply Last reply Reply Quote 0
                                • eddygaraundefined
                                  eddygara @Phaedrux
                                  last edited by

                                  @Phaedrux Got it working now! it was my fault for not reading your directions currently!

                                  Thanks to the both of yous!

                                  1 Reply Last reply Reply Quote 1
                                  • 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