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

    Duet 3 rrf3.1.1 Z offset

    Scheduled Pinned Locked Moved Unsolved
    Tuning and tweaking
    3
    12
    304
    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.
    • mrenz999undefined
      mrenz999
      last edited by

      I can't seem to get my z offset to the bed to change anything. I have set it to 6 and to -6 and it stays the same.

      ; Configuration file for Duet 3 (firmware version 3)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v3.1.3 on Tue Jun 16 2020 08:02:01 GMT-0700 (Pacific Daylight Time)

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

      ; Drives
      M569 P0.0 S0 ; physical drive 0.0 goes forwards
      M569 P0.1 S1 ; physical drive 0.1 goes forwards
      M569 P0.2 S0 ; physical drive 0.2 goes backwards
      M569 P0.3 S1 ; physical drive 0.3 goes forwards
      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 Z400.00 E415.00 ; set steps per mm
      M566 X900.00 Y900.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
      M203 X9000.00 Y9000.00 Z480.00 E3600.00 ; set maximum speeds (mm/min)
      M201 X2500.00 Y2500.00 Z20.00 1000.00 ; set accelerations (mm/s^2)
      M906 X800 Y800 Z800 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
      M84 S30 ; Set idle timeout

      ; Axis Limits
      M208 X0 Y0 Z0 S1 ; set axis minima
      M208 X330 Y330 Z400 S0 ; set axis maxima

      ; Endstops
      M574 X1 S1 P"!io0.in" ; configure active-high endstop for low end on X via pin !io0.in
      M574 Y1 S1 P"!io1.in" ; configure active-high endstop for low end on Y via pin !io1.in
      M574 Z1 S2 ; configure Z-probe endstop for low end on Z

      ; Z-Probe
      M558 P1 C"!io3.in+io3.out" H5 F120 T6000 ; set Z probe type to modulated and the dive height + speeds
      ;M558 H30 ;*** Remove this line after delta calibration
      G31 P500 X0 Y40 Z-3 ; set Z probe trigger value, offset and trigger height
      M557 X30:300 Y20:300 S20 ; define mesh grid

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

        What is your probe?

        Please post your homeall.g file.

        Z-Bot CoreXY Build | Thingiverse Profile

        1 Reply Last reply Reply Quote 0
        • mrenz999undefined
          mrenz999
          last edited by

          My probe is a simple IR probe. Seems to be working fine. Just won't change height when I start a print. I never use homeall Just x then y the z. But I'm not opposed 🙂

          ; generated by RepRapFirmware Configuration Tool v3.1.1 on Thu Jun 04 2020 11:20:25 GMT-0700 (Pacific Daylight Time)

          G91 ; relative positioning

          G1 H2 Z5 F6000 ; lift Z relative to current position

          G1 H1 X-335 Y-325 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)

          G1 X5 Y5 F6000 ; go back a few mm

          G1 H1 X-335 Y-325 F360 ; move slowly to X and Y axis endstops once more (second pass)

          G1 X150 Y150 F9000 ; go to first bed probe point and home Z

          G30 ; probe the bed

          ; Uncomment the following lines to lift Z after probing

          G91 ; relative positioning

          G1 Z5 F100 ; lift Z relative to current position

          G90 ; absolute positioning

          ;G1 X0 Y0 ; return to parked position

          Phaedruxundefined JoergS5undefined 3 Replies Last reply Reply Quote 0
          • Phaedruxundefined
            Phaedrux Moderator @mrenz999
            last edited by

            @mrenz999 said in Duet 3 rrf3.1.1 Z offset:

            never use homeall Just x then y the z

            In that case post those files.

            Z-Bot CoreXY Build | Thingiverse Profile

            mrenz999undefined 1 Reply Last reply Reply Quote 0
            • JoergS5undefined
              JoergS5 @mrenz999
              last edited by JoergS5

              @mrenz999 this homing file would not work. The xy move stops at the first x or y endstop, repeated a second time, also stopping at the first endstop. Necessary is after the first stop to move x and y separately, so the other endstop is reached also. In ducumentation is an example.
              Please see https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCoreXYPrinter#Section_homeall_g_file
              but S1 replaced by H1

              mrenz999undefined 1 Reply Last reply Reply Quote 0
              • mrenz999undefined
                mrenz999 @Phaedrux
                last edited by

                @Phaedrux I would like to use the homeall but it doesn't work so I use the individual ones.

                ; homex.g
                ; called to home the X axis
                ;
                ; generated by RepRapFirmware Configuration Tool v3.1.3 on Sat Jun 13 2020 19:59:21 GMT-0700 (Pacific Daylight Time)
                G91 ; relative positioning
                G1 H2 Z5 F6000 ; lift Z relative to current position
                G1 H1 X-335 F1800 ; move quickly to X axis endstop and stop there (first pass)
                G1 X5 F6000 ; go back a few mm
                G1 H1 X-335 F360 ; move slowly to X axis endstop once more (second pass)
                G1 H2 Z-5 F6000 ; lower Z again
                G90 ; absolute positioning

                ; homey.g
                ; called to home the Y axis
                ;
                ; generated by RepRapFirmware Configuration Tool v3.1.3 on Sat Jun 13 2020 19:59:22 GMT-0700 (Pacific Daylight Time)
                G91 ; relative positioning
                G1 H2 Z5 F6000 ; lift Z relative to current position
                G1 H1 Y-335 F1800 ; move quickly to Y axis endstop and stop there (first pass)
                G1 Y5 F6000 ; go back a few mm
                G1 H1 Y-335 F360 ; move slowly to Y axis endstop once more (second pass)
                G1 H2 Z-5 F6000 ; lower Z again
                G90 ; absolute positioning

                ; homez.g

                ; called to home the Z axis
                ;
                ; generated by RepRapFirmware Configuration Tool v3.1.1 on Thu Jun 04 2020 11:20:25 GMT-0700 (Pacific Daylight Time)
                G91 ; relative positioning
                G1 H2 Z5 F6000 ; lift Z relative to current position
                G1 X150 Y150 F9000 ; go to first bed probe point and home Z
                G30 ; home z by probing the bed
                ; Uncomment the following lines to lift Z after probing
                ;G91 ; relative positioning
                ;G1 Z5 F100 ; lift Z relative to current position
                G90 ; absolute positioning

                1 Reply Last reply Reply Quote 0
                • mrenz999undefined
                  mrenz999 @JoergS5
                  last edited by

                  @JoergS5 Thank you for the link. I will try to implement those and see what happens.

                  JoergS5undefined 1 Reply Last reply Reply Quote 0
                  • JoergS5undefined
                    JoergS5 @mrenz999
                    last edited by JoergS5

                    @mrenz999 in worst case -335 may not reach the endstop, just use e.g. -400 for x and y movements, it stops when reaching the endstop.

                    At M201 is missing the E for the last value, please add.

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

                      @mrenz999 said in Duet 3 rrf3.1.1 Z offset:

                      Just won't change height when I start a print.

                      Please post your slicer start gcode as well.

                      Your homeall looks to mirror your individual homing files. What exactly happens when you homeall?

                      @mrenz999 said in Duet 3 rrf3.1.1 Z offset:

                      ; Z-Probe
                      M558 P1 C"!io3.in+io3.out" H5 F120 T6000 ; set Z probe type to modulated and the dive height + speeds
                      ;M558 H30 ;*** Remove this line after delta calibration
                      G31 P500 X0 Y40 Z-3 ; set Z probe trigger value, offset and trigger height
                      M557 X30:300 Y20:300 S20 ; define mesh grid

                      You appear to be missing an M950 for your probe pin which is required for RRF3. Does it come later? Did you hand create this config file or did you get it from the configurator?

                      Can you post the entirety of your config.g?

                      Also please post the results of M122.

                      Trying to duplicate your config in the online configurator I seem to get something similar without an M950 as well. Maybe I'm confused myself.

                      ; Endstops
                      M574 X1 S1 P"io0.in"                         ; configure active-high endstop for low end on X via pin io0.in
                      M574 Y1 S1 P"io1.in"                         ; configure active-high endstop for low end on Y via pin io1.in
                      M574 Z1 S2                                   ; configure Z-probe endstop for low end on Z
                      
                      ; Z-Probe
                      M558 P2 C"io3.in+io3.out" H5 F120 T6000      ; set Z probe type to modulated and the dive height + speeds
                      G31 P500 X0 Y0 Z2.5                          ; set Z probe trigger value, offset and trigger height
                      M557 X15:215 Y15:195 S20                     ; define mesh grid
                      

                      Z-Bot CoreXY Build | Thingiverse Profile

                      mrenz999undefined Phaedruxundefined 2 Replies Last reply Reply Quote 0
                      • mrenz999undefined
                        mrenz999 @Phaedrux
                        last edited by

                        @Phaedrux
                        ; Configuration file for Duet 3 (firmware version 3)
                        ; executed by the firmware on start-up
                        ;
                        ; generated by RepRapFirmware Configuration Tool v3.1.3 on Tue Jun 16 2020 08:02:01 GMT-0700 (Pacific Daylight Time)

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

                        ; Drives
                        M569 P0.0 S0 ; physical drive 0.0 goes forwards
                        M569 P0.1 S1 ; physical drive 0.1 goes forwards
                        M569 P0.2 S0 ; physical drive 0.2 goes backwards
                        M569 P0.3 S1 ; physical drive 0.3 goes forwards
                        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 Z400.00 E415.00 ; set steps per mm
                        M566 X900.00 Y900.00 Z12.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
                        M203 X9000.00 Y9000.00 Z480.00 E3600.00 ; set maximum speeds (mm/min)
                        M201 X2500.00 Y2500.00 Z20.00 1000.00 ; set accelerations (mm/s^2)
                        M906 X800 Y800 Z800 E800 I30 ; set motor currents (mA) and motor idle factor in per cent
                        M84 S30 ; Set idle timeout

                        ; Axis Limits
                        M208 X0 Y0 Z0 S1 ; set axis minima
                        M208 X330 Y330 Z400 S0 ; set axis maxima

                        ; Endstops
                        M574 X1 S1 P"!io0.in" ; configure active-high endstop for low end on X via pin !io0.in
                        M574 Y1 S1 P"!io1.in" ; configure active-high endstop for low end on Y via pin !io1.in
                        M574 Z1 S2 ; configure Z-probe endstop for low end on Z

                        ; Z-Probe
                        M558 P1 C"!io3.in+io3.out" H5 F120 T6000 ; set Z probe type to modulated and the dive height + speeds
                        ;M558 H30 ;*** Remove this line after delta calibration
                        G31 P500 X0 Y40 Z-3 ; set Z probe trigger value, offset and trigger height
                        M557 X30:300 Y20:300 S20 ; define mesh grid

                        ; Heaters
                        M308 S0 P"temp0" Y"thermistor" T100000 B4008 ; 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 B0 S1.00 ; 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"temp1" Y"thermistor" T100000 B3950 ; 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 B0 S1.00 ; disable bang-bang mode for heater and set PWM limit

                        ; Fans
                        M950 F0 C"out7" Q500 ; create fan 0 on pin out7 and set its frequency
                        M106 P0 S1 H-1 ; set fan 0 value. Thermostatic control is turned off
                        M950 F1 C"out8" Q500 ; create fan 1 on pin out8 and set its frequency
                        M106 P1 S1 H1 T45 ; set fan 1 value. Thermostatic control is turned on
                        M950 F2 C"out9" Q500 ; create fan 2 on pin out9 and set its frequency
                        M106 P2 S1 H-1 ; set fan 2 value. Thermostatic control is turned off

                        ; 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
                        M575 P1 S1 B57600 ; enable support for PanelDue
                        M911 S10 R11 P"M913 X0 Y0 G91 M83 G1 Z3 E-5 F1000" ; set voltage thresholds and actions to run on power loss
                        M501

                        I am not using and G code in my slicer yet. Wanted to make sure I wasn't causing additional issues.

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

                          @Phaedrux said in Duet 3 rrf3.1.1 Z offset:

                          You appear to be missing an M950 for your probe pin which is required for RRF3.

                          Sorry, ignore this. I've been looking at too many BLTouch threads. You do not need a M950 for the IR probe because there is obviously no servo to control!

                          Going back to your original problem description:

                          @mrenz999 said in Duet 3 rrf3.1.1 Z offset:

                          I can't seem to get my z offset to the bed to change anything. I have set it to 6 and to -6 and it stays the same.

                          Where are you trying to set it and how are you measuring the result?

                          For the IR probe you should have a G31 Z with a positive value (the probe triggers before the nozzle hits the bed. Negative would mean the nozzle touches and presses into the bed.)

                          Have you gone through this? https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe

                          Z-Bot CoreXY Build | Thingiverse Profile

                          1 Reply Last reply Reply Quote 0
                          • JoergS5undefined
                            JoergS5 @mrenz999
                            last edited by

                            @mrenz999 said in Duet 3 rrf3.1.1 Z offset:

                            M201 X2500.00 Y2500.00 Z20.00 1000.00 ; set accelerations (mm/s^2)

                            your E is still missing, please replace
                            M201 X2500.00 Y2500.00 Z20.00 1000.00 ; set accelerations (mm/s^2)
                            by
                            M201 X2500.00 Y2500.00 Z20.00 E1000.00 ; set accelerations (mm/s^2)

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