Problem to post B0. C180.

Problem to post B0. C180.

kamil.malec94
Advocate Advocate
440 Views
6 Replies
Message 1 of 7

Problem to post B0. C180.

kamil.malec94
Advocate
Advocate

Hello,

 

problem screenshot explained.jpg

 

I'm machining this part on our Nikken 5AX-201 + HAAS VM 303. 

I don't have machine travel in X+ to machine the opening on the right side. 

I wanted to flip the C axis by 180 degrees and mill that feature with X- numbers. 

For some reason I can't get Fusion to post B0.C180. It keeps posting according to original WCS orientation with X+ numbers and B0.C0. 

 

I tried creating sketches, and manipulated orientation but still the result is the same. Another thing I tried was to change "Has C-Axis Rotary" from "Yes" to "Reversed" (I've found this solution online) in the post window, but that didn't work either. 

I've read on different topics here on forum that it might be due to the same vector and Fusion thinks it's shorter distance to machine with C0., I'm not sure though if it applies here. 

 

I know I can just flip my C axis at the machine by 180degrees and save it as G55 and flip my setup orientation in the software, but this is a workaround, and I'm sure I don't have to do all that.


I used two posts and they work equally. 


All attached. 

0 Likes
Accepted solutions (2)
441 Views
6 Replies
Replies (6)
Message 2 of 7

boopathi.sivakumar
Autodesk
Autodesk
Accepted solution

Hi @kamil.malec94 

Currently its an know issue that the post ignores rotations around Z. we have ticket already in place for it, will be updated sooner. Mean while you can modify the post a bit to support for this.

Find for the function getWorkplaneMachineABC

function getWorkPlaneMachineABC(workPlane, _setWorkPlane) {
  var W = workPlane; // map to global frame
/// <<<< remove form here to
  var abc = machineConfiguration.getABC(W);
  if (closestABC) {
    if (currentMachineABC) {
      abc = remapToABC(abc, currentMachineABC, true);
    } else {
      abc = machineConfiguration.getPreferredABC(abc);
    }
  } else {
    abc = machineConfiguration.getPreferredABC(abc);
  }

  try {
    abc = machineConfiguration.remapABC(abc);
  } catch (e) {
    error(
      localize("Machine angles not supported") + ":"
      + conditional(machineConfiguration.isMachineCoordinate(0), " A" + abcFormat.format(abc.x))
      + conditional(machineConfiguration.isMachineCoordinate(1), " B" + abcFormat.format(abc.y))
      + conditional(machineConfiguration.isMachineCoordinate(2), " C" + abcFormat.format(abc.z))
    );
  }
/// <<<<< to here
  var direction = machineConfiguration.getDirection(abc);

 

and replace by the following codes

function getWorkPlaneMachineABC(workPlane, _setWorkPlane) {
  var W = workPlane; // map to global frame
//// << Add from here
  var currentABC = isFirstSection() ? new Vector(0, 0, 0) : getCurrentDirection();
  var abc = machineConfiguration.getABCByPreference(W, currentABC, ABC, PREFER_PREFERENCE, ENABLE_ALL);
/// << To here

  var direction = machineConfiguration.getDirection(abc);
  if (!isSameDirection(direction, W.forward)) {

Save the post and test now the post should out put rotations around Z


Boopathi Sivakumar
Senior Technology Consultant

Message 3 of 7

kamil.malec94
Advocate
Advocate

Hello, Thanks for your help, I was able to post with C rotation.  

 

The only thing now is that it outputs G254 / G255, but I have the function disabled on the machine, so I just delete these commands manually, they're only at the beginning and end of the program. 

 

If you know how to fix that, I'd appreciate it also! 

0 Likes
Message 4 of 7

boopathi.sivakumar
Autodesk
Autodesk
Accepted solution

In the post properties there is a property named use DWO you have to check that to false

 


Boopathi Sivakumar
Senior Technology Consultant

0 Likes
Message 5 of 7

kamil.malec94
Advocate
Advocate

Thanks for a quick reply. The pre-NGC post did not have that option, but the Next Gen post had it, and I've found what I was looking for in the post properties. 

Thanks again! 

0 Likes
Message 6 of 7

Garrett_Wade
Advocate
Advocate

@boopathi.sivakumar wrote:

Hi @kamil.malec94 

Currently its an know issue that the post ignores rotations around Z. we have ticket already in place for it, will be updated sooner.


Ran into this the other day also, looking forward to this update!

Message 7 of 7

kamil.malec94
Advocate
Advocate

Looking forward to it as well! In the meantime, I managed to machine my part using the modified post. 

 

Check my results on IG: https://www.instagram.com/tv/Ced29e6qion/?utm_source=ig_web_copy_link 

 

Have a great day 

0 Likes