CNC Programming Handbook: A Comprehensive Guide to Practical CNC Programming, Second Edition

When the program is completed, there will be a written copy or a file copy stored somewhere on a computer. Now, the program development is completed. It may be a perfect program with no errors. Of course, that was the intent from the beginning - to make an error free program. What happens if - in spite of the best efforts - there is an error? Even a small typing error can cause a severe problem when the program runs on the machine. Could an error be prevented? And if so, how?
Every program should be checked against all errors before it reaches the machine. Checking can be quite simple, such as a visual comparison of the written copy and the printed copy. The main purpose of a program check is to detect obvious mistakes - mistakes that can be seen by concentrating and looking for them. The kind of errors detected first are mostly syntax errors. Of course, there is no guarantee that the program is error free, but when it does leave the programmer's desk, the effort should be to make it error free. All programs arriving at the machine should gain the confidence of CNC operator. The operator should be free to concentrate all efforts on proving the program sequences and run the first part. The operator has no time to check for program errors that could - and should - have been detected in the office. To do all program...