I'm helping a friend with a TMC1000 retrofit, and we put a nice brushless servo on the spindle instead of the old universal motor. He is using LCNC with plain parallel port stepper control. I'm setting up the spindle as step/dir, since he doesn't have analog output. He especially wants to be able to do rigid tapping.
I believe I can use the stepgen counts or position-fb in place of a spindle encoder, since his parallel port won't count pulses from the 10k/rev encoder on the motor very well. My question is about scaling. I have set the servo drive to be 3600 pulses/rev. I put the stepgen into velocity mode, then net stepgen velocity-cmd to motion.spindle.speed-out. Now I need to connect the stepgen position to motion.spindle.revs, but what scaling is needed? Should I set stepgen position-scale to 3600 and net stepgen position-fb to motion.spindle.speed-out? Will this work, or are there other problems I haven't thought of? Thanks, -- Ralph _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users