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:

Charlie Pierson

Verified Members
  • Posts

    443
  • Joined

  • Last visited

Posts posted by Charlie Pierson

  1. check out this code in your post:

     

    #Machining position turret/spindle settings

    # Switch strings based on turret position top/bottom-left/right and cut type.

    # Turret position is based on the Mastercam settings (see lathtype).

    # Strings are re-assigned for output in the routine psw_str_mult.

    # The string variable sw_string holds the place position value to determine

    # how to assign the strings. Planes are relative to the view from Mastercam.

    # Assign the 17 digit string following the alpha columns below:

    # A - C axis, 1 = axis winds, 2 = axis signed, 3 = indexer

    # B - Spindle direction, 0 = normal, 1 = reverse

    # C - Plane 0 arc/comp, 0 = normal, 1 = switch

    # D - Plane 1 arc/comp, 0 = normal, 1 = switch

    # E - Plane 2 arc/comp, 0 = normal, 1 = switch

    # F - Plane 0, 0 = G17, 1 = G19, 2 = G18

    # G - Plane 1, 0 = G17, 1 = G19, 2 = G18

    # H - Plane 2, 0 = G17, 1 = G19, 2 = G18

    # Decimal (required)

    # I - Plane 0, X axis, 0 = normal, 1 = switch sign from basic

    # J - Plane 0, Y axis, 0 = normal, 1 = switch sign from basic

    # K - Plane 0, Z axis, 0 = normal, 1 = switch sign from basic

    # L - Plane 1, X axis, 0 = normal, 1 = switch sign from basic

    # M - Plane 1, Y axis, 0 = normal, 1 = switch sign from basic

    # N - Plane 1, Z axis, 0 = normal, 1 = switch sign from basic

    # O - Plane 2, X axis, 0 = normal, 1 = switch sign from basic

    # P - Plane 2, Y axis, 0 = normal, 1 = switch sign from basic

    # Q - Plane 2, Z axis, 0 = normal, 1 = switch sign from basic

    use_only_tl : 0 #Use only Top turret/Left spindle settings (below) for

    #all Mastercam turret/spindle selections

    #When configuring for multi-spindle/turret set to 0

     

    #Columns- ABCDEFGH.IJKLMNOPQ #Turret/Spindle #Path Type

    scase_tl_c1 : "10000222.000000000" #Top turret/Left spindle, Turning cut

    scase_tl_c2 : "11000012.000000000" #Top turret/Left spindle, Right Face cut

    scase_tl_c_2 : "10110012.000000000" #Top turret/Left spindle, Left Face cut

    scase_tl_c3 : "10010102.000000000" #Top turret/Left spindle, Cross cut

    scase_tl_c4c : "10000111.000000000" #Top turret/Left spindle, Y axis subs. Cycle

    scase_tl_c4 : "10000222.000000000" #Top turret/Left spindle, Y axis subs.

    scase_tl_c5 : "10000222.000000000" #Top turret/Left spindle, Multisurf Rotary

     

    #Columns- ABCDEFGH.IJKLMNOPQ

    scase_bl_c1 : "10000222.100100100" #Bottom turret/Left spindle, Turning cut

    scase_bl_c2 : "11000012.000000000" #Bottom turret/Left spindle, Right Face cut

    scase_bl_c_2 : "11110012.000000000" #Bottom turret/Left spindle, Left Face cut

    scase_bl_c3 : "10010102.000000000" #Bottom turret/Left spindle, Cross cut

    scase_bl_c4c : "10000111.000000000" #Bottom turret/Left spindle, Y axis subs. Cycle

    scase_bl_c4 : "10000222.000000000" #Bottom turret/Left spindle, Y axis subs.

    scase_bl_c5 : "10000222.000000000" #Bottom turret/Left spindle, Multisurf Rotary

     

    #Columns- ABCDEFGH.IJKLMNOPQ

    scase_tr_c1 : "10000222.101101101" #Top turret/Right spindle, Turning cut

    scase_tr_c2 : "11000012.101101101" #Top turret/Right spindle, Right Face cut

    scase_tr_c_2 : "11110012.101101101" #Top turret/Right spindle, Left Face cut

    scase_tr_c3 : "10010102.101101101" #Top turret/Right spindle, Cross cut

    scase_tr_c4c : "10000111.101101101" #Top turret/Right spindle, Y axis subs. Cycle

    scase_tr_c4 : "10000222.101101101" #Top turret/Right spindle, Y axis subs.

    scase_tr_c5 : "10000222.101101101" #Top turret/Right spindle, Multisurf Rotary

     

    #Columns- ABCDEFGH.IJKLMNOPQ

    scase_br_c1 : "10000222.101101101" #Bottom turret/Right spindle, Turning cut

    scase_br_c2 : "11000012.101101101" #Bottom turret/Right spindle, Right Face cut

    scase_br_c_2 : "11111001.001101101" #Bottom turret/Right spindle, Left Face cut

    scase_br_c3 : "10010102.101101101" #Bottom turret/Right spindle, Cross cut

    scase_br_c4c : "10000111.101101101" #Bottom turret/Right spindle, Y axis subs. Cycle

    scase_br_c4 : "10000222.101101101" #Bottom turret/Right spindle, Y axis subs.

    scase_br_c5 : "10000222.101101101" #Bottom turret/Right spindle, Multisurf Rotary

     

    you can set your lathe the way you want it:

     

    if it is a multi-turret and the coding is right for one turret and wrong for another, you can adjust it here IF

     

    use_only_tl : 0 #Use only Top turret/Left spindle settings (below) for

    #all Mastercam turret/spindle selections

    #When configuring for multi-spindle/turret set to 0

     

     

    use_only_tl : is set to zero.

     

    cp

  2. I am considering using a .078 drill/emill w/ a 90 deg point to make some small slots .085w in 2024 Alum. .220 deep and blind.

    The machine is a DMG Sprint 65 w/ 16k rpm available w/ 4x1 speeder.

    Oper was previously done w/ a drill for opening then ruff emill followed by finish emill. I am hoping to combine the drill&ruff emill w/ this tool but am concerned w/ dragging the 0 sfm point across the bottom of the slot. headscratch.gif

    Bottom finish is not a problem cuz' sub-spindle opers will mill down to the slot.

     

    Has anyone tried these drill/mills??

    If so, whaddya thimk ??

     

    thanx in advance,

    cp

  3. I've been out of lathe programming / tooling for 'bout 15 years. Now I have to get back into it for a couple of new machines we are getting.

     

    Does anyone have any preferences for knurling tools ?

    If so, why ?

     

    thanx in advance

     

    cp

  4. We just saw one (twin turret w/ 1Y , main & sub spindle) running off some of our parts and we were very impressed. They are sold by CMA (Our Citizen dealer of many years) so's I'm pretty confident of the service and support.

     

    Anyone out there use these machines ??

    Opinions ??

     

    thanks in advance

     

    cp

  5. Our gage pointis at the gage line of the spindle taper.

     

    We use a 40 Taper master bar (available from technara, command and others) to calibrate our tool presetter blocks (homemade 40 taper blocks) and all of our 40 taper machines. We then use a height gage w/ the block to measure the length of our tools offline.

    ditto the 30 taper machines.

     

    cp

  6. from x2 mpfan:

     

     

    ptap$ #Canned Tap Cycle

    pdrlcommonb

    result = newfs(17, feed) # Set for tapping Feedrate format

    n$, "G93", e$ #<--- Line added

    pcan1, pbld, n$, *sgdrlref, *sgdrill, pxout, pyout, pfzout, pcout,

    prdrlout, *feed, strcantext, e$

    pcom_movea

     

     

    and

     

     

    pcanceldc$ #Cancel canned drill cycle

    result = newfs (three, zinc)

    z$ = initht$

    if cuttype = one, prv_zia = initht$ + (rotdia$/two)

    else, prv_zia = initht$

    pxyzcout

    !zabs, !zinc

    prv_gcode$ = zero

    pcan

    pcan1, pbld, n$, "G80", "G94", strcantext, e$ #<--- G94 added

    pcan2

     

    sample result:

    %

    O0000

    (PROGRAM NAME - T )

    (DATE=DD-MM-YY - 03-10-08 TIME=HH:MM - 12:45 )

    N100 G20

    N102 G0 G17 G40 G49 G80 G90

    ( NO. 10-24 TAPRH TOOL - 193 DIA. OFF. - 17 LEN. - 193 DIA. - .19 )

    N104 T193 M6

    N106 G0 G90 G54 X-1.8772 Y.6315 A0. S1407 M3

    N108 G43 H1 Z.1

    N110 G93

    N112 G99 G84 Z0. R.1 F58.64

    N114 X.8737 Y.2595

    N116 X1.981 Y1.6955

    N118 G80 G94

    N120 M5

    N122 G91 G28 Z0.

    N124 G28 X0. Y0. A0.

    N126 M30

    %

  7. if you want to try the post edit then:

     

    !!!!!!!!! BACK UP YOUR POST !!!!!!!!!!!!!!!!!!!!!!!!!!

     

    then:

     

     

    From X2MR2's mpfan.pst:

     

    these lines from your post are probably the output lines for the Q

     

    ppeck$ #Canned Peck Drill Cycle

    pdrlcommonb

    pcan1, pbld, n$, *sgdrlref, *sgdrill, pxout, pyout, pfzout, pcout,

    prdrlout, *peck1$, *feed, strcantext, e$

    pcom_movea

     

    pchpbrk$ #Canned Chip Break Cycle

    pdrlcommonb

    pcan1, pbld, n$, *sgdrlref, *sgdrill, pxout, pyout, pfzout, pcout,

    prdrlout, *peck1$, *feed, strcantext, e$

    pcom_movea

     

    peck1$ is the variable you are looking for.

     

     

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

    this line tells the post to output a Q and format the numeric part according to format statement 2

     

    This is format statement 2:

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

     

    You need to add another format statement , say, 23, to your format section

    kinda like this:

     

    fs2 23 0 4 0 3tn #Trailing, forced, 4/3 place

    then change fmt statement to:

    fmt Q 23 peck1$ #First peck increment (positive)

  8. Our horizontals are B axis indexers and we program from part/fixture zero. We do production type work almost exclusively.

    I use renamed copies of Top(wcs/cplane/tplane) for B0; Front(w/c/t) for B270; Back(w/c/t) for B90. We program 1 part/location and G54-G59 or G54.1P_ to access the other parts on the tstone accomplished thru the use of custom macro B.

     

    cp

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