Thanks for the replies.

I just made the changes shown below:

univpwm_io.hal
-------------------
... snip
# connect index pulses to motion controller
# do these when index pulsing is figured out
# This has been commented out pending changes to the
# driver to work with the canonical encoder interface

#newsig Xindex bit
newsig Xindex bit     <- new
#newsig Yindex  bit
#newsig Zindex bit
#linksp Xindex <= ppmc.0.encoder.00.index
linksp Xindex <= ppmc.0.encoder.00.index-enable   <- new
#linksp Xindex => axis.0.index-enable
linksp Xindex => axis.0.index-enable              <- new
#linksp Yindex <= ppmc.0.encoder.01.index
#linksp Yindex => axis.1.index-enable
#linksp Zindex <= ppmc.0.encoder.02.index
#linksp Zindex => axis.2.index-enable
... snip

And it works just fine - for X anyway.

Jon - I'll have to study your link. I have some spindle issues to work out. 
I have an SSR for each: spindle brake, forward relay, reverse relay, high 
speed clutch, and low speed clutch and a stepper motor and limit switches 
for the variable speed pulley mechanism. Either that or go with the VFD. 
Either way presents new territory and hardware.

Kirk Wallace
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
On Sun, 2007-07-08 at 13:17 -0500, Jon Elson wrote:
> Kirk Wallace wrote:
> > In trying to get homing to work on my lathe conversion, I found that the
> > index feature is not working. I think I tacked it down to:
> > 
> > univpwm_io.hal
> OK, the best thing is to start with the files in
> http://jelinux.pico-systems.com/codes/univpwmthread/
> which I have just updated to the latest work from the CNC 
> Workshop.  This is a 3-axis setup that I used on my minimill
> to do single-point threading.  So, it not only has the right
> code for homing with the index pulse, but also using the index 
> pulse for spindle synch.  You can just ignore the Y axis, or 
> take it out.  I haven't tried it to see if you can get all of 
> EMC to just skip over Y and have just X and Z.
> 
> Jon



-------------------------------------------------------------------------
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