Post Processor Modification Request

Post Processor Modification Request

jmorphet
Advocate Advocate
256 Views
4 Replies
Message 1 of 5

Post Processor Modification Request

jmorphet
Advocate
Advocate

Post processor: Tormach pathpilot turning.cps Ver: 44226

 

After updating to the latest post processor for my Tormach Rapidturn, I noticed that the G53 G0 X0. Z0. command is being inserted after the G30 command at the end of the code. Not sure why this was added. For me, I don't need my lathe/mill to go to the machine home position after the job is done and for us that have the personal version of fusion 360, it take the the machine to the home position at every tool change. Please remove the code that that inserts the G53 command.

0 Likes
Accepted solutions (1)
257 Views
4 Replies
Replies (4)
Message 2 of 5

dwmk
Explorer
Explorer

Please share your f3d model and post-processor, and I will help you modify them.

0 Likes
Message 3 of 5

jmorphet
Advocate
Advocate

Thanks in advance for showing me how to fix this. I was hoping that whoever updates the official post on the Autodesk site, would fix this permanently, but in the meantime, I would like to know how to fix it for myself. I have attach a sample model, sample G-Code and the post processor. The offending G53 command is at the end of the sample G-Code.

0 Likes
Message 4 of 5

dwmk
Explorer
Explorer
Accepted solution

You simply need to delete this code at the end of the post-processor.

dwmk_0-1789854118257.png

 

forceXYZ();
  if (!machineConfiguration.hasHomePositionX() && !machineConfiguration.hasHomePositionY()) {
    // writeBlock(gFormat.format(28)); // return to home
  } else {
    var homeX;
    if (machineConfiguration.hasHomePositionX()) {
      homeX = xOutput.format(machineConfiguration.getHomePositionX());
    }
    var homeY;
    if (yOutput.isEnabled() && machineConfiguration.hasHomePositionY()) {
      homeY = yOutput.format(machineConfiguration.getHomePositionY());
    }
    writeBlock(gAbsIncModal.format(90), gFormat.format(53), gMotionModal.format(0), homeX, homeY, zOutput.format(machineConfiguration.getRetractPlane()));
  }

 

0 Likes
Message 5 of 5

jmorphet
Advocate
Advocate

Thanks, That did fix it for me. I hope the keeper of the post processor changes it permanently.

0 Likes