Volevo chiedervi se era possibile aggiungere al mio Postprocessor la possibilita di inserire l'uso del foratore:
G100 Foro Verticale ( utensili 1\10 )
G182 Foro Lato Sinistro ( utensili 17 \ 19 )
G183 Foro Lato Destro ( utensili 18 \ 20 )
G184 Foro Lato Posteriore ( utensile 21 )
G185 Foro Lato Anteriore ( utensile 22 )
ho provato ad aggiungere delle istruzioni ma non ha funzionato, vi allego il file, spero mi possiate aiutare grazie.
allego il file
POST_NAME = "Masterwood ATC Arc (mm) (*.prg)"
FILE_EXTENSION = "prg"
UNITS = "MM"
+------------------------------------------------
+ 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|0.001]
VAR FEED_RATE = [F|C|F|1.0|0.001]
VAR X_POSITION = [X|C|X|1.2]
VAR Y_POSITION = [Y|C|Y|1.2]
VAR Z_POSITION = [Z|C|Z|1.2|-1]
VAR X_HOME_POSITION = [XH|A|X|1.2]
VAR Y_HOME_POSITION = [YH|A|Y|1.2]
VAR Z_HOME_POSITION = [ZH|A|Z|1.2|-1]
VAR ARC_RADIUS = [Radius|A|R|1.2]
VAR PLUNGE_RATE = [E|C|E|1.0|0.001666]
+================================================
+
+ Block definitions for toolpath output
+
+================================================
+---------------------------------------------------
+ Commands output at the start of the file
+---------------------------------------------------
begin HEADER
"%"
"|1 [TP_FILENAME]"
"|2 0"
"|3 1"
"|4 [XLENGTH]"
"|5 [ZLENGTH]"
"|6 [YLENGTH]"
"|7 0 0 0 0"
"|8 0"
"|9"
"|10"
"|11"
"|12"
"|13"
"|14"
":[TP_FILENAME]"
"G120 K1 "
"#910=DX"
"#911=DY"
"(Tool: [TOOLNAME])"
"(Tool Number: [T])"
"[13][10]"
"G172 [X] [Y] [Z] [S] [E] [F] T25/[T]"
+---------------------------------------------------
+ Commands output at toolchange
+---------------------------------------------------
begin TOOLCHANGE
"(Tool: [TOOLNAME])"
"(Tool Number: [T])"
"[13][10]"
"G172 [X] [Y] [Z] [S] [E] [F] T25/[T]"
+---------------------------------------------------
+ Commands output for rapid moves
+---------------------------------------------------
begin RAPID_MOVE
"G172 [X] [Y] [Z]"
+---------------------------------------------------
+ Commands output for the first feed rate move
+---------------------------------------------------
begin FIRST_FEED_MOVE
"G101 [X] [Y] [Z] [F]"
+---------------------------------------------------
+ Commands output for feed rate moves
+---------------------------------------------------
begin FEED_MOVE
"G101 [X] [Y] [Z]"
+---------------------------------------------------
+ Commands output for the first clockwise arc move
+---------------------------------------------------
begin FIRST_CW_ARC_MOVE
"G103 [X] [Y] [Radius] [F]"
+---------------------------------------------------
+ Commands output for clockwise arc move
+---------------------------------------------------
begin CW_ARC_MOVE
"G103 [X] [Y] [Radius]"
+---------------------------------------------------
+ Commands output for the first counterclockwise arc move
+---------------------------------------------------
begin FIRST_CCW_ARC_MOVE
"G102 [X] [Y] [Radius] [F]"
+---------------------------------------------------
+ Commands output for counterclockwise arc move
+---------------------------------------------------
begin CCW_ARC_MOVE
"G102 [X] [Y] [Radius]"
+---------------------------------------------------
+ Commands output at the end of the file
+---------------------------------------------------
begin FOOTER
"%"