Post processor help from diameter mode to radius mode

Post processor help from diameter mode to radius mode

rduval2
Participant Participant
1,632 Views
5 Replies
Message 1 of 6

Post processor help from diameter mode to radius mode

rduval2
Participant
Participant

Having issues with dialing in my post processor. I'm running a 1997 Puma 250lb with a Meldas 500 control. The machine is programmed to work in radius mode : Thus if the part is say 1" you give it an x coordinate of .5 to get your 1" diameter. 

 

The Mitsubishi post is giving me tons of errors so I switched to a fanuc post, and I have been trying to edit to get it to work correctly on my machine. However after changing in the post the xformat scale to 1 for radius it is still giving me diameter for my profiling ops. 

 

 

0 Likes
Accepted solutions (1)
1,633 Views
5 Replies
Replies (5)
Message 2 of 6

bob.schultz
Alumni
Alumni
Accepted solution

You did modify the first definition of xFormat correctly, but there are a couple of more definitions that need to be updated in the onSection function.

  // turning using front tool post
  if (toolingData.toolPost == FRONT) {
    xFormat = createFormat({decimals:(unit == MM ? 3 : 4), forceDecimal:true, scale:-1});
    xOutput = createVariable({prefix:"X"}, xFormat);
    iFormat = createFormat({decimals:(unit == MM ? 3 : 4), forceDecimal:true, scale:-1}); // radius mode
    iOutput = createReferenceVariable({prefix:"I"}, iFormat);

  // turning using rear tool post
  } else {
    xFormat = createFormat({decimals:(unit == MM ? 3 : 4), forceDecimal:true, scale:1});
    xOutput = createVariable({prefix:"X"}, xFormat);
    iFormat = createFormat({decimals:(unit == MM ? 3 : 4), forceDecimal:true, scale:1}); // radius mode
    iOutput = createReferenceVariable({prefix:"I"}, iFormat);
  }


Bob Schultz
Sr. Post Processor Developer

0 Likes
Message 3 of 6

rduval2
Participant
Participant

Alright thanks, I knew it was just somewhere else that had to be shooting me the issue. 

0 Likes
Message 4 of 6

kainar115
Explorer
Explorer

I HAVE THE SAME PROBLEM,WHAT CAN I DO, HOW DID YOU GET IT RIGHT

0 Likes
Message 5 of 6

kainar115
Explorer
Explorer

HOW TO USE IT, PLEASE

0 Likes
Message 6 of 6

bob.schultz
Alumni
Alumni

Hello @kainar115, can you explain the issue that you are facing?  Is it that you need to output in Radius mode instead of Diameter mode?  If so, then what post are you using?  Is it a library post or do you have a custom post?



Bob Schultz
Sr. Post Processor Developer

0 Likes