This project focus on study about small CNC lathe control. By using the joystick in the Mach3 program. At First, Should know how to work the machine ? Next step,study on use of the software about the machining process. Include, Mach3 program for control when machine is running and setting the shortcut commands within the joystick. Need to be compatible with the Mach3 program.Then create a material test using the joystick to enter the command to the program. The results of the experiments to know