Help with setting up firmware for coreXY machine - unable to home.
-
This has me puzzled because I can't see the problem. Please try these:
1. Send M208 with no parameters, check that the axis limits it reports are correct and as you have defined them in config.g i.e. minimum zero and maximum 400 on each axis.
2. Send M564 S0 to disable soft endstops and then see if it lets you move after homing.
-
I am confused as well. It looked to me like things were correct. Now with you being puzzled now I am VERY confused. I will try those suggestions to see what happens. Thanks for the help!
-
OK, well it works now if I do the Homeall manually. If I issue a G28 ; home all axes then the system will home correctly but then just hangs up. No messages in the console nothing. It just sits there and I have to reset and manually do the Homeall then run without the G28. Ideas?
-
When you say it works if you do the homeall manually, do you mean it works if you send G28 X, then G28 Y, then G28 Z?
-
Two things:
1. In homex.g and homey.g you do the fine homing at low speed (F360). In homeall.g you don't. You should add that F360 parameter to the commands that fine home X and Y.
2. I remember reading a report recently that another user had to remove comment lines from his homeall file to get it to work. So I am wondering whether there is a problem if the file ends with a comment line. Try removing the two comment lines at the end of homeall.g. Or maybe putting a blank line at the very end would work.
-
So when I say Homeall manually it is pressing the home icon on the PanelDue screen. Sending the G28 command from the gcode file not manually from the screen. I will try if sending the code individually if it works and I will then test to see if removing comments makes it work as well. I will do them separately so that I know which one is doing what.
-
If I enter the codes G28 X and G28 Y then tell it to print without a G28 code in the gcode file it works. If I have the codes G28 X and G28 Y in the gcode file with no G28 it works. If I just have G28 it stops working. Must be something with the Homeall file. There are no comments at the end anymore. The F360 parameters are there. Wow am I baffled!!!
-
I just had the same issue with the generated homeall.g file. Despite going through it line by line I could not find an issue.
In the end I just completely cleared the file, saved it empty, and then manually inserted the X, Y, Z homing commands from their respective homing files into homeall.g.
Now it works.Duet Ethernet with 1.18.1 by the way.
-
Next time anyone has this issue, please save the homeall.g file that doesn't work so that you can send it on to me. I have just created a new homeall.g file using the config tool, and it works OK for me.
-
If I enter the codes G28 X and G28 Y then tell it to print without a G28 code in the gcode file it works. If I have the codes G28 X and G28 Y in the gcode file with no G28 it works. If I just have G28 it stops working. Must be something with the Homeall file. There are no comments at the end anymore. The F360 parameters are there. Wow am I baffled!!!
Could it possibly be a problem reading the homeall.g file on the SD card? Here are some things to try:
-
After running G28 or pressing Home All, check the Console page of DWC for error messages
-
Look at the printer status on DWC or PanelDue after it has got stuck running homeall. Is it still Busy, or has it reverted to Idle?
-
Go into the system file editor in DWC, edit homeall.g, select all the text and press control-C to copy it to clipboard. Then go to the Macros page of DWC, create a macro called e,g, "Home all", and put the text you copied into it. Then see if running the macro has the same problem
-
Move the SD card to a PC. Run the disk checking tool on it to check it for errors. Then rename homeall.g to homeall.bak, then copy homeall.bak to homeall.g. Put the card back in the Duet, restart the Duet, and see if the problem is still there.
HTH David
-