Category: Advanced Configuration
Hello Folks,
just a quick update: At the Moment I'm in the process of aquerring the machine. The machine was listed in working condition. But sadly it has an error in the B-axis servo amp. The seller is realy cooperative and tries to fix it asap.
In the meantime i was thinking about to major "hurdles":
1.) Milling spindle orientation
The machine can hydraulically lock the spindle via hirth coupling in 12 positions. This is of course quite importent for tuning tools and broaching tools. Of course i want to implement this feature in LCNC as well. The first solution that came to my mind is using a custom M-Code that executes a custom HAL Component. The M-Code posting needs than to be implemented into the post processor after every tool change.
But i would prefer the solution by Mazak. They used iirc a custom tool change command and added the desired spindle angle.
It looked something like this: T01XX while XX equals the desired spindle orientation.
2. Turning spindle + C-axis + clamping I saw this is done via the PP so never mind.
There are plenty of examples on how to implement a lathe spindle + C-Axis in LCNC. What worries me is the spindle locking.
There is the INDEXER available, but this works only exclusivly with G0 moves. As soon as the G-code contains G0 CX and i.e. G1 CX FXX it does not work anymore. How can i solve this problem? My idea was to somehow use motmod.
C-axis can be locked if the next line of G-code does not move the axis and unlocked if the next line of code does. The question is how.
The bridge the waiting time for new posts on this topic here are some pictures: