CNC.SCHOOL — Integrated solutions for manufacturing industries (CNC)
No.Exp4/340001
ABS (Absolute coordinates):
(I,J,K ABS/Global)

O0001;
G17 G21 G90 G54;
M06 T01;
M03 S6000;
G00 X .0   Y .0 Z10.0 (P1);
Z5.0;
G01 Z-1.0 F150.;
G X .0   Y .0
  I   J   F200. (P2);
G00 Z10.0;
M05;
G91 G28 Z0.0;
G28 X0.Y0.;
G90;
M30;

INC (Incremental coordinates):
(I,J,K ABS/Global)

O0002;
G17 G21 G90 G54;
M06 T01;
M03 S6000;
G00 X .0   Y .0 Z10.0 (P1);
Z5.0;
G01 Z-1.0 F150.;
G91 G X .0   Y .0
  I   J   F200. (P2);
G90 G00 Z10.0;
M05;
G91 G28 Z0.0;
G28 X0.Y0.;
G90;
M30;