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:

Odin

Verified Members
  • Posts

    147
  • Joined

  • Last visited

Posts posted by Odin

  1. Hello,

     where in the post do I change how the offsets are numbered after G59? I need the program to post out G110-G129 instead of G54.1 p2 and so forth. 

    Here is the MPM HAAS VMC Post...... TIA

    pwcs            #G54+ coordinate setting at toolchange
          if wcstype = two | wcstype > three,
            [
            sav_frc_wcs = force_wcs
            if sub_level$ > zero, force_wcs = zero
            if sav_mi9 = 1, workofs$ = sav_workofs
            if workofs$ < 0, workofs$ = 0
            if workofs$ <> prv_workofs$ | (force_wcs & toolchng) | sof,
              [
              if workofs$ < 6,
                [
                g_wcs = workofs$ + 54
                *g_wcs
                ]
              else,
                [
                if haas,
                  [
                  p_wcs = workofs$ - five        #G154 P1 to P99
                  "G154", *p_wcs
                  #g_wcs = workofs$ + 104        #G110 to G129
                  #*g_wcs
                  ]
                else,
                  [
                  p_wcs = workofs$ - five
                  "G54.1", *p_wcs
                  ]
                ]
              ]
            force_wcs = sav_frc_wcs
            !workofs$
            ]
  2. Ok, I got the mach. def, control, and post setup that works, now I need help with multiaxis toolpaths. I have to cut the teeth on the spline in the picture. I have to 2.5mm off of the upper edge of the ones with the green curve/wireframe around them. what would be the best way to go about this? I am stumped. it is set up on a 4 -axis Horizontal machine. TIA

    post-22223-0-29420200-1391786783_thumb.png

  3. They are the ones that edited my post. I think its something I am doing wrong in the toolpaths. I just started messing with 4-axis stuff Monday. its all new to me. I have the multiaxis tutorial books, but those lean toward vertical machining. I think im just getting my axis rotations mixed up.

  4. I am going to be milling a transmission die spline that needs to be machined all the way around it. For the life of me I can not get the multi-axis toolpaths figured out. I am using the classic rotary toolpath. it backplots fine and the verify looks good but I just cant get it to post right. I am using X7mill 3, and the piece is going to be machined on a Makino A99 HMC or on a Makino MCB 1210 HMC. Our reseller tweaked our post and mmd. for us. I haven't messed with multi-axis toolpaths at all until today. Any help would be appreciated. I tried to upload zip2go file but its to large. the gray area around the spline is what needs to be machined.

    post-22223-0-43813700-1391525009_thumb.png

  5. There is no fmt "C" P9990_C in the post anywhere, this is thefmt lines in the post,

     

     

    # Toolchange / NC output Variable Formats

    # --------------------------------------------------------------------------

    fmt "T" 4 t$ #Tool Number

    fmt "T" 4 first_tool$ #First Tool Used

    fmt "T" 4 next_tool$ #Next Tool Used

    fmt "D" 4 tloffno$ #Diameter Offset Number

    fmt "H" 4 tlngno$ #Length Offset Number

    fmt "G" 4 g_wcs #WCS G address

    fmt "P" 4 p_wcs #WCS P address

    fmt "S" 4 speed #Spindle Speed

    fmt "M" 4 gear #Gear range

    # --------------------------------------------------------------------------

    fmt "N" 4 n$ #Sequence number

    fmt "X" 2 xabs #X position output

    fmt "Y" 2 yabs #Y position output

    fmt "Z" 2 zabs #Z position output

    fmt "X" 3 xinc #X position output

    fmt "Y" 3 yinc #Y position output

    fmt "Z" 3 zinc #Z position output

    fmt "B" 11 cabs #C axis position

    fmt "B" 14 cinc #C axis position

    fmt "B" 4 indx_out #Index position

    fmt "R" 14 rt_cinc #C axis position, G68

    fmt "I" 3 i$ #Arc center description in X

    fmt "J" 3 j$ #Arc center description in Y

    fmt "K" 3 k$ #Arc center description in Z

    fmt "R" 2 arcrad$ #Arc Radius

    fmt "F" 15 feed #Feedrate

    fmt "P" 11 dwell$ #Dwell

    fmt "M" 5 cantext$ #Canned text

    fmt "P" 4 dtloffno

    fmt "R" 1 mr1$

    #CNC<<MSG-ERROR(498)>> The format statement number is not defined (default to 1)

    #CNC<<MSG-ERROR(497)>> The format statement number is not defined (default to 1)

    # --------------------------------------------------------------------------

    #Move comment (pound) to output colon with program numbers

    fmt "O" 7 progno$ #Program number

    #fmt ":" 7 progno$ #Program number

    fmt "O" 7 main_prg_no$ #Program number

    #fmt ":" 7 main_prg_no$ #Program number

    fmt "O" 7 sub_prg_no$ #Program number

    #fmt ":" 7 sub_prg_no$ #Program number

    fmt "X" 2 sub_trnsx$ #Rotation point

    fmt "Y" 2 sub_trnsy$ #Rotation point

    fmt "Z" 2 sub_trnsz$ #Rotation point

    # --------------------------------------------------------------------------

    fmt "Q" 2 peck1$ #First peck increment (positive)

    fmt "I" 2 peck2$

    fmt "Q" 2 shftdrl$ #Fine bore tool shift

    fmt "R" 2 refht_a #Reference height

    fmt "R" 2 refht_i #Reference height

    # --------------------------------------------------------------------------

    fmt "T" 4 tnote # Note format

    fmt " DIA. OFF. - " 4 toffnote # Note format

    fmt " LEN. - " 4 tlngnote # Note format

    fmt " DIA. - " 1 tldia$ # Note format

  6. Yeah, are sister company failed to tell us that the sent us the wrong machine, the machine we got doesn't have the SGI. they are pulling the board out as I'm typing. I also have another program error. it is 003 too many digits. I cant figure that one out,. in the post under the format statements it has this...

     

    # Format statements - n=nonmodal, l=leading, t=trailing, i=inc, d=delta

    # --------------------------------------------------------------------------

    #Default english/metric position format statements

    fs2 1 0.7 0.6 #Decimal, absolute, 7 place, default for initialize (:)

    fs2 2 0.4 0.3 #Decimal, absolute, 4/3 place

    fs2 3 0.4 0.3d #Decimal, delta, 4/3 place

    #Common format statements

    fs2 4 1 0 1 0 #Integer, not leading

    fs2 5 2 0 2 0l #Integer, force two leading

    fs2 6 3 0 3 0l #Integer, force three leading

    fs2 7 4 0 4 0l #Integer, force four leading

    fs2 9 0.1 0.1 #Decimal, absolute, 1 place

    fs2 10 0.2 0.2 #Decimal, absolute, 2 place

    fs2 11 0.3 0.3 #Decimal, absolute, 3 place

    fs2 12 0.4 0.4 #Decimal, absolute, 4 place

    fs2 13 0.5 0.5 #Decimal, absolute, 5 place

    fs2 14 0.3 0.3d #Decimal, delta, 3 place

    fs2 15 0.2 0.1 #Decimal, absolute, 2/1 place (feedrate)

    fs2 16 1 0 1 0n #Integer, forced output

    fs2 17 0.2 0.3 #Decimal, absolute, 2/3 place (tapping feedrate)

     

    I'm not sure what to do! is it a post problem or a machine parameter issue?

    TIA

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