First homing attempts failing.
-
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
-
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.
-
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?
-
; 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 S1This 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
-
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.
-
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.
-
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.
-
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
-
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.
-
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.
-
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.
-
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 -
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
-
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 -
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 -
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?
-
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.
-
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-polarAs 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?
-
Also Cooling, 1, 50mm 24v fan always "on" mounted behind the board 50mm away blowing directly on the rear side. Another 50 mm arranged the same way toward the front. Each on-board drive has a heat sink thermally adhered to the driver like the ramp mini aluminum heat sinks. Along with 1 more on the voltage reg. The board is mount with 65 mm nylon standoffs and 3mm threaded rod to an acrylic backing plate. All lines to and from are fastened with mini cable organizer made for this setup to maintain proper spacing and no restrictive pressure or tension has been applied. Stepper motor cases are bonded to small diodes and than to earth. Diodes are to prevent any gnd line potential from entering, only allowing potential from motor case to enter gnd.
-
Please can you explain what you mean by "Moving good based on commands you requested I perfom." Are you saying that G1 S2 moves are now working well?
I've thought of one other possible explanation for irregular movement, which is bad power. This could be caused by a faulty power supply, or by the screws in the Duet's VIN terminal block not being tight.
The only difference between G1 S1 and G1 S2 moves is that with S1, the move will be terminated when the corresponding endstop switch is triggered, and the location along that axis will be set to the value you defined in an M208 command.
Please try the following:
- Send G91 to put the printer in relative coordinate mode
- Send various G1 S2 moves. For example, G1 S2 X50 F750 should move the head 50mm in the +X direction; and G1 S2 Y-100
F750 should move the head -100mm in the -Y direction. Check that the movement is smooth and the movement amount is correct. Caution: it won't stop at the endstops. - If that works, try similar moves, but use S1 instead of S2. The motion should be the same as it was with G1 S2, except that if you press the endstop switch for the axis that is moving, that should immediately stop the move.
HTH David