Maybe I asked too much at once. I'll try to break it down a little bit.
Currently, to me, it looks like they are using a comp to take the commanded RPM value, and output a frequency with a stepgen output. They give the frequency range of 1000 to 24000. It looks like the comp file also fakes the RPM ramp up on the GUI. And I'm guessing it also ramps the frequency to the specified RPM based on some rate.
I'm not sure if this is how regular spindles work (this is my first trek down this particular road, so forgive my ignorance).
From what I can tell, the only real input and output to the component are:
Code:
# speed-out is displayed by UI when program running
net spindle-speed-fb-rpm tormachspindle.speed-out
# connect motion speed-out to input of spindle comp
net spindle-speed-raw motion.spindle-speed-out tormachspindle.speed-in
Just to try to get somewhere, I tried hooking the spindle-velocity signal to spindle-speed-fb-rpm, but it didn't work. Pathpilot wouldnt load. Also, the speed would have been showed in RPS, but I figured I could deal with that later.
I guess overall, has Tormach made this too difficult to work with? Or is it really simple, but I just have a ways to go to understand it/how to make it work?