587,646 active members*
2,946 visitors online*
Register for free
Login
Results 1 to 13 of 13

Hybrid View

  1. #1
    Join Date
    Jun 2015
    Posts
    4158

    Re: Macro programming help

    Consider using macros to control each diameter and to control any possible taper on an O.D. (or I.D.).
    q x uz

    1.375 diameter on the part that also needed a .010 x 45 degree chamfe
    q x1.375 (c0.01)

    hy such that becomes input, and postprocesed for whatever you wish / kindly
    Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg

  2. #2
    Join Date
    May 2007
    Posts
    1003

    Re: Macro programming help

    Quote Originally Posted by deadlykitten View Post
    q x uz



    q x1.375 (c0.01)

    hy such that becomes input, and postprocesed for whatever you wish / kindly
    I think your words got frozen because some letters are missing. Must have broken up and dropped to the ground. I don't understand much of what you said.

    I am aware of putting on chamfers with 'C' (or radius with 'R'), but never have done it for the same reason I never learned to use G41/G42. I was told not to when I first started as my programs had to run on any of our lathes. Most were old enough not to be able to use that kind of programming.

    To the best of my knowledge 'C' will not swing a radius at the beginning and end of a chamfer. The chamfer is made in a straight line. I always swing a radius on chamfers to avoid a burr being kick back which often happens when the insert gets a little worn. If a burr is made when swinging a radius, then you know the insert is shot.

    BTW, I was told in 2008 that the company wanted me to use MasterCam for all my programming. They wanted a newbie to be able to call up the part and change the post processor so it could be run on any of our lathes. Personally I don't do that to run on a different lathe. It is easy for me to make the necessary format changes to go from one lathe to a different one. I have a bunch of Macros in the editor or I do a Ctrl H to make global changes.

    Previously I just used MasterCam to save myself from using a lot of trig. I might have driven a tool or two and copied the output into my program. The rest of the program was manually written.


    MasterCam doesn't do Macro programming worth a damn. LOL.

  3. #3
    Join Date
    Jun 2015
    Posts
    4158

    Re: Macro programming help

    chamfer is made in a straight line. I always swing a radius on chamfers
    q3 (r0.003c0.01r0.003) x1.375
    q3 x1.355 (r0.003) x1.375u45
    (r0.003)
    q3 x1.355z0 (r0.003) x1.375u45 (r0.003)
    q3 (r0.003) x1.375z0.01u45 (r0.003)
    Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg

  4. #4
    Join Date
    May 2007
    Posts
    1003

    Re: Macro programming help

    Quote Originally Posted by deadlykitten View Post
    q3 (r0.003c0.01r0.003) x1.375
    q3 x1.355 (r0.003) x1.375u45
    (r0.003)
    q3 x1.355z0 (r0.003) x1.375u45 (r0.003)
    q3 (r0.003) x1.375z0.01u45 (r0.003)
    Thanks. I can see that I need to revisit a programming manual from one of our new lathes.

  5. #5
    Join Date
    May 2007
    Posts
    1003

    Re: Macro programming help

    Quote Originally Posted by g-codeguy View Post
    Thanks. I can see that I need to revisit a programming manual from one of our new lathes.
    EDIT: Also deadlykitten I believe you work with Okuma controls. I may not have this flexibility with Fanuc controls. Afraid I haven't checked into this yet. Been swamped and it isn't looking any better in the foreseeable future. If I didn't post from home, I wouldn't be posting. And that's after my wife goes to bed.

  6. #6
    Join Date
    Jun 2015
    Posts
    4158

    Re: Macro programming help

    If I didn't post from home, I wouldn't be posting. And that's after my wife goes to bed
    you mean posting cnc programs, or posting on cnc zone ? in both cases, seems a bit weird

    why don't you post both from work, and have more free time ?
    Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg

  7. #7
    Join Date
    May 2007
    Posts
    1003

    Re: Macro programming help

    Quote Originally Posted by deadlykitten View Post
    you mean posting cnc programs, or posting on cnc zone ? in both cases, seems a bit weird

    why don't you post both from work, and have more free time ?
    I mean posting on cnczone. I'm doing a lot of posting (Mastercam) at work. We are always short-handed so I not only trouble shoot, but help set up occasionally. I'm the only programmer for 26 lathes.

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
  •