Results 1 to 2 of 2

Thread: Doesn't want to go throught 2nd loop

  1. #1
    Registered
    Join Date
    Feb 2009
    Location
    usa
    Posts
    16
    Downloads
    0
    Uploads
    0

    Unhappy Doesn't want to go throught 2nd loop

    I'm trying to hand code a sequence of holes. One row is .5 dia. holes and 4 more rows are 1" dia. holes. It simulates small holes fine but it only locates and does 1st hole for the rest of them . This piece worked fine as a stand along before.

    G20

    G00 G90 X1.75 Y2 (works)
    M98 P3 L11

    G00 G90 X1.5 Y3 (locates and 1 hole only)
    M98 P4 L6


    G00 G90 X2.5 Y4
    M98 P4 L5


    G00 G90 X1.5 Y5
    M98 P4 L6


    G00 G90 X2.5 Y6
    M98 P4 L5

    G90 G00 X0 Y0 Z.125
    M30
    %


    O1 (LIFT TOOL)
    G01 G90 Z.125
    M99

    O2 (PLUNGE TOOL)
    G01 G90 Z-.125
    M99

    O3 (CUTTING SMALL HOLES)
    M98 P2
    G91 x0 y0
    G02 x0 y0 I.25 J0 F5
    M98 P1
    G00 G91 X1
    M99

    O4 (CUTTING BIG HOLES)
    M98 P2
    G91 x0 y0
    G02 x0 y0 I.5 J0 F5
    M98 P1
    G00 G91 X2
    M99


  2. #2
    Registered
    Join Date
    Feb 2009
    Location
    usa
    Posts
    16
    Downloads
    0
    Uploads
    0
    Apparently I needed "M30" at the end of the sub-routines. Who would have funked.


Similar Threads

  1. Open Loop to Closed Loop Stepper Conversion
    By beamhome in forum Stepper Motors and Drives
    Replies: 10
    Last Post: 08-14-2012, 03:58 AM
  2. Newbie- CNC conversion typically open loop or closed loop?
    By foobar42 in forum Benchtop Machines
    Replies: 8
    Last Post: 10-29-2009, 08:21 PM
  3. question on closed loop vs open loop (servo systems)
    By boonie in forum Servo Motors and Drives
    Replies: 20
    Last Post: 11-09-2007, 01:30 PM
  4. Closed loop vs. open loop
    By pelesl in forum Benchtop Machines
    Replies: 10
    Last Post: 04-06-2007, 05:56 PM
  5. Lathe conversion - open loop vs closed loop
    By bhowden in forum General Metal Working Machines
    Replies: 7
    Last Post: 03-21-2006, 04:56 PM

Posting Permissions


 


About CNCzone.com

    We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

Follow us on

Facebook Dribbble RSS Feed


Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.