;
; Roland configuration file 
;
;
; History
;
; Who When     What
; === ======== ========================================
; BEM 01/04/94 Written
; BEM 13/05/94 Modified header to remove @ command
; TM  07/02/96 Modified - added pause command
; TM  07/02/96 Modified - Additional XY feedrates
; bem 21/03/00 Added DESCRIPTION and FILE_EXTENSION fields
; bem 01/03/05 Modified from standard rotary
; ps  04/05/05 variable spindle speed added
; ps  09/08/05 A axis reversed for text
;
; NOTE: this file needs to be sent to the Roland printer 
;       driver as a 'raw' print file
; 
DESCRIPTION = "Roland JWX Rotary (*.prn)"
;
FILE_EXTENSION = "prn"
;
; Set units used in file - MM
;
UNITS = MM
;
; 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]"
;
; Set up default formating for variables
;
; Feed Rate
;
; Roland use mm/s for output feed rate so divide by 60
; this is ame as * (1/60)
;
FORMAT = [F|@||1.1|0.0166]
;
; Tool moves in x,y and z
;
; Roland uses positions in 0.01 of a mm
;
FORMAT = [X|@|?|1.0|100]
FORMAT = [Y|@|X|1.0|100]
FORMAT = [Z|@|Z|1.0|100]
FORMAT = [R|@|A|1.4|-1.0]

; Home tool positions 
FORMAT = [XH|@|?|1.0|100]
FORMAT = [YH|@|X|1.0|100]
FORMAT = [ZH|@|Z|1.0|100]
FORMAT = [RH|@|A|1.4|-1.0]
;
; Set up program header
;
; Reset all values to default except P1 and P2
;
START = ";;^DF;!MC0;V50.0;^PA;!ZM0;!ZEY-4250;!ZEA0.0;!RC[S];!MC1;!ZEY0;!ZE[YH][ZH][RH];"
;
;
; Set feed rate used for rapid moves 50mm/s = 3000mm/min
;
RAPID_FEED_RATE = 300
;
; Set up data output on change of feed rate
;
;FEED_RATE_CHANGE = "V [F];F [F]"
;
; Program moves
;
FIRST_RAPID_RATE_MOVE  = "!VZ50.0;!ZE[Y][Z][R];"
;
FIRST_FEED_RATE_MOVE  = "!VZ[F];!ZE[Y][Z][R];"
FEED_RATE_MOVE  = "!ZE[Y][Z][R];"
;
; End of file - go home and stop spindle
;
END = "!MC0;^DF;"
