Category: Milling Machines
For too many months I tried in vain to fix the venerable vfd that was the original fitment in the machine and have at last inserted a Yaskawa unit . Tiny thing compared to the old one! But does actually run the motor at the speed commanded without drama and also reverses without needing to stop the spindle. Have also got the Linuxcnc spindle at speed bit to work from the encoder signal.
I think I've been round in circles on the synchronised motion implementation say for tapping.
I believe now that when pncconf writes the hal for a spindle with an encoder, then no additional entries are required to enable synchronised motion. The configuration output has spindle position, speed as well as index enabled pins, and I think that is all that is needed.
The wiki help, to me, implies some specific pin names are required, but after trying to get the suggested ones to work I find that in fact the default ones provided by pncconf work, or at least seem to.. At least I can get a sample G-code file with G33.1 to complete a cycle. Yet to cut metal with it, but nearly there.
I am also confused by the Spindle at speed notion. I can understand that it would be better if the spindle was running before the tool hits the workpiece, and notionally a good idea, but when the spindle reverses in the middle of a tapping cycle, I am guessing that the motion will continue to move as the tool delcels and accels, rather than wait to get up to speed? Must do, but was curious as to what happens under the hood so to speak.
Thanks