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

G30 S-1 is giving me heart stitches [SOLVED]

Scheduled Pinned Locked Moved
General Discussion
6
98
4.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.
  • undefined
    Veti @o_lampe
    last edited by 20 Jan 2021, 12:13

    @o_lampe said in G30 S-1 is giving me heart stitches:

    Now, when I home Z, the homed height is set to -2 or whatever I set in M208.

    post you home script

    undefined 1 Reply Last reply 20 Jan 2021, 12:21 Reply Quote 0
    • undefined
      fcwilt
      last edited by 20 Jan 2021, 12:20

      M574 X Y S3 - where are the values for X and Y specify the location of the end stop?

      You have specified the Z trigger height in G31 as 0. Usually a capacitive probe triggers a few mm off the surface.

      Also capacitive probes can be slow to respond so you might need to change the F value in M558.

      When you home any axis the position is set to the axis min/max based on the axis parameter in M574.

      You have specified that the end stop of Z is at the low end so it gets set to Z min which you have as -2.

      Why do you have Z min as -2?

      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

      1 Reply Last reply Reply Quote 0
      • undefined
        o_lampe @Veti
        last edited by o_lampe 20 Jan 2021, 12:21

        @Veti said in G30 S-1 is giving me heart stitches:

        @o_lampe said in G30 S-1 is giving me heart stitches:

        Now, when I home Z, the homed height is set to -2 or whatever I set in M208.

        post you home script

        G91
        G29 S2
        G1 S1 Z-300 F800
        G1 Z5 F800
        G1 S1 Z-10
        ;G92 Z0.0
        G90
        ;G29 S1

        What does it mean, when DWC is giving me a warning about Z=0 datum isn't set everytime i load the heightmap?
        Is it trying to do that, when it crashes against the leadscrew?
        I've made two short videos to show what happens, but I'm not sure when I find the nerve to upload them to u-tube.

        1 Reply Last reply Reply Quote 0
        • undefined
          Veti
          last edited by Veti 20 Jan 2021, 12:24

          that is not a home script. as it disregards any endstop

          nevermind. it used the old S syntax.

          that is the reason why its set to S-1
          when the endstop is triggered the axis is set to the endstop position.
          with a G30 this will not happen as this sets the current positon to z=0

          that would also get rid of the Z=0 datum message.

          undefined 2 Replies Last reply 20 Jan 2021, 12:30 Reply Quote 0
          • undefined
            o_lampe @Veti
            last edited by 20 Jan 2021, 12:30

            @Veti
            To be clear, it uses the Z-probe as endstop.

            1 Reply Last reply Reply Quote 0
            • undefined
              Veti
              last edited by 20 Jan 2021, 12:32

              that is wrong.

              try a default homez.

              ; homez.g
              ; called to home the Z axis
              ;
              ; generated by RepRapFirmware Configuration Tool v3.2.2 on Wed Jan 20 2021 13:31:39 GMT+0100 (Central European Standard Time)
              G91 ; relative positioning
              G1 H2 Z5 F6000 ; lift Z relative to current position
              G90 ; absolute positioning
              G1 X15 Y15 F6000 ; go to first probe point
              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
              • undefined
                o_lampe @Veti
                last edited by 20 Jan 2021, 12:32

                @Veti said in G30 S-1 is giving me heart stitches:

                with a G30 this will not happen as this sets the current positon to z=0
                that would also get rid of the Z=0 datum message.

                So, I should use G30 instead of G1 S1?

                undefined 1 Reply Last reply 20 Jan 2021, 12:32 Reply Quote 0
                • undefined
                  Veti @o_lampe
                  last edited by Veti 20 Jan 2021, 12:32

                  @o_lampe

                  yes

                  you REALLY need to use a standard config that is generated by the config tool.

                  undefined 1 Reply Last reply 20 Jan 2021, 12:37 Reply Quote 0
                  • undefined
                    o_lampe @Veti
                    last edited by 20 Jan 2021, 12:37

                    @Veti said in G30 S-1 is giving me heart stitches:

                    @o_lampe

                    yes

                    you REALLY need to use a standard config that is generated by the config tool.

                    I started filling out the config wizard, but then got stuck with the stepper settings. I would have to copy my existing config settings into the wizard, so what is it good for?
                    I'd just copy any possible mistake into the new file, if there's any...

                    undefined 1 Reply Last reply 20 Jan 2021, 12:38 Reply Quote 0
                    • undefined
                      Veti @o_lampe
                      last edited by Veti 20 Jan 2021, 12:38

                      @o_lampe
                      well it would have generated a correct homing script for once.
                      and as i said it will make the migration to version 3 easier

                      1 Reply Last reply Reply Quote 0
                      • undefined
                        o_lampe
                        last edited by o_lampe 20 Jan 2021, 13:14

                        @Veti said in G30 S-1 is giving me heart stitches:

                        G1 X15 Y15 F6000 ; go to first probe point

                        The head moves to that first probe point and then throws an error insufficient axes homed
                        As always I homed X/Y before homeZ with G92 X0 Y0.

                        Do I really have to install endstops for X/Y axis?
                        I never needed them for my CNC. I just parked the toolhead at 0,0 before I switched off and went the G92 way to start...
                        I checked the homeX/Y files. They all look similar to the one I originally posted. (I had this SD-card backup from my CNC machine)

                        undefined 1 Reply Last reply 20 Jan 2021, 13:57 Reply Quote 0
                        • undefined
                          Veti
                          last edited by 20 Jan 2021, 13:19

                          the G30 command give you insufficient axis homed?

                          undefined 1 Reply Last reply 20 Jan 2021, 16:47 Reply Quote 0
                          • undefined
                            fcwilt @o_lampe
                            last edited by 20 Jan 2021, 13:57

                            @o_lampe said in G30 S-1 is giving me heart stitches:

                            As always I homed X/Y before homeZ with G92 X0 Y0.

                            The would work IF the actual positions of X and Y were zero. How do you know they are?

                            Do I really have to install endstops for X/Y axis?

                            No - you can use sensor-less homing.

                            I don't care for that myself. To me using physical end stop sensors for homing is like stopping your car using the brakes. Sensor-less homing seems like stopping your car by running into the car in front of you. 😉


                            As to using G30: did you read the docs on what each variant of G30 does?

                            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

                            undefined 1 Reply Last reply 20 Jan 2021, 16:49 Reply Quote 1
                            • undefined
                              o_lampe @Veti
                              last edited by 20 Jan 2021, 16:47

                              @Veti said in G30 S-1 is giving me heart stitches:

                              the G30 command give you insufficient axis homed?

                              No, the macro doesn't run G30 because of the error message.

                              I used jumpers on X/Y endstops and defined them as active high
                              When I ask M119 it reports X/Y at min endstops. Now I should be able to use the homeall macro. But it stops after the same line as above mentioned.

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                Veti
                                last edited by 20 Jan 2021, 16:48

                                post your homeall then

                                undefined 1 Reply Last reply 20 Jan 2021, 16:51 Reply Quote 0
                                • undefined
                                  o_lampe @fcwilt
                                  last edited by 20 Jan 2021, 16:49

                                  @fcwilt said in G30 S-1 is giving me heart stitches:

                                  As to using G30: did you read the docs on what each variant of G30 does?

                                  Yes, and I also tried some other versions with various Px and Sx parameters.

                                  1 Reply Last reply Reply Quote 0
                                  • undefined
                                    o_lampe @Veti
                                    last edited by 20 Jan 2021, 16:51

                                    @Veti said in G30 S-1 is giving me heart stitches:

                                    post your homeall then

                                    ; homeall file for use with dc42 Duet firmware on CoreXY printers
                                    ; This file assumes the endstop switches are at the low end of each axis.
                                    ; Reverse the X and Y movement for high-end switches.
                                    ; Adjust the bed upper and lower limits in config.g (M208 commands) to get the correct homing positions
                                    G91 ; relative mode
                                    G1 F2400 ; course home X or Y //S1 X-340 Y-240
                                    G1 S1 X-340 ; course home X
                                    G1 S1 Y-240 ; course home Y
                                    G1 X14 Y14 F600 ; move away from the endstops
                                    G1 S1 X-20 ; fine home X
                                    G1 S1 Y-20 ; fine home Y
                                    G1 X20 Y20 F4000
                                    G1 F600
                                    G1 S1 Z-300 F600
                                    G1 Z5 F200
                                    G30
                                    ; If you are using a microswitch for Z homing, insert similar code for the Z axis here,
                                    ; but use lower feed rates suitable for your Z axis.
                                    G90 ; back to absolute mode
                                    ; If you homed the Z axis using an endstop switch, you can insert a G92 command here to correct the height.
                                    1 Reply Last reply Reply Quote 0
                                    • undefined
                                      Veti
                                      last edited by 20 Jan 2021, 16:53

                                      what script wont work without endstops

                                      undefined 1 Reply Last reply 20 Jan 2021, 17:00 Reply Quote 0
                                      • undefined
                                        o_lampe
                                        last edited by 20 Jan 2021, 16:58

                                        with the homeall script the behaviour is a bit different: it runs to 20,20 then probes (G1 S1) and runs against the rear beam.

                                        Whenever G30 is issued,the printer freaks out.

                                        undefined 1 Reply Last reply 20 Jan 2021, 18:43 Reply Quote 0
                                        • undefined
                                          o_lampe @Veti
                                          last edited by 20 Jan 2021, 17:00

                                          @Veti
                                          that was just my interpretation why homeZ doesn't work even after I homed X/Y
                                          Seems the fake endstops doesn't change anything

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