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

    Cura 4.2.1 Config help

    Scheduled Pinned Locked Moved
    General Discussion
    8
    40
    2.4k
    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.
    • Shaunundefined
      Shaun @droftarts
      last edited by Shaun

      @droftarts said in Cura 4.2.1 Config help:

      M350

      ; Configuration file for Duet WiFi (firmware version 2.03)
      ; executed by the firmware on start-up
      ;
      ; generated by RepRapFirmware Configuration Tool v2.0.3 on Fri Sep 13 2019 19:45:33 GMT+0100 (British Summer Time)

      ; General preferences
      G90 ; send absolute coordinates...
      M83 ; ...but relative extruder moves
      M550 P"CR10" ; set printer name

      ; 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 forwards
      M569 P1 S1 ; physical drive 1 goes forwards
      M569 P2 S1 ; physical drive 2 goes forwards
      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 X80.00 Y80.00 Z4000.00 E1222.00 ; set steps per mm
      M566 X900.00 Y900.00 Z6.00 E120.00 ; set maximum instantaneous speed changes (mm/min)
      M203 X6000.00 Y6000.00 Z180.00 E1200.00 ; set maximum speeds (mm/min)
      M201 X500.00 Y500.00 Z10.00 E250.00 ; set accelerations (mm/s^2)
      M906 X950 Y950 Z950 E950 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 X280 Y280 Z350 S0 ; set axis maxima
      ;M557 X10:280 Y35:270 S12.6 ; Define mesh grid for full bed print
      ;G31 X-43.2 Y31.9 Z2.132 P25

      ; Endstops
      M574 X1 Y1 Z1 S1 ; set active high endstops
      ;M558 P5 X0 Y0 Z1 H7 F500 T4000 ; Set Z Probe to type Switch or Digital output where Z probe connector is used
      ;M31 P25 X0 Y0 Z1 ; Set Z probe trigger value, offset and trigger height

      ; Z-Probe
      ;M574 Z1 S2 ; set endstops controlled by probe
      M307 H7 A-1 C-1 D-1 ; disable heater on PWM channel for BLTouch
      M558 P5 H1 F500 T5000 ; set Z probe type to bltouch and the dive height + speeds
      G31 P25 X8.5 Y-50 Z0.38 ; set Z probe trigger value, offset and trigger height
      M557 X5:205 Y5:205 S10 ; define mesh grid

      ; Heaters
      M307 H0 B0 S1.00 ; disable bang-bang mode for the bed heater and set PWM limit
      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 S260 ; set temperature limit for heater 1 to 260C

      ;Disable Heater to free up PWM channel
      M307 H7 A-1 C-1 D-1 ; disable heater for BLTouch

      ; Fans
      M106 P0 S1 I0 F500 H1 T45 ; set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned on
      M106 P1 S1 I0 F500 H1 T150 ; set fan 1 value, PWM signal inversion and frequency. 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
      M501

      10:29:39 AMM92
      Steps/mm: X: 80.000, Y: 80.000, Z: 4000.000, E: 1222.000

      M350

      ; config-override.g file generated in response to M500 at 2019-09-13 22:58
      ; This is a system-generated file - do not edit
      ; Heater model parameters
      M307 H0 A87.8 C796.7 D0.7 S1.00 V12.1 B0
      M307 H1 A419.9 C136.9 D4.1 S1.00 V11.9 B0
      M307 H2 A340.0 C140.0 D5.5 S1.00 V0.0 B0
      M307 H3 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
      ;M307 H7 A340.0 C140.0 D5.5 S1.00 V0.0 B0
      G10 L2 P1 X0.00 Y0.00 Z0.00
      G10 L2 P2 X0.00 Y0.00 Z0.00
      G10 L2 P3 X0.00 Y0.00 Z0.00
      G10 L2 P4 X0.00 Y0.00 Z0.00
      G10 L2 P5 X0.00 Y0.00 Z0.00
      G10 L2 P6 X0.00 Y0.00 Z0.00
      G10 L2 P7 X0.00 Y0.00 Z0.00
      G10 L2 P8 X0.00 Y0.00 Z0.00
      G10 L2 P9 X0.00 Y0.00 Z0.00

      Microstepping - X:16(on), Y:16(on), Z:16(on), E:16(on)

      I have checked and when i send a +5 Z moves 5cm up.

      Phaedruxundefined 2 Replies Last reply Reply Quote 0
      • Phaedruxundefined
        Phaedrux Moderator @Shaun
        last edited by

        @Shaun said in Cura 4.2.1 Config help:

        M92 X80.00 Y80.00 Z4000.00 E1222.00 ; set steps per mm

        Z4000 for the steps per mm is probably an order of magnitude too high for a CR-10. Z400 is likely the correct value.

        Z-Bot CoreXY Build | Thingiverse Profile

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

          @Shaun said in Cura 4.2.1 Config help:

          I have checked and when i send a +5 Z moves 5cm up.

          Z+5 should only move 5mm.

          Z-Bot CoreXY Build | Thingiverse Profile

          1 Reply Last reply Reply Quote 1
          • Shaunundefined
            Shaun
            last edited by

            morning

            I have checked every measurement now. movement is exact. Layer 1 still seems to be 2mm above.

            wilrikerundefined 1 Reply Last reply Reply Quote 0
            • wilrikerundefined
              wilriker @Shaun
              last edited by

              @Shaun Can you please post the contents of your homing files then?

              Manuel
              Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
              with probably always latest firmware/DWC (incl. betas or self-compiled)
              My Tool Collection

              Shaunundefined 1 Reply Last reply Reply Quote 0
              • Shaunundefined
                Shaun @wilriker
                last edited by

                @wilriker said in Cura 4.2.1 Config help:

                @Shaun Can you please post the contents of your homing files then?

                ; homex.g
                ; called to home the X axis
                ;
                ; generated by RepRapFirmware Configuration Tool v2.0.3 on Fri Sep 13 2019 19:45:33 GMT+0100 (British Summer Time)
                G91 ; relative positioning
                G1 Z2.5 F6000 S2 ; lift Z relative to current position
                G1 S1 X-305 F1800 ; move quickly to X axis endstop and stop there (first pass)
                G1 X5 F6000 ; go back a few mm
                G1 S1 X-305 F360 ; move slowly to X axis endstop once more (second pass)
                G1 Z-2.5 F6000 S2 ; lower Z again
                G90 ; absolute positioning

                ; homey.g
                ; called to home the Y axis
                ;
                ; generated by RepRapFirmware Configuration Tool v2.0.3 on Fri Sep 13 2019 19:45:33 GMT+0100 (British Summer Time)
                G91 ; relative positioning
                G1 Z2.5 F6000 S2 ; lift Z relative to current position
                G1 S1 Y-305 F1800 ; move quickly to Y axis endstop and stop there (first pass)
                G1 Y5 F6000 ; go back a few mm
                G1 S1 Y-305 F360 ; move slowly to Y axis endstop once more (second pass)
                G1 Z-2.5 F6000 S2 ; lower Z again
                G90 ; absolute positioning

                ; homez.g
                ; called to home the Z axis
                ;
                ; generated by RepRapFirmware Configuration Tool v2.0.3 on Fri Sep 13 2019 19:45:33 GMT+0100 (British Summer Time)
                G91 ; relative positioning
                ;G1 Z2.5 F6000 S2 ; lift Z relative to current position
                G1 S1 Z-405 F1800 ; move Z down until the endstop is triggered
                G92 Z0 ; set Z position to axis minimum (you may want to adjust this)

                ; Uncomment the following lines to lift Z after probing
                G91 ; relative positioning
                G1 S2 Z15 F100 ; lift Z relative to current position
                G90 ; absolute positioning

                ; homeall.g
                ; called to home all axes
                ;
                ; generated by RepRapFirmware Configuration Tool v2.0.3 on Fri Sep 13 2019 19:45:33 GMT+0100 (British Summer Time)
                G91 ; relative positioning
                G1 Z5 F6000 S2 ; lift Z relative to current position
                G1 S1 X-305 Y-305 F1800 ; move quickly to X and Y axis endstops and stop there (first pass)
                G1 X5 Y5 F6000 ; go back a few mm
                G1 S1 X-305 Y-305 F360 ; move slowly to X and Y axis endstops once more (second pass)
                G1 S1 Z-405 F1800 ; move Z down stopping at the endstop
                G90 ; absolute positioning
                G92 Z0 ; set Z to axis minimum (you may want to adjust this)

                ; Uncomment the following lines to lift Z after probing
                G91 ; relative positioning
                G1 S2 Z15 F100 ; lift Z relative to current position
                G90 ; absolute positioning

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

                  Your homing files are configured for endstop switch homing and now Z probe homing.

                  https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCartesianPrinter#Section_Homing_Z_using_a_Z_probe

                  Instead of this:

                  G1 S1 Z-405 F1800 ; move Z down stopping at the endstop
                  G90 ; absolute positioning
                  G92 Z0 ; set Z to axis minimum (you may want to adjust this)
                  

                  You need a G30 command to probe the bed.

                  And your BLTouch command should be updated to this:
                  M558 P9 H5 F100 T5000 R0.5

                  And I assume you've gone through this?
                  https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe

                  Z-Bot CoreXY Build | Thingiverse Profile

                  Shaunundefined 1 Reply Last reply Reply Quote 0
                  • Shaunundefined
                    Shaun @Phaedrux
                    last edited by

                    @Phaedrux said in Cura 4.2.1 Config help:

                    Your homing files are configured for endstop switch homing and now Z probe homing.

                    https://duet3d.dozuki.com/Wiki/ConfiguringRepRapFirmwareCartesianPrinter#Section_Homing_Z_using_a_Z_probe

                    Instead of this:

                    G1 S1 Z-405 F1800 ; move Z down stopping at the endstop
                    G90 ; absolute positioning
                    G92 Z0 ; set Z to axis minimum (you may want to adjust this)
                    

                    You need a G30 command to probe the bed.

                    And your BLTouch command should be updated to this:
                    M558 P9 H5 F100 T5000 R0.5

                    And I assume you've gone through this?
                    https://duet3d.dozuki.com/Wiki/Test_and_calibrate_the_Z_probe

                    Thanks for the feedback, think i figured it all out shortly after updating this.

                    I want to use my endstop and not the probe which seems to be working just fine.

                    my issue was that i dont think i hat the hotend touching the bed before starting the calibration. |The result was an offset of 2. i printed the golf marker in rough and super fine without any issues. Will move onto something bigger and update tomorrow.

                    1 Reply Last reply Reply Quote 0
                    • Shaunundefined
                      Shaun
                      last edited by

                      OK found the following which could be contributing to my problems..

                      When i "Home All" Z doesnt stop by hitting the endstop. it doesnt even trigger the endstop. When i "Home Z" the endstop is hit and triggered.

                      ; homeall.g
                      ; called to home all axes
                      ;
                      ; generated by RepRapFirmware Configuration Tool v2.0.3 on Fri Sep 13 2019 19:45:33 GMT+0100 (British Summer Time)
                      G91 ; relative positioning
                      G1 Z5 F6000 S2 ; lift Z relative to current position
                      G1 S1 X-305 Y-305 F2000 ; move quickly to X and Y axis endstops and stop there (first pass)
                      G1 X5 Y5 F6000 ; go back a few mm
                      G1 S1 X-305 Y-305 F360 ; move slowly to X and Y axis endstops once more (second pass)
                      G1 S1 Z-405 F2000 ; move Z down stopping at the endstop
                      G90 ; absolute positioning
                      G92 Z0 ; set Z to axis minimum (you may want to adjust this)

                      ; Uncomment the following lines to lift Z after probing
                      G91 ; relative positioning
                      G1 S2 Z0 F500 ; lift Z relative to current position
                      G90 ; absolute positioning

                      ; homez.g
                      ; called to home the Z axis
                      ;
                      ; generated by RepRapFirmware Configuration Tool v2.0.3 on Fri Sep 13 2019 19:45:33 GMT+0100 (British Summer Time)
                      G91 ; relative positioning
                      ;G1 Z2.5 F6000 S2 ; lift Z relative to current position
                      G1 S1 Z-405 F1800 ; move Z down until the endstop is triggered
                      G92 Z0 ; set Z position to axis minimum (you may want to adjust this)

                      ; Uncomment the following lines to lift Z after probing
                      G91 ; relative positioning
                      G1 S2 Z0 F500 ; lift Z relative to current position
                      G90 ; absolute positioning

                      1 Reply Last reply Reply Quote 0
                      • Shaunundefined
                        Shaun
                        last edited by

                        Silly question, how do i clear any settings saved to the board memory? Ive made so many changes and think starting from 0 would be a good idea.

                        wilrikerundefined 1 Reply Last reply Reply Quote 0
                        • wilrikerundefined
                          wilriker @Shaun
                          last edited by

                          @Shaun Either run M999, push the reset button or power-cycle. In all cases it will reload config.g discarding all changes made since the last start.

                          Manuel
                          Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
                          with probably always latest firmware/DWC (incl. betas or self-compiled)
                          My Tool Collection

                          Shaunundefined 1 Reply Last reply Reply Quote 0
                          • Shaunundefined
                            Shaun @wilriker
                            last edited by

                            @wilriker Thanks. Cant seem to get z to move down and trigger the endstop. I have loaded a clean config.g file. Its as if a setting is telling z to stop when i gets to 0 which isnt the high of the endstop.

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

                              @Shaun said in Cura 4.2.1 Config help:

                              Its as if a setting is telling z to stop when i gets to 0 which isnt the high of the endstop.

                              Can you explain what you mean by that?

                              Z-Bot CoreXY Build | Thingiverse Profile

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