G-code: Difference between revisions

Content deleted Content added
Line 133:
# It is common practice to use a load monitor with CNC machinery. The load monitor will stop the machine if the spindle or feed loads exceed a preset value that is set during the set-up operation. The job of the load monitor is to prevent machine damage in the event of tool breakage or a programing mistake. Furthermore, to some extent it can warn of a tool that that is becoming dull and needs to be replaced or sharpened.
# It is common practice to bring the tool in rapidly to a "safe" point that is close to the part - in this case 0.1" away - and then start feeding the tool. How close that "safe" distance is, depends on the skill and comfort level of the programmer.
# If the program is wrong, there is a high probability that the machine will crash! That can be very costly. It is possible to intersperse the program with optional stops (M01 code) which allow the program to be run piecemeal. The optional stops remain in the program but they are skipped during the normal running of the machine. Thankfully, most CAD/CAM software ships with CNC simulators that will display the movement of the tool as the program executes. Many modern CNC machines also allow programmers to execute the program in a simulation mode and observe the operating parameters of the machine at a particular execution point. ThiThis enables programmers to discover semantic errors (as opposed to syntax errors) before losing material or tools to an incorrect program.
 
==Basic ISO CNC Code==