Optical homing and limit switches

Optical sensors are not recommended on CNC due to the contamination issue with the sensor. Chances of debris interfering with the sensor are very high. If you look at their site, they have mechanical switches for their CNC offering.
Look at this thread on Prox Sensors for an alternative to mechanical switches Alternatives to Limit Switches