Configuration problem?
-
I think you are saying that this is a new issue for you since you change to to the Duet, but you haven't ever got it working with the Duet. This is what I suggest:
1. Choose where the X=0 Y=0 head position should be. The usual choice is at the front left.
2. That defines which are the correct X and Y movement directions. If X=0 Y=0 is front left, then +X is towards the right and +Y is towards the rear.
3. Until you have everything working, reduce the motor currents to avoid damage if things go wrong. These are set in the M906 command in config.g. You have them set to 800mA. I suggest you try 400mA for now.
4. Test the endstop switches, using either M119 or by looking at the Settings -> Machine Properties page of the web interface. They should show correctly whether each endstop switch is triggered or not.
5. Use the jog controls of the web interface to check that X+10 moves 10mm in the +X direction. Similarly for X-10, Y+10 and Y-10.
6. Your M574 command indicates that you have a low-end X endstop switch, and a high end Y endstop switch. So if X=0 Y=0 is front left, the X switch is at the left and the Y switch is at the rear. Is this correct?
If you report the results back then we should be able to diagnose the problem.
-
1. Choose where the X=0 Y=0 head position should be. The usual choice is at the front left.
2. That defines which are the correct X and Y movement directions. If X=0 Y=0 is front left, then +X is towards the right and +Y is towards the rear.
3. Until you have everything working, reduce the motor currents to avoid damage if things go wrong. These are set in the M906 command in config.g. You have them set to 800mA. I suggest you try 400mA for now.
OK I changed the Currents to 400mA but now my motors dont have enough power to move my parts
4. Test the endstop switches, using either M119 or by looking at the Settings -> Machine Properties page of the web interface. They should show correctly whether each endstop switch is triggered or not.
They do show weather they are triggered or not but that does not stop them when I click homeall.g it just moves from left to right until it hits the right side then tries to keep going.
5. Use the jog controls of the web interface to check that X+10 moves 10mm in the +X direction. Similarly for X-10, Y+10 and Y-10.
When I move the X and Y it does move in the correct and expected movements.
6. Your M574 command indicates that you have a low-end X endstop switch, and a high end Y endstop switch. So if X=0 Y=0 is front left, the X switch is at the left and the Y switch is at the rear. Is this correct?
When I give the M574 command I get this output,
Endstop configuration: X low end (active low), Y high end (active low), Z low end (active low),
If you report the results back then we should be able to diagnose the problem.
Thank you so much again for the help gentlemen
-
Regarding #6, are your X and Y endstop switches positioned as described - X switch at the left and Y switch at the back?
If the X switch is on the left but the head moves right when you try to home, that suggests your homing files are wrong. Please post the contents of all 4 homing files.
You may find it helpful to generate new homing files using configtool.
-
Regarding #6, are your X and Y endstop switches positioned as described - X switch at the left and Y switch at the back?
If the X switch is on the left but the head moves right when you try to home, that suggests your homing files are wrong. Please post the contents of all 4 homing files.
You may find it helpful to generate new homing files using configtool.
Yes, my X Endstop is at the Left and my Y is at the back.
I generated a new Homing files and when I home anything I just get my left "Z" Motor (Z moter1, or ZA) Moves both nothing else.
HomeAll.g
; homeall.g
; called to home all axes
;
; generated by RepRapFirmware Configuration Tool on Fri Jul 28 2017 17:07:42 GMT-0700 (Pacific Daylight Time); Relative positioning
G91; Lift Z
G1 Z5 F6000; Course home X or Y
G1 X-305 Y305 F1800 S1
; Course home X
G1 X-305
; Course home Y
G1 Y305: Move away from the endstops
G1 X5 Y-5 F6000; Fine home X
G1 X-305 F360 S1
; Fine home Y
G1 Y305 S1; Absolute positioning
G90; Go to first bed probe point and home Z
G1 X15 Y15 F6000
G30; Uncomment the following line to lift the nozzle after probing
;G1 Z5 F100HomeX.g
; homex.g
; called to home the X axis
;
; generated by RepRapFirmware Configuration Tool on Fri Jul 28 2017 17:07:42 GMT-0700 (Pacific Daylight Time); Lift Z relative to current position
G91
G1 Z5 F6000
G90; Move quickly to X axis endstop and stop there (first pass)
G1 X-305 F1800 S1; Go back a few mm
G91
G1 X5 F6000
G90; Move slowly to X axis endstop once more (second pass)
G1 X-305 F360 S1; Lower Z again
G91
G1 Z-5 F6000
G90HomeY.g
; homey.g
; called to home the Y axis
;
; generated by RepRapFirmware Configuration Tool on Fri Jul 28 2017 17:07:42 GMT-0700 (Pacific Daylight Time); Lift Z relative to current position
G91
G1 Z5 F6000
G90; Move quickly to Y axis endstop and stop there (first pass)
G1 Y305 F1800 S1; Go back a few mm
G91
G1 Y-5 F6000
G90; Move slowly to X axis endstop once more (second pass)
G1 Y305 F360 S1; Lower Z again
G91
G1 Z-5 F6000
G90HomeZ.g
; homez.g
; called to home the Z axis
;
; generated by RepRapFirmware Configuration Tool on Fri Jul 28 2017 17:07:42 GMT-0700 (Pacific Daylight Time); Lift Z relatively to current position
G91
G1 Z5 F6000; Back to absolute positioning
G90; Go to first bed probe point and home the Z axis
G1 X15 Y15 F6000
G30; Uncomment the following lines to lift Z after probing
;G91
;G1 Z5 F100
;G90 -
So only one of your Z motors is moving? How are they wired: both to a single driver, or to separate drivers?
-
They are wired like the diagram says (Z moter1, or ZA and Z moter2, or ZB)
-
If only one Z motor is moving and they are wired to the two Z moor connectors, that suggests that either there is too much friction on the shaft of the one that is not moving, or the current is much too low. What is the specification of the motors, and what current have you set?
-
I have these https://www.amazon.com/gp/product/B00PNEQKC0/ref=oh_aui_detailpage_o00_s01?ie=UTF8&psc=1
And the Current is set to 800mA
-
ok I was able to correct the only one Z motor moving issue looks like it was binding when it got to a certin level. this has been addressed. My New problem is when I home Z the bed lowers away from the Endstop.
-
Are you sure your Z is going the correct direction? The reason I ask is because my machine is an Ultimaker like clone. When I first configured it, I had stuck in my head that when you hit +10 on the axis movement, the bed should go up. That was incorrect. Minus is up. Mine did the same as yours. Once I switched that, it homed fine.
-
Sounds like you need to reverse the direction of the Z motor. Look for the M569 P2 command in config.g and change S0 to S1 in that command, or vice versa.
-
OK that worked, Now when I home Z it does not stop once the endstop is triggered. it tries to brake it.
-
Read https://duet3d.com/wiki/Configuring_RepRapFirmware_for_a_Cartesian_printer#Homing_files in particular the parts about 2 different ways of homing the Z axis.
-
When you run an M119 command with none of the switches triggered, what does it show?
-
It Shows
SENDING:M119
Endstops - X: at min stop, Y: at max stop, Z: not stopped, Z probe: not stoppedI have ran the M119 command and even with clicked the red LED goes on on both the motherboard and the endstop but when I run the M119 command it shows as not stopped like quoted above. i have even tried with 2 different endstops
-
M574 X1 Y2 Z1 S0
If you are using the same type of switch for all end stops, then X, Y and Z in the above should be the same. If it doesn't stop when triggered, try S1 instead.
-
As long as you have all switches wired the same way, all should be good. Have you tested continuity of the switch and the wiring to the switch. Also, check that the connector is plugged in to the correct connector. One last thing, when I wired mine up, I didn't get the recepactle in the connector all the way and when I would plug it in to the board, the board pin would push the receptacle out of the plug enough to make it not work.
-
M574 X1 Y2 Z1 S0
If you are using the same type of switch for all end stops, then X, Y and Z in the above should be the same. If it doesn't stop when triggered, try S1 instead.
Just changing S0 to S1 will reverse the logic of all the switches. I'm not sure thats what he wants if the other switches are working properly.
-
Yea the switches light up correctly on the motherboard but the M119 command does not show that it is being triggered. Is there something in the config or .g that I am missing?
-
Hmmmm…. That is odd. Are you 100% sure you have it plugged in to the Z endstop plug location on the board? I know that sounds basic but stranger things have happened.