; Syntec PostP file arc moves in MM with ATC ; ; === ======== ======================================== ;GW 3/14/08 created for Arc(MM) with toolchange ;GW 4/6/09 Revised formatting and sequence ;GW 4/6/09 Added tool description & tool length offset to tool change ;GW 10/25/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 ;XAMIJ 27/09/11 Modify to match Syntec controller ; DESCRIPTION = "MM-BE-ATC(*.TXT)" ; FILE_EXTENSION = "TXT" ; UNITS = MM ; ; 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.3] FORMAT = [Y|#|Y|1.3] FORMAT = [Z|#|Z|1.3] ; Arc Center Coords ;FORMAT = [I|@|I|1.4] ;FORMAT = [J|@|J|1.4] ; Home tool positions FORMAT = [XH|@|X|1.3] FORMAT = [YH|@|Y|1.3] FORMAT = [ZH|@|Z|1.3] ; ; Tool Number FORMAT = [T|@||1.0] ; ; Set up program header ; ;START = "(STOCK) (X=[XSIZE], Y=[YSIZE], Z=[ZMATERIAL])" START = "G54" START = "T[T]" START = "G43 H[T]" START = "G0 [XH] [YH] 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])" NEW_SEGMENT_POST_TOOLCHANGE= "M3 [S]" ; ;Setup Toolchange Commands ; TOOLCHANGE = "G0[ZH]" TOOLCHANGE = "M5" TOOLCHANGE = "G49" TOOLCHANGE = "T[T]" TOOLCHANGE = "G43 H[T]" TOOLCHANGE = "G0 [XH] [YH]" ; ; End of file ; END = "G0 [ZH]" END = "G0 [XH] [YH]" END = "M5" END = "M30" ; M30 = program end and rewind