
Chapter 10 Code Explanation
Format:
G41 //Enable Left Kerf Compensation
…… // incision code
G40 //Disable Left Kerf Compensation
G42 // Enable Right Kerf Compensation
…… // incision code
G40 // Disable Right Kerf Compensation
Example:
( Convex Roof Trapezoid w/Hole )
G21
/* metric unit */
G91
/* relative coordinate */
G99 X1 Y0 I0 J0 /*proportion factor is 1, rotate angle is 0, no mirror image*/
G00 X44.45 Y41.275
/* Rapidly moving to (44.45, 41.275)*/
G41
/* Left Kerf Compensation */
M07
/* Incision beginning*/
G03 X0 Y0 I19.05 J0
/*Counterclockwise Circular Interpolation */
M08
/* Incision ending */
G40
/* Disable Left Kerf Compensation */
G00 X-44.45 Y-41.275
/* Rapidly moving to (-44.45, -41.275) */
G41
/* Right Kerf Compensation */
M07
/* Incision beginning */
G01 X25.779438 Y58.031634
/*Linear Interpolation */
G02 X75.441125 Y0 I37.720562 J-16.756634 /* Clockwise Circular Incision*/
G01 X25.779438 Y-58.031634
/* Linear Interpolation */
G01 X-127 Y0
/* Linear Interpolation */
M08
/* Incision ending */
G40
/* Disable Right Kerf Compensation */
M02
/* End of program */
Note:
The value of Kerf Compensation should be half of actual kerf width.
9. G99 proportion、rotate、image
Format:
G99 Xn Yn In Jn
Parameters meaning:
X – proportion factor, can be set from 0.001 to 1000.
85