Closed GoogleCodeExporter closed 8 years ago
I meant for this to be an enhancement request, not a defect, but I don't know
how to change it.
Original comment by jreh...@gmail.com
on 17 Feb 2011 at 7:11
Original comment by windell@oskay.net
on 17 Feb 2011 at 7:47
My impression is that what you are asking for is already completely possible,
at least in the "trivial" version that you describe. If you can find a
specific reason that this is NOT the case, please say so.
The EBB command set is essentially a superset of the UBW command set, so you
can set up the board to read known I/O pins, and have the host execute minimal
steps until the switch closes. As you will want to travel *slowly* while
seeking the home position, this is likely to be acceptably fast as a solution.
See also:
http://www.schmalzhaus.com/EBB/EBBCommands.html
http://www.schmalzhaus.com/UBW/Doc/FirmwareDDocumentation_v145.html
It is possible that a "move until limit" command could be built into the
firmware, but as you note, there are a lot of parameters to set, and the
benefits would be (at best) an increase in speed.
Please indicate if you have specific reasons that the "trivial" solution is not
an acceptable resolution. Otherwise, I recommend that this issue is marked as
closed.
Original comment by windell@oskay.net
on 17 Feb 2011 at 8:01
Slow speed of making a single step and testing switch status in a loop may be a
showstopper for some applications, where you need to home the system after each
cycle and there is a possibility of motor stall, therefore position information
is lost.
Increasing the speed of homing by traveling more than one step at the time
deceases the accuracy of found home position. Additionally, approaching the
limit switch in start/stop mode adds a position noise due to system inertia,
flexibility, preload and general slack.
Homing function is a standard feature of any industrial motion control system.
Original comment by pup...@gmail.com
on 10 Jul 2011 at 8:43
>Homing function is a standard feature of any industrial motion control system.
True. But a motion control system typically consists of both hardware and
software. A straightforward software solution presently exists.
Since this issue was first opened, we have ourselves acquired a (rather large)
CNC machine. For zeroing, it first advances rather quickly towards the end
with the limit switch. It then backs up slightly from there and advances in
microsteps until it reaches the limit switch. This is a good solution. It
solves the slow-speed "showstopper" problem as you describe it, and ensures
that when you are doing the fine setting, there's no significant error due to
inertia.
I strongly disagree with your contention that advancing one microstep at a time
*increases* noise due to inertia, flexibility, preload, or slack. It should
actually reduce error to a level significantly below what you can get by
zeroing while under rapid motion. The position is genuinely *known* at every
microstep, with the highest resolution available to the system.
If there is a compelling reason to add limit switch detection to the firmware,
you're welcome to say what that is, or even to write and contribute the patch
yourself.
Original comment by windell@oskay.net
on 10 Jul 2011 at 9:39
Closing due to a lack of activity and/or interest.
Original comment by windell@oskay.net
on 30 May 2012 at 6:40
Original issue reported on code.google.com by
jreh...@gmail.com
on 17 Feb 2011 at 7:09