Doosan 5100LY drilling/chipbreaker/deep hole - changing G87 to G87.4 in post processor

Doosan 5100LY drilling/chipbreaker/deep hole - changing G87 to G87.4 in post processor

sgillarh
Explorer Explorer
231 Views
1 Reply
Message 1 of 2

Doosan 5100LY drilling/chipbreaker/deep hole - changing G87 to G87.4 in post processor

sgillarh
Explorer
Explorer

Hello,

 

I am trying to change the drilling G Code in the Doosan Fanuc Mill/Turn post processor from G87 to G87.4 in "deep drilling". But when I change it in the post, it outputs the code rounded up/down.

 

ie. G87.4 ---> G87, or G87.5 ---> G88

 

 

 

case "deep-drilling":
      writeCycleClearance(planecycle.clearance);
      localZOutput.reset();
      writeBlock(
        gCycleModal.format(plane == 19 ? 87.4 : 83),
        getCommonCycle(xyzraptotrue),
        conditional(cycle.incrementalDepth > 0peckOutput.format(cycle.incrementalDepth)),
        conditional(P > 0pOutput.format(P)),
        feedOutput.format(F),
        lockCode

 

Anyone have any input on how to fix this? 

 

Thank you in advance

 

Sunny

0 Likes
232 Views
1 Reply
Reply (1)
Message 2 of 2

Arun.rs
Autodesk
Autodesk

Hi @sgillarh 

 

Thanks for sharing your concern via Forum.

 

The round up number is because of the format that set in cycle. You have to create a new format to give decimal value.

 

Create a new Modal as given below and try.

var gCycleModal = createModal({}, g1Format); // modal group 9 // G81, ...

 

Regards

 

 



Arun.RS
Technical Consultant - Post Processor
0 Likes