504,316 active members
4,609 visitors online
Register for free
Login
IndustryArena Forum > CAM Software > Mastercam > Problem driving long tools into vice......second version.seems version one is closed.
Results 1 to 6 of 6
  1. #1
    Registered
    Join Date
    Aug 2007
    Posts
    294

    Problem driving long tools into vice......second version.seems version one is closed.

    With X5 Mcam and fadal format 2 after I complete a tool cycle (using tools with a + compensation due to long length) the compensation comes off after the cycle then the machine attempts to move z back to the 0 position on whatever work offset I am using....with bad results ...

    attached is generic format post for fadal
    Attached Files Attached Files

  2. #2
    Registered
    Join Date
    May 2012
    Posts
    180

    Re: Problem driving long tools into vice......second version.seems version one is clo

    Ok found where it's happening,
    What code would you use to retract the spindle. Say to a reference position? G53, g28?

    Sent from my HTC One using Tapatalk

    Ok added g53 for now. should now move to reference Z 0.
    Also added g43 to tool offset calls.

    See how it works. other option is to remove it. just let me know how it goes - take your time the first time.

  3. #3
    Registered
    Join Date
    May 2012
    Posts
    180

    Re: Problem driving long tools into vice......second version.seems version one is clo

    Just twigged you asked about it adding 1 to your offsets. I will have a look at this while I'm in here.

    Sent from my HTC One using Tapatalk

  4. #4
    Registered
    Join Date
    Aug 2007
    Posts
    294

    Re: Problem driving long tools into vice......second version.seems version one is clo

    Looking at the post ...would like to remove the E0 line but not sure how...


    pretract #End of tool path, toolchange
    sav_absinc = absinc$
    sav_coolant = coolant$
    coolant$ = zero
    # if nextop$ = 1003, #Uncomment this line to leave coolant on until eof unless
    [ # explicitely turned off through a canned text edit
    if all_cool_off,
    [
    #all coolant off with a single off code here
    if coolant_on, pbld, n$, sall_cool_off, e$
    coolant_on = zero
    ]
    else,
    [
    local_int = zero
    coolantx = zero
    while local_int < 20 & coolant_on > 0,
    [
    coolantx = and(2^local_int, coolant_on)
    local_int = local_int + one
    if coolantx > zero,
    [
    coolantx = local_int
    pbld, n$, scoolantx, e$
    ]
    coolantx = zero
    ]
    coolant_on = zero
    ]
    ]
    #cc_pos is reset in the toolchange here
    cc_pos$ = zero
    sav_gcode = gcode$
    gcode$ = zero
    sav_absinc = absinc$
    absinc$ = zero # 'G90' mode
    pcan
    pbld, n$, sccomp, *sm05, scoolant, psub_end_mny, e$
    if wcs_mode = two, # 'E' fixture offset mode
    pcan1, pbld, n$, *sgabsinc, sgcode, "Z0.", strcantext, e$ # Retract Z w/ tool length cancel
    else, # 'G28' retract mode
    [
    absinc$ = one
    pcan1, pbld, n$, "G28", "Z0.", strcantext, e$
    if nextop$ = 1003 | tlchg_home, pbld, n$, *sg28ref, "X0.", "Y0.", protretinc, e$
    else, pbld, n$, protretinc, e$

    ]
    pcan2
    absinc$ = sav_absinc
    coolant$ = sav_coolant
    gcode$ = sav_gcode

  5. #5
    Registered
    Join Date
    May 2012
    Posts
    180

    Re: Problem driving long tools into vice......second version.seems version one is clo

    ???, do you mean the cold/safe start.

    Sent from my HTC One using Tapatalk

  6. #6
    Registered
    Join Date
    Aug 2007
    Posts
    294

    Re: Problem driving long tools into vice......second version.seems version one is clo

    No, sorry for the confusion, I need to keep the E0 (machine 0)in the output g code but need to remove the H0. Or preferably move the Z to E0 before E0, x0, y0 then cancel the H0...if that makes sense, or just remove the H0? Just not sure of the repercussions of removing the H0 length cancellation?

Similar Threads

  1. Driving long tools through the vice
    By dougputt in forum Mastercam
    Replies: 76
    Last Post: 07-07-2014, 09:41 AM
  2. Replies: 0
    Last Post: 12-23-2013, 11:09 PM
  3. powermax 45 machine version vs hand version
    By landmark in forum Hypertherm Plasma
    Replies: 1
    Last Post: 02-14-2010, 11:13 PM
  4. Replies: 2
    Last Post: 12-12-2006, 12:12 AM
  5. Older version g320 with long leads
    By kiepie in forum Gecko Drives
    Replies: 0
    Last Post: 11-01-2005, 09:03 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
  •