Can't post-process "Call Program" from NC-Manual - How to modify PP

Can't post-process "Call Program" from NC-Manual - How to modify PP

Anonymous
701 Views
3 Replies
Message 1 of 4

Can't post-process "Call Program" from NC-Manual - How to modify PP

Anonymous
Not applicable

Hey,

 

My postPro is made to CNCRepRap use.

RepRap GCODE for a subroutine calling is M98 Pxxxx.

 

So far, I use PassThrough and that works really well.

2020-03-09_06h40_25.png

 

But I wish I could use Fusion 360 CAM features properly and I actually can't post-process "M98 Pxxxx" with 'Call Program' function.

 

Please, help me to modify my Post-Pro so that I can use this function.

 

@seth.madore 

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

seth.madore
Community Manager
Community Manager

I would suggest taking a look at the Fanuc post, as that has a lot of work done to implement the M98 sub program calls:
https://cam.autodesk.com/hsmposts?p=fanuc


Seth Madore
Customer Advocacy Manager - Manufacturing


Message 3 of 4

Anonymous
Not applicable
Accepted solution

Thank You @seth.madore 😀

 

I found out the right command into the fanuc PP you advised me :

writeBlock(mFormat.format(98), "P" + value);

 

 

Then I get inspired by the Post Processor Training Guide to write the following command :

 

//Called with every ManualNC command
function onManualNC(command, value) {
switch (command) {
case COMMAND_CALL_PROGRAM:
writeBlock(mFormat.format(98), "P" + value);
break;
default:
expandManualNC(command, value); // normal processing of Manual NC command
}
}

 

Message 4 of 4

programming2C78B
Advisor
Advisor

Hi I'd like to do with this the Haas NGC as well. 

Please click "Accept Solution" if what I wrote solved your issue!
0 Likes