CNC milling machines have movement of the table and spindle controlled by a program to automatically cut workpieces. There are generally 2 types - 3-axis and 5-axis milling machines. The CNC milling machine functions similarly to a conventional milling machine but works automatically according to a program code. It has mechanical, electrical, and controller components including the table, spindle, monitor, control panel, tool magazine, and coolant hose. Proper maintenance of parts like ball screws, pneumatic cylinders, filters, and coolant tanks is important for safe operation.