Threaded View
-
24-04-2021 #3
Been a while since I have done any offline programming, I seem to use fusion even for the simplest things these days!
I think what you need to do is this... This uses M97 so sub program is local (Haas only)
For Fanuc you would nee to use M98 and have separate programs..
N10 O1
N20 G90 G21
N30 G40 G80
N40 T01 M06 (6MM CARBIDE)
N50 G54
N60 M01
N70 S3000 M03
M97 P1000 L14 (CALLS N100 SUBPROGRAM 14 TIMES) ;
Z150 F1000
M5
M9
M30 ; (END OF PROGRAM)
N100 (SUBPROGRAM) ; ;
N80 G0 X-6. Y-29.51
N90 G43 Z50. H01 M08
N100 Z1.
N110 G1 Z-2.743 F1000
N120 X121. F250
N130 G0 Z50.
N140 M09
N150 G91 (INCREMENTAL)
N160 B25.714 F1000 (B AXIS MOVE)
N170 M90 (ABSOLUTE)
M99 (RETURNS TO MAIN PROGRAM) ;
Hope this makes sense/helps
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Triple Offset Ring programming (Fanuc) HELP!
By johngdh67 in forum General DiscussionReplies: 0Last Post: 21-01-2019, 09:55 AM -
CNC 5 axis Setting/ Operating/ programming??
By 5axismilling in forum General DiscussionReplies: 3Last Post: 01-09-2018, 04:17 PM -
G30 programming
By Leadhead in forum Programmers CornerReplies: 3Last Post: 04-06-2017, 09:13 AM -
Fanuc Denford Cyclone X axis Alarms
By jamesgates1000 in forum Denford LathesReplies: 7Last Post: 02-12-2015, 05:35 PM -
NEW MEMBER: Fanuc Macro programming
By curly3456 in forum New Member IntroductionsReplies: 0Last Post: 02-02-2012, 10:20 PM
Bookmarks