311
General Mach Discussion / Re: Setting up my home machine coordinate position, without homing or limit switches
« on: September 02, 2012, 02:49:29 PM »Ray, would it matter where the motor stopped? If it is stopping on a full step then all the better. Mach zeroes the machine coords when you Home so what the rotational position of the motor is, is irrelevant as far as I can see.
Maybe I am missing something?
Hood
Hood,
Yes, you're missing something. With no micro-stepping, the driver has a sequence of four output phases it cycles through. When you hit the hard stop, the motor may stop on phase 1, but the controller may stop on phase 3, since it can't sense where the motor actually stopped. The first step the driver makes may not move the motor at all, or may even try to move it in the wrong direction. The result is, you will end up with an error of up to several steps before the motor catches up to where the controller thinks it is. This is basically the same problem you have with stopping the machine at a specific position, then powering down, and powering up the controller. The controller will generally power up in one specific phase, and the motor will then be force to that position. So, after powering back up, the machine is no longer in the same position it was in when powered down, and the error can be up to 2 steps off in either direction.
Regards,
Ray L.