Gary,
There is no need for these because:
1.) Slave axes homing is already implemented. As soon as you set different home pins for the master and the slave then the gantry squaring will automatically happen. The UCCNC will move the master and the slave to the home switches with moving them together and once one of the home switches are found then the motion stops and the master and slave connection is removed and both axis will home on it's own squaring the gantry.
Maybe what would be useful is to add separate backoff distances for the master and the slave, so then the home switches do not have to be aligned to be in square.
However it can be already done in macro, there is a Slaveaxis function which you could use to temporarily Slave/Unslave axes, so you could for example unslave them, command them to move separately different distances and then slave them back together.
The function prototype from the documentation:
- Code: Select all
Function: void Slaveaxis(int masteraxis, int slaveaxis)
Description: This function slaves an axis to an axis. The masteraxis can be axis X, Y and Z axis (numbers 0, 1, 2 respectively) and the slave axis can be A, B and C axis (3, 4, 5 respectively). To remove the slave from the master axis use value 0 on the slaveaxis parameter.
Be careful with saving the axis settings when the slaveaxis function is in use. If the settings are saved without pressing the Apply settings button first then the slave parameter will be saved for the master axis!
Example: exec.Slaveaxis(0,3); //Makes A-axis slaving the X-axis.
2.) There is no need for 2 approach speeds for homing. I understand that you want this to be able to quickly reach the home position and to get a precise home position the same time.
There are 2 homing speed parameters in the UCCNC, one is the home up and the other is the home down speed. The up means when the axis is running towards the switch and the down is when the axis is running downwards the switch. So, you can set the up speed high and so the home position will be reached fast and the down speed you can set low, so the registered position will be precise.
The UCCNC registers the home position when the downwards process, at the position point of when the axis leaves the home switch when running off the switch, so the position is registered when the axis is running down with the down speed slowly off the switch.