; Mach3_4 PostP file w/ g2&g3 arc moves ; ; === ======== ======================================== ;GW 10/27/06 Revised formatting and sequence ;GW 10/29/07 Added filename to header ;GW 10/24/09 Added toolnumber and tool description for Start & New Segment ;GW 10/25/09 Added New Segment to allow forced RPM change on same tool # ;GW 10/10/10 Added Material size to output ;GW 08/14/14 Verified with Mach4 & renamed post ;GW 08/14/14 Adjusted Header & Forced use of incremental arcs ; ; DESCRIPTION = "Mach3_4-Arcs(inch)(*.TAP)" ; FILE_EXTENSION = "TAP" ; UNITS = INCH ; ; Cariage return - line feed at end of each line ; END_OF_LINE = "[13][10]" ; ; Spindle Speed FORMAT = [S|@|S|1.0] ; Feed Rate FORMAT = [F|#|F|1.0] ; Tool moves in x,y and z FORMAT = [X|#|X|1.4] FORMAT = [Y|#|Y|1.4] FORMAT = [Z|#|Z|1.4] ; Arc Center Coords FORMAT = [I|@|I|1.4] FORMAT = [J|@|J|1.4] ; Home tool positions FORMAT = [XH|@|X|1.4] FORMAT = [YH|@|Y|1.4] FORMAT = [ZH|@|Z|1.4] ; ; Set up program header ; START = "([FILENAME])" START = "(Material Size) (X=[XSIZE], Y=[YSIZE], Z=[ZMATERIAL])" START = "(Tool Number:[T]) ([TOOLDESC])" START = "G017 G20 G49 G80 G90 G91.1" START = "G0[ZH]" START = "M3 [S]" ; ; Program moves ; FIRST_RAPID_RATE_MOVE = "G0 [X] [Y] [Z]" ; FIRST_FEED_RATE_MOVE = "G1 [X] [Y] [Z] [F]" FEED_RATE_MOVE = "[X] [Y] [Z]" ; FIRST_CW_ARC_MOVE = "G2 [X] [Y] [I] [J] [F]" CW_ARC_MOVE = "G2 [X] [Y] [I] [J]" ; FIRST_CCW_ARC_MOVE = "G3 [X] [Y] [I] [J] [F]" CCW_ARC_MOVE = "G3 [X] [Y] [I] [J]" ; NEW_SEGMENT_POST_TOOLCHANGE= "(Tool Number:[T]) ([TOOLDESC])" NEW_SEGMENT_POST_TOOLCHANGE= "M3 [S]" ; ; ; End of file ; END = "G0[ZH]" END = "G0[XH][YH]" END = "M5" END = "M30" ; M30 = program end and rewind