Edit post processor to add suffix for feed rate

Edit post processor to add suffix for feed rate

nbarbars
Enthusiast Enthusiast
696 Views
2 Replies
Message 1 of 3

Edit post processor to add suffix for feed rate

nbarbars
Enthusiast
Enthusiast

I'd like to know how to edit my post processor to have it add xyz after the feed rate. I do this manually now but i think there should be a way to edit the post processor to have it add that automatically.

currently when i post process, it outputs the feed rate as this example:

G1 Z6.1125 F19.7

 

what i want it to do is simply add xyz after the feedrate as i have been manually:

G1 Z6.1125 F19.7 XYZ

 

using WinCNC post processor and Inventor HSM. 

 

I'm new to all this so let me know if you need anything else in case this is not clear enough, thanks!

0 Likes
Accepted solutions (1)
697 Views
2 Replies
Replies (2)
Message 2 of 3

Arun.rs
Autodesk
Autodesk
Accepted solution

HI @nbarbars 

 

Thanks for raising your concern via Forum.

 

To get 'XYZ' suffix for feedrate, you will likely need to edit the post processor to suit your particular needs

 

Open 'wincnc.cps' file in a 'Visual Studio Code' or 'Notepad++'

1. Go to line no. 88
2. add suffix:" XYZ"

 

From this :

var feedFormat = createFormat({decimals:(unit == MM ? 1 : 2)});

To this : 

var feedFormat = createFormat({decimals:(unit == MM ? 1 : 2), suffix: " XYZ"});

Hope this explains.

 

Regards

If my post answers your question, please click the 'Accept Solution' button. This helps everyone find answers more quickly!



Arun.RS
Senior Technology Consultant

0 Likes
Message 3 of 3

nbarbars
Enthusiast
Enthusiast

@Arun.rs

thank you, this worked perfectly!