;
; PF102-ATC w/Allen Bradley 10 ctrl. - Code configuration file 
;
; History
;
; Who When     What
; === ======== ========================================
; TM  13/05/99 Written
; BEM 20/05/99 Removed line numbers
; PEK 04/07/00 Created from std gcode file..above comments are from it.
;              This PF102-ATC uses a Allen Bradley 10 series control.
;
DESCRIPTION = "CMS PF102-ATC (Allen-Bradley 10)(*.tap)"
;
FILE_EXTENSION = "tap"
;
UNITS = INCH
;
; Cariage return - line feed at end of each line
;
END_OF_LINE = "[13][10]"
;
; Block numbering 
;
LINE_NUM_START     = 0
LINE_NUM_INCREMENT = 10
LINE_NUM_MAXIMUM   = 999999
;
; Set up default formating for variables
;
; Line numbering
FORMAT = [N|@|N|1.0]
; Spindle Speed
FORMAT = [S|@|S|1.0]
; Feed Rate
FORMAT = [F|#|F|1.1]
; Tool moves in x,y and z
FORMAT = [X|#|X|1.3]
FORMAT = [Y|#|Y|1.3]
FORMAT = [Z|#|Z|1.3]
; Home tool positions 
FORMAT = [XH|@|X|1.3]
FORMAT = [YH|@|Y|1.3]
FORMAT = [ZH|@|Z|1.3]
;
; Set up program header
;
START = "G70"
;START = "G G90 G79 Z0"
START = "G16 XY"
START = "(UTO,1,X*,Y*,Z*)"
START = "T[T] M06"
START = "h[T]"
START = "M3 [S]"
;
; Program moves
;
RAPID_RATE_MOVE        = "G00 [X] [Y] [Z]"
FIRST_FEED_RATE_MOVE   = "G01 [X] [Y] [Z] [F]"
FEED_RATE_MOVE         = "[X] [Y] [Z]"
;
; Setup Toolchange commands
;
;TOOLCHANGE = ";[FILENAME]"
TOOLCHANGE = ";[TOOLDESC]"
TOOLCHANGE = ";[COMMENT]"
;TOOLCHANGE = "M25"
;TOOLCHANGE = "G00"
;TOOLCHANGE = "M09"
TOOLCHANGE = "T[T] M6"
TOOLCHANGE = "h[T]"
TOOLCHANGE = "M3 [S]"
;TOOLCHANGE = "M25"
;TOOLCHANGE = "[XH][YH][ZH]"
;TOOLCHANGE = "[S] M03"
;TOOLCHANGE = "M07"
;
; End of file
;
END = "h0"
END = "G G90 G40"
END = "G G79 Z0"
END = "G G79 X0 Y0"
END = "(DAN)"
END = "(UDA)"
END = "M5 S0"
END = "M30"
