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

    rotating motor positions - with config file

    Scheduled Pinned Locked Moved
    General Discussion
    4
    8
    448
    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.
    • Arnixundefined
      Arnix
      last edited by Arnix

      Hi to all !. How can I setup config to rotate motor positions for 90 degrees ?
      From this: https://ibb.co/k5v823j
      to this:
      https://ibb.co/WKfKG45

      I didn't work much lately on this part of project so any help is welcome. Am using Teknic motors that are programmed .

      M669 K10 U500 L1050 A-10:8 R8 H1800 B1000 ; A-10:7.3
      M669 X150 Y150 Z150 ; rotate +X direction by 150deg
      M666 X0 Y0 Z0 ; endstop adj.
      M574 X2 Y2 Z2 S0 ; END STOP SWITCHES
      ; Drives --> changed 03.10 --> from S0 to S1
      M569 P0 S0 ; Drive 0 goes backwards
      M569 P1 S0 ; Drive 1 goes forwards
      M569 P2 S0 ; Drive 2 goes forwards
      M569 P3 S0 ; Drive 3 goes forwards
      ;------------------------------
      M569 P5 S0 T3:3:3:3 ;R0
      M569 P6 S0 T3:3:3:3 ;R0
      M569 P7 S0 T3:3:3:3
      M584 X5 Y6 Z7 E3:4
      ;-------------------------------
      Arnix

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

        I looked at the images but have no idea what they are supposed to be showing.

        Can you explain?

        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
        • Arnixundefined
          Arnix
          last edited by

          No problem 🙂 . First picture shows axis of each motor, of our rotary delta robot and the second one shows how new positions should be set. So, X, Y , Z are physical positions of each motor corresponding to axis of delta robot.

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

            @Arnix said in rotating motor positions - with config file:

            No problem 🙂 . First picture shows axis of each motor, of our rotary delta robot and the second one shows how new positions should be set. So, X, Y , Z are physical positions of each motor corresponding to axis of delta robot.

            Did you try changing the axis-to-stepper assignments in M584?

            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
            • alankilianundefined
              alankilian
              last edited by

              If I understand you correctly, you have a rotary delta machine, and you want to rotate the entire mechanical system 90-degrees counterclockwise (looking down at the top of the machine) and you want to have the X and Y axes at the extruder lined up as usual.

              Maybe this page can help you. I thin you set the Xnn Ynn Znn parameters in the M669 configuration command.

              SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

              1 Reply Last reply Reply Quote 0
              • Arnixundefined
                Arnix
                last edited by Arnix

                you have a rotary delta machine, and you want to rotate the entire mechanical system 90-degrees counterclockwise

                Correctly, whole robot base should be rotated counterclockwise for 90 degrees.
                Can i change this just by M669 command and if so, how ?
                Just from this : M669 X150 Y150 Z150 to M669 X240 Y240 Z240 ? Or with some other command as Frederick suggested ?. Btw. am using servo motors...

                1 Reply Last reply Reply Quote 0
                • dc42undefined
                  dc42 administrators
                  last edited by dc42

                  Yes that should work.

                  How is the project going? I haven't heard from you in a long time.

                  Duet WiFi hardware designer and firmware engineer
                  Please do not ask me for Duet support via PM or email, use the forum
                  http://www.escher3d.com, https://miscsolutions.wordpress.com

                  1 Reply Last reply Reply Quote 0
                  • Arnixundefined
                    Arnix
                    last edited by

                    Its working. Thank you guys for your help !.
                    @dc42
                    Dear David, we are 95% done with the project and robot will be online in 2 weeks. There was some problems regarding vacuum and hardware so we have changed the whole approach. We made new HW installation and cover mask design. Now when i think of it, we spend really much time on HW. Finally we choose PIAB vacuum grippers and at the moment vacuum is working at 6 bar pressure with 800 Nl/m... As we discussed long time ago :-), i will need additional 4 boards. Hear you over skype regarding this...

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