G32 spindle sync with FRO
Posted: Mon Jul 20, 2020 10:52 pm
Single-point threading is working nicely for us, but there is one remaining problem: if feed rate override is used then it breaks things.
The way we implement FRO is a little different than the approach in KMotionCNC. Instead of using a script command from the PC, we set a persist var, then there is a supervisor loop in the kflop which transfers the requested value using SetFRO():
In our app, we somehow need to be able to disable the FRO slider/button when G32 is in progress. It would also be acceptable to disable FRO on the kflop for the duration of spindle sync.
Is there a hook in the controller that allows us to handle entry and exit from spindle sync mode, so that we can temporarily force FRO to be 1.0?
Note that feed hold already acts properly (i.e. it does not FH until the G32 completes), so it's almost perfect!
Regards,
SJH
The way we implement FRO is a little different than the approach in KMotionCNC. Instead of using a script command from the PC, we set a persist var, then there is a supervisor loop in the kflop which transfers the requested value using SetFRO():
Code: Select all
if (VAR_FRO != _last_fro) {
SetFRO(VAR_FRO);
_last_fro = VAR_FRO;
}
Is there a hook in the controller that allows us to handle entry and exit from spindle sync mode, so that we can temporarily force FRO to be 1.0?
Note that feed hold already acts properly (i.e. it does not FH until the G32 completes), so it's almost perfect!
Regards,
SJH