Geert De Pecker wrote:

>I came to the .hal section below looking around on the net and
>testing, but, while this seems to work from time to time, basically,
>I'm not using the index signal which I would need for eg threading.
>
>Especially the line
>
>net spindle-phase-A <= parport.0.pin-11-in => encoder.0.phase-A 
>encoder.0.phase-Z
>
>Makes me wonder. This would send 50 indexes per turn. I guess one should
>have a single Z index per turn to act as reference point when threading.
>  
>
Yep.

You described a physical setup with two pins connected (10 and 11), but 
you only connected one of them to the encoder (in two places).

You need to connect phase-A to pin 11 and phase-Z to pin 10.

- Steve


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to