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

    Config.g error or problem in clearpath setup ? Homing...

    Scheduled Pinned Locked Moved
    General Discussion
    6
    20
    1.2k
    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.
    • Edkirkundefined
      Edkirk
      last edited by

      Steps per mm is calculated to achieve “steps per mm”. Rotary motion equals a set amount of travel which is effected by microstepping. If you double the frequency in Clearpath you will double the Steps per mm. The higher the frequency the smoother the motor, there is probably a functional limit.
      I run steps per mm some where around 200 to get a pretty smooth finish in the arcs. It will probably not be exactly 200 or even very close. 168.73 maybe higher, 238.125 whatever it comes out at to achieve proper travel. I installed an extra reduction on more Core XY to increase from 80’s to to mid 200’s. Higher resolution = smoother motion= cleaner surface
      Mine run just fine off of the Duet control voltage.
      If your microstepping is 16 and you remove it your travel will be reduced by an equal factor, probably just barely crawl.

      1 Reply Last reply Reply Quote 0
      • Teknic_Servoundefined
        Teknic_Servo
        last edited by

        Hi Arnix_2,

        I'm an applications engineer for Teknic and I thought it would be helpful to chime in here. Without more information, it's difficult to say for sure what the issue could be, but one of our engineers would be happy to assist with troubleshooting if you are interested.

        Please feel free to contact support@teknic.com and an engineer will contact you shortly after.

        -Bridgette G. - Teknic Servo Systems Engineer

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

          @teknic_servo said in Config.g error or problem in clearpath setup ? Homing...:

          Hi Arnix_2,

          I'm an applications engineer for Teknic and I thought it would be helpful to chime in here. Without more information, it's difficult to say for sure what the issue could be, but one of our engineers would be happy to assist with troubleshooting if you are interested.

          Please feel free to contact support@teknic.com and an engineer will contact you shortly after.

          -Bridgette G. - Teknic Servo Systems Engineer

          @Teknic_Servo, thanks for stepping in. FYI, in these commands:

          M569 P5 R0 T3:3:3:3
          M569 P6 R0 T3:3:3:3
          M569 P7 R0 T3:3:3:3

          the 3:3:3:3 specify the minimum step pulse width, step pulse interval, direction-to-step setup time and step-to-direction hold time (from the leading edge of the step pulse) respectively, in microseconds.

          @Arnix_2, for a rotary delta the M92 command must specify the steps per degree of rotary arm movement.

          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
          • Arnix_2undefined
            Arnix_2
            last edited by Arnix_2

            @dc42
            OK. I'm writing mail to tecknic support and i will copy paste full reply.
            Steps per mm:

            • am not quite sure how should i calculate/set this because only thing i can set in MSP tecknic SW is RPM but everything else should be set "manually".
              I know i have to calculate micro stepping*10/1.8 degree (or other value depending on motor), but that's all.
            • ups, i found reply in previous posts...

            @Edkirk
            I found one interesting option in fine tuning setup, and i set slider to "quietness" . The result is very interesting. There are almost no vibrations and upper arm and is moving very smoothly. Speed is reduced quite a lot but not so much that it would affect whole movement.

            1 Reply Last reply Reply Quote 0
            • Arnix_2undefined
              Arnix_2
              last edited by Arnix_2

              Good day to all !
              I got reply from tecknic support and it looks like that the motors should be auto configured with full load. So i dismantled each motor from the construction ( didnt want to copy/paste saved data ) and run the config again. It looks like it has worked.

              Now i am bit confused what is happening when i try to home all axis.
              It looks like if the motors have some kind of torque protection when they hit endswitch ( i will ask tecknic about that too ) because after the arm hits endswitch, hand starts to drop down slowly and i can not controll it from web gui anymore. I can still send commands from gui and this is working normally, it just looks like if the power of the motor is cut off.

              After i click emergency stop and restart is done, motors are back "online"..
              I have attached video, because it's hard to describe this.
              Btw. in this video, Z axis is not homed correctly, which is weird, because i can see that LED blinks on the endswitch and on the duet board.
              https://gofile.io/?c=3cYPIC

              1 Reply Last reply Reply Quote 0
              • Arnix_2undefined
                Arnix_2
                last edited by

                I dont know what was the problem but i have setup motors completely from the beginning and now it looks like everything is OK. Even the homing is working.

                Now i need to setup fine tuning for duet's config 🙂 so if someone can take a look, it would be great. The problem is that i get intermediate position outside machine limits error, when i try to execute some basic command like G1 X10 Y10 F300. I get the same error when i try pressing any X/Y/Z value under "head movement" part.

                To understand all this a bit clearer i made some photo with actual dimension and calculations ( when the arms are in horizontal with motor shaft ) and i attached part of config.g file.

                IMHO, i think i have set everything correctly accept degree calculation.
                ;****FOR ROTARY DELTA SETUP
                ; B == bed radius = 1000mm - working radius
                ; H == Height--> base center <--> floor = 1800mm
                ; R == 15-5 = 10cm ( base centar --> motor shaft )
                ; A == arcsin /31
                ;------------------------------------------------
                M669 K10 U500 L1050 A-10:7.3 R10 H1800 B1000
                M669 X150 Y150 Z150 ; rotate +X direction by 150deg
                M666 X0 Y0 Z0 ; Put your endstop adjustments here
                M574 X2 Y2 Z2 S0 ; END STOP SWITCHES

                M92 X90 Y90 Z90
                M350 X16 Y16 Z16 I0

                ;///////////////// HOMING FILE ///////////////////////////////////
                G91 ; relative positioning
                G1 S1 y-60 X-60 Z-60 F1000 ; move all towers to the high end stop at endstops
                G1 S2 X13 Y13 Z13 F700 ; go down a few mm

                0_1567162613971_robot2908.png

                A.

                1 Reply Last reply Reply Quote 0
                • Arnix_2undefined
                  Arnix_2
                  last edited by

                  any ideas ?

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

                    After homing, when you send G90 G1 S2 X0 Y0 Z0 it should set all 3 arms horizontal, i.e. outer and inner bearing centres at exactly the same height. Does it?

                    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
                    • Arnix_2undefined
                      Arnix_2
                      last edited by

                      Homing
                      G91 ; relative positioning
                      G1 S1 y-60 X-60 Z-60 F1000 ; move all towers to the high end stop at endstops
                      G1 S2 X13 Y13 Z13 F700 ; go down a few mm

                      When the homing part is done, all 3 arms are full horizontal with motor shaft.
                      If is send G90 G1 S2 X0 Y0 Z0 afterward, all 3 arms move up and they are trying to move above endstops. Because of that, motors are shuted down as they detect over torque limit.

                      A.

                      1 Reply Last reply Reply Quote 0
                      • Arnix_2undefined
                        Arnix_2
                        last edited by

                        UPDATE:

                        • if i run homing ( like it's described in upper post ) any other command after homing , will produce that arm moves up and hit the switch. Funny thing is that if i dont make the homing part, i can normaly work with each arm.

                        In other words, If i run G1 S2 X0 Y0 Z0 F300 after homing, all arms will go up and they will hit endswitch. The same will happend if i enter any other command ( for one arm movement ) like, G1 S2 X10 F300 or G1 S2 X-10 F300 etc...

                        If i run separate command without homing, then i get clear movement.
                        e.g. without homing and after i run G1 S2 X0 Y0 Z0 F300 , all arm are positioned down.

                        Any ideas ?

                        1 Reply Last reply Reply Quote 0
                        • Arnix_2undefined
                          Arnix_2
                          last edited by Arnix_2

                          I still can not find any solution why is this happening. If someone can take a look at test sequence and tell me what can be wrong... Thank you all in advance...

                          9dea24c9-5766-40fd-a8e2-0224a222da4b-image.png 2 Homing are arms are lifted up

                          Test is made line by line in the order that is described in first row...
                          Basically, i can control each motor without problem but when i enter standard gcode command, i get out of range error, regardless what value i enter...

                          T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
                          • T3P3Tonyundefined
                            T3P3Tony administrators @Arnix_2
                            last edited by

                            @Arnix_2 step 16 looks to be where the problem is (although i don't have a rotary delta so can't be sure).

                            Why have you set the Homing positions as minimums not maximums? I would have thought that (like a normal delta) the arms are at their highest (maximum) position when homed and the effector moves down to Z0 when they are extended?

                            What is the distance from your current arm triggered position to X0 Y0 Z0 (which i assume is with the effector at the correct point touching or just above the belt?

                            Have you tried setting you M208 so that the endstop triggers a X, Y,Z Max not Min?

                            www.duet3d.com

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