In contemporary machine control systems, the monitoring functions are developed and tested separately, requiring additional time and effort for their integration into a machine control system. Also, the software for most contemporary controllers is fixed and very application-dependent, so the system may not run correctly after such integration since the algorithms are lime-sensitive. In this paper, we show how to modularize machine tool control systems with object-oriented concepts. We define a set of software components and system services for reuse, present sense system guidelines based on simulations and test analyses to help users implement controllers that satisfy real-fine constraints. We present the integration of broken tool detection functionality into an existing three axis motion controller, and demonstrate that the integration requires minimal effort and skill, and that the hard real-time constraints for broken tool signal processing can be satisfied with our software architecture.