I would like to utilise my Z home switch for the additional purpose of ensuring the Z axis is fully retracted during tool changes.
As when I am referencing the Z axis it moves off the switch by a small amount I have set "home off" to -0.25mm which allows the Z axis to move to machine coordinate Z 0.00 and have the switch become active. I am doing this because I have recently lost steps whilst raising the Z axis during toolchange which has damaged my carousel due to i not being correctly aligned. Whilst, I appreciate, this will not solve the problem of missing steps, which could be a whole host of stuff, it is an added safeguard against further damage.
I have already used my spindle Index for a similar purpose with great success, e.g. If IsActive (INDEX) then..., but it won't work using the command If IsActive (M3HOME) then....etc
Any ideas?
Thanks ...Sweep