Igor Chudov wrote:
> I am realizing that I am not sure what scale should I use for rigid tapping.
> Should I configure EMC2 so that a single revolution of the spindle results
> in the spindle position of 1.0?
>
>   
Yes.  You just set ppmc.0.encoder.xx.scale to the number of counts 
(encoder line count *4)
of the encoder.
> Also, another question. Does anyone who has rigid tapping, have a .ini file
> that they can share?
>   
See http://pico-systems.com/codes/jebport/
Sorry that things are a bit scattered in there, the encoder resolution 
is set in ppmc_motion.hal,
and there are some lines a little farther down that set up the 
index-enable pin for that encoder.
Then, there's some more that rigs up a DAC channel for the spindle speed 
command.  Right now it
is dumb, and ignores the belts and back gear.  And finally some stuff to 
prepare a speed signal
for pyvcp to put on the screen.
Files spindle.hal and spindle.xml actually get it on the screen.

The specific linkage you are missing is just below this comment :

# report rev count to motion controller


Jon

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to