On Thu, 21 Jun 2007, Jon Elson wrote:

> Date: Thu, 21 Jun 2007 11:30:54 -0500
> From: Jon Elson <[EMAIL PROTECTED]>
> Reply-To: "Enhanced Machine Controller (EMC)"
>     <[email protected]>
> To: "Enhanced Machine Controller (EMC)" <[email protected]>
> Subject: Re: [Emc-users] m5i20 Homing with index
> 
> Richard Arthur wrote:
>> Why doesn't homing complete at the index pulse shown here:
>>
>> http://imagebin.org/9073
>>
>> (Homing with HOME_USE_INDEX = FALSE works okay)
>>
> Your index pulse has the wrong polarity.  Note it is sending
> true almost all the time, then goes false for a moment.  You
> want it to be false except for a short duration.  If it is a
> differential signal, then switcxh the two wires to reverse the
> sense.  If it is single-ended, you should be able to invert the
> polarity at hal level, although that may defeat the logic in the
> mesa board.

Not sure how it hooks into HAL, or how the driver handles homing, but in 
hardware, the index polarity is set by a bit in the CCR 
(CounterControlRegister) This would have to be set correctly to match your 
index signals _Active_ polarity.

Also the index mask input would have to be in the proper state if index 
maskiing is enabled



Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to