587,006 active members*
3,117 visitors online*
Register for free
Login
IndustryArena Forum > MetalWorking Machines > Milltronics > Help with G code for Cent 6 and engine turning (jeweled)
Results 1 to 10 of 10
  1. #1
    Join Date
    Mar 2014
    Posts
    55

    Help with G code for Cent 6 and engine turning (jeweled)

    Guy's,
    Want to make a conversational program to do engine turning on alum panels to use in our project vehicle.

    Tried doing a drill cycle, .750 tool, 40 wide and 1 row with .375 spacing. Second row needs to overlap by .375 in the x and y and the same with the rest of rows.

    Created a program, but cannot figure out how to increment x or y by the .375 without another line of code for each line of machining.

    I want to have a program that just enter the:
    # of rows
    # of columns
    Spacing of x
    Spacing of y

    Any ideas?
    My machine has Cent 6 and can perform a call. Can't see where it can do subroutines.
    How do I make it do a math equation where it index's the x or y by a amount?

  2. #2
    Join Date
    Nov 2013
    Posts
    128

    Re: Help with G code for Cent 6 and engine turning (jeweled)

    you should be able to do it in conversational with relative ease. enable a drill cycle then do a position drill event. It will ask for rows and columns and X/Y spacing
    Attached Thumbnails Attached Thumbnails KIMG0098.jpg  

  3. #3
    Join Date
    Mar 2014
    Posts
    55

    Re: Help with G code for Cent 6 and engine turning (jeweled)

    You are correct with that part, but that only works for the first row, I want the second row to be overlapping in the x and y direction by 1/2 a hole and also for anymore rows.

    How do I make it.

    One more thing. I want the holes to start on the left for each row.

  4. #4
    Join Date
    Nov 2013
    Posts
    128

    Re: Help with G code for Cent 6 and engine turning (jeweled)

    maybe this will help.
    Attached Thumbnails Attached Thumbnails KIMG0099.jpg   KIMG0101.jpg   KIMG0102.jpg  

  5. #5
    Join Date
    Oct 2008
    Posts
    427

    Re: Help with G code for Cent 6 and engine turning (jeweled)

    What version of Cent6 software do you have?

  6. #6
    Join Date
    Mar 2014
    Posts
    55

    Re: Help with G code for Cent 6 and engine turning (jeweled)

    ZZZZ,
    I have SLS CNC 6.3147

    Is there a easy way to get a newer version? That supports subroutines and more functions?

  7. #7
    Join Date
    Nov 2013
    Posts
    128

    Re: Help with G code for Cent 6 and engine turning (jeweled)

    SLS does support subs and floating zero. If you went with full cnc software, you will lose the use of the handwheels.

  8. #8
    Join Date
    Oct 2008
    Posts
    427

    Re: Help with G code for Cent 6 and engine turning (jeweled)

    I think this is what you are after. Of course, the numbers will all need to change to fit your part.

    Event 0 of 6

    Program Setup
    Program name [TEST ]
    Dimensions [Absolute]
    Units [English]
    Setup Notes:
    [ ]
    [ ]
    [ ]
    [ ]
    [ ]
    [ ]
    [ ]
    [ ]
    [ ]
    [ ]
    ---------------------------------------------------
    Event 1 of 6

    Tool Change
    Tool [Change]
    Tool Change Position X[ ]
    Y[ ]
    Tool Number [1 ]
    Tool Description [ENGINE TURN TOOL ]
    Spindle RPM [500 ]
    Spindle Restart [Clockwise]
    Coolant [---]
    ---------------------------------------------------
    Event 2 of 6

    Enable Drill Cycle
    [Enable Drill Cycle w/Dwell]
    Z Pierce Feedrate [20 ]
    Return Point [Clearance]
    Clearance Point [.1 ]
    Final Depth [-.05 ]
    Dwell Time in Sec [2 ]
    ---------------------------------------------------
    Event 3 of 6

    Position Drill
    Coordinates [Absolute]
    X Position [0 ]
    Y Position [0 ]
    Z Position [ ]
    (Z by itself to clear clamps)
    (Z with X and or Y for new depth)
    Grid of Holes [Yes]
    Number of Colms [20 ]Number of Rows [10 ]
    X Spacing [1 ]Y Spacing [2 ]
    ---------------------------------------------------
    Event 4 of 6

    Position Drill
    Coordinates [Absolute]
    X Position [.5 ]
    Y Position [19 ]
    Z Position [ ]
    (Z by itself to clear clamps)
    (Z with X and or Y for new depth)
    Grid of Holes [Yes]
    Number of Colms [20 ]Number of Rows [10 ]
    X Spacing [1 ]Y Spacing [-2 ]
    ---------------------------------------------------
    Event 5 of 6

    Disable Drill Cycle
    ---------------------------------------------------
    Event 6 of 6

    End of Program
    Z to Toolchange [Yes]
    Turn off the Spindle [Yes]
    X Position (home relative)[ ]
    Y Position (home relative)[ ]
    ---------------------------------------------------

  9. #9
    Join Date
    Nov 2013
    Posts
    128

    Re: Help with G code for Cent 6 and engine turning (jeweled)

    zzzz I think you misunderstood what he wants. He is wanting the turns to progress from left to right and bottom to top, alternating offset with each row. This is for overlap appearance.
    I think maybe something more like this (condensed)

    go sub 100 (1st line of turns with no offset)
    G92 x.375 y.375 (set floating zero for 1st offset)
    go sub 100 (drill event proceeds using offset
    G92 X0. Y.75 (set 2nd offset)
    GO SUB 100 (repeat)
    G92 X.375 Y.75
    GO SUB 100
    G92 X0 Y1.125
    GO SUB 100
    ( ETC, ETC, with all the lines and offsets you need)

    M30
    %

    N100 (sub must be after M30)
    drill cycle with 0/0 as start point
    RETURN

    I am not 100% sure if the conversational functions are available to support subs and floating zeros in sls, I haven't played with it much, but it can be done in misc. lines long hand. Also, I think there is a parameter that determines whether or not your machine will make use of floating zeros (G92). Copy and paste function will save time.

  10. #10
    Join Date
    Oct 2008
    Posts
    427

    Re: Help with G code for Cent 6 and engine turning (jeweled)

    Sorry, maybe more like this:
    (That software version does support Floating Zeros but not Subroutines, so you can use Program Calls)

    Event 0 of 4

    Program Setup
    Program name [ENGINE TURN MAIN ]
    Dimensions [Absolute]
    Units [English]
    Setup Notes:
    [ ]
    [ ]
    [ ]
    [ ]
    [ ]
    [ ]
    [ ]
    [ ]
    [ ]
    [ ]
    ---------------------------------------------------
    Event 1 of 4

    Tool Change
    Tool [Change]
    Tool Change Position X[ ]
    Y[ ]
    Tool Number [1 ]
    Tool Description [ENGINE TURN TOOL ]
    Spindle RPM [500 ]
    Spindle Restart [Clockwise]
    Coolant [---]
    ---------------------------------------------------
    Event 2 of 4

    Position
    Feedrate [Rapid]
    Coordinates [Absolute]
    X Position [0 ]
    Y Position [0 ]
    Z Position [ ]
    ---------------------------------------------------
    Event 3 of 4

    Program Call
    Program Number to Call [601 ]
    Number of Times to Call [10 ]
    ---------------------------------------------------
    Event 4 of 4

    End of Program
    Z to Toolchange [Yes]
    Turn off the Spindle [Yes]
    X Position (home relative)[ ]
    Y Position (home relative)[ ]
    ---------------------------------------------------

    ************************************************** *******************
    ************************************************** *******************

    Program P0601

    Event 0 of 6

    Program Setup
    Program name [ENGINE TURN SUB ]
    Dimensions [Absolute]
    Units [English]
    Setup Notes:
    [ ]
    [ ]
    [ ]
    [ ]
    [ ]
    [ ]
    [ ]
    [ ]
    [ ]
    [ ]
    ---------------------------------------------------
    Event 1 of 6

    Enable Drill Cycle
    [Enable Drill Cycle w/Dwell]
    Z Pierce Feedrate [10 ]
    Return Point [Clearance]
    Clearance Point [.1 ]
    Final Depth [-.05 ]
    Dwell Time in Sec [2 ]
    ---------------------------------------------------
    Event 2 of 6

    Position Drill
    Coordinates [Absolute]
    X Position [0 ]
    Y Position [0 ]
    Z Position [ ]
    (Z by itself to clear clamps)
    (Z with X and or Y for new depth)
    Spaced Holes [Yes]Number of holes [10 ]
    X Spacing [.5 ]Y Spacing [0 ]
    ---------------------------------------------------
    Event 3 of 6

    Position Drill
    Coordinates [Absolute]
    X Position [.25 ]
    Y Position [.25 ]
    Z Position [ ]
    (Z by itself to clear clamps)
    (Z with X and or Y for new depth)
    Spaced Holes [Yes]Number of holes [9 ]
    X Spacing [.5 ]Y Spacing [0 ]
    ---------------------------------------------------
    Event 4 of 6

    Disable Drill Cycle
    ---------------------------------------------------
    Event 5 of 6

    Set Floating Zero
    Axis X[ ]
    Y[-.25 ]
    Z[ ]
    ---------------------------------------------------
    Event 6 of 6

    End of Program
    Z to Toolchange [NO]
    Turn off the Spindle [NO]
    X Position (home relative)[ ]
    Y Position (home relative)[ ]
    ---------------------------------------------------

Similar Threads

  1. CONVERTING MILLING G CODE TO TURNING G CODE
    By keen in forum Tormach Personal CNC Mill
    Replies: 13
    Last Post: 02-10-2016, 03:13 PM
  2. CNC Turning - .75" diameter RC engine cylinders and pistons.
    By jamesjsmj in forum North America RFQ's
    Replies: 14
    Last Post: 03-14-2013, 06:33 PM
  3. Anyone have an engine turning CNC program?
    By meincer in forum MetalWork Discussion
    Replies: 10
    Last Post: 03-04-2012, 02:24 AM
  4. V-Carve application? Engine turning
    By chuckknigh in forum G-Code Programing
    Replies: 32
    Last Post: 03-13-2007, 07:53 PM
  5. Engine Code Help-45degree cut (YZ & XZ)
    By GTmike400 in forum G-Code Programing
    Replies: 4
    Last Post: 02-25-2006, 05:46 PM

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
  •