Skip to main content

Multi cut threading macro program example using G76

Multi cut threading macro program example using G76

Custom Macro – Using variables for the Programming :

Ideal application for the use of Variable programming (i.e. Custom Macro Programming) on a CNC Lathe :

As such the usage is covering very vast application area. You name it and it can be coded using macros. But, by and large following are the core application areas :

1) Threading applications like variable lead threading, Multi start threading,

Square and Trapezoidal threading, circular form non-standard type

threading ;

2) Multi-start worm cutting ;

3) Face and radial grooving of non-standard type;

4) Design one’ s own cycle of any type.

Example : Carrying out 4 start threading of the size – M16 x 2.0 mm pitch. Write a custom Macro “A” Program for the same. Use Multi-cut threading cycle – G76. Use following data :

Data :

i) O. D. = 15.8 mm
ii) δ1 = 30.0 mm
iii) δ2 = 5.0 mm
iv) 1st cut depth = 0.3 mm
v) Lead = Pitch x no. of starts = 2 x 4 = 8 mm
vi) Chamfer amount = 1.0 times the lead.
vi) Root diameter = 13.3 mm
vii) Thd. Height = 1.25 mm
viii) Length of threads = 50 mm
ix) No. of finishing passes = 3 nos.
x) Limiting depth of cut per pass = 0.075 mm
xi) Depth of cut for finishing pass = 0.050 mm.
xii) Angle of Approach = 60 degrees.

(A) Custom Macro – A for FANUC OT-D/C systems

O0001 (4 START THREADING);

N1;
T0000;
G28 U0 W0;
T0101;
G50 S800;
G97 S800 M03;
G65 H01 P#100 Q30000;
M08;
N10;
G0 X17.0 Z#100;
G65 H83 P20 Q#100 R36000;
G76 P031060 Q75 R50;
G76 X13.3 Z-55.0 P1250 Q300 F8.0;
G65 H02 P#100 Q#100 R2000;
G65 H80 P10;
N20;
M09;
G97 M05;
G28 U0 W0;
M30;
%

(B) Custom Macro “B” for FANUC Oi Mate – TB/TC system :

O0001 (4 START THREADING);

N1;
T0000;
G28 U0 W0;
T0101;
G50 S800;
G97 S800 M03;
#100 = 30.0;
M08;
N10;
G0 X17.0 Z#100;
IF [#100 GT 36.0] GOTO 20;
G76 P031060 Q75 R50;
G76 X13.3 Z-55.0 P1250 Q300 F8.0;
#100 = #100 + 2.0;
GOTO 10;
N20;
M09;
G97 M05;
G28 U0 W0;
M30;
%

source http://www.machinetoolhelp.com

cnc macro programing,cnc fanuc programing,fanuc macro proghraming

Comments

Popular posts from this blog

esprit software specifications

ESPRIT programming system is one of your DP Technology, a world leader in CAD / CAM software.For twenty years, DP Technology has an established position in the engineering industry, which is due to continuous development and use of the benefits of NC control systems.ESPRIT uses more than twenty years of experience in programming in the language of the ISO command and knowledge of machines working in the CNC system and its tools.DP Technology is investing 20% of its revenues in research and development.This ensures that the company always keep the leading position among the world's leading manufacturers of CAD / CAM.ESPRIT is an optimal system for operators and programmers looking for a friendly CAM system.It allows the programming of processing: milling (3, 4 and 5 axis)machine tools electroeroding WEDM wire.The program has a friendly Windows ® interface. The result is that the service and learning is easy and pleasant, often intuitive.The time needed to deal with the environ…

Esprit by dp technology - nonplanar wire edm sodick part programming

@@weblogWhether you use your Sodick wire EDM machine for small lots of sub-micron precision parts or as a workhorse for production machining, get the most out of your machine tool investment. Dramatically simplify the part-programming process, significantly increase part accuracy, and greatly reduce the length and complexity of your G-code program with ESPRIT….

cnc machines , fms related videos

desktop milling machine

There is an interesting product for hobbyists and cnc students "a desktop milling machine" listed in portable cnc


Freezone jobs