Hello!
I'm in the process of gutting a Heidenhain control off my BP412 that has a toolchanger.
Does anyone have any examples I could start with? I've got two other mills running Mach3 and have seen several examples in VBA. Its straightforward and I'm a software engineer so C# so that part isn't a huge challenge for me.
On my BP412 the old Fanuc spindle control has a spindle index function. The tangs of the spindle have to rotate to the toolchange position for the tangs of the tools to line up when the carousel is moved into position. There's already an encoder on the spindle for this purpose, but I'm not sure yet if its a quadrature encoder. Might have to change it out for something modern. Along this vein my question is how does one control the spindle with a macro with uccnc while it runs normally under PID control? In Mach it looks like the spindle is switched to be another axis to index it, the toolchange is done, then the spindle axis flipped back to operate as a spindle. I assume the same idea is how its done with uccnc?
Thanks,
Bob