G94 Erroneously Being Used in NC file (Servo 2 converted machine)

G94 Erroneously Being Used in NC file (Servo 2 converted machine)

ryanneil2020
Explorer Explorer
1,640 Views
4 Replies
Message 1 of 5

G94 Erroneously Being Used in NC file (Servo 2 converted machine)

ryanneil2020
Explorer
Explorer

Hello,
I have 99% successfully implemented this post-processor to work on my SuperMax Impact Servo II converted knee mill.  However I am consistently getting this erroneous 'G94-Coordinate System Offset' code added which is wrong.  It consistently appears in this line only one time.  If I delete it, everything runs great.  Otherwise the coordinate system is not Absolute Coordinate anymore.

I have tried the Autodesk Fusion 360 Post Processor Utility  v3.5.6 which is shown here, but I still can't figure out why this G94 is being written.

 

How can I write my post processor so that this line isn't written?

 

Screenshot 2022-04-02 13.25.14.png

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

KrupalVala
Autodesk
Autodesk
Accepted solution

HI @ryanneil2020 ,

 

Since you have deleted the gFeedModeModal.format(94) from the onOpens function, it's printing in next section.

// absolute coordinates and feed per min
  writeBlock(gAbsIncModal.format(90), gPlaneModal.format(17), gFormat.format(40), gFormat.format(80));  //DELETE: gFeedModeModal.format(94), gFormat.format(49), 
Does your controller not support G94 ?
 
Thanks,


Krupal Vala
Senior Technology Consultant - Post Processor & Machine Simulation
Message 3 of 5

ryanneil2020
Explorer
Explorer

Thanks for the reply, Krupal!

My machine controller does support G94.  After adding back the G94 to the onOpen function, everything seems to be correct now.  Thanks for the help!  I'll test on the machine later this week and see if all else still runs well.

 

// absolute coordinates and feed per min
writeBlock(gAbsIncModal.format(90), gPlaneModal.format(17), gFormat.format(40), gFormat.format(80)), gFeedModeModal.format(94);  //DELETE: gFormat.format(49),

 

My machine however does not support the G49 function.  Am I correct in deleting it from this onOpen section?
Best!
-Ryan

0 Likes
Message 4 of 5

ryanneil2020
Explorer
Explorer
@Anonymous, Thank you for you reply! Could you see my additional question regarding the G49 command and if I commented it out correctly?
0 Likes
Message 5 of 5

KrupalVala
Autodesk
Autodesk

Hi @ryanneil2020 ,

 

Could you please check with the control manufacturers?

 

As per the generic postprocess, control supports G49.

 

Thanks,



Krupal Vala
Senior Technology Consultant - Post Processor & Machine Simulation
0 Likes