Edited to WINPCNC GCode

This forum is for requests and queries about machine tool support for Vectric Products
Post Reply
gsfarms
Posts: 1
Joined: Wed Mar 04, 2009 9:25 pm

Edited to WINPCNC GCode

Post by gsfarms »

i can not get the post processor to save all the tool paths as one file. it says it dose not support tool changes. i know it dose because that is how enroute saves them. can anybody help???

Joker111
Posts: 5
Joined: Sat Mar 07, 2009 12:49 am

Re: WINCNC GCode

Post by Joker111 »

That my PostP. from Aspire. I think you can use it
But this PostP. use "-"Z. if you want change ist edit:
VAR Z_POSITION = [Z|C|Z|1.3|-1] to VAR Z_POSITION = [Z|C|Z|1.3|1]

This PostP. has Arc and Toolchange support



+================================================
+
+ Vectric machine output configuration file
+
+================================================
+
+ History
+
+ Who When What
+ ======== ========== ===========================
+ Tony 14/07/2006 Written
+ Schrott 05/04/2007 Werkzeugwechsel
+ Schrott 09/02/2009 Anpassung an Aspire
+================================================

POST_NAME = "WINPCNC G-Code (mm;mm/sec) (*.cnc)"

FILE_EXTENSION = "cnc"

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|0.0166]
VAR CUT_RATE = [FC|A||1.0|0.0166]
VAR PLUNGE_RATE = [FP|A||1.0|0.0166]
VAR X_POSITION = [X|C|X|1.3]
VAR Y_POSITION = [Y|C|Y|1.3]
VAR Z_POSITION = [Z|C|Z|1.3|-1]
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|-1]

+================================================
+
+ Block definitions for toolpath output
+
+================================================

+---------------------------------------------------
+ Commands output at the start of the file
+---------------------------------------------------

begin HEADER
"(---------------------------------------------------------------)"
"( File Information: )"
"(---------------------------------------------------------------)"
"( Filename: [TP_FILENAME])"
"( File Path = [PATHNAME])"
"(---------------------------------------------------------------)"
"( Material Information: All sizes in mm )"
"(---------------------------------------------------------------)"
"( X Min = [XMIN] )"
"( Y Min = [YMIN] )"
"( Z Min = [ZMIN] )"
"( X Max = [XMAX] )"
"( Y Max = [YMAX] )"
"( Z Max = [ZMAX] )"
"( X Length = [XLENGTH])"
"( Y Length = [YLENGTH])"
"( Z Length = [ZLENGTH])"
"()"
"( Home Position: X = [XH] Y = [YH] Z = [ZH])"
"( Safe Z: Z = [SAFEZ])"
"()"
"(---------------------------------------------------------------)"
"( Program Start )"
"(---------------------------------------------------------------)"
"%"
"[N] G90"
"[N] G71"
"[N] G17"
"[N] M05"
"[N] M09"
"[N] M06 T[T]"
"[N] G00 [ZH] H[T]"
"[N] G00 [XH]"
"[N] G00 [YH] M03"
"(---------------------------------------------------------------)"
"( First Tool )"
"(---------------------------------------------------------------)"
"( Tool Number = [T])"
"( Tool Name = [TOOLNAME])"
"( Speeds and Feeds )"
"( Cut Rate = [FC] mm/s)"
"( Plunge Rate = [FP] mm/s)"
"( Spindle Speed = [S] U/min)"
"(---------------------------------------------------------------)"
"(---------------------------------------------------------------)"
"( Toolpath Name: = [TOOLPATH_NAME])"
"(---------------------------------------------------------------)"
+---------------------------------------------------
+ Commands output at toolchange
+---------------------------------------------------

begin TOOLCHANGE
"(--------------------------------------------------------------)"
"( Tool Change )"
"(--------------------------------------------------------------)"
"( Tool Number = [T])"
"( Tool Name = [TOOLNAME])"
"( Previous Tool Number = [TP])"
"( Cut Rate = [FC] mm/s)"
"( Plunge Rate = [FP] mm/s)"
"( Spindle Speed = [S] U/min)"
"(--------------------------------------------------------------)"
"[N] M05"
"[N] M09"
"[N] G00 [ZH]"
"[N] M06 T[T]"
"[N] G43 H[T]"
"[N] [S] M03"
"(--------------------------------------------------------------)"
"( Toolpath Name: [TOOLPATH_NAME])"
"(--------------------------------------------------------------)"

+---------------------------------------------------
+ Commands output for rapid moves
+---------------------------------------------------

begin RAPID_MOVE

"[N] G00 [X] [Y] [Z] M09"


+---------------------------------------------------
+ Commands output for the first feed rate move
+---------------------------------------------------

begin FIRST_FEED_MOVE

"[N] G01 [X] [Y] [Z] [F] M07"


+---------------------------------------------------
+ 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] [J] [F] M07"


+---------------------------------------------------
+ Commands output for clockwise arc move
+---------------------------------------------------

begin CW_ARC_MOVE

"[N] G02 [X] [Y] [J]"


+---------------------------------------------------
+ Commands output for the first counterclockwise arc move
+---------------------------------------------------

begin FIRST_CCW_ARC_MOVE

"[N] G03 [X] [Y] [J] [F] M07"


+---------------------------------------------------
+ Commands output for counterclockwise arc move
+---------------------------------------------------

begin CCW_ARC_MOVE

"[N] G03 [X] [Y] [J]"


+---------------------------------------------------
+ Commands output at the end of the file
+---------------------------------------------------

begin FOOTER
"(---------------------------------------------------------------)"
"( Program End )"
"(---------------------------------------------------------------)"
"[N] M05"
"[N] M09"
"[N] G00 [ZH]"
"[N] G00 [XH]"
"[N] G00 Y[YMAX]"
"[N] M30"


copy this into a textfile and rename it to "WINPCNC_GCode_mm_Cut2D.pp"

cabnet636
Vectric Wizard
Posts: 2596
Joined: Fri Dec 21, 2007 1:57 am
Model of CNC Machine: CAMaster 508 ATC
Location: columbia sc
Contact:

Re: WINCNC GCode

Post by cabnet636 »

wincnc or winpcnc? i have wincnc an both a tool changer and a single head machine

jim
James McGrew
http://www.mcgrewwoodwork.com
CAMaster ATC 508 24/7 http://dropc.am/p/EJaKyl

Joker111
Posts: 5
Joined: Sat Mar 07, 2009 12:49 am

Re: WINCNC GCode

Post by Joker111 »

Sorry, this PostP. is for "WINPCNC"

cabnet636
Vectric Wizard
Posts: 2596
Joined: Fri Dec 21, 2007 1:57 am
Model of CNC Machine: CAMaster 508 ATC
Location: columbia sc
Contact:

Re: Edited to WINPCNC GCode

Post by cabnet636 »

there are several pp under various machine names, i have camasters and we have developed our own we did not request another named wincnc as the pp list is tooo long now.

camaster, shopsabre, warthog are wincnc based about any of them with .tap or .nc should get you started

what machine do you have?

jim
James McGrew
http://www.mcgrewwoodwork.com
CAMaster ATC 508 24/7 http://dropc.am/p/EJaKyl

Post Reply