Hey Mcik i love the idea! I always wanted a CNC machine. The thing i never understood really is the controller. Like where would it start? is it like a printer? where it starts top left goes right then down and repeat?
To put it basically, a CNC router/mill/engraver etc. uses stepper motors or servo motors, to move the cutting tool in a single, or a combination of the axes in use, commonly three for DIY, these being X Y & Z. The controller, usually a PC in the DIY versions, reads the G-code which has been produced by CAM software and sends out step & direction signals to the motor drivers, via the parallel port.
The XYZ start point is decided in the CNC software environment and all subsequent machining or traversing movements use the start point as a reference - X0 Y0 Z0.
For instance, you could have the vertical axis (Z) start point barely touching the top of the workpiece and X & Y at the top left, just outside the finished size of the workpiece.
Or, you could have the Z axis two inches above the workpiece and X & Y dead-centre.
Both are still classed as the start point....but the actual first chips of material to be removed will be determined when generating the tool paths in the CAM software. If the start point is far away from the first machining operation, time is wasted by having the cutting tool travelling in free space without cutting chips.
There's a lot more to it though, this is just a very basic outline.