This site has a lot of info;
http://www.cnccookbook.com/CCCNCGCodeCourse.htm