On Jan 28, 2008, at 4:40 PM, John Kasunich wrote:
Dave Engvall wrote:
Hi,
Is there anyone using the motenc either 8 channel or 4 channel with
emc 2.2.2?
I'm trying to bring up a system after installing off the Live CD and
cannot establish that the index pulse is getting to the software.
I've tried both halmeter and halscope on the encoder index and
encoder index enable pins and nothing seems to change. I tracked it
for about 3 t of the ballscrew(encoder).
I'm not sure if the index HAL pin is supposed to be a copy of the
hardware index pin or not - that pin isn't part of the canonical
encoder
interface and does whatever the driver writer had in mind a the time.
The index-enable HAL pin is bidirectional - you need to set it true,
then the driver will set it false (and reset the counter) on the next
index pulse. If index-enable is false, the driver does nothing at all
when it sees an index pulse.
Back to the shop:
First of all the home stuff in the .ini in case I've screwed
something up there:
HOME_OFFSET 0.1
HOME_SEARCH_VEL 0.1
HOME_LATCH_VEL -0.01
HOME_USE_INDEX YES
HOME_IGNORE_LIMITS YES
Now to halmeter:
not homing
homing
axis.0.index-enable F
T
axis.0.homing F
T
motenc.0.enc-00-index-enable F
F
motenc.0.enc-00-index T
T
motenc.0.count xxxxx
counting
Xindex F
F
Did I miss anything I should be looking at?
AFIK hal_motenc.c was last modified by JMK 2007-6-12 (at fest?)
Dave
The pulse shows as about 2 mS wide at 4 ipm so it is there. Looks
good at both Z and not-Z on the encoder plug to the breakout board.
Comments, ideas, experience, etc. would be appreciated.
Regards,
John Kasunich
----------------------------------------------------------------------
---
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users