Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

Diesel Tom

Verified Members
  • Posts

    32
  • Joined

  • Last visited

Posts posted by Diesel Tom

  1. I had the exact same issue when I got my lathe add on. I just called Tech support and they modified my post to respond properly.

    Thanks I have the same problem I though it was something I was doing wrong Ill call tomorrow :thumbsup:

  2. O1002(SUB PROGRAM)
    N970 #100 = [#100 + 1] (COUNTER OF MARCO 100 TO VALUE NEEDED)
    N980 IF #100 > 20 GOTO N1000 (COUNTER UNTIL END OF BAR IS REACHED)  <-- COULD USE A MACRO VARIABLE HERE TO MAKE IT A UNIVERSAL PROGRAM  FOR ALL STOCK
    N990 M98 P1000 (KEEP CALLING MAIN PROGRAM)
    N1000 M30 (END SUB PROGRAM AT COMPLETION OF BAR)

     

    it has been some years since I used this stuff and think I made a mistake it should look like this.

     

    HTH

    This is the first time I've ever used sub programs I don't understand how it works but it works tomorrow morning I'll try the changes and see what happens.How does the lathe see 1002 sub program? Thanks for your time

  3. Okay you know what you need then put up the code how you write in by hande now. You can do the counter a couple ways for the loop. You can do it through a Macro call if the machine supports macros or you can just do it with a sub to main call. Make the par puller program a sub program that you call at the end of your main program. You pull the bar our manually and then at the end of a run part call the sub program. It will run that way until out of stock. If you can use a Macro then you would just want to do a:

    O1000(MAIN PROGRAM)

    N10 Start of program

    N690 M98 P1001

    N700 M99

     

    O1001(BAR PULLER PROGRAM)

    M05(STOP SPINDLE)

    G4 X2.(2 SECOND DELAY TO ALLOW SPINDLE TO STOP)

    G00 Z -.5(RAPID OT .5 OF STOCK TO GRAB)

    G00 X2.0(RAPID TO 2.0 DIAMETER)

    G99(SWITCH MACHINE TO INCH PER MINUTE FEED RATE)

    G1 X-.5 F20. (FEED MACHINE ON TO DIAMETER OF STOCK)

    M11(OPEN JAWS)

    G1 Z2.0(MOVE DISTANCE FOR NEW PART) <-- COULD USE A #110 FOR A STOCK LENGTH SO IT IS A UNIVERSAL BAR PULL PROGRAM FOR ALL STOCK

    M10(CLOSE JAWS)

    G4 X2.(2 SECOND DELAY TO ALLOW SPINDLE TO CLAMP) <-- MAY NOT BE NEEDED)

    G00 X10.

    G98(MACHINE BACK TO REV PER MINUTE)

    M99

     

    O1002(SUB PROGRAM)

    N970 #100 = [#101 + 1] (COUNTER OF MARCO 100 TO VALUE NEEDED)

    N980 IF #100 > 30 GOTO N1000 (COUNTER UNTIL END OF BAR IS REACHED) <-- COULD USE A MACRO VARIABLE HERE TO MAKE IT A UNIVERSAL PROGRAM FOR ALL STOCK

    N990 M98 P1000 (KEEP CALLING MAIN PROGRAM)

    N1000 M30 (END SUB PROGRAM AT COMPLETION OF BAR)

     

    It has been many years since I did a bar pull so I might be a little rusty, but that should point you in the right direction. If not there are plenty of smart people on here that should help you after seeing my attempt.

     

    I would check the G and M codes to make sure they are correct for your machine and also check the control. This is written for a Fanuc based machine. For Okuma you need to know the command as well for other control types.

     

    HTH

    Hi how does one get the counter to work i have my lathe working off the sub programs just as you have in your code but i cant figure out what to change to make it stop after say 20 parts my lathe just keeps cycling. Thanks for your help
  4. Hi I have a Mori Seiki SL-25 Fanuc 10T and Im having my post modified to make a bar puller work in X5 I need a posted code to test so i can give them a sample I don't even know were to start. I need the bar puller tool to be called up and to go to position un-calmp the jaws M11 then pull bar out stop then clamp the jaws M10 then bar puller retracts. Our lathe does not support canned cycles. When I use the Lathe Stock Advance in Master Cam all I get now is

    %

    O0000

    (PROGRAM NAME - test)

    (DATE - DEC. 04 2011)

    (TIME - 5:43 PM)

    N100 G20

    (TOOL - 2 OFFSET - 71)

    (BAR PULLER. INSERT - NONE)

    N110 G54

    N120 G0 T0271

    N130 G99

    N140 M05

    N150 G0 X0. Z.2

    N160 G28 U0. W0.

    N170 M30

    %

    So If some one has a sample they could reply with that would be great.

     

    -Does everyone just use a modified boring bar tool for the bar puller or is there a better tool to use?

    -How does one make the program repeat x amount of times after the bar puller pulls each time?

    Thanks for your time.

  5. I'm new to cnc lathes I'm a mill guy. But I've been cutting my teeth on a Mori Seki SL25 its fun but I need to know are bar feeders universal. Can I take a bar feeder for a newer Mori Seki NL and make it work with our older SL25? If not what bar feeders will work? One more question the SL25 will only take programs posted out long hand no m83 or any can cycles what am I doing wrong is there a setting in the old girl to get it to work?

  6. Thanks for your time. I'm doing a 1.250 - 4 acme thread I have to do them in the lathe because no one that I have found makes a 1.250 -4 acme boring bar I the one was told was going to work was 1.250 dia bar won't fit 1.0125 hole. Not cool so I'm making my own bar to hold the inserts. Thanks for all the info.

  7. Hi can I use a threading acme boring bar from a lathe to thread mill in a mill? Set up would be faster as I can set up six blocks and let them run at once instead of one at a time. So I can work on another project in the lathe. Thanks for your time.

  8. Hi we have an old 1989 SMG 3 axis mill with a Fanuc O-M controller we are really busy and our newer Haas cant keep up with our work load. I call her "Miss SMG" B) the guys at work told me that shes only ever been a drill press and yes the ways are still like new the pryer people didn't know how to make her dance! With a little hot wiring we now have her DNCing like a champ. I have always worked on newer CNC's and am not use to DNCing my question is how can I smooth her out she gets the job done but when HSMing its jerky our max braud band is 9600 and Ive got her at 9600. I tried just slowing the feeds and speeds down and loosening up the tolerances a bit but it just seems that its slower at the jerkiness. The finish is good but I think it can be better. Am I just expecting to much? Question number Two "Miss SMG" has an automatic oilier I forgot its brand I took the cover off its a simple motor that runs all the time I was wondering how to increase the amount of oil going to her ways as I think its a bit dryer than I like Ive drilled holes in the way covers and put plastic covers in them so I can oil the ways it every morning. Do we have to get a different oilier or can i adjust my old one? Monday I will get the name off the pump o yes the oilier also has a external handle that the oil pump keeps up. Thanks for all your time!

  9. isn't this what you want?

     

     

    I guess I don't get how each tool will run g54,g55g56g57 and so on if there is a translate between G54 G55 G56 and so on its great I could then post out each tool individually to run in order! I guess it would be the same as coping and pasting though. I guess I'm looking for a quicker way.

  10. your re-seller should be able to help you with that. would you be able to attach a sample of what you're trying to do?

    I'm trying to take a program that has several tools and have to run say 300 parts I want to set up as many as I can and run each tool on each part tool #1 g54 g55 g56 tool number 2 g54 g55 g56 and so on without cutting and pasting posted programs to cut down on tool changes :D time=$

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...