Tool Breakage Detection



Just bought a Masso G3 and am in the process of building a gantry style cnc mill from the ground up, a question i have is can i add tool breakage detection to my automatic tool change process? I want to have my mill check the tool before it puts it away, if the tool is shorter (or longer i guess) when measured than the tool library has recorded, then it alarms out and waits for user input. (the paramaters around tolerance will vary dependant on how accurate ones machine and tool setter is, so should be user adjustable). I want to be able to leave the machine unattended.

Hope this makes sense.