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

    control 4 axis cnc machine

    Scheduled Pinned Locked Moved Solved
    Using Duet Controllers
    4
    13
    797
    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.
    • 3DPMicroundefined
      3DPMicro @Heisl
      last edited by

      @heisl cool project. Post a picture of your finished product if you get a chance

      Duet controlled Lathe, micro mill, 3d printer and 1992 Haas VF2 VMC

      Heislundefined 1 Reply Last reply Reply Quote 0
      • Heislundefined
        Heisl @3DPMicro
        last edited by Heisl

        @3dpmicro Sorry for the late reply, something went wrong. My answer was not published a week ago and I was wondering why no email came about it. 😖
        So now again.

        Thank you, yes that is really an exciting topic that we have here. I'll ask our professor if that's possible 🙂

        We have another problem. The B-axis (a rotation axis, which the cfk-filament runs along to the cylinder) can only be homed once. With further homing, the axis is misaligned more and more. Homing only works as it should after a reset.
        Any idea why that might be?
        The B-axis gcode is the same as for the other axes where homing always works.

        Furthermore, we would like to see in a live script on the duet paneldue (display) in which line of gcode the machine is currently working. Does anyone have a solution as to how or which gcode is used to solve this?

        Thanks again for your answers 🙂

        ...I am attaching the gcodes here...
        config.g
        homea.g
        homeb.g
        homex.g
        homey.g
        homez.g
        homeall.g

        3DPMicroundefined SpoonUnitundefined 2 Replies Last reply Reply Quote 0
        • 3DPMicroundefined
          3DPMicro @Heisl
          last edited by 3DPMicro

          @heisl is it possible the B axis is skipping steps. I cant think of any reason for your home issue other than the axis not being calibrated correctly but that should repeat.
          I have been using a host called Repetier host to control my 3d printers. It allows me to control it on the fly and also shows the line of g-code it is reading. There are other hosts out there that probably do the same but that's the only one (since 2013) I've ever used. It's for 3d printing but maybe it could be useful. There is also Chilipeppr which is a cnc milling interface. It may do something useful if you load your gcode in to it. There may be a better chance of tweaking that than Repetier.
          How many rotations does your B axis need to turn to run a complete winding cycle?

          Duet controlled Lathe, micro mill, 3d printer and 1992 Haas VF2 VMC

          Heislundefined 1 Reply Last reply Reply Quote 0
          • SpoonUnitundefined
            SpoonUnit @Heisl
            last edited by

            @heisl Is the B end stop a physical switch and do you rely on an inability to rotate beyond a specific point based on the machine design?

            Heislundefined 1 Reply Last reply Reply Quote 0
            • Heislundefined
              Heisl @3DPMicro
              last edited by Heisl

              @3dpmicro Now, as you can see in the next picture, there isn't much torque on the B-axis for skipping a step. Of course, the stepper motor could also be defective. But we're not assuming that for now. Yes, the error repeats itself. First homing after restarting the machine works. If you press homing again, the axis moves by 3-4 degrees. And that every time you continue to press homing. Really strange...
              Yes, we have already thought of another host, but unfortunately this project will be over for us at the end of July, so there is no time for a new host 😕

              The B axis can rotate a maximum of 340 degree. In operation it should (depending on the direction of travel of the x-axis) only ever move back and forth by a few degrees. It only controls that the filament is wound onto the cylinder (A axis) in a defined position.
              Here's another picture with a caption. (in purple you can see the way of the filament)

              IMG_7750.JPG
              IMG_7751.JPG

              Thank you for the reply 😀

              1 Reply Last reply Reply Quote 0
              • Heislundefined
                Heisl @SpoonUnit
                last edited by

                @spoonunit Yes, the Endstop of the B-axis is at a physical switch. Not really, the B-axis should only turn back and forth a few degrees during operation.

                Heislundefined o_lampeundefined 2 Replies Last reply Reply Quote 0
                • Heislundefined Heisl referenced this topic
                • Heislundefined
                  Heisl @Heisl
                  last edited by Heisl

                  ...here is a further problem with the Duet3D PanelDue 7i that we don't understand to solve:
                  https://forum.duet3d.com/topic/24040/delete-y-axis?_=1658297009772

                  Many thanks!!!

                  1 Reply Last reply Reply Quote 0
                  • o_lampeundefined
                    o_lampe @Heisl
                    last edited by

                    @heisl The stepper of the B-axis has a gearbox which might have backlash? This error could add up everytime you home...

                    Heislundefined 1 Reply Last reply Reply Quote 0
                    • Heislundefined
                      Heisl @o_lampe
                      last edited by

                      @o_lampe Hm, well I din't think so. Cause the Y-axis Stepper also have a Gearbox. (the same) And there is no problem with the homing.

                      1 Reply Last reply Reply Quote 0
                      • Heislundefined
                        Heisl
                        last edited by

                        Finished! 🙂 We solved our Problem with the Homing. The Problem was the Wire of the Stepper. We had to shield them. Now the Homing does its Job as well!

                        Thanks for all your ideas and help!! 🙂

                        1 Reply Last reply Reply Quote 0
                        • Heislundefined Heisl marked this topic as a question
                        • Heislundefined Heisl has marked this topic as solved
                        • Heislundefined Heisl referenced this topic
                        • Heislundefined Heisl referenced this topic
                        • Heislundefined Heisl referenced this topic
                        • First post
                          Last post
                        Unless otherwise noted, all forum content is licensed under CC-BY-SA