Post Processor Help Needed

Post Processor Help Needed

harri.havulo
Contributor Contributor
1,160 Views
21 Replies
Message 1 of 22

Post Processor Help Needed

harri.havulo
Contributor
Contributor

Hi!

I have an Deckel FP4A milling machine with Contour 3 control. Yesterday was first time that i loaded an programa from CAM to it. It appears that the control cannot manage 3 axis moves at the same time. The first errors the control gave was when a G2/3 move with Z value was given.

I tried to use "plunge" option instead of Helical, it gives an error "cannot plunge outisde stock" But despite the error i can post process the operation and it seems to leave the Z move out of G2/3 moves. 

The same problem is with LINEAR moves with RAMPING.

 

 

How the post processor  is needed to modify to get an separate BLOCK for the INFEED moves?

Thanks 🙂

0 Likes
1,161 Views
21 Replies
Replies (21)
Message 2 of 22

MoshiurRashid
Advisor
Advisor

Hi

 

Thanks for posting. We have a fusion 360 manufacture forum with lot of resources related to CAM and CNC. @seth.madore  will move your post there when he'll be available.

 

God Bless

Moshiur Rashid
Autodesk Certified Instructor
ACP | CSWE
https://www.autodesk.com/expert-elite/overview

LINKEDIN | FACEBOOK

0 Likes
Message 3 of 22

seth.madore
Community Manager
Community Manager

This is likely being generated from your lead-in/out arc settings. Try setting these to zero:

2020-04-11_06h45_28.png

 

Now, is it the case where it can't handle arc in a 3 axis manner, or any 3 axis motion at all, such as ramping of a 2d profile?

 

If it can't handle any 3 axis motion, it's going to be incumbent on you to make sure you don't select and toolpath that uses those approaches


Seth Madore
Customer Advocacy Manager - Manufacturing


0 Likes
Message 4 of 22

harri.havulo
Contributor
Contributor

Thanks for your input! 

I found that selection and it helped, it cleared out the moves what i didint want 🙂

I need to check the allowed moves with my control, it might be that the code comes in wrong order out.

 

After post processing it comes out like this :

N15 G3 X10.896 Y-11.93 Z24.325 I1.233 J2.569

 

And it seems that it should be :

N15 G3 X10.896 Y-11.93 I1.233 J2.569 Z24.325

 

How this can be changed?

 

 

0 Likes
Message 5 of 22

harri.havulo
Contributor
Contributor

Thanks for your input!

I found that selection and it helped 🙂

 

It seems now that the post processor outputs the code in wrong order for my machine. It comes like this ; 

N15 G3 X10.896 Y-11.93 Z24.325 I1.233 J2.569

 

And it seems that i should be like this ;

N15 G3 X10.896 Y-11.93 I1.233 J2.569 Z24.325

 

How to make the change to get them in right order?

 

Thank you 🙂

0 Likes
Message 6 of 22

harri.havulo
Contributor
Contributor

Thanks for your input!

I found that selection and it helped 🙂

 

It seems now that the post processor outputs the code in wrong order for my machine. It comes like this ; 

N15 G3 X10.896 Y-11.93 Z24.325 I1.233 J2.569

 

And it seems that i should be like this ;

N15 G3 X10.896 Y-11.93 I1.233 J2.569 Z24.325

0 Likes
Message 7 of 22

harri.havulo
Contributor
Contributor

Thanks for your input!

I found that selection and it helped 🙂

 

It seems now that the post processor outputs the code in wrong order for my machine. It comes like this ; 

N15 G3 X10.896 Y-11.93 Z24.325 I1.233 J2.569

 

And it seems that i should be like this ;

N15 G3 X10.896 Y-11.93 I1.233 J2.569 Z24.325

 

Thanks 🙂

0 Likes
Message 8 of 22

KrupalVala
Autodesk
Autodesk

Hi @harri.havulo ,

 

Please search "function onCircular" in your post and scroll down . you will see else if (!properties.useRadius) part as shown below,

 

 

} else if (!properties.useRadius) {
    switch (getCircularPlane()) {
    case PLANE_XY:
      writeBlock(gPlaneModal.format(17), gMotionModal.format(clockwise ? 2 : 3), xOutput.format(x), yOutput.format(y), zOutput.format(z), iOutput.format(cx - start.x, 0), jOutput.format(cy - start.y, 0), getFeed(feed));
      break;
    case PLANE_ZX:
      writeBlock(gPlaneModal.format(18), gMotionModal.format(clockwise ? 2 : 3), xOutput.format(x), yOutput.format(y), zOutput.format(z), iOutput.format(cx - start.x, 0), kOutput.format(cz - start.z, 0), getFeed(feed));
      break;
    case PLANE_YZ:
      writeBlock(gPlaneModal.format(19), gMotionModal.format(clockwise ? 2 : 3), xOutput.format(x), yOutput.format(y), zOutput.format(z), jOutput.format(cy - start.y, 0), kOutput.format(cz - start.z, 0), getFeed(feed));
      break;

 

 

simple change the Z position as shown below, as you want

 

}else if (!properties.useRadius) {
    switch (getCircularPlane()) {
    case PLANE_XY:
      writeBlock(gPlaneModal.format(17), gMotionModal.format(clockwise ? 2 : 3), xOutput.format(x), yOutput.format(y),  iOutput.format(cx - start.x, 0), jOutput.format(cy - start.y, 0),zOutput.format(z), getFeed(feed));
      break;
    case PLANE_ZX:
      writeBlock(gPlaneModal.format(18), gMotionModal.format(clockwise ? 2 : 3), xOutput.format(x), yOutput.format(y), iOutput.format(cx - start.x, 0), kOutput.format(cz - start.z, 0),zOutput.format(z), getFeed(feed));
      break;
    case PLANE_YZ:
      writeBlock(gPlaneModal.format(19), gMotionModal.format(clockwise ? 2 : 3), xOutput.format(x), yOutput.format(y), jOutput.format(cy - start.y, 0), kOutput.format(cz - start.z, 0),zOutput.format(z), getFeed(feed));
      break;

 

 Now save the post and test it carefully. let me know if you have any doubts.



Krupal Vala
Senior Technology Consultant - Post Processor & Machine Simulation
0 Likes
Message 9 of 22

harri.havulo
Contributor
Contributor

Dont know where all those messages went yesterday... Didnt see them when posted and did that numerous time... As you see 😄

 

My machine doesnt allow to do Z infeed with G2/3 moves. 3axis simultaneous linear moves are possible.

 

I also noticed that i get a DOT after every FEED(number) block. It stops the program and i need to remove the dots from the code. How to fix this?

0 Likes
Message 10 of 22

KrupalVala
Autodesk
Autodesk

Hi @harri.havulo ,

 

Please attached your post File I will check and try to fix it.

 



Krupal Vala
Senior Technology Consultant - Post Processor & Machine Simulation
0 Likes
Message 11 of 22

harri.havulo
Contributor
Contributor

Post processor Attached

0 Likes
Message 12 of 22

KrupalVala
Autodesk
Autodesk

Hi @harri.havulo ,

 

Please set a forceDecimal as a false it will solve your issue.

var feedFormat = createFormat({decimals:1, forceDecimal:false, zeropad:true, trim:true});

 



Krupal Vala
Senior Technology Consultant - Post Processor & Machine Simulation
Message 13 of 22

harri.havulo
Contributor
Contributor

Somehow my post processor lost its decimal point for feed speeds. How can i get it back :/?

 

It also seems that i cannot use the wear/control cutter compensation with g41/42. It does the code all wrong.

Feeds and speeds should be entered before the contour compensation (g41/42) with m70 in the blocks to pass the temporarily.

0 Likes
Message 14 of 22

harri.havulo
Contributor
Contributor

Dont know what glitch in the program that was. Now i get the decimal point in my text file like they should...

The problem with g41/42 is presence.

0 Likes
Message 15 of 22

KrupalVala
Autodesk
Autodesk

HI @harri.havulo ,

 

I have checked the output with wear/control cutter compensation and working fine.

 

To add Spindel speed,Feed, and M70 code before compensation,  Just go to the "function onLinear" then search below codes and past the below-mentioned lines as shown.

 writeBlock(gPlaneModal.format(17));

//add below lines --------------------------

      if (radiusCompensation == RADIUS_COMPENSATION_LEFT || radiusCompensation == RADIUS_COMPENSATION_RIGHT){
        forceFeed();
      writeBlock("S+"+spindleSpeed,"F"+feedFormat.format(feed),mFormat.format(70));   
      }
      
//-----------------------------------
      switch (radiusCompensation) {
      case RADIUS_COMPENSATION_LEFT:
        dOutput.reset();

Now save the post and test it carefully.



Krupal Vala
Senior Technology Consultant - Post Processor & Machine Simulation
0 Likes
Message 16 of 22

harri.havulo
Contributor
Contributor

Forgot to mention, also the possible Z axis infeed are not permissible within the contour compensation. Has to be with m70 in block before g41/42 or done separately. 

 

 

0 Likes
Message 17 of 22

harri.havulo
Contributor
Contributor

Dont know if i did something wrong, but it doenst work 😕

Post attached

0 Likes
Message 18 of 22

KrupalVala
Autodesk
Autodesk

Just remove or ignore below line (Line number 603)

 //forceFeed();


Krupal Vala
Senior Technology Consultant - Post Processor & Machine Simulation
0 Likes
Message 19 of 22

harri.havulo
Contributor
Contributor

Hi again! 🙂

 

Somehow i am getting some of the RAPID motions with F100 blocks. How to change that?

0 Likes
Message 20 of 22

KrupalVala
Autodesk
Autodesk

HI @harri.havulo ,😀

 

its because of gMotionModal.format(1) is missing inside the function onLinear.

 

 



Krupal Vala
Senior Technology Consultant - Post Processor & Machine Simulation
0 Likes