@thehands1:
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