;
; CIELLE configuration file 
;
; History
;
; Who When     What
; === ======== ========================================
; FAB 16/01/95 Written
; FAS 10/03/99 Tool change
; PC & AW 12/03/99 First tool change
; FAS 22/11/99 Simplified
; FAS 15/11/00 Modified for 4 axis
; FAS 06/02/01 Updated for ArtCAM 5
; DS	24/07/08 Added rotary axis from centre,changed all to a drive,tool home, turn off tool and end program
;
DESCRIPTION = "Roland MDX540 Rotary2 Axis_toolchanger X->A (*.iso)"
;
FILE_EXTENSION = "iso"
;


UNITS = MM
; --------------------- Rotary axis control -------------------------
;
; Specify which linear axis is wrapped onto the rotary axis
;
ROTARY_AXIS = X
;
; if ROTARY_ORIGIN_IS_CENTRE is set to YES, the tool Z Zero position
; should ALWAYS be set to the centre of the rotary axis no matter
; what the diameter of the object being rotary machined. ArtCAM will
; compensate for the correct machining diameter specified when the
; toolpath was calculated as a rotary toolpath. If the toolpath was not
; calculated as a rotary toolpath, it will be wrapped around a cylinder
; with the circumference of the X length of the relief
;
ROTARY_ORIGIN_IS_CENTRE = YES
;
; ------------------------------------------------------------------

;
; 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 and r
FORMAT = [X|#|Y|1.3]
FORMAT = [Y|#|X|1.3]
FORMAT = [Z|#|Z|1.3]
FORMAT = [R|#|A|1.3|-1.0]


; Home tool positions 
FORMAT = [XH|@|Y|1.3]
FORMAT = [YH|@|X|1.3]
FORMAT = [ZH|@|Z|1.3]
FORMAT = [RH|@|A|1.3|-1.0]


;
; Set up program header
;
START = "T[T]M6"
START = "M03"
START = "G0[XH][YH]"
START = "G0[RH]"
START = "G0[ZH][S]M3"
;
; Program moves
;
FIRST_RAPID_RATE_MOVE  = "G0[R][Y][Z]"
FIRST_FEED_RATE_MOVE   = "G1[R][Y][Z][F]"
FEED_RATE_MOVE         = "[R][Y][Z]"
;
; Setup Toolchange commands
;
TOOLCHANGE = "G0[ZH]"
TOOLCHANGE = "T[T]M6"
TOOLCHANGE = "G0[XH][YH]"
TOOLCHANGE = "G0[ZH][S]M3"
;
; End of file
;
END = "M2"
END = "G0[ZH]"
END = "G0 A0"
END = "G0[XH][YH]"
END = "T0 M6"
END = "M05"
END = "M30"


