Thread: Tile / Repeat G-Code?
Hybrid View
-
23-09-2013 #1
Learn to use Do /while on Fanuc controls
This will help a lot with repeat cycles
O1000(Drill Holes 2mm deep 5 mm apart*10)
#501=10 (number of holes )
Goo G90 G54 p1 Xo Yo Z50 Mo3 S1000 G43 H1
G00 Z2.0
()
While [#501 GT 0]Do 1
Go1 G91 Z-4.0 F100.0
Goo z4.0
G00 x-5.0
#501=[#501-1]
END 1
Commands to Home
-
23-09-2013 #2
Bit late this Ulster man but anyway think Tenson use's Mach3 control which doesn't support conditional code like Do/while in the main G-code file so needs to be done thru macro's. And think he was meaning more for the CAD/CAM software to post process it in main G-code file has most folks on here don't get into running macro's and sub routines etc.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Anyone got some 2.5D G-code please ?
By dudz in forum Programmers CornerReplies: 5Last Post: 22-06-2013, 11:21 PM -
Cambium Code Web Tools – Parametric G-code Generation
By CambiumMachines in forum Manufacturer NewsReplies: 0Last Post: 09-01-2013, 04:56 AM -
Mach3 Using a physical button to repeat current gcode
By RLKS Rob in forum Artsoft Mach (3 & 4)Replies: 2Last Post: 12-08-2012, 01:30 PM -
Use a tile cutter as a hobby table saw?!!!
By HankMcSpank in forum General DiscussionReplies: 10Last Post: 21-07-2009, 06:56 PM -
G Code help
By moose007 in forum Programmers CornerReplies: 4Last Post: 22-05-2009, 11:39 AM
Bookmarks