Attempts to automate machines in the 19th century, for example copying-lathes, used cams. These are basically wheels that change the position of notches to control a machine. The basic difference to modern NC is that these cams only automated one given task; modern NC and CNC machines can be programmed to a greater extent.