Will not home to X now
Hi, Machine has been running fine no problems. Finished a print and found the head was at the far right of the X axis, the limit switch is on the left.
When trying to home the X, I get an error message "Error bad command"
Manual move via the Paneldue will move the X away from the endstop but not more than a single movement towards it.
I replaced the micro sd card with 3 different working backups that were all previously checked and confirmed working ,but the problem still persists.
Any help would be appreciated.
JoergS5 last edited by JoergS5
@Rattlemycage when do you get "Error bad command"? When you home X with G28 X? Then please post the homex.g file, there should be a syntax error.
You can call
to check whether there is an error.
G1 H1 X-305
G1 H2 X5
G1 H1 X-305 F360
G1 H1 X-305
Additionally. when trying to home from the paneldue the head is moving about 10mm each time i press it AWAY from the home position.
@Rattlemycage Check the wiring and function of the X endstop. Usually moves away from the endstop indicate that the firmware thinks it has already been triggered. Send
M119to get endstop status.
Did you try @JoergS5 suggestion of sending
M98 P"homex.g"? This would report if there were any errors with the file, but I suspect this is a wiring issue.
the head is moving about 10mm each time i press it AWAY from the home position.
Are you sure it's not 5mm? Your homing file has a 5mm move away from the endstop to back off that ignores the endstop status. If your endstop is falsely triggered at all times, then only the 5mm backoff move will work. The other moves do nothing because they think the endstop is already triggered.
If nothing has changed recently then either your endstop is failing or it's picking up interference.
It may help if you post your full config and the results of M122 to give us a clearer picture of your setup.
Found it guys, Thank you for all your assistance. The connector had come away from the endstop. All working great again now.