Erratic movement when homing
Posted: Wed Apr 03, 2019 5:54 pm
I overrode the "Home Y" (original button number 108) with the following script.
MessageBox.Show("Start home Y");
exec.Code(G1 F1000);
exec.Code(G28 Y0);
MessageBox.Show("End home Y");
I know the script is working because I see the message box pop up. But sometimes the Z axis homes but the wrong direction. Sometimes the X axis homes. Sometimes the Y axis moves one direction and then back the other. Why doesn't this script simply home the Y axis only?
I'm using UC300ETH controller. Thanks in advance.
Edit: Just tried the following code and it instead homes the Z axis.
MessageBox.Show("Start home Y");
exec.Code(G1 F1000);
exec.Code(G28.1 Y);
MessageBox.Show("End home Y");
MessageBox.Show("Start home Y");
exec.Code(G1 F1000);
exec.Code(G28 Y0);
MessageBox.Show("End home Y");
I know the script is working because I see the message box pop up. But sometimes the Z axis homes but the wrong direction. Sometimes the X axis homes. Sometimes the Y axis moves one direction and then back the other. Why doesn't this script simply home the Y axis only?
I'm using UC300ETH controller. Thanks in advance.
Edit: Just tried the following code and it instead homes the Z axis.
MessageBox.Show("Start home Y");
exec.Code(G1 F1000);
exec.Code(G28.1 Y);
MessageBox.Show("End home Y");