Modifying Post Processor for Manual NC functions in Fusion 360

Modifying Post Processor for Manual NC functions in Fusion 360

apsTWRDF
Enthusiast Enthusiast
1,723 Views
4 Replies
Message 1 of 5

Modifying Post Processor for Manual NC functions in Fusion 360

apsTWRDF
Enthusiast
Enthusiast

Hi. 

 

I know its been a topic before but I just wanted to be sure before I mess around in my PP.

 

I read the article about the editing the PP for Call Program. My PP, a modified Siemens Mill-Turn, doesnt have the function "onManualNC".

Can somoene tell me where exactly to place the code? I mean it seems it has to be part of this function and cant be placed just anywhere. Or do I have to add the whole function onManualNC like its in the picture?

 

I added my PP for reference.

 

Thanks

Jochen

 

 

0 Likes
Accepted solutions (1)
1,724 Views
4 Replies
Replies (4)
Message 2 of 5

brad_francola
Collaborator
Collaborator

Here is an example of how to add CALIBRATE to your post:

bradfrancola_0-1725280787376.png

Look for the section called function onCommand(command)

bradfrancola_1-1725280825517.png

Add the necessary code:

bradfrancola_2-1725280887910.png

 

Message 3 of 5

apsTWRDF
Enthusiast
Enthusiast

Thanks, but my problem is when I use "call program" they say I have to add the "case" line under a function called "onManualNC". But I dont have that Function in my PP. I dont think placing it just anywhere will work.

So i thought about adding the whole function like on the Adobe help sides picture. Just wanted someone to confirm that. I added the picture.

0 Likes
Message 4 of 5

da_fish
Advocate
Advocate
Accepted solution

Here is a link with the information about the onManualNC() function and how to incorporate it into your post: https://forums.autodesk.com/t5/hsm-post-processor-forum/improved-handling-of-manual-nc-commands/td-p...

 

You can put it almost anywhere in your post as long as it's not within another function. I put it right before the onParameter() function in my post.

0 Likes
Message 5 of 5

apsTWRDF
Enthusiast
Enthusiast

Perfect, thanks! That was what I was looking for!

0 Likes