On 2 Oct 2012 , at 1:59 PM, Randy Zimmer wrote:
> I have two robots made with Makerbot electronics
> On the first, with a 18" Z height, the homing times out before it gets 3/4
> of the way.
If you're using the default homing command in the start gcode, then that's
to be expected: the timeout is too short. While the firmware itself accepts
a timeout and "feedrate" for the command, the gcode parser in RepG only accepts
a "feedrate" and uses a hard coded timeout value. The "feedrate" is actually
how many microseconds to pause between steps and thus the smaller the value
the faster the apparent motion (and thus it's inversely related to the speed as
its time units per step and not steps per time unit).
At any rate, the typical thing to do is to put in multiple homing commands.
> On the new machine, I set calibration to 0,0,0, set Z to MIN as on the
> other.
It's not clear to me what you mean by "set calibration to 0,0,0". Showing
your actual gcode would be helpful.
> (this thing is 500mm in every direction)
> When the robot homes, it looks OK, then, the distances seem to double and
> the Z goes straight up!
The distances double or the speed doubles or the steps seem to double?
At any rate, if you told it to move to Z min (down) and it moved up, then
it sounds like you need to reverse your Z axis stepper motor or invert the
Z axis in the firmware's EEPROM via the "Machine Onboard Preferences" panel
of ReplicatorG.
As to anyone else seeing this, the timeout on homing is common place even
with stock thing-o-matics. The axis running in the opposite direction is
also common and hence the ability to invert the axes from software or by
unplugging the wiring between the stepper and stepper driver and turing it
180 degrees and plugging back in.
Dan