+================================================
+
+ NC Studio Vectric output configuration file
+
+================================================
+
+ History
+
+ Who When What
+ ======== ========== ===========================
+ Mark 07/09/2010 Written
+================================================
POST_NAME = "NC Studio ATC Arcs (inch)(*.nc)"
FILE_EXTENSION = "nc"
UNITS = "MM"
+------------------------------------------------
+ Line terminating characters
+------------------------------------------------
LINE_ENDING = "[13][10]"
+------------------------------------------------
+ Block numbering
+------------------------------------------------
LINE_NUMBER_START = 0
LINE_NUMBER_INCREMENT = 10
LINE_NUMBER_MAXIMUM = 999999
+================================================
+
+ Formating for variables
+
+================================================
VAR LINE_NUMBER = [N|A|N|1.0]
VAR SPINDLE_SPEED = [S|A|S|1.0]
VAR FEED_RATE = [F|C|F|1.1]
VAR X_POSITION = [X|C|X|1.4]
VAR Y_POSITION = [Y|C|Y|1.4]
VAR Z_POSITION = [Z|C|Z|1.4]
VAR ARC_CENTRE_I_INC_POSITION = [I|A|I|1.4]
VAR ARC_CENTRE_J_INC_POSITION = [J|A|J|1.4]
VAR X_HOME_POSITION = [XH|A|X|1.4]
VAR Y_HOME_POSITION = [YH|A|Y|1.4]
VAR Z_HOME_POSITION = [ZH|A|Z|1.4]
VAR SAFE_Z_HEIGHT = [SAFEZ|A|Z|1.4]
+================================================
+
+ Block definitions for toolpath output
+
+================================================
+---------------------------------------------------
+ Commands output at the start of the file
+---------------------------------------------------
begin HEADER
"o0001"
"( [TP_FILENAME] )"
"[N] G91 G28 [XH] [YH] [ZH]"
"[N] G00 G21 G17 G90"
"[N] G00 G40 G49 G80"
"[N] G70"
"[N] T[T] M06"
"[N] G00 G43[ZH]H[T] M8"
"[N] [S] M03"
"[N] [XH] [YH] [F]"
+---------------------------------------------------
+ Commands output for rapid moves
+---------------------------------------------------
begin RAPID_MOVE
"[N] G00 [X] [Y] [Z]"
+---------------------------------------------------
+ Commands output for the first feed rate move
+---------------------------------------------------
begin FIRST_FEED_MOVE
"[N] G01 [X] [Y] [Z] [F]"
+---------------------------------------------------
+ Commands output for feed rate moves
+---------------------------------------------------
begin FEED_MOVE
"[N] G01 [X] [Y] [Z]"
+---------------------------------------------------
+ Commands output for the first clockwise arc move
+---------------------------------------------------
begin FIRST_CW_ARC_MOVE
"[N] G02 [X] [Y] [I] [J] [F]"
+---------------------------------------------------
+ Commands output for clockwise arc move
+---------------------------------------------------
begin CW_ARC_MOVE
"[N] G02 [X] [Y] [I] [J]"
+---------------------------------------------------
+ Commands output for the first counterclockwise arc move
+---------------------------------------------------
begin FIRST_CCW_ARC_MOVE
"[N] G03 [X] [Y] [I] [J] [F]"
+---------------------------------------------------
+ Commands output for counterclockwise arc move
+---------------------------------------------------
begin CCW_ARC_MOVE
"[N] G03 [X] [Y] [I] [J]"
+---------------------------------------------------
+ Commands output at toolchange
+---------------------------------------------------
begin TOOLCHANGE
"[N] T[T] M6"
"[N] G43H[T]"
"[N] [S] M03"
+---------------------------------------------------
+ Commands output for a new segment - toolpath
+ with same toolnumber but maybe different feedrates
+---------------------------------------------------
begin NEW_SEGMENT
"[N] G00 [SAFEZ]"
"[N] [S] M03"
+---------------------------------------------------
+ Commands output at the end of the file
+---------------------------------------------------
begin FOOTER
"[N] G00 [ZH]"
"[N] M09"
"[N] G00 [XH] [YH]"
"[N] M17"
"[N] M30"
%
Так как я ЧПУ занимаюсь только 2 месяца в написании постпроцессора не силен, но открыв описание G кодов сделал следующее:
+================================================
+
+ NC Studio Vectric output configuration file
+
+================================================
+
+ History
+
+ Who When What
+ ======== ========== ===========================
+ Mark 07/09/2010 Written
+================================================
POST_NAME = "NC Studio ATC Arcs (mm)(*.nc)"
FILE_EXTENSION = "nc"
UNITS = "MM"
+------------------------------------------------
+ Line terminating characters
+------------------------------------------------
LINE_ENDING = "[13][10]"
+------------------------------------------------
+ Block numbering
+------------------------------------------------
LINE_NUMBER_START = 0
LINE_NUMBER_INCREMENT = 10
LINE_NUMBER_MAXIMUM = 999999
+================================================
+
+ Formating for variables
+
+================================================
VAR LINE_NUMBER = [N|A|N|1.0]
VAR SPINDLE_SPEED = [S|A|S|1.0]
VAR FEED_RATE = [F|C|F|1.1]
VAR X_POSITION = [X|C|X|1.3]
VAR Y_POSITION = [Y|C|Y|1.3]
VAR Z_POSITION = [Z|C|Z|1.3]
VAR ARC_CENTRE_I_INC_POSITION = [I|A|I|1.3]
VAR ARC_CENTRE_J_INC_POSITION = [J|A|J|1.3]
VAR X_HOME_POSITION = [XH|A|X|1.3]
VAR Y_HOME_POSITION = [YH|A|Y|1.3]
VAR Z_HOME_POSITION = [ZH|A|Z|1.3]
VAR SAFE_Z_HEIGHT = [SAFEZ|A|Z|1.3]
+================================================
+
+ Block definitions for toolpath output
+
+================================================
+---------------------------------------------------
+ Commands output at the start of the file
+---------------------------------------------------
begin HEADER
"o01"
"( [TP_FILENAME] )"
+"[N] G91 G28 [XH] [YH] [ZH]"
+"[N] G00 G21 G17 G90"
+"[N] G00 G40 G49 G80"
%
"[N] T[T] M06"
"[N] G00 [ZH]H[T]"
"[N] [S] M03"
"[N] [XH] [YH] [F]"
+---------------------------------------------------
+ Commands output for rapid moves
+---------------------------------------------------
begin RAPID_MOVE
"[N] G00 [X] [Y] [Z]"
+---------------------------------------------------
+ Commands output for the first feed rate move
+---------------------------------------------------
begin FIRST_FEED_MOVE
"[N] G01 [X] [Y] [Z] [F]"
+---------------------------------------------------
+ Commands output for feed rate moves
+---------------------------------------------------
begin FEED_MOVE
"[N] G01 [X] [Y] [Z]"
+---------------------------------------------------
+ Commands output for the first clockwise arc move
+---------------------------------------------------
begin FIRST_CW_ARC_MOVE
"[N] G02 [X] [Y] [I] [J] [F]"
+---------------------------------------------------
+ Commands output for clockwise arc move
+---------------------------------------------------
begin CW_ARC_MOVE
"[N] G02 [X] [Y] [I] [J]"
+---------------------------------------------------
+ Commands output for the first counterclockwise arc move
+---------------------------------------------------
begin FIRST_CCW_ARC_MOVE
"[N] G03 [X] [Y] [I] [J] [F]"
+---------------------------------------------------
+ Commands output for counterclockwise arc move
+---------------------------------------------------
begin CCW_ARC_MOVE
"[N] G03 [X] [Y] [I] [J]"
+---------------------------------------------------
+ Commands output at toolchange
+---------------------------------------------------
begin TOOLCHANGE
"[N] T[T] M6"
+"[N] G43H[T]"
"[N] [S] M03"
+---------------------------------------------------
+ Commands output for a new segment - toolpath
+ with same toolnumber but maybe different feedrates
+---------------------------------------------------
begin NEW_SEGMENT
"[N] G00 [SAFEZ]"
"[N] [S] M03"
+---------------------------------------------------
+ Commands output at the end of the file
+---------------------------------------------------
begin FOOTER
"[N] G00 [ZH]"
+"[N] M09"
"[N] G00 [XH] [YH]"
+"[N] M17"
"[N] M30"
%