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:

ckwhite

Verified Members
  • Posts

    68
  • Joined

  • Last visited

Posts posted by ckwhite

  1. That did it! I moved the "*speed, *spindle, pgear, strcantext, e$" line back to where it was originally and added what you said.

     

    Here is the code for any future reference.

     

    if n_tpln_mch > m_one, #Toolplane mapping mode

    [

    #Enter your mapping scheme here...

    pg68_map

    pbld, n$, "G43", *tlngno$, *zabs_s, e$

    pbld, n$, *sg00, pwcs, "X0.", "Y0.", *zabs_s, e$

    pcan1, pbld, n$, *sgcode, *xabs_s, *yabs_s, *p_out, *s_out, strcantext, e$

    ]

    else, #5 axis and regular mode ( n_tpln_mch = -2)

    [

    if cut_ra_head & use_g45, #Swap xout and yout based on offset axis

    [

    tloffno2 = tlngno$ + g45_of_add

    pcan1, pbld, *speed, *spindle, pgear, strcantext, e$

    n$, *sgcode, pwcs, *sgabsinc, *yout, *p_out, *s_out, e$

     

    pbld, n$, "G45", *tloffno2, *xout, e$

    ]

    else,

    [

    if T$ = 50,

    [

    pcan1, pbld, n$, *sgcode, pwcs, *sgabsinc, *xout, *yout, *p_out, *s_out,

    *spindle, pgear, strcantext, e$

    ]

    else,

    [

    pcan1, pbld, n$, *sgcode, pwcs, *sgabsinc, *xout, *yout, *p_out, *s_out,

    *speed, *spindle, pgear, strcantext, e$

    ]

     

    but what does this mean?

    if cut_ra_head & use_g45, #Swap xout and yout based on offset axis

    should I put it there too?

     

    I don't have any S0's when I post so is this line not being used?

  2. Hey guys, I did a search and couldn't find anything. So here is my question.

     

    I have setup my machine (fanuc 16i) to probe using custom drill cycles. Problem is the post always comes out with

    "S0 M5"

    And the machine doesn't like that. So I was wanting to put an if/then statement in the post that says

    If speed = zero

    then M5 (without S0)

     

    Here is the section of the post that outputs the spindle speed

     

     

    if n_tpln_mch > m_one, #Toolplane mapping mode

    [

    #Enter your mapping scheme here...

    pg68_map

    pbld, n$, "G43", *tlngno$, *zabs_s, e$

    pbld, n$, *sg00, pwcs, "X0.", "Y0.", *zabs_s, e$

    pcan1, pbld, n$, *sgcode, *xabs_s, *yabs_s, *p_out, *s_out, strcantext, e$

    ]

    else, #5 axis and regular mode ( n_tpln_mch = -2)

    [

    if cut_ra_head & use_g45, #Swap xout and yout based on offset axis

    [

    tloffno2 = tlngno$ + g45_of_add

    pcan1, pbld, *speed, *spindle, pgear, strcantext, e$

    n$, *sgcode, pwcs, *sgabsinc, *yout, *p_out, *s_out, e$

     

    pbld, n$, "G45", *tloffno2, *xout, e$

    ]

    else,

    [

    pcan1, pbld, *speed, *spindle, pgear, strcantext, e$

    n$, *sgcode, pwcs, *sgabsinc, *xout, *yout, *p_out, *s_out, e$

    #if *speed = zero

    ]

    I moved the S0 M5 to a line by itself thinking that I could isolate it then maybe apply a if/then statement, but I may be on the wrong track..... Thanks

  3. We recently bought a 2 pallet horizontal mill. One pallet is a simple tombstone, the second has a 5 axis (B,C). My post is set up with axis limits for the B axis (because of cords, air lines, etc on the 5 axis pallet). This limits my use of the tombstone pallet.

     

    Is there some way to tell MC which pallet i'm working on and when to use the axis limits?

  4. steve i don't know what the major dia of a ex: 1/4 - 20 helicoil should be.

     

    When we thread mill.....

    5/16 - 24 hole and a 3/8 - 24 hole my major dia is .3125 and .375

     

    I can use a 5/16 - 24 threadmill to do both. and they come out right every time.

     

    But when we threadmill....

    5/16 - 24 hole and 5/16 - 24 STI hole my major dia is .3125 and .370(MAX)

     

    I can't use the same tool because the STI hole cuts oversize. .370 is not the nominal major dia

  5. I am threadmilling helicoil and standard tapped holes with the same threadmill. The problem I am having is that the operator has to adjust the D-comp constantly. I think my problem is the major dia I have programmed for the STI threads. The only information I have shows me the " Tap Major Dia Max". I need to know the nominal.

     

    Anyone know where to find this information.

  6. Ok just spoke with reseller. He says WCS should always be Top for 5 axis posts. But orient the part so that B0 and C0 is from the front view. This he says will allow you to use left side for the leftside of the part and right side view for the right side of the part. (This makes since) He is working on figuring out why the C axis is moving when it should be C0 B0.

  7. My first operation is:

    Front/Front 2d contour = Output should be B0 C0

    My output is B0 C90

     

    My second operation is:

    Front/(Plane created by rotating about the Y axis 90 deg from Front view)

    2d contour = Output should be B90 C0

    My output is B90 C90

  8. I would appreciate it if you didn't hijack this thread with some unimportant minor detail. You cannot assume you know me. Do you know who my reseller is? I assure you I do! I have worked with them for years. They do a great job when they have time.

  9. My first operation is WCS (front)

    T/C PLANE (front).

    It looks good B0 and C0.

    From the front view I rotate about the Y axis 90deg. Create new plane and operation.

    Operation 2 = WCS (front)

    T/C PLANE (front rotated 90)

    Should that output be C0 B90?

  10. Calm down!!!! In no way did I imply that he was not doing his job right. Did you not read my THIRD sentence? "Or I don't understand how to set it up correctly."

     

    My only complaint is that he is too busy teaching class to help me understand. That is why I came here looking for an answer. Sorry to offend.

  11. Just bought a horizontal mill with a 5th axis. My reseller cannot get the post right. Or I don't understand how to set it up correctly.

     

    Our other horizontal machines are set up using Top as the WCS and then rotate around the Y axis to create other planes.

     

    He is telling me I cannot use this same logic on the 5th axis. I need to setup using FRONT view as my WCS. Is this correct? I have more questions but let me get this one answered first.

    thanks

     

    X4

    He is using the Generic Fanuc 5 Axis Mill Post

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...