why cnc machine is not a robot?
Programming — CNC machines are programmed using G-Code. These days, this is most often generated by a CAM software, not coded by hand. Robots are programmed using a manufacturer's programming language, but programs can be generated by many other programming methods (including G-Code) via a robot post-processor.