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

DELTA FLSUN SR - 6HC - Z Probe Set Up Issues

Scheduled Pinned Locked Moved Solved
General Discussion
3
9
1.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.
  • undefined
    KCMARINE
    last edited by 30 Dec 2022, 05:59

    Hello fellow members,

    I would be very grateful for any advice on the correct config to set up the manually removable Z probe on the FLSUN SR as I have spent several days now going around in circles. Hardware is 6HC with the latest firmware on both SBC Pi and main board with Duet Web Control 3.4.5 Functionally the z-probe switch is working fine, my problem is finding the correct settings in the config.g. I added M291 pause confirmations for adding and removing the switch to the bed.g file when doing bed calibrations.

    IMG_3069.jpg

    IMG_3068.jpg

    Screenshot 2022-12-30 at 1.25.57 PM.png

    I can not get the Z offset and Bed calibration to work, the only way I got Z=0 was by increasing the printer height from 330 to 349, and then when trying a G32 bed calibration, the probe crashed into the bed.

    I have tried many Z trigger height offsets with no luck, even removing the config-override.g file and still stuck so I am attaching my config/home and bed files for review and hopefully someone can point me in the right direction.

    Any advice would be greatly appreciated

    Cheer Ken

    config.g
    homedelta.g
    bed.g .

    undefined undefined 2 Replies Last reply 30 Dec 2022, 12:06 Reply Quote 0
    • undefined
      droftarts administrators @KCMARINE
      last edited by 30 Dec 2022, 12:06

      @KCMARINE This is your current Z probe configuration from config.g:

      ; Z-Probe
      M558 P5 C"!io4.in" H5 F120 T6000 ; set Z probe type to switch and the dive height + speeds
      G31 P500 X0 Y0 Z20 ; set Z probe trigger value, offset and trigger height
      M557 R85 S20 ; define mesh grid

      These seem reasonable to start with. For probe calibration, see https://docs.duet3d.com/User_manual/Connecting_hardware/Z_probe_testing
      Do the static test first, to check the probe is actually working, and reports 0 when not touching, and 1000 when touching. This also covers setting the probe offset in X,Y and Z.

      When running bed.g for the first couple of times on a delta, you may need to increase the M558 H parameter. If the delta parameters (M665) are not set accurately, the movement of the effector in X and Y may not be flat, so cause a crash. Try setting it to 20 to start with, so the probe is lifted up higher between probe points. After a couple of runs, the delta parameters should be more accurately set, and you can reduce it again.

      Ian

      Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

      1 Reply Last reply Reply Quote 0
      • undefined
        dc42 administrators @KCMARINE
        last edited by dc42 30 Dec 2022, 22:24

        @KCMARINE said in DELTA FLSUN SR - 6HC - Z Probe Set Up Issues:

        I have tried many Z trigger height offsets with no luck

        It looks to me that the tip of the switch sits below the tip of the nozzle when the Z probe is fitted. So the G31 Z value will need to be negative positive. For example, if the switch tip is 10mm lower than the nozzle tip, use: G31 Z10.

        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

        1 Reply Last reply Reply Quote 0
        • undefined
          KCMARINE
          last edited by droftarts 1 Jan 2023, 22:49 31 Dec 2022, 06:40

          Thanks for your help @droftarts and @dc42. Greatly appreciated. Unfortunately, I am still at a loss - I have followed the Z_probe_testing docs repeating many times and am still not able to affect Z offset.

          I recorded several videos that show that moving either or both H and or Z has no effect on the position of the extruder in the Z direction.

          (1) H20 and Z20 homing to Z0

          2) H20 and Z0 homing to Z0

          3) H0 and Z20 homing to Z0

          4) Bed Calibration H20 and Z20

          Also, the files for
          homedelta.g config.g bed.g

          Hoping you can shed some light on this issue as I am at the end of my 3 day investigations.

          Many thanks

          1 Reply Last reply Reply Quote 0
          • undefined
            KCMARINE
            last edited by 1 Jan 2023, 03:37

            Happy New Year from Australia - my next idea is to roll back to earlier firmware and see if this it changes as it's not possible to change the Z height using the H or Z offsets in G31 on this delta setup?

            undefined 1 Reply Last reply 1 Jan 2023, 10:10 Reply Quote 0
            • undefined
              droftarts administrators @KCMARINE
              last edited by 1 Jan 2023, 10:10

              @KCMARINE it’s M558 that has the H parameter. G31 has Z. These work on delta machines; I run a delta machine myself.

              Ian

              Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

              1 Reply Last reply Reply Quote 0
              • undefined
                KCMARINE
                last edited by 1 Jan 2023, 22:22

                Hello @Ian - you are 100% correct, as I have in my config.g file attached and also shown in the videos I have taken. please let me know if you have any difficulty watching them, and you will see that changing either the M558 Hnn or the G31 Znn values does not affect the extruder Z height. Can you tell me what firmware you have installed, please, if this is working for you?

                M558 P5 C"!io4.in" H20 F120 T6000 ; set Z probe type to switch and the dive height + speeds
                G31 P500 X0 Y0 Z20 ; set Z probe trigger value, offset and trigger height
                M557 R85 S18.45 ; define mesh grid
                M558 P5 C"!io4.in" H0 F120 T6000 ; set Z probe type to switch and the dive height + speeds
                G31 P500 X0 Y0 Z0 ; set Z probe trigger value, offset and trigger height
                M557 R85 S18.45 ; define mesh grid

                In both examples, the Z effector does not change in Z height as shown in the videos

                Would appreciate any assistance

                undefined 1 Reply Last reply 2 Jan 2023, 00:18 Reply Quote 0
                • undefined
                  droftarts administrators @KCMARINE
                  last edited by 2 Jan 2023, 00:18

                  @KCMARINE I watched your videos (after fixing the links in your post). At the moment, all that is happening is that you home the X, Y and Z towers, which then sets the Z height to the value set in your delta parameters M665, which I think is currently 330. Then it looks like you are moving down to Z0; you're not probing, it's just a G1 move to Z0, or at least that's what I assume is in the "Move Z to 0" macro. It doesn't look like it's producing an error message that it couldn't reach the bed to probe.

                  The delta parameter height of 330 is just a starting point, and is currently the only thing that tells the firmware where the bed is once the effector is homed at the top of the towers. This needs to be measured accurately so that Z0 is actually where the nozzle touches the bed, but that can be done and set by probing and delta calibration. It would be best to get it within a few millimetres manually, then it will probe down to the bed the distance set by the M558 H parameter (don't set this to 0, 20 is fine to start with). The M558 H parameter is the dive height; it just sets a limit for how far up and down the probe will move between probing moves. It does not affect anything where probing moves aren't actually done, like in your videos. The same goes for G31 Z parameter. Set this back to 20, you can set this accurately once you actually get it to probe the bed.

                  My advice is to:

                  1. Get M665 H parameter more accurate. If the nozzle looks like it is 20mm off the bed at Z0, increase the M665 H parameter by 15mm. You're aiming for the nozzle to be closer to the bed that the M558 H parameter (dive height), which should be currently 20mm.
                  2. Test your probe. I can see the probe value is 0 in DWC in your videos. Check that when you press it, it goes to 1000.
                  3. Follow the test and calibrate probe page, to get the correct probe Z offset: https://docs.duet3d.com/User_manual/Connecting_hardware/Z_probe_testing
                  4. Then read the delta calibration page: https://docs.duet3d.com/User_manual/Tuning/Delta_calibration

                  Ian

                  Bed-slinger - Mini5+ WiFi/1LC | RRP Fisher v1 - D2 WiFi | Polargraph - D2 WiFi | TronXY X5S - 6HC/Roto | CNC router - 6HC | Tractus3D T1250 - D2 Eth

                  1 Reply Last reply Reply Quote 0
                  • undefined
                    KCMARINE
                    last edited by 2 Jan 2023, 05:30

                    Many thanks, @droftarts, and to all the admins for the detailed help - greatly appreciate the support. I see now where I was going off track. I was missing the requirement after updating the Znn offset and restarting the main board to then do another bed calibration (G32). The delta is now able to adjust Z to 0 and touch the paper on the build plate. Below is the config.g as a reference for any one else trying to do this upgrade for a FLSUN SR.

                    ; Configuration file for Duet 3 MB 6HC (firmware version 3.3)
                    ; executed by the firmware on start-up
                    ;
                    ; generated by RepRapFirmware Configuration Tool v3.3.15 on Sat Dec 24 2022 13:47:15 GMT+0800 (Australian Western Standard Time)

                    ; General preferences
                    M575 P1 S1 B57600 ; enable support for PanelDue
                    G90 ; send absolute coordinates...
                    M83 ; ...but relative extruder moves
                    M550 P"Duet 3" ; set printer name
                    M665 R151.67 L315 B85 H345 ; 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

                    ; Drives
                    M569 P0.0 S1 ; physical drive 0.0 goes forwards - X Motor
                    M569 P0.1 S1 ; physical drive 0.1 goes forwards - Y Motor
                    M569 P0.2 S1 ; physical drive 0.2 goes forwards - Z Motor
                    M569 P0.3 S0 ; physical drive 0.3 goes forwards - Extruder Motor
                    M584 X0.0 Y0.1 Z0.2 E0.3 ; set drive mapping
                    M350 X16 Y16 Z16 E16 I1 ; configure microstepping with interpolation
                    M92 X80.00 Y80.00 Z80.00 E338.84 ; 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 X1000 Y1000 Z1000 E500 I30 ; set motor currents (mA) and motor idle factor in per cent
                    M84 S30 ; Set idle timeout

                    ; Axis Limits
                    M208 Z0 S1 ; set minimum Z

                    ; Endstops
                    M574 X2 S1 P"io1.in" ; configure switch-type (e.g. microswitch) endstop for high end on X via pin io1.in
                    M574 Y2 S1 P"io2.in" ; configure switch-type (e.g. microswitch) endstop for high end on Y via pin io2.in
                    M574 Z2 S1 P"io3.in" ; configure switch-type (e.g. microswitch) endstop for high end on Z via pin io3.in

                    ; Z-Probe
                    M558 P5 C"!io4.in" H10 F120 T6000 ; set Z probe type to switch and the dive height + speeds
                    G31 P500 X0 Y0 Z25.755 ; set Z probe trigger value, offset and trigger height
                    M557 R85 S18.45 ; define mesh grid

                    ; Heaters
                    M308 S0 A"HOT-BED" P"temp0" Y"thermistor" T100000 B4138 ; configure sensor 0 as thermistor on pin temp0
                    M950 H0 C"out0" T0 ; create bed heater output on out0 and map it to sensor 0
                    M307 H0 R0.531 K0.495:0.000 D3.92 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 A"HOT-END" P"temp1" Y"thermistor" T100000 B4138 ; configure sensor 1 as thermistor on pin temp1
                    M950 H1 C"out1" T1 ; create nozzle heater output on out1 and map it to sensor 1
                    M307 H1 R3.823 K0.846:0.054 D4.00 E1.35 S1.00 B0 V23.8 ; disable bang-bang mode for heater and set PWM limit
                    M143 H1 S280 ; set temperature limit for heater 1 to 280C

                    ; Fans
                    ; >>Part Cooling Fan
                    M950 F0 C"out4" Q500 ; create fan 1 on pin out4 and set its frequency
                    M106 P0 S0 H-1 ; set fan 1 value. Thermostatic control is turned off
                    ; >>Hot End Fan set to start at 45 degrees
                    M950 F1 C"out7" Q500 ; create fan 0 on pin out4 and set its frequency
                    M106 P1 S1 H1 T45 ; set fan 0 value. Thermostatic control is turned on

                    ; Filament Runout - https://docs.duet3d.com/en/User_manual/Connecting_hardware/Sensors_filament
                    ;M591 D0 P2 C"io5.in" S1 ; simple sensor (high signal when filament present) connected to IO_5 for drive 0.3, enabled
                    ;M591 D0 ; display filament sensor parameters for extruder drive 0

                    ; Tools
                    M563 P0 S"SHERPA" 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
                    T0 ; select first tool
                    ;M572 D0:1 S0.025 ; Pressure advance for direct drive +++
                    M501 ; load saved parameters from non-volatile memory
                    ;M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss

                    1 Reply Last reply Reply Quote 1
                    • undefined Phaedrux marked this topic as a question 3 Jan 2023, 20:05
                    • undefined Phaedrux has marked this topic as solved 3 Jan 2023, 20:05
                    7 out of 9
                    • First post
                      7/9
                      Last post
                    Unless otherwise noted, all forum content is licensed under CC-BY-SA