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

    Automatic Bed Tilt Calibration, G30 S4, and G30 S-2

    Scheduled Pinned Locked Moved
    General Discussion
    5
    46
    2.8k
    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.
    • BStumpundefined
      BStump @jay_s_uk
      last edited by

      @jay_s_uk said in Automatic Bed Tilt Calibration, G30 S4, and G30 S-2:

      @bstump what version of RRF are you running?
      Post the output of M115

      eec6465d-fbf4-4e95-848b-e6cd8c915051-image.png

      BStumpundefined 1 Reply Last reply Reply Quote 0
      • BStumpundefined
        BStump @BStump
        last edited by

        @bstump said in Automatic Bed Tilt Calibration, G30 S4, and G30 S-2:

        @jay_s_uk said in Automatic Bed Tilt Calibration, G30 S4, and G30 S-2:

        @bstump what version of RRF are you running?
        Post the output of M115

        eec6465d-fbf4-4e95-848b-e6cd8c915051-image.png

        Looks to be the latest RRF

        BStumpundefined 1 Reply Last reply Reply Quote 0
        • BStumpundefined
          BStump @BStump
          last edited by

          @bstump said in Automatic Bed Tilt Calibration, G30 S4, and G30 S-2:

          @bstump said in Automatic Bed Tilt Calibration, G30 S4, and G30 S-2:

          @jay_s_uk said in Automatic Bed Tilt Calibration, G30 S4, and G30 S-2:

          @bstump what version of RRF are you running?
          Post the output of M115

          eec6465d-fbf4-4e95-848b-e6cd8c915051-image.png

          Looks to be the latest RRF

          But simple thing like

          if !move.axes[0].homed || !move.axes[1].homed || !move.axes[2].homed
             M117 "Homing"
             G28 
          

          cause errors

          25567d08-dae0-439f-924f-953ccdc8444a-image.png

          It is like it does not like many commands or expressions

          jay_s_ukundefined 1 Reply Last reply Reply Quote 0
          • jay_s_ukundefined
            jay_s_uk @BStump
            last edited by

            @bstump none of my macro will work for you then. Its for rrf 3.2 and above.
            You may want to look at upgrading as its so much easier to accomplish in RRF 3. The latest is RRF 3.3.0

            to quote @Phaedrux

            Upload these 3 zip files, one at a time in the system tab. Don't extract them. Reboot after each. Use M115 to verify the firmware has been applied.
            https://github.com/Duet3D/RepRapFirmware/releases/download/2.05.1/Duet2Firmware-2.05.1.zip
            https://github.com/Duet3D/RepRapFirmware/releases/download/3.0/Duet2and3Firmware-3.0.zip
            https://github.com/Duet3D/RepRapFirmware/releases/download/3.3/Duet2and3Firmware-3.3.zip
            That will get your firmware and DWC up to date.
            
            You can see the change logs here:
            https://github.com/Duet3D/RepRapFirmware/wiki/Changelog-RRF-3.x
            
            For your config, might be a good idea to run through the configurator tool and generate a fresh set for RRF3.
            https://configtool.reprapfirmware.org/Start
            
            Backup your existing config files in the sys folder in case you want to switch back to RRF3. IT’s easy to switch back and forth, just upload the zip file for the version you want and then upload your config files.
            
            These documents will come in handy during the conversion.
            https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview
            https://duet3d.dozuki.com/Wiki/Gcode```

            Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

            BStumpundefined 1 Reply Last reply Reply Quote 0
            • BStumpundefined
              BStump @jay_s_uk
              last edited by

              @jay_s_uk said in Automatic Bed Tilt Calibration, G30 S4, and G30 S-2:

              @bstump none of my macro will work for you then. Its for rrf 3.2 and above.
              You may want to look at upgrading as its so much easier to accomplish in RRF 3. The latest is RRF 3.3.0

              to quote @Phaedrux

              Upload these 3 zip files, one at a time in the system tab. Don't extract them. Reboot after each. Use M115 to verify the firmware has been applied.
              https://github.com/Duet3D/RepRapFirmware/releases/download/2.05.1/Duet2Firmware-2.05.1.zip
              https://github.com/Duet3D/RepRapFirmware/releases/download/3.0/Duet2and3Firmware-3.0.zip
              https://github.com/Duet3D/RepRapFirmware/releases/download/3.3/Duet2and3Firmware-3.3.zip
              That will get your firmware and DWC up to date.
              
              You can see the change logs here:
              https://github.com/Duet3D/RepRapFirmware/wiki/Changelog-RRF-3.x
              
              For your config, might be a good idea to run through the configurator tool and generate a fresh set for RRF3.
              https://configtool.reprapfirmware.org/Start
              
              Backup your existing config files in the sys folder in case you want to switch back to RRF3. IT’s easy to switch back and forth, just upload the zip file for the version you want and then upload your config files.
              
              These documents will come in handy during the conversion.
              https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview
              https://duet3d.dozuki.com/Wiki/Gcode```
              

              We are on 2.05.1. Do we need to implement that first file? Looks to be the current RRF.

              jay_s_ukundefined 1 Reply Last reply Reply Quote 0
              • jay_s_ukundefined
                jay_s_uk @BStump
                last edited by

                @bstump 2.05.1 is not the current RRF and hasn't been for ~18 months

                Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

                BStumpundefined 1 Reply Last reply Reply Quote 0
                • BStumpundefined
                  BStump @jay_s_uk
                  last edited by

                  @jay_s_uk said in Automatic Bed Tilt Calibration, G30 S4, and G30 S-2:

                  @bstump 2.05.1 is not the current RRF and hasn't been for ~18 months

                  I mean our current RRF

                  BStumpundefined 1 Reply Last reply Reply Quote 0
                  • BStumpundefined
                    BStump @BStump
                    last edited by

                    @bstump said in Automatic Bed Tilt Calibration, G30 S4, and G30 S-2:

                    @jay_s_uk said in Automatic Bed Tilt Calibration, G30 S4, and G30 S-2:

                    @bstump 2.05.1 is not the current RRF and hasn't been for ~18 months

                    I mean our current RRF

                    734e8a45-bb43-4d58-84d7-54bda0dc7c65-image.png

                    fcwiltundefined 1 Reply Last reply Reply Quote 0
                    • fcwiltundefined
                      fcwilt @BStump
                      last edited by

                      @bstump

                      One question: do you have a printer with multiple tools?

                      One suggestion: take the time to update to the current v3 firmware - there are many, many improvements and fixes. It involves some changes to your configuration files but it takes less time than you might think. I put it off for a long time only to find it wasn't that much work.

                      Frederick

                      Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                      BStumpundefined 1 Reply Last reply Reply Quote 0
                      • BStumpundefined
                        BStump @fcwilt
                        last edited by

                        @fcwilt Dual extruder, 4 Z steppers, LEDs, and even and external air filter tried to the contoller

                        fcwiltundefined 1 Reply Last reply Reply Quote 0
                        • BStumpundefined
                          BStump
                          last edited by

                          Were there I/O mapping changes from 2.05.1 to 3.3? We have an error coming up with regards to the LED Current callout is M42 P27 S100 but it says the P is too high.

                          fcwiltundefined 1 Reply Last reply Reply Quote 0
                          • fcwiltundefined
                            fcwilt @BStump
                            last edited by

                            @bstump said in Automatic Bed Tilt Calibration, G30 S4, and G30 S-2:

                            Were there I/O mapping changes from 2.05.1 to 3.3? We have an error coming up with regards to the LED Current callout is M42 P27 S100 but it says the P is too high.

                            Did you see this regards v2 to v3:

                            In RRF3, before you can use M42 you must create a GPIO port using M950. Then in the M42 command, the P parameter is the GPIO port number, not the logical pin number. Duet 2 supports up to 10 GPIO ports, numbered 0 to 9. No GPIO ports are allocated by default.

                            In RRF3, the F and I parameters are no longer supported in M42. Instead, use the F and I parameters in M950 when you create the GPIO port.

                            Example - RRF2 code:

                            M42 P3 I1 S0.5 F500 ; set Heater 3 pin to 50% PWM at 500Hz

                            Example - RRF3 code:

                            M950 P0 C"exp.heater3" Q500 ; allocate GPIO port 0 to heater3 on expansion connector, 500Hz

                            M42 P0 S0.5 ; set 50% PWM on GPIO port 0

                            Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                            BStumpundefined 1 Reply Last reply Reply Quote 0
                            • fcwiltundefined
                              fcwilt @BStump
                              last edited by

                              @bstump said in Automatic Bed Tilt Calibration, G30 S4, and G30 S-2:

                              @fcwilt Dual extruder, 4 Z steppers, LEDs, and even and external air filter tried to the contoller

                              Does each extruder have it's own Z probe?

                              Frederick

                              Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                              BStumpundefined 1 Reply Last reply Reply Quote 0
                              • BStumpundefined
                                BStump @fcwilt
                                last edited by

                                @fcwilt We found the change logs https://github.com/Duet3D/RepRapFirmware/wiki/Changelog-RRF-3.x#reprapfirmware-30 and https://duet3d.dozuki.com/Wiki/RepRapFirmware_3_overview, and are going thru them to adjust our macros.

                                1 Reply Last reply Reply Quote 0
                                • BStumpundefined
                                  BStump @fcwilt
                                  last edited by

                                  @fcwilt said in Automatic Bed Tilt Calibration, G30 S4, and G30 S-2:

                                  @bstump said in Automatic Bed Tilt Calibration, G30 S4, and G30 S-2:

                                  @fcwilt Dual extruder, 4 Z steppers, LEDs, and even and external air filter tried to the contoller

                                  Does each extruder have it's own Z probe?

                                  Frederick

                                  No, it is shared between the primary and secondary extruders.

                                  70cae85b-fc55-41bd-a6c0-5eabef7caf41-image.png

                                  21a5b6b9-ebc0-4ab9-86e2-333ed4c3265b-image.png

                                  fcwiltundefined 1 Reply Last reply Reply Quote 0
                                  • fcwiltundefined
                                    fcwilt @BStump
                                    last edited by

                                    @bstump said in Automatic Bed Tilt Calibration, G30 S4, and G30 S-2:

                                    No, it is shared between the primary and secondary extruders.

                                    70cae85b-fc55-41bd-a6c0-5eabef7caf41-image.png

                                    21a5b6b9-ebc0-4ab9-86e2-333ed4c3265b-image.png

                                    Thanks.

                                    Nice drawings.

                                    Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

                                    BStumpundefined 1 Reply Last reply Reply Quote 0
                                    • BStumpundefined
                                      BStump @fcwilt
                                      last edited by

                                      @fcwilt said in Automatic Bed Tilt Calibration, G30 S4, and G30 S-2:

                                      @bstump said in Automatic Bed Tilt Calibration, G30 S4, and G30 S-2:

                                      No, it is shared between the primary and secondary extruders.

                                      Thanks.

                                      Nice drawings.

                                      Not my models. They are Modix's

                                      fcwiltundefined 1 Reply Last reply Reply Quote 0
                                      • fcwiltundefined
                                        fcwilt @BStump
                                        last edited by

                                        @bstump said in Automatic Bed Tilt Calibration, G30 S4, and G30 S-2:

                                        Not my models. They are Modix's

                                        He's one of the Marvel Comic good guys?

                                        Printers: a small Utilmaker style, a small CoreXY and a E3D MS/TC setup. Various hotends. Using Duet 3 hardware running 3.4.6

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

                                          @bstump said in Automatic Bed Tilt Calibration, G30 S4, and G30 S-2:

                                          M375 ; Loads the grid matrix file (Heightmap)

                                          Best not to load the heightmap before you do the tilt correction. So remove that from homeall and add it to your slicer start gcode instead so that the heightmap is loaded before a print.

                                          Also don't call M584 inside of homeall unless you need to split and join drivers to axis.

                                          Also, I don't think you need to use G30 S-2 at all. You are using G28 to home all, and that will do a G30 to set Z0 based on your probe trigger offset.

                                          I strongly suggest you use the config tool to generate a fresh example config for RRF3. You can compare it to your current one and modify it to suit. But at least that way you'll be starting with the correct RRF3 syntax.

                                          You say you have dual extruders, but I only see one E drive created.

                                          What is the U drive?

                                          Z-Bot CoreXY Build | Thingiverse Profile

                                          BStumpundefined 1 Reply Last reply Reply Quote 0
                                          • BStumpundefined
                                            BStump @Phaedrux
                                            last edited by

                                            @phaedrux said in Automatic Bed Tilt Calibration, G30 S4, and G30 S-2:

                                            @bstump said in Automatic Bed Tilt Calibration, G30 S4, and G30 S-2:

                                            M375 ; Loads the grid matrix file (Heightmap)

                                            Best not to load the heightmap before you do the tilt correction. So remove that from homeall and add it to your slicer start gcode instead so that the heightmap is loaded before a print.

                                            Also don't call M584 inside of homeall unless you need to split and join drivers to axis.

                                            Also, I don't think you need to use G30 S-2 at all. You are using G28 to home all, and that will do a G30 to set Z0 based on your probe trigger offset.

                                            I strongly suggest you use the config tool to generate a fresh example config for RRF3. You can compare it to your current one and modify it to suit. But at least that way you'll be starting with the correct RRF3 syntax.

                                            You say you have dual extruders, but I only see one E drive created.

                                            What is the U drive?

                                            The Config.g is for RRF 2.05.1 so it likely does not have the extra extuder defined properly for RRF 3.3

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