Custom G code

Results 1 to 1 of 1

Thread: Custom G code

  1. #1
    Member
    Join Date
    Jul 2011
    Location
    Sweden
    Posts
    48
    Downloads
    0
    Uploads
    0

    Default Custom G code

    I've got a cnc lathe that doesn't want to work with the regular G84/G88 for tapping. Instead it requires G84.2/G88.2.

    Does anyone know how to fix so that the postprocessor adds the ".2"?

    Here is the code for the tapping:

    case "tapping":
    if (gPlaneModal.getCurrent() == 19) { // radial
    if (tool.type == TOOL_TAP_LEFT_HAND) {
    gCycleTapping = 196;
    } else {
    gCycleTapping = 88;
    }
    } else { // axial
    if (tool.type == TOOL_TAP_LEFT_HAND) {
    gCycleTapping = machineState.axialCenterDrilling ? 184 : 186;
    } else {
    gCycleTapping = machineState.axialCenterDrilling ? 84 : 84;

    Similar Threads:


  2. #2
    Registered cam_manag's Avatar
    Join Date
    Sep 2010
    Location
    Tampere
    Posts
    8
    Downloads
    0
    Uploads
    0

    Default Re: Custom G code

    Hi
    What CAM system You Have?
    Do You have PP generator manual?
    That piece of Code - could You send full file?
    We have done PP's more than 30 years for different
    CAM systems as a service. So We can help you.
    BG. [email]Tapio.Saarinen@titako.fi[/email]



Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Custom G code

Custom G code