Maintenance of 5-axis head