CNC mills, lathes and combined processing centres are essential parts to the modern industrial processes. Precision milling is one of the basic technologies used in the manufacturing of state-of-the-art machinery.
The thesis presented hereby covers the design process of a small-scale, three axis, desktop CNC mill, including the planning and implementation steps of the firmware. The aforementioned machine is - albeit smaller than the industrial ones - capable of causing severe injury to the operating personnel hence great attention was exercised in the design procedures of the installed safety mechanisms.
The control system of the machine is capable of processing RS-274 (G code) language input machining programs which promotes to the interopariblity with the ubiquitous CAM software tools.
The constrained memory resources of the microcontroller unit employed in the central control system poses serious difficulties to the machining program processing software. The processing is done in two steps, firstly a translator component is employed to turn the program into an equivalent intermediate code representation, then it is interpreted on a virtual machine.
These procedures require a dynamic memory management scheme extraneous to the world of the ordinary deeply embedded systems. The implementation of the support system facilitating this dynamic memory access behavior is resulted in the creation of an innovative, general memory management component.