Mitsubishi M80 - New 4th Axis setup and post help needed. Thanks!

Mitsubishi M80 - New 4th Axis setup and post help needed. Thanks!

pickinben
Enthusiast Enthusiast
1,924 Views
4 Replies
Message 1 of 5

Mitsubishi M80 - New 4th Axis setup and post help needed. Thanks!

pickinben
Enthusiast
Enthusiast

Hi all, I am trying to get my 4th axis up and running on a ShopSabre IS-M machine and am getting the following error when trying to post 4axis code.  I'm guessing that it is something small as the current post never outputs any "A" axis information. 

 

The cam in the code has 3 ops where the first is oriented with the setup, and the following 2 use the tool orientation checkbox to modify their orientation.

 

If anyone could direct me to a clear step-by-step checklist for setting up a 4th axis and/or have a look at this file and post, I would be terrifically grateful.

 

Many thanks,

BP

 

 

###############################################################################
Error: Safe retract option 'Clearance Height' is only supported when all operations are along the setup Z-axis.
Error at line: 1299
Error in operation: 'Adaptive2'
Failed while processing onSection() for record 474.
###############################################################################

Error: Failed to invoke function 'onSection'.
Error: Failed to invoke 'onSection' in the post configuration.
Error: Failed to execute configuration.
Stop time: Wednesday, November 22, 2023 5:00:27 PM
Post processing failed.
0 Likes
Accepted solutions (2)
1,925 Views
4 Replies
Replies (4)
Message 2 of 5

AdamKunzo
Collaborator
Collaborator
Accepted solution

Try to use G28 as a Safe position method (Safe Retract) instead of Clearance Height.

 

0 Likes
Message 3 of 5

AdamKunzo
Collaborator
Collaborator

You are going to have another problem, because PP you are does not have machine simulation capability and your PP is only for 3 axis.

If you want a help you can send me a message. I offer post processor modification as a service and I can sort out 4X solution for you.

0 Likes
Message 4 of 5

pickinben
Enthusiast
Enthusiast

Hi @AdamKunzo, Thanks for the G28 suggestion.  This did sort out the clearance plane issue, but it seems the post doesn't want to play 4axis.  Not sure why this is as there must be many machines using this controller (most) that are 4-5 axis machines.  I am going to see if I can get any better direction here for a spell and see how far I can get. Thanks again.

0 Likes
Message 5 of 5

pickinben
Enthusiast
Enthusiast
Accepted solution

So, I just needed to do exactly the steps found here and here.  The first YouTube video has all the links.  Happy Turkey day! 

 

Here is the text if anyone else needs to copy paste it: it is in the onOpen function starting with the if(true)

 

function onOpen() {
  if (getProperty("useRadius")) {
    maximumCircularSweep = toRad(90); // avoid potential center calculation errors for CNC
  }

  if(true){ // BP set machine configuration here
    var aAxis = createAxis({coordinate:0, table:false, axis:[1,0,0], range:[-360,360], preference:1});
    machineConfiguration = new MachineConfiguration(aAxis);

    setMachineConfiguration(machineConfiguration);
    optimizeMachineAngles2(0);
  }