Need to help to modifying post processor Brother M140X2

yoneyamaP4KPJ
Explorer

Need to help to modifying post processor Brother M140X2

yoneyamaP4KPJ
Explorer
Explorer

I am need of help modifying a post processor to enable generate NC program for ID turning ,  I have attached the post

 

Thank you in advance for your assistance

0 Likes
Reply
Accepted solutions (1)
423 Views
5 Replies
Replies (5)

boopathi.sivakumar
Autodesk
Autodesk

Hi @yoneyamaP4KPJ 

Could you share the f3d file so that we know what is the probelm ?

 

File>Export>.F3d
save the file and reattach the file to this thread.


Boopathi Sivakumar
Senior Technology Consultant

0 Likes

yoneyamaP4KPJ
Explorer
Explorer

Hi @boopathi.sivakumar 
sorry for reply late
I have attached file f3d that occurred problem  .

Afer post ID boring.png

0 Likes

boopathi.sivakumar
Autodesk
Autodesk
Accepted solution

Hi!

It seems like a bug in the post processor We are working on a fix for the brother mill turn post in general! so it should get fix this problem.

 

Time beign you can fix the issue by making a post processor change 
Edit the post processor in any editor and find for the following section of code

  var angle = toRad(toolAngle) + toolOrientation;
  if (turret == 2) {
    angle = (Math.PI / 2) - angle; // turret 2 turns with A-axis = 90
  }
  angle *= turningAngle == 270 ? -1 : 1; // adjust A-axis tilt when turning in +Y

  if ((angle != 0) && !turningYAxis) {
    error(localize("A-axis turning is only allowed when turning along the Y-axis."));
    return abc;
  }

 

and modify the code like below 

  var angle = toRad(toolAngle) + toolOrientation;
  if (turret == 2) {
    angle = (Math.PI / 2) - angle; // turret 2 turns with A-axis = 90
  }
  angle *= turningAngle == 270 ? -1 : 1; // adjust A-axis tilt when turning in +Y

  if (section.getParameter("operation:turningMode", "") == "inner") {
    angle = 0;
  }
  if ((angle != 0) && !turningYAxis) {
    error(localize("A-axis turning is only allowed when turning along the Y-axis."));
    return abc;
  }

Save the post and post process now you should get the expected code.


Boopathi Sivakumar
Senior Technology Consultant

0 Likes

yoneyamaP4KPJ
Explorer
Explorer

hi @boopathi.sivakumar 

 

I edited post processor as you suggested , Now I am ale to generate NC program along X axis 

 

Thank you for your quick support

0 Likes

boopathi.sivakumar
Autodesk
Autodesk

Nice good to know the issue is fixed

 

If you are happy that this post answers your question fully, Please select "Accept Solution" on the reply


Boopathi Sivakumar
Senior Technology Consultant

0 Likes