;
; Streamline Automation FROGWire
;
; History
;
; Who When     What
; === ======== ========================================
; TM  12/04/97 Modified Fanuc file to suite
; SP  18/11/00 Properly Configured to suite machine as per GS example.
;              This post is for CMC3 series using inches.
; SP  22/12/00 Added DESCRIPTION and FILE_EXTENSION fields
; BEM 04/07/01 Added circular arc support
; GEB 21/06/04  UNITS added, comments added
; GEB 28/02/08  FROGWire Control Added
;
DESCRIPTION = "FROGWire Inch (*.NC)"
;
FILE_EXTENSION = "nc"
;
UNITS = INCH
;
; Cariage return - line feed at end of each line
;
END_OF_LINE = "[13][10]"
;
; Block numbering 
;
LINE_NUM_START     = 1
LINE_NUM_INCREMENT = 1
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.4]
FORMAT = [Y|#|Y|1.4]
;FORMAT = [Z|#|Z|1.4]
; Arc Centre Cordinates
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 = "[N][32] M3"
START = "[N][32]G1[32][XH][32][YH]"

;
; Program moves
;
RAPID_RATE_MOVE        = "[N][32]G1[X][Y]F50"
FIRST_FEED_RATE_MOVE   = "[N][32]G1[X][Y][F]"
FEED_RATE_MOVE         = "[N][32][X][Y][F]"
;
FIRST_CW_ARC_MOVE      = "[N][32]G2[X][Y][I][J][F]"
CW_ARC_MOVE            = "[N][32]G2[X][Y][I][J]"
;
FIRST_CCW_ARC_MOVE     = "[N][32]G3[X][Y][I][J][F]"
CCW_ARC_MOVE           = "[N][32]G3[X][Y][I][J]"

;
; End of file
;

END = "M5"

