N10 G90 G21 G94 F100 ;
N20 G28 X0 Z0 ;
N30 MO6 TO1 D01 ;
N40 MO3 S1000 ;
N50 MO7 ;
N60 G00 X32 Z2 ;
N70 G01 X29 Z-20 ;
N80 G00 X32 Z 2 ;
N90 G01 X28
Z-20 ;
N100 G00 X32 Z 2 ;
N110 G01
X27 Z-20 ;
N120 G00
X32 Z2 ;
N130 G01
X26 Z-20 ;
N140 G00
X32 Z2;
N150 G01
X25 Z-20 ;
N160 G00
X32 Z2 ;
N170 G28
X0 Z0 ;
N180 M05
;
N190 M09
;
N200 M30
; More examples..........!!!!
DISCRIPTION
HARSH.MPF - Main program name .
N20- Referance point command where X0 and Z0 .
N30- Tool change command select tool no 6 and tool offset 1 .
N40- Spindle start clockwise at speed 1000 rpm .
N50- Coolant ON clockwise .
N60- Rapid command where X0 and Z0 .
N70- Linear interpolation where X29 and Z-20 ;
N80- Rapid command where X32 and Z2 ;
N90- Linear interpolation where X 28 and Z-20;
N100- Rapid command where X32 and Z2 ;
N110- Linear interpolation where X27 and Z-20 ;
N120- Rapid command where X32 and Z2 ;
N130- Linear interpolation where X26 and Z-20 ;
N140- Rapid command where X32 and Z2 ;
N150- Linear interpolation where X25 and Z-20 ;
N160- Rapid command where X32 and Z2 ;
N170- Referance point command where X0 and Z0 .
N180- Spindle off.
N190- Coolant off.
N200- Main program end.
CNC STEP TURNING PROGRAM FOR FANUC
Reviewed by harshal
on
March 14, 2018
Rating: