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

    First cut success - with questions!

    Scheduled Pinned Locked Moved
    Duet Web Control
    8
    66
    3.5k
    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.
    • JoergS5undefined
      JoergS5 @Nightowl
      last edited by JoergS5

      @nightowl999 the first thing would be to find the line which produces the first error message and then proceeding the lines before and then

      • run M114 and notify the Count values (the first being X position, second y, third Z)
      • then tell me the count value and M92 and the G0/G1 command which fails. I'll tell you how to calculate and hope to give you an answer for the error
      • if you want to verify homing, please home and after homing, run M114 and notify count values as well

      To avoid ruining your workpieces, there is a simulation mode which should be possible to use. I didn't use it before, so just an idea. M37, but I don't know it, but maybe valuable to find the error line.

      Nightowlundefined 2 Replies Last reply Reply Quote 0
      • Nightowlundefined
        Nightowl @JoergS5
        last edited by

        @JoergS5 Thank you.

        Before homing, M114 reports the following:
        X:0.000 Y:0.000 Z:0.000 E:0.000 Count 0 0 0 Machine 0.000 0.000 0.000 Bed comp 0.000

        Just a moment, and I'll home it...

        Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
        I'm still on my learning curve, so take everything I say with caution!

        RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

        1 Reply Last reply Reply Quote 0
        • Nightowlundefined
          Nightowl @JoergS5
          last edited by

          @JoergS5
          After homing, it's:
          X:547.000 Y:784.000 Z:97.000 E:0.000 Count 218800 313600 38800 Machine 547.000 784.000 97.000 Bed comp 0.000

          Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
          I'm still on my learning curve, so take everything I say with caution!

          RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

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

            @nightowl999 said in First cut success - with questions!:

            @JoergS5
            After homing, it's:
            X:547.000 Y:784.000 Z:97.000 E:0.000 Count 218800 313600 38800 Machine 547.000 784.000 97.000 Bed comp 0.000

            The 218800 is a value from your M92 setting and the homing position. What is your M92 setting, please?

            Nightowlundefined JoergS5undefined 2 Replies Last reply Reply Quote 0
            • Nightowlundefined
              Nightowl @JoergS5
              last edited by

              @joergs5 All axes are set at 400 steps per mm

              Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
              I'm still on my learning curve, so take everything I say with caution!

              RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

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

                @joergs5 ok, I think it's 218800/547 = 400.

                This means, for every mm your router moves, the Count value for X will be incremented by 400. So you can always see where the firmware thinks that your router is.

                Now before you start the error G0/G1 move, you can make a M114 and know where the router is. (of course the G1 before will be this position also in most cases, but to be sure...).

                NB the values being all 0 at the beginning is, because firmware doesn't know where your steppers are at the beginning. This is what homing is meant for: telling the firmware where the stepper's positions are. The only reason why the firmware Count values and true stepper position may vary is if there are lost steps (M122 hiccups hight numbers will tell you).

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

                  @nightowl999

                  X:547.000 Y:784.000 Z:97.000 E:0.000 Count 218800 313600 38800

                  547 * 400 = 218800
                  784 * 400 = 313600
                  97 * 400 = 38800

                  or other round, from the Count value divide by your M92 (400) and you'll get the current mm position.

                  1 Reply Last reply Reply Quote 0
                  • Nightowlundefined
                    Nightowl @JoergS5
                    last edited by Nightowl

                    @JoergS5
                    Should I move the axes to the Work XYZ first, set Work XYZ, then run M114?

                    Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
                    I'm still on my learning curve, so take everything I say with caution!

                    RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

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

                      @nightowl999 said in First cut success - with questions!:

                      @JoergS5
                      Should I move the axes to the Work XYZ first, then run M114?

                      My proposal would be to move to the last position which is ok. Then make a M114 and notify the Count values, then verify that the next command throws an error.

                      Nightowlundefined 1 Reply Last reply Reply Quote 0
                      • Nightowlundefined
                        Nightowl @JoergS5
                        last edited by

                        @joergs5 Sorry, I edited the question as you answered...

                        I've now placed the spindle at the Work XYZ (without the cutter installed!) so should I set Work XYZ then run M114?

                        Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
                        I'm still on my learning curve, so take everything I say with caution!

                        RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

                        1 Reply Last reply Reply Quote 0
                        • Nightowlundefined
                          Nightowl
                          last edited by Nightowl

                          M114 before setting Work XYZ...
                          X:37.000 Y:204.000 Z:85.000 E:0.000 Count 14800 81600 34000 Machine 37.000 204.000 85.000 Bed comp 0.000

                          Some more information:
                          Since installing the spoil board, my Z height has reduced to 75mm, but I haven't changed it in the config.g file yet.

                          M114 after setting Work XYZ...
                          X:0.000 Y:0.000 Z:0.000 E:0.000 Count 14800 81600 34000 Machine 37.000 204.000 85.000 Bed comp 0.000

                          Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
                          I'm still on my learning curve, so take everything I say with caution!

                          RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

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

                            @nightowl999 said in First cut success - with questions!:

                            M114 after setting Work XYZ...
                            X:0.000 Y:0.000 Z:0.000 E:0.000 Count 14800 81600 34000 Mach

                            Interesting! I was not sure, whether it will be corrected or not.

                            So work change (did you make it by G54?) doesn't change the count values.

                            I've learned here something also!
                            XYZ are the values from the work XYZ view, and the Machine coordinates behind are the true original coordinates.

                            Nightowlundefined 2 Replies Last reply Reply Quote 0
                            • Nightowlundefined
                              Nightowl @JoergS5
                              last edited by

                              @joergs5
                              I just clicked the Work XYZ button on the Dashboard. I don't know anything about G54??

                              Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
                              I'm still on my learning curve, so take everything I say with caution!

                              RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

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

                                @joergs5
                                The workzero.g file has the following lines:

                                ; workzero.g

                                ; G90 ; set to absolute positioning
                                G53 G1 Z{move.axes[2].max} F1500 ; raise the Z to the highest position
                                G1 X0 Y0 F2400 ; go directly above the work zero position
                                G1 Z0 F2400 ; go to the work Z zero position

                                Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
                                I'm still on my learning curve, so take everything I say with caution!

                                RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

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

                                  @nightowl999 said in First cut success - with questions!:

                                  @joergs5
                                  I just clicked the Work XYZ button on the Dashboard. I don't know anything about G54??

                                  I think it's not so important now, we want to find the reason for the error message.
                                  One possible reason could be that the M208 limits take the XYZ values. But let's verify by you searching for the first error G0/G1.

                                  Nightowlundefined 1 Reply Last reply Reply Quote 0
                                  • Nightowlundefined
                                    Nightowl @JoergS5
                                    last edited by Nightowl

                                    @joergs5 OK. Shall I load and run the file?

                                    Actually, what I did was upload the gcode file, then right-clicked it and simulated the project, with these results:

                                    21/05/2022, 19:54:21 File 0:/gcodes/102 Avalon Pocket_1-102 Avalon Pocket.gcode will print in 0h 14m plus heating time
                                    21/05/2022, 19:54:19 M37 P"0:/gcodes/102 Avalon Pocket_1-102 Avalon Pocket.gcode"
                                    Simulating print of file 0:/gcodes/102 Avalon Pocket_1-102 Avalon Pocket.gcode

                                    Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
                                    I'm still on my learning curve, so take everything I say with caution!

                                    RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

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

                                      @nightowl999 said in First cut success - with questions!:

                                      G53

                                      G53 is to clear coordinate changes and not using any machine coordinates, so I would not run it.
                                      https://duet3d.dozuki.com/Wiki/Gcode#Section_G53_Use_machine_coordinates

                                      There should be G54 to G59 somewhere else, probably in your Cut2D software.

                                      The problem now is that I don't know your software and which commands are run. I can only help to find out the reason why there is the G0/G1 error message.

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

                                        @nightowl999 said in First cut success - with questions!:

                                        and simulated the proj

                                        unfortunately it didn't find an error line, so it didn't help.
                                        The simulation mode may have some shortcuts, e.g. not checking limits....

                                        Nightowlundefined 2 Replies Last reply Reply Quote 0
                                        • Nightowlundefined
                                          Nightowl @JoergS5
                                          last edited by

                                          @joergs5

                                          Well, starting the file seemed to work, too.

                                          I'm not sure what's going on here, but I'm also getting random disconnects

                                          Few things are more dangerous than taking the advice of someone who thinks he knows what he's doing.
                                          I'm still on my learning curve, so take everything I say with caution!

                                          RatRig 1075, Duet3 MB6HC, Sorotec SFM 1000 PV-ER milling motor, Hobbyist

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

                                            @nightowl999 said in First cut success - with questions!:

                                            also getting random disconnects

                                            I am innocent 😉

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