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

    First homing attempts failing.

    Scheduled Pinned Locked Moved
    General Discussion
    7
    98
    12.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.
    • sjason1377undefined
      sjason1377 Banned
      last edited by

      As I stated before, I am requesting answers in the most efficient manner to correct my issues. This benefits both of us. I have 2 years backround in cnc millturn 5 axis setup and control. I already calibrated the machine, once movement happened, by placing it on my mill and following the mills with a feed sensitive probe in spindle. The board produces exact move as advertised. The issue with 128 micro in M350 command much be that way. Otherwise I get 1/8 the travel distance. I know my setup well. this is the 3rd printer board I've tried. Smoothieboard lacked the drive flexibility. Arduino, well you no there limits. I like the Gcode on the fly. Printer worked with 3 other boards. The drivers are kl 5056d they come with software and serial port comm to pc for tuning and calibration. Nothing on my side is causing any of this action. My question is this. Regardless if i am right or wrong, asking someone to look at the files and confirm or direct me is actually a separate request than Diagnosing the total build. I just want to know that my config.g and homing files are in correct. I can play tag for weeks over hardware and calibration, but if it's in the files causing the issue, how many times am I going to check what I know already works. Please understand I total get the switches electrically, mechanically and the moves are spot on. It stops sometimes. Homes 1 axis correct, than doesn't other times. but never all 3 completely as a homeall.g or 1 after the next. I'm not even going to test probing until it's reliable first. To answer the request, I get 6.24903 reading from uccnc off the mill, and 6.25 on duet. again sensor to sensor spindle to nozzle test.

      If I could just receive conformation that I have properly configured those homing files and that config.g is in order as it relates to homing of axis plains I would be very grateful. If I need to correct them I will receive any advice with much thanks!

      1 Reply Last reply Reply Quote 0
      • deckingmanundefined
        deckingman
        last edited by

        @sjason1377:

        …....................................
        If I could just receive conformation that I have properly configured those homing files..........................

        No, you haven't. There is an inconsistency between the homing of Y in homeall.g and the homey.g file (clue - the homeall.g looks wrong). Also, if it were me, I'd home Z at the centre of the bed rather than 50mm from a corner but you seem to have far more experience than me so I'll not argue.

        Ian
        https://somei3deas.wordpress.com/
        https://www.youtube.com/@deckingman

        1 Reply Last reply Reply Quote 0
        • sjason1377undefined
          sjason1377 Banned
          last edited by

          Ok I tested machine with on board drivers and it homed. This board doesn't work with x y z on external drivers like advertised

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

            The Duet does work with external drivers for XYZ. However, the drive voltage available on the CONN_LCD connector is 3.3V, and your external drivers may require 5V.

            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
            • sjason1377undefined
              sjason1377 Banned
              last edited by

              what does that have to do with machine not stopping for the endstop switches? this post is about homing not drivers. It want home and you still haven't commented on the files I up loaded. I hit the home x button and slam. Hit home y and slam. S1 is is write in the file. I see the led go out everytime for the axes homing, but slam and stripping the belt. Please just tell me why that is?

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

                ; Course home X and Y
                G1 X290 Y-290 F750 S1

                ; Move away from the endstops
                G1 X-10 Y-10 F1000

                ; Fine home X and Y
                G1 X290 Y-290 F250 S1

                This is wrong if your Y endstop is a minimum one then you are moving negative 290, then trying to move negative 10 it should be +10. As deckingman pointed out this is different in homeall.g from homey.g so you will get a different result depending on how you call homing.

                Also you have a very different homeZ from homeall.g I would get the individual axes working homing by them selves, then copy those elements into the homeall.g

                www.duet3d.com

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

                  @sjason1377:

                  what does that have to do with machine not stopping for the endstop switches? this post is about homing not drivers. It want home and you still haven't commented on the files I up loaded. I hit the home x button and slam. Hit home y and slam. S1 is is write in the file. I see the led go out everytime for the axes homing, but slam and stripping the belt. Please just tell me why that is?

                  I have already commented on your files: i pointed out that using M350 to set microstepping on external drivers might be problematic. Ian and Tony have pointed out issues with your homing files.

                  Another issue I can see with your config.g file is that the maximum speed you have configured in the M203 command is much too high to be achievable, especially in view of your high steps/mm. But that shouldn't affect homing because the commanded speeds are much lower.

                  Please provide a link to the datasheet for the external drivers you are using, and tell us how you have connected them to the Duet.

                  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
                  • sjason1377undefined
                    sjason1377 Banned
                    last edited by

                    wont home x not even attempting to move. instant error on screen with on board drivers. Lets forget external drivers, there are all off. Just the board and steppers now. I can jog and thats it. Used configurator to produce new homing files and tried to home. instant failure message. now m122 reports stand still stalled on x and z. this is as standard of a setup as it get. this board just doesn't work.

                    1 Reply Last reply Reply Quote 0
                    • sjason1377undefined
                      sjason1377 Banned
                      last edited by

                      no external drivers. now its just duet! Failure to home still persist. IF type G1 S2 X100 F3000 machine says busy then nothing. Then 30 sec. later the distance reflects a move that didn't happen. Another 30 seconds and then it takes off and slams an endstop. Not even the axis I commanded. last time i tried, z went up then stopped and x went then stopped. the distance didn't change that time. that was a single linear request. This things just no good. Gonna need the warranty honored here.

                      1 Reply Last reply Reply Quote 0
                      • sjason1377undefined
                        sjason1377 Banned
                        last edited by

                        You wanna know why real cnc companys don't have forum and support groups? Because they don't have 1000s of confused unhappy costumers. If there is an issue the fix it. But it's rare they fail. Look for a Haas machine forum, or a Hurco support group. They don't exist. Because they don't need em. want my money back

                        1 Reply Last reply Reply Quote 0
                        • lignumaquaundefined
                          lignumaqua
                          last edited by

                          I think the many users of the Duet who have had complete success, are very happy with their purchase, and who enjoy the assistance given on this forum would disagree with you.

                          It seems clear from your posts that English is not your first language, so you may have misunderstood some of the Wiki instructions. For the same reason you may also not realize how rude your posts appear to an English speaker. David, Tony, and the other frequent posters here are the most helpful I’ve found on just about any forum. If you would work with them rather than arguing I’m sure you would get things worked out. 🙂

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

                            @sjason1377:

                            wont home x not even attempting to move. instant error on screen with on board drivers. Lets forget external drivers, there are all off. Just the board and steppers now. I can jog and thats it. Used configurator to produce new homing files and tried to home. instant failure message. now m122 reports stand still stalled on x and z. this is as standard of a setup as it get. this board just doesn't work.

                            What was the failure message: "Homing failed", or something else?

                            The motor stall indication is not reliable at low speeds, so the "stalled" indication doesn't matter.

                            Please share the new config.g and homing files that you are now using.

                            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
                            • sjason1377undefined
                              sjason1377 Banned
                              last edited by

                              theres nothing but m105 info now. no esponce from the board at all. not usb or ethernet. sd card is good board is not. Like I said its defective hardware. Filastruder is putting the warranty claim issue on U. They except returns for 30 days. They are not going to honor a return due to warranty. The failures reacted every level of function the board has. There is now way Someone could install these thing T cause every function to behave wrong and than stop responding.

                              1 Reply Last reply Reply Quote 0
                              • sjason1377undefined
                                sjason1377 Banned
                                last edited by

                                Ok I got it to move again. Had to reset, erase and reload firmware. Now I'm at a fresh start with all online config tool files. Machine jogs all 3 axis turns, axt power on/off heat on off, but when I try to home a single axis it moves 20mm or so the direction the file says, then back a few stops and reports error g28 yhoming failed. It does this on x,y,z. It's as if it's looking to come off a switch to reset it like my mill will do if the switch is hung up. But the switches checkout. I tried every position active high/ low both ends and a combination of them all. same problem. My homing files request -300 of travel to the switch, but it stops around 10 to 20mm every time. it's just not going far enough. When it does it won't stop "half" the time. I am using all on-board equipment at this point. The switches are just plain n/c contact with rolled lever. "raw switches" wired to the gnd and signal for the endstop connectors. Nothing one the 3.3v supply pin. M122 calls report good data for these switches and I see leds on according to the instructions for when not stopped using n/c and off when stopped. here is the homing file for "Y" I will send just 1 because I want to master 1 at a time.
                                ; homey.g
                                ; called to home the Y axis
                                ;
                                ; generated by RepRapFirmware Configuration Tool on Sat Nov 25 2017 12:15:39 GMT-0500 (Eastern Standard Time)

                                ; Lift Z relative to current position
                                G91
                                G1 Z5 F6000
                                G90

                                ; Move quickly to Y axis endstop and stop there (first pass)
                                G1 Y-300 F1800 S1

                                ; Go back a few mm
                                G91
                                G1 Y5 F6000
                                G90

                                ; Move slowly to X axis endstop once more (second pass)
                                G1 Y-300 F360 S1

                                ; Lower Z again
                                G91
                                G1 Z-5 F6000
                                G90

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

                                  I'm sorry to hear that you are still having problems getting homing to work.

                                  You homing files look OK and your earlier config file looked OK too apart from the issues that I and other mentioned. So I am wondering whether your endstop wires are picking up inductive interference from the stepper motor cables, giving rise to false triggering. This is not common because the endstop circuitry on the Duet includes filtering circuitry, but it can still happen if the stepper motor wires and endstop wires run close to each other for a substantial distance, and you are not using twisted pair wiring for either the endstop wires or the stepper motor wires. Is your wiring like this?

                                  If so, then to test whether this is the cause, I suggest that you make up a new temporary cable for one of the endstop switches, keeping it completely separate from the motor cable, and use it in place of the existing cable. Or, temporarily connect a spare microswitch or push button to the endstop switch connector instead of the cable to the endstop switch, and see if you can stop the homing move by pressing that switch.

                                  If that fixes it, then you can still have the endstop switch wires running alongside the stepper motor cables if that is what you need to do, but you should use twisted pair for the endstop switch wires. Twisted pair is resistant to inductive interference pickup.

                                  Also, please confirm that you have two wires running from each endstop switch direct to the outer two pins of the corresponding endstop connector, and you are not using a common ground wire or anything like that.

                                  HTH David

                                  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
                                  • sjason1377undefined
                                    sjason1377 Banned
                                    last edited by

                                    This is what I used. 1 pair endstops. 3 pair version for stepper drives, when I had them external. 5 pair for a 4 channel relay optccoupler interfaced no longer connected. I assume any triggering of the switch sense curcuit would at least be seen or recorded, would it not? I think the larger issue is it doesn't move. I mean it very slowly lurches toward the switch, hesitates then back up a bit, stops and post an error. It's actually moving and behaving like it's scared to perform. I know it sound crazy, but something before it even tries to move isn't right. It's starting the g28 command on the wrong foot somehow. It also does it from Repitier host over usb, which I only connect to test and remove.

                                    18AWG Instrumentation Cable - Overall Shield
                                    Part Number
                                    Number
                                    of Pairs
                                    AWG
                                    18AWG Instrumentation Cable - Overall Shield Specifications
                                    Conductor Gauge & Stranding
                                    18AWG Class B 7 stranded bare copper per
                                    ASTM B-3 and B-8
                                    Print Legend*
                                    CCI ROYAL 18 AWG XX SHIELDED PAIRS PVC/PVC TYPE
                                    PLTC/ITC E176494 (UL) 105C SUN RES FT4/IEEE 1202
                                    –- SEQUENTIAL MARKING
                                    Voltage Rating
                                    300V
                                    Flame Rating
                                    Passes FT4/EEE 1202 Flame Test
                                    Passes IEEE 383 Flame Test (70,000btu)
                                    Jacket Material
                                    Sunlight resistant black PVC (polyvinyl
                                    chloride)
                                    Applicable Standards
                                    UL Standard 13 Type PLTC
                                    UL Standard 2250 Type ITC
                                    EPA 40 CFR, Part 26, Subpart C, heavy metals per Table 1,
                                    TCLP method
                                    NEC Article 725 (Type PLTC)
                                    NEC Article 727 (Type ITC)
                                    Hazardous Locations:

                                    NEC Article 504 (Intrinsically Safe Systems)

                                    Conductor Insulation
                                    PVC
                                    Pair Lay Length
                                    1.25 twists per inch
                                    Resistance
                                    6.60
                                    Ω
                                    /1000’ @ 20°C per conductor
                                    Conductor Markings
                                    Black / White; Alpha-numeric print;
                                    alternate & inverted @ 2.5 inch intervals
                                    Temperature Rating
                                    -30°C to 105°C (-22°F to 221°F)
                                    Shield and Drain Wire
                                    Overall aluminum polyester foil shield with
                                    a tinned copper drain wire
                                    Communication Wire**
                                    22AWG PVC (orange)
                                    Min. Bend Radius
                                    10x diameter
                                    18AWG Instrumentation Cable -
                                    Overall Shield

                                    1 Reply Last reply Reply Quote 0
                                    • sjason1377undefined
                                      sjason1377 Banned
                                      last edited by

                                      Endstop connections. Raw switch side N/C to pin 1 to J33 connector = x
                                      to J32 connector = y
                                      to J19 connector = z
                                      Raw switch side com. to pin 3 to J33 connector =x
                                      to J32 connector =y
                                      to J19 connector =z

                                      1 Reply Last reply Reply Quote 0
                                      • sjason1377undefined
                                        sjason1377 Banned
                                        last edited by

                                        I got it to home x and y partially, if before travels are the same direction. This means I have to move x homing switch, which I will. It won't complete the axis that doesn't hit it's switch first. So if x makes it to it's switch first y stops too. I separated the x and y lines to 2 separate g1 lines hoping if it performs 1 than the other. That failed to happen too. But now it's back to ignoring the switches altogether. The switches are still good. I know if it was stopping at the switches before, it's not them. motors are freed up and I get no other errors other than Homing failed G28 X or Y or Both. It's of an unstable non consistent nature. The way it refuses to complete the gcode isn't the same each time. The conditions aren't changing during a period of testing but the results are. There is nothing of the electromagnetic nature other than the 24 volt server pwr supply that the pc and board share. It's regulated for 3.3, 5, 12, 24 volt with 1 common ground from 120vac mains. 1 10ga copper ground to earth. All cables are shielded except power. I have to think there most be a fault in the ic path causing it to act this way. The last test I tried home x and y and it start heading 100mm y+ the wrong way. How is that possible if the file didn't change for it to actually make a directional mistake?

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

                                          @sjason1377:

                                          This is what I used. 1 pair endstops. 3 pair version for stepper drives, when I had them external. 5 pair for a 4 channel relay optccoupler interfaced no longer connected. I assume any triggering of the switch sense curcuit would at least be seen or recorded, would it not? I think the larger issue is it doesn't move. I mean it very slowly lurches toward the switch, hesitates then back up a bit, stops and post an error. It's actually moving and behaving like it's scared to perform. I know it sound crazy, but something before it even tries to move isn't right. It's starting the g28 command on the wrong foot somehow. It also does it from Repitier host over usb, which I only connect to test and remove.

                                          OK so the first issue is inconsistent movement. From your post above, when you do a homing move, "it very slowly lurches toward the switch". From one of your previous posts, "IF type G1 S2 X100 F3000 machine says busy then nothing. Then 30 sec. later the distance reflects a move that didn't happen."

                                          I assume you are still using the internal drivers - can you confirm that?

                                          I can think of the following reasons why movement may not be consistent:

                                          1. Stiffness or binding in the mechanics. With power off, do the axes move easily? Don't try to move them too fast with the motors connected, that makes the motors generate power and feed voltage back into the Duet.

                                          2. Insufficient current for your stepper motors:

                                          ( a) What is the rated current of your stepper motors? Please provide a link to the data for the motors.

                                          (b) What motor currents do you have set (M906 command in config.g)? 60% to 85% of the rated motor current is normally used in 3D printers.

                                          © If you are using 2A or more motor current, are you cooling the Duet with a fan?

                                          3. Faulty stepper driver. Do both the X and Y axes behave in the same way? If you suspect a faulty stepper driver, you can use the M584 command to remap the X motor to a different driver and connect the motor to that one - then see if it is any different. M584 must be earlier in config.g than M906.

                                          Once you have G1 S2 moves working correctly, we can sort out any remaining issues with getting the endstop switches to work.

                                          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
                                          • sjason1377undefined
                                            sjason1377 Banned
                                            last edited by

                                            Rails for the machine are THK SHR-R 4 way ball bearing square profile linear rails with double blocks mounted on Mic 6 gig plate 15.88 mm thickness. This plate is flat to 1/1000 of the inch. Sr12-b 12mm ball screws for z with single ball nuts mounted with gimbals bearing attachment to prevent miss alignment. It's a ganty style bed traveling Y, X Traveling gantry Diamond head. The the 3 extruders are mounted on another gantry slide just above the head bowden style with separate belt drive and 2 additional X steppers. These are not being used now, because I need the external setup to add these. The belt setup is just 2 steppers motors on either end handed the same direction belt runs between 2 16 tooth 10mm wide GT2 pulley to pulley with belt fixing clamp centered on the axis for attachment to gantry and bed. Belts are level and tensioned via tension gauge. The 3 bowden extrudes are separate to remove the weight from the print head but still travel the equal distance to keep the extruder lines less than 125 mm in length. This system worked perfect with the smoothie setup, but lacked the ability for 1 additional extruder to do y,m,c,k instead of r,g,b color. I'm just trying to get the board to handle basic 3 axis movement before I connect anything else. Which for some unknown reason it won't. I know these boards are better than any other 3d print electronics out there. I just can understand what is wrong.

                                            Here are the Y motors 2.2 amp set onboard drivers series wired 24 volts. Moving good based on commands you requested I perfom. These axis plain move easy at 1 amp each. These are the largest because the move the largest load.

                                            NEMA 23 Frame,
                                            KL23H2100-35-4BM
                                            570 oz In. Hybrid Stepper Motor
                                            1.8° / 200 Steps Per Rev.
                                            3.5 Amps Current,
                                            4-wire, Bi-polar,
                                            1/4" dual shaft,

                                            Black: A+
                                            Green: A-
                                            Red: B+
                                            Blue: B-

                                            These are the X motors set for 2.1 amp on board drive series wired 24 volts moving perfectly through the commands you ask me to perform. Distance speed acceleration all good.

                                            KL23H2100-35-4A Single Shaft, it is more accurate
                                            381 oz In. Hybrid Motor
                                            1.8° / 200 Steps Per Rev.
                                            2.7 Amps Current Per Phase
                                            Inductance 2.1 mH
                                            4-wire Bi-polar,
                                            NEMA 23 Frame

                                            "The 2 Z motors current set 1.35 amp on drive series wired, move fine."

                                            NEMA 17 BIPOLAR STEPPER MOTOR 62 oz-in
                                            (1/4" dual shaft with a flat) 62 Oz In. Hybrid
                                            1.8° /200 Steps Per Rev.
                                            1.68 Amps Current Per Phase
                                            Rated Voltage: 2.8V
                                            Resistance: 1.65 Ohms
                                            Inductance:2.5 mH
                                            4-wire Bi-polar

                                            As in 1 previous post I am a machinist at Hopecreek nuclear generation Station in Salem NJ. I have spent a lot of time on this machine and Stand behind the build quality. It is exceptionally free and accurate level plumb square. I employed granite surface plate, inspection gauge techniques along with fully machining all components on my 5 axis machining center. As I also provides All lines are electromagnetically shielded where signal applies. I truly believe something the processor is reading or not reading is the issue. Is there a way of tracking line by line what the processor handles are to see what its doing when this happens? A literal play by play of a homing attempt, to compare with the physical action to the file and commands its preforming?

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