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

    First homing attempts failing.

    Scheduled Pinned Locked Moved
    General Discussion
    7
    98
    12.7k
    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

      yes but those drives are remapped x10 y11 z5

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

        @sjason1377:

        m119 reports x at max y at min z at min, just like I have them. machine won't home for another reason, then the switches and there config. most be a homing config issue

        Is that the report only when the carriages are at their endstops, or all the time, or only when they are not at the endstops?

        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

          Ok I got x to travel for homing, but didn't stop. y won't even try nor will z.

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

            M119 while holding any one of the switches tells me that that switch is hit and show max for x which is correct. min for y and z also correct. The machine tried to home x once and slammed without stopped despite the m119 showing the switch works and config properly. Now trying to run a print, its homes x y together, but stop both falsely reporting the axis it shorted. the homes z not stopping for that one. might I ad no usb connected and pc, duet, drives, everything powered off 1 power supply made for servers. I scoped it for noise. nothing. Just can't figure it out. x travel exceed the y, but your never going be in the same starting place every time you home. I even g92 the thing to set a far race. last time it homed this way it gave y -595. machine size in config is 0 295y

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

              Please post the contents of your homing files.

              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

                The information you requested. Switches were just replaced to these, from the makerbot v1.2 to eliminate all possible failure modes. these are normally closed with no resistor. com and nc connected to outside pins of endstop connectors. individually tested. x drive 10 max endstop. m119 reports x at max when i hold switch triggered. x not stopped when I release. y at min triggered. y not stop when not triggered. Z at min triggered and z not stopped when not triggered. Machine properties console concurs with these results.

                Operation speed:
                Action frequency
                Mechanical:
                Electrical:
                Insulation resistance:
                Contact resistance (initial value):
                Voltage withstanding
                Open contacts:
                Between chassis and contacts:
                Ground & terminal:
                Vibration (button type):
                Shock (button type)
                OF 0.49 N type:
                OF 0.98 N type:
                OF 1.96 N & 3.92 N type:
                Life
                Mechanical:
                Electrical:
                Ambient temperature:
                Humidity:
                Contact material:
                Weight:
                0.1 mm - 1 m/s (button type)
                600 operations per minute
                30 operations per minute
                100mΩ min. (tested at 500 VDC)
                15mΩ maximium
                AC 1000V 50/60 Hz 1 min
                AC 2000V 50/60 Hz 1 min
                AC 2000V 50/60 Hz 1 min
                10 - 55 Hz, 1.5mm double amplitude
                Under 98 m/s²
                Under 196 m/s²
                Under 294 m/s²
                10,000,000 operations min
                100,000 operations min
                -25°C to +80°C (without frost or condensation)
                Under 85% (about +5 ~ 35)
                AgNi alloy; AgCdO alloy (does not meet RoHS directive)
                6.2 g (button type)
                SPECIFICATIONS
                Household applicances:
                Business appliances:
                Machinery:
                Other:
                Microwave ovens, rice cookers, washing machines, warmers, watering
                troughs, humidiers, disinfecters
                Automats, gaming arcades, electronics, tools, duplicators, shredders
                Haulers, printers, textile machines
                Auto door drive organization, equipment latch-lock mechanisms
                APPLICATIONS
                MICRO SWITCHES
                48621 Warm Springs Blvd Fremont, CA 94539, USA
                Phone:
                Fax:
                www.temcoindustrial.com
                Specications may vary and are subject to change. For certied drawings and specications, please contact a TEMCo representative.
                (510) 490-2187
                (510) 490-1507
                1. High precision action seat.
                Action seat (OP) 14.7 +/1 0.4 mm, prev-travel (PT) max.
                is 1.2 mm (button type shown below as example).
                2. High shock resistance.
                Action seat (OP) 14.7 +/1 0.4 mm, prev-travel (PT) max.
                is 1.2 mm (button type shown below as example).
                3. High heat resistance.
                Max temperature: 105°C
                4. Many variations to suit your application.
                Current ratings range from 1A to 21 A (silver contact, Ag alloy
                contacts, and silver plated gold contats available).
                TERMINAL TYPE SPECIFICATIONS
                Under
                Terminal
                Terminal
                Dimensions
                Horizontal
                Terminal
                Terminal Type
                #4.8 Solder/Bolt Common Terminal
                4.8 Solder Terminal
                6.3 Bolt Terminal
                Screw Fix Terminal
                Solder Terminals
                Button
                Short Roller Lever
                Roller Lever
                Short Lever
                Lever
                Long Lever
                Curved Lever
                DRIVE TYPE SCHEMATICS
                Contact type
                NC
                NO
                COM
                Change
                NC
                COM
                Close
                NO
                COM
                Open
                15.9 mm
                27.8 mm
                10.3 mm
                Button type
                OP
                PT
                6. CCC Certiied, CE Marked, meets RoHS directive.
                5. Strong, durable shell.
                Plastic shell can bear 6 KGF.CM torque during installation.
                Varied wiring congurations (see Terminal Type Specs chart below).
                OF
                Dierent terminal connector choices available.
                Varied action pressure (OF) types.
                Bolt terminal card
                Electric-shock plastic safeguard socket
                #4.8 Bolt
                #4.8 3 Pole
                MICRO SWITCHES
                48621 Warm Springs Blvd Fremont, CA 94539, USA
                Phone:
                Fax:
                www.temcoindustrial.com
                Specications may vary and are subject to change. For certied drawings and specications, please contact a TEMCo representative.
                (510) 490-2187
                (510) 490-1507
                INSTALLATION HOLE DIMENSIONS (in mm)
                Button
                Drive Lever
                Terminal
                Contact
                Flat Spring
                Body
                STRUCTURAL DIAGRAM
                10.3 +/- 0.1
                22.2 +/- 0.1
                2-3.1 installation hole or M3 screw hole
                MICRO SWITCHES
                48621 Warm Springs Blvd Fremont, CA 94539, USA
                Phone:
                Fax:
                www.temcoindustrial.com
                Specications may vary and are subject to change. For certied drawings and specications, please contact a TEMCo representative.
                (510) 490-2187
                (510) 490-1507

                Now myconfig.g

                ; Configuration file for Duet Ethernet (firmware version 1.19.2)
                ; executed by the firmware on start-up
                ;
                ; generated by RepRapFirmware Configuration Tool on Mon Oct 23 2017 18:51:17 GMT-0400 (Eastern Standard Time)

                ; General preferences
                M111 S0 ; Debugging off
                G21 ; Work in millimetres
                G90 ; Send absolute coordinates…
                M83 ; ...but relative extruder moves
                M555 P1 ; Set firmware compatibility to look like RepRapFirmare
                M208 X0 Y0 Z0 S1 ; Set axis minima
                M208 X295 Y295 Z207 S0 ; Set axis maxima

                ; Endstops
                M574 X2 Y1 Z1 E0:1 S1 ; Define active high microswitches
                M558 P5 X0 Y0 Z1 H5 F100 T2000 ; Set Z probe type to BLTOUCH, the axes for which it is used and the probe + travel speeds
                G31 P50 X50 Y10 Z.7 ; Set Z probe trigger value, offset and trigger height
                M557 X50:275 Y50:275 S20 ; Define mesh grid
                M557 R105

                ; tools
                M563 P0 D6:8:9 H1 F2
                G10 P0 S0 R0 X0 Y0

                ; Drives
                M569 P10 S1 R0 T2 ; Drive 10 goes forawrds
                M569 P11 S0 R0 T2 ; Drive 11 goes reverse
                M569 P5 S0 R0 T2 ; Drive 5 goes reverse
                M569 P6 S1 R1 T2 ; Drive 6 goes forwards
                M569 P8 S1 R1 T2 ; Drive 8 goes forwards
                M569 P9 S1 R1 T2 ; Drive 9 goes forwards
                M584 X10 Y11 Z5 E6:8:9
                M350 X128 Y128 Z128 E128:128:128 I0 ; Configure microstepping without interpolation
                M92 X800 Y800 Z25600 E640:640:640 ; Set steps per mm
                M566 X1200 Y1200 Z18 E120:120:120 ; Set maximum instantaneous speed changes (mm/min)
                M203 X19000 Y19000 Z280 E1600:1600:1600 ; Set maximum speeds (mm/min)
                M201 X700 Y700 Z430 E350:350:350 ; Set accelerations (mm/s^2)
                M906 X0 Y0 Z0 E0:0:0 ; Set motor currents (mA)
                M84 S0 ; Disable motor idle current reduction

                ; Heaters
                M143 S260 ; Set maximum heater temperature to 260C
                M305 P0 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 0
                M305 P1 T100000 B4138 C0 R4700 ; Set thermistor + ADC parameters for heater 1
                M307 H7 A1 C1 D1
                ; Tools
                M563 P0 D0:1:2 H1 ; Define tool 0
                G10 P0 X0 Y0 Z0 ; Set tool 0 axis offsets
                G10 P0 R0 S0 ; Set initial tool 0 active and standby temperatures to 0C

                ; Network
                M550 Pkathryn printer ; Set machine name
                M540 PBE:EF:DE:AD:FE:ED ; Set MAC address
                M552 P192.168.2.9 S1 ; Enable network static address
                M586 P0 S1 ; Enable HTTP
                M586 P1 S0 ; Disable FTP
                M586 P2 S0 ; Disable Telnet

                ; Fans
                M106 P0 S1 I0 F255 H-1 ; Set fan 0 value, PWM signal inversion and frequency. Thermostatic control is turned off
                M106 P1 S1 I0 F255 H1 T45 ; Set fan 1 value, PWM signal inversion and frequency. Thermostatic control is turned on
                M106 P2 S1 I F255 H1 T45 ; Set fan 2 value, PWM signal inversion and frequency. Thermostatic control is turned on

                ; Custom settings are not configured

                ; Miscellaneous
                M501 ; Load saved parameters from non-volatile memory

                ; homeall.g
                ; called to home all axes
                ;
                ; generated by RepRapFirmware Configuration Tool on Mon Oct 23 2017 18:51:17 GMT-0400

                ; Relative positioning
                G91

                ; Lift Z
                G1 Z5 F1500

                ; 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

                ; Absolute positioning
                G90

                ; Go to first bed probe point and home Z
                G1 X50 Y50 F1500
                G30

                ; Uncomment the following line to lift the nozzle after probing
                G1 Z5 F100

                homex.g
                ; homex.g
                ; called to home the X axis
                ;
                ; generated by RepRapFirmware Configuration Tool on Mon Oct 23 2017 18:51:17 GMT-0400 (Eastern Standard Time)

                G91
                G1 Z5 F1500
                G90

                G1 X290 F750 S1

                G91
                G1 X-5 F1000
                G90

                G1 X290 F250 S1

                G91
                G1 Z-5 F1000
                G90

                Homey.g

                ; homey.g
                ; called to home the Y axis
                ;
                ; generated by RepRapFirmware Configuration Tool on Mon Oct 23 2017 18:51:17 GMT-0400 (Eastern Standard Time)

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

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

                ; Go back a few mm
                G91
                G1 Y5 F1000
                G90

                ; Move slowly to y axis endstop once more (second pass)
                G1 Y-290 F250 S1

                ; Lower Z again
                G91
                G1 Z-5 F1000
                G90

                Homez.g

                ; homez.g
                ; called to home the Z axis
                ;
                ; generated by RepRapFirmware Configuration Tool on Mon Oct 23 2017 18:51:17 GMT-0400 (Eastern Standard Time)

                ; bed.g
                ; called to perform automatic bed compensation via G32
                ;
                ; generated by RepRapFirmware Configuration Tool on Mon Oct 23 2017 18:51:17 GMT-0400 (Eastern Standard Time)

                ; Clear any bed transform
                ;M561

                M401 ;deployprobe
                G29 S0 ;probebedmesh
                M402 ;retractprobe
                M374 ;save map to file.

                deployprobe.g
                M280 P7 S10

                M280 P7 S90

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

                  Suggestions:

                  1. You are using external drivers for X and Y, but you have M350 X128 Y128. You should set X and Y to 16 in that M350 command, even if you are actually using higher microstepping on your external drivers. I'm not sure that using X128 Y128 in M350 will cause a problem, but it might. Leave your M92 steps/mm at 800 if that is correct for the microstep setting on your drivers.

                  2. What types of external drivers are you using for X and Y? You may need to extend the pulse width to more than 2us. Try T4 in your M569 P10 and M569 P11 commands until everything is working.

                  3. I suggest you test basic motion first. Send G91 to put the printer into relative coordinate mode. Then send these commands and check that the movement is as expected:

                  G1 S2 X50 F3000 ; should move the head 50mm in the +X direction
                  G1 S2 X-50 F3000 ; should move the head 50mm in the -X direction
                  G1 S2 Y50 F3000 ; should move the head 50mm in the +Y direction
                  G1 S2 Y-50 F3000 ; should move the head 50mm in the -Y direction

                  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

                    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
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA