On Thursday 07 May 2009, Frank Tkalcevic wrote:
>> >> First, there's an index mask option in the hostmot2 firmware.
>> >>  You set the -index-mask (and optionally
>>
>> -index-mask-invert) bits to
>>
>> >> true, and the index will only be active when another input is on.
>> >> Connect that other input to the correct Index Mask
>>
>> physical pin, and
>>
>> >> you have an encoder that only works when the spindle is
>>
>> close to the
>>
>> >> right spot.
>> >
>> > The index-mask is a parameter.  Can I connect a pin to a parameter?
>>
>> You can not connect a pin to a parameter, but you dont need
>> to.  The index-mask parameter is maybe a little confusing
>> because it has the same name as the Index Mask I/O pin (note:
>> I/O pin, not a HAL pin).
>>
>> The index-mask parameter turns the index masking behavior on and off:
>> If the index-mask parameter is set to True, the Index input
>> pin only has an effect if the Index-Mask input pin is True.
>
>Where is the Index Mask I/O pin?
>
>I was looking at a software solution before modifying the hardware.  I was
>going to create a component that would set index-mask to "on" while the
>encoder count was below some threshold, 2.5 * 4000 in my case, then enable
>it after that.  Above, the threshold, index-mask will be off and the encoder
>will trigger, reset the count to 0, and reset index-enable.
>
>
And that will only work as long as the power is on and emc has not been 
restarted.  Other wise you'll have to preposition the the chuck on the index 
pulse before starting emc every time.

I'd be partial to the aux shutter idea suggested previously that would short 
out the index pulse when the vane isn't blocking, and attached to the actual 
spindle, then it will know where it is on the first index pulse that comes 
through after powerup and boot.  Or just move the index generator to the 
spindle, better yet.  Whatever loss of precision there might be s/b pretty 
much a never mind, but the doubled index generator would be more accurate, and 
the spindle could then be at rest any place.

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
The electrician didn't know what the yellow cable was so he yanked the 
ethernet out.


------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to