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:

zachlancy

Verified Members
  • Posts

    45
  • Joined

  • Last visited

Posts posted by zachlancy

  1. I've encountered something similar before. Try this...

    Locate the *.xml file called MastercamSimulatorDefaults in the folder C:\Users\(your name)\Documents\my mcam2019

    Open with a text editor

    Search for <PrecisionFactor>6</PrecisionFactor>

    Change the number to something higher than what it is currently. (i.e. 6 or more)

    Save file

    Open MC again

    Simulate again and see if it helps.

  2. Hello, I need to side mill the red faces on a rotary. I've looked into roll-die, rotary advanced, contour with axis sub and haven't come up with a solution. Not sure if its from not being the right toolpath, or setting it up wrong. How could I run an endmill along the side of these faces whilst having the y-axis sub'ed.

    We have a multiaxis license, so if theres a path that would be suitable let me know.

    Thanks,

    Zach

    Untitled.jpg

    Part.mcam

  3. For machining rest material I turn the precision to max in verify, save the outcome as an stl somewhere, then use that in the optirough stock page as my "stock". Use CAD File and point it to the .stl. Not sure if the verify precision has any impact on the accuracy of the stl, but i figure it cant hurt. Usually works alright for me.

  4. People seem to say that a CPU with higher clock speeds is better than higher core numbers. Build your pc around an Intel i7 cpu. I have an 8700k and its very nice. Don't wast your money on K (unlocked) models, as they are only useful if overclocking. AMD is making some nice chips these days at competitive prices, not sure how they work with MC though. Also, make sure to get a Solid State Drive. They're cheap now in the 2.5" format. M.2 is nice but more expensive.

  5. On 6/17/2009 at 6:42 AM, Rob @ Target Machine said:

    After looking at this thread, to find JP's peck tapping cycle, I found a need to change a few things

    to get my ptap$ and ptap2$ postblocks using a peck or no peck.

     

    Custom drill cycles were avoided since I have only a couple left and would like to reserve them

    for future use.

     

    Hint: One of them will be a Broaching cycle

     

     

    I'll post my mods, so someone may learn or benefit:

     

     

    Anyways here's what I did:

     

     

     

     

    code:

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

     

    # Mastercamguru additional debug output

     

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

     

    bug_tap_1 : 0

     

    bug_tap_2 : 0

     

     

     

     

     

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

     

    # Some new stuff to initialize

     

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

     

    fmt 4 count # timing counter #Peck TAP CYCLE

     

    fmt 4 peck_cnt # remaining no. of pecks #Peck TAP CYCLE

     

    fmt 4 numpeck # No. of pecks #Peck TAP CYCLE

     

    fmt 4 pass # pass counter use to calculate depths #Peck TAP CYCLE

     

    fmt Z 2 sub_depth # subsequent depths #Peck TAP CYCLE

     

    fmt Z 2 calc_depth # The total caculated cutting depth #Peck TAP CYCLE

     

    fmt Z 2 calc_peck # the calculated peck amount #Peck TAP CYCLE

     

    fmt Z 2 strt_depth # the first tap depth #Peck TAP CYCLE

     

    fmt Z 2 initial_calc # first peck #Peck TAP CYCLE

     

     

     

     

     

     

     

     

     

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

     

    # Tapping Cycle - First Point G84/74 call

     

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

     

    ptap$ #Canned Tap Cycle

     

    pdrlcommonb

     

    #RH/LH based on spindle direction

     

    numpeck = peck2$

     

    peck_cnt = numpeck

     

    initial_calc = (depth$ - tosz$) / peck_cnt

     

    strt_depth = (tosz$ + initial_calc)

     

    calc_depth = (depth$ - tosz$)

     

    calc_peck = calc_depth / numpeck

     

    if use_pitch, pbld, n$, "G93", e$

     

    if use_pitch = 0,

     

    [

     

    if numpeck <= 1,

     

    [

     

    pcan1, pbld, n$, *sgdrlref, *sgdrill, pdrlxy, pfzout, pcout,

     

    prdrlout, *feed, strcantext, e$

     

    ]

     

    if numpeck > 1,

     

    [

     

    pcan1, pbld, n$, *sgdrlref, *sgdrill, pdrlxy, *strt_depth, pcout,

     

    prdrlout, *feed, strcantext, e$

     

    # ----------------------Debugging Block

     

    #

     

    if bug_tap_1,

     

    [

     

    "numpeck=", ~numpeck, e$

     

    "peck_cnt=", ~peck_cnt, e$

     

    "initial_calc=", ~initial_calc, e$

     

    "strt_depth=", ~strt_depth, e$

     

    "calc_depth=", ~calc_depth, e$

     

    "calc_peck=", ~calc_peck, e$

     

    ]

     

    #

     

    # ----------------------Debugging Block

     

    #

     

    count = peck_cnt - 1

     

    pass = 1

     

     

     

    while count > 0,

     

    [

     

    # ----------------------Debugging Block

     

    #

     

    if bug_tap_2,

     

    [

     

    "count=", ~count, e$

     

    "pass=", ~pass, e$

     

    "sub_depth=", ~sub_depth, e$

     

    ]

     

    #

     

    # ----------------------Debugging Block

     

    #

     

    sub_depth = strt_depth + (calc_peck * pass)

     

    pbld, n$, *sub_depth, e$

     

    pass = pass + 1

     

    count = count - 1

     

    ]

     

    ]

     

    ]

     

    else,

     

    [

     

    if numpeck <= 1,

     

    [

     

    if met_tool$, pitch = n_tap_thds$ # Tap pitch (mm per thread)

     

    else, pitch = 1/n_tap_thds$ # Tap pitch (inches per thread)

     

    pcan1, pbld, n$, *sgdrlref, *sgdrill, pdrlxy, pfzout, pcout,

     

    prdrlout, *pitch, !feed, strcantext, e$

     

    ]

     

    if numpeck > 1,

     

    [

     

    if met_tool$, pitch = n_tap_thds$ # Tap pitch (mm per thread)

     

    else, pitch = 1/n_tap_thds$ # Tap pitch (inches per thread)

     

    pcan1, pbld, n$, *sgdrlref, *sgdrill, pdrlxy, *strt_depth, pcout,

     

    prdrlout, *pitch, !feed, strcantext, e$

     

    # ----------------------Debugging Block

     

    #

     

    if bug_tap_1,

     

    [

     

    "numpeck=", ~numpeck, e$

     

    "peck_cnt=", ~peck_cnt, e$

     

    "initial_calc=", ~initial_calc, e$

     

    "strt_depth=", ~strt_depth, e$

     

    "calc_depth=", ~calc_depth, e$

     

    "calc_peck=", ~calc_peck, e$

     

    ]

     

    #

     

    # ----------------------Debugging Block

     

    #

     

    count = peck_cnt - 1

     

    pass = 1

     

    while count > 0,

     

    [

     

    # ----------------------Debugging Block

     

    #

     

    if bug_tap_2,

     

    [

     

    "count=", ~count, e$

     

    "pass=", ~pass, e$

     

    "sub_depth=", ~sub_depth, e$

     

    ]

     

    #

     

    # ----------------------Debugging Block

     

    #

     

    sub_depth = strt_depth + (calc_peck * pass)

     

    pbld, n$, *sub_depth, e$

     

    pass = pass + 1

     

    count = count - 1

     

    ]

     

    ]

     

    ]

     

    pcom_movea

     

    tapflg = 1

     

     

     

     

     

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

     

    # Tapping Cycle - Additional Points

     

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

     

     

     

    ptap_2$ #Canned Tap Cycle

     

    if numpeck <= 1,

     

    pdrill_2$

     

    if numpeck > 1,

     

    pdrlcommonb

     

    pcan1, pbld, n$, pdrlxy, *strt_depth, pcout, prdrlout, e$

     

    # ----------------------Debugging Block

     

    #

     

    if bug_tap_1,

     

    [

     

    "numpeck=", ~numpeck, e$

     

    "peck_cnt=", ~peck_cnt, e$

     

    "initial_calc=", ~initial_calc, e$

     

    "strt_depth=", ~strt_depth, e$

     

    "calc_depth=", ~calc_depth, e$

     

    "calc_peck=", ~calc_peck, e$

     

    ]

     

    #

     

    # ----------------------Debugging Block

     

    #

     

    count = peck_cnt - 1

     

    pass = 1

     

    while count > 0,

     

    [

     

    # ----------------------Debugging Block

     

    #

     

    if bug_tap_2,

     

    [

     

    "count=", ~count, e$

     

    "pass=", ~pass, e$

     

    "sub_depth=", ~sub_depth, e$

     

    ]

     

    #

     

    # ----------------------Debugging Block

     

    #

     

    sub_depth = strt_depth + (calc_peck * pass)

     

    pbld, n$, *sub_depth, e$

     

    pass = pass + 1

     

    count = count - 1

     

    ]

     

    pcom_movea

     

     

     

    And some CTRL stuff:

     

     

     

    [tap]

     

    1. "G84/G74 - Tap"

     

    3. ""

     

    7. ""

     

    8. "# of pecks"

     

    9. ""

     

    10. ""

     

    11. ""

     

     

    .

     

    This is how it posts.

     

    .

     

     

     

    code:

    
    M1

     

    (TAP 2-56 THRU)

     

    T5 M6 ( 2-56 GUN TAP)

     

    (MIN - Z-.36)

     

    G0 G90 G54 X.22 Y-.335 S1100 M8

     

    G91 G43 H5 Z0. M3

     

    G92 Z.05 M8

     

    G90

     

    G93

     

    G98 G84 Z-.09 R.01 F.0179

     

    Z-.18

     

    Z-.27

     

    Z-.36

     

    X.935 Z-.09

     

    Z-.18

     

    Z-.27

     

    Z-.36

     

    X1.127 Y-.36 Z-.09

     

    Z-.18

     

    Z-.27

     

    Z-.36

     

    X1.607 Z-.09

     

    Z-.18

     

    Z-.27

     

    Z-.36

     

    G80

     

    G94

     

    M9

     

    G91 G28 Z0 M19

    HTH cheers.gif

     

    [ 06-17-2009, 12:18 PM: Message edited by: Mastercam Guru ]

    I'm trying to add this to my post but i'm not getting very far. 

    PST LINE (1591) - The formula/boolean failed (general message), , Label has not been defined[4]
    19 Jul 2017 02:53:51 PM - PST LINE (1591) - The formula/boolean failed (general message), The formula/boolean does not terminate properly
    19 Jul 2017 02:53:51 PM - PST LINE (1593) - The formula/boolean failed (general message), , Label has not been defined[4]
    19 Jul 2017 02:53:51 PM - PST LINE (1583) - Duplicate post block declaration, , Duplicate assignment of label
    19 Jul 2017 02:53:51 PM - PST LINE (1593) - The variable/string declaration is a duplicate, The formula/boolean does not terminate properly, , Duplicate assignment of label
    19 Jul 2017 02:53:51 PM - PST LINE (1594) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1595) - The variable/string declaration is a duplicate, , Duplicate assignment of label
    19 Jul 2017 02:53:51 PM - PST LINE (1596) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1597) - Unrecognized characters after declaration, , Illegal character(s) encountered
    19 Jul 2017 02:53:51 PM - PST LINE (1598) - Unrecognized characters after declaration, , Illegal character(s) encountered
    19 Jul 2017 02:53:51 PM - PST LINE (1599) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1600) - The variable/string declaration is a duplicate, , Duplicate assignment of label
    19 Jul 2017 02:53:51 PM - PST LINE (1601) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1606) - The formula/boolean failed (general message), , Label has not been defined[4]
    19 Jul 2017 02:53:51 PM - PST LINE (1602) - Duplicate post block declaration, Unrecognized characters after declaration, , Illegal character(s) encountered, Duplicate assignment of label
    19 Jul 2017 02:53:51 PM - PST LINE (1603) - Duplicate post block declaration, Unrecognized characters after declaration, , Illegal character(s) encountered, Duplicate assignment of label
    19 Jul 2017 02:53:51 PM - PST LINE (1606) - The variable/string declaration is a duplicate, The formula/boolean does not terminate properly, , Duplicate assignment of label
    19 Jul 2017 02:53:51 PM - PST LINE (1607) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1608) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1609) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1610) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1611) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1612) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1613) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1614) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1622) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1625) - The formula/boolean failed (general message), , Label has not been defined[4]
    19 Jul 2017 02:53:51 PM - PST LINE (1625) - The variable/string declaration is a duplicate, The formula/boolean does not terminate properly, , Duplicate assignment of label
    19 Jul 2017 02:53:51 PM - PST LINE (1626) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1627) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1628) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1629) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1630) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1635) - Unrecognized characters after declaration, , Illegal character(s) encountered
    19 Jul 2017 02:53:51 PM - PST LINE (1636) - The variable/string declaration is a duplicate, , Duplicate assignment of label
    19 Jul 2017 02:53:51 PM - PST LINE (1637) - The variable/string declaration is a duplicate, , Duplicate assignment of label
    19 Jul 2017 02:53:51 PM - PST LINE (1638) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1639) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1640) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1641) - The formula/boolean failed (general message), , Illegal character(s) encountered
    19 Jul 2017 02:53:51 PM - PST LINE (1642) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1643) - The variable/string declaration is a duplicate, , Duplicate assignment of label
    19 Jul 2017 02:53:51 PM - PST LINE (1644) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1645) - The variable/string declaration is a duplicate, , Duplicate assignment of label
    19 Jul 2017 02:53:51 PM - PST LINE (1646) - The variable/string declaration is a duplicate, , Illegal character(s) encountered, Duplicate assignment of label
    19 Jul 2017 02:53:51 PM - PST LINE (1647) - Duplicate post block declaration, Unrecognized characters after declaration, , Illegal character(s) encountered, Duplicate assignment of label
    19 Jul 2017 02:53:51 PM - PST LINE (1648) - Duplicate post block declaration, Unrecognized characters after declaration, , Illegal character(s) encountered, Duplicate assignment of label
    19 Jul 2017 02:53:51 PM - PST LINE (1649) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1650) - The variable/string declaration is a duplicate, , Duplicate assignment of label
    19 Jul 2017 02:53:51 PM - PST LINE (1651) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1658) - The formula/boolean failed (general message), , Label has not been defined[4]
    19 Jul 2017 02:53:51 PM - PST LINE (1652) - The variable/string declaration is a duplicate, , Duplicate assignment of label
    19 Jul 2017 02:53:51 PM - PST LINE (1653) - The variable/string declaration is a duplicate, , Illegal character(s) encountered, Duplicate assignment of label
    19 Jul 2017 02:53:51 PM - PST LINE (1654) - Duplicate post block declaration, Unrecognized characters after declaration, , Illegal character(s) encountered, Duplicate assignment of label
    19 Jul 2017 02:53:51 PM - PST LINE (1655) - Duplicate post block declaration, Unrecognized characters after declaration, , Illegal character(s) encountered, Duplicate assignment of label
    19 Jul 2017 02:53:51 PM - PST LINE (1658) - The variable/string declaration is a duplicate, The formula/boolean does not terminate properly, , Duplicate assignment of label
    19 Jul 2017 02:53:51 PM - PST LINE (1659) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1660) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1661) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1662) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1663) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1664) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1665) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1666) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1670) - The variable/string declaration is a duplicate, , Duplicate assignment of label
    19 Jul 2017 02:53:51 PM - PST LINE (1671) - The variable/string declaration is a duplicate, , Duplicate assignment of label
    19 Jul 2017 02:53:51 PM - PST LINE (1672) - The variable/string declaration is a duplicate, , Duplicate assignment of label
    19 Jul 2017 02:53:51 PM - PST LINE (1673) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1676) - The formula/boolean failed (general message), , Label has not been defined[4]
    19 Jul 2017 02:53:51 PM - PST LINE (1676) - The variable/string declaration is a duplicate, The formula/boolean does not terminate properly, , Duplicate assignment of label
    19 Jul 2017 02:53:51 PM - PST LINE (1677) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1678) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1679) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1680) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1681) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1685) - The variable/string declaration is a duplicate, , Duplicate assignment of label
    19 Jul 2017 02:53:51 PM - PST LINE (1686) - Duplicate post block declaration, Unrecognized characters after declaration, , Illegal character(s) encountered, Duplicate assignment of label
    19 Jul 2017 02:53:51 PM - PST LINE (1687) - The variable/string declaration is a duplicate, , Duplicate assignment of label
    19 Jul 2017 02:53:51 PM - PST LINE (1688) - The variable/string declaration is a duplicate, , Duplicate assignment of label
    19 Jul 2017 02:53:51 PM - PST LINE (1689) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1690) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1691) - Undocumented item type error message --> -1
    19 Jul 2017 02:53:51 PM - PST LINE (1587) - The formula is attempting to divide by zero, , Calculation returned zero
    19 Jul 2017 02:53:51 PM - PST LINE (1588) - The formula is attempting to divide by zero, , Calculation returned zero
    19 Jul 2017 02:53:51 PM - PST LINE (1589) - The formula is attempting to divide by zero, , Calculation returned zero
    19 Jul 2017 02:53:51 PM - PST LINE (1590) - The formula is attempting to divide by zero, , Calculation returned zero
    19 Jul 2017 02:53:51 PM - PST LINE (1591) - The math calculation/formula has an error , The formula is attempting to divide by zero, , Calculation returned zero
    19 Jul 2017 02:53:51 PM - PST LINE (1618) - The math calculation/formula has an error , The formula is attempting to divide by zero, , Calculation returned zero
    19 Jul 2017 02:53:51 PM - PST LINE (1619) - The math calculation/formula has an error , The formula is attempting to divide by zero, , Calculation returned zero
    19 Jul 2017 02:53:51 PM - PST LINE (1621) - The math calculation/formula has an error , The formula is attempting to divide by zero, , Calculation returned zero
    19 Jul 2017 02:53:51 PM - PST LINE (1634) - The math calculation/formula has an error , The formula is attempting to divide by zero, , Calculation returned zero
    19 Jul 2017 02:53:51 PM - PST LINE (1641) - The math calculation/formula has an error , The formula is attempting to divide by zero, , Calculation returned zero
    19 Jul 2017 02:53:51 PM - PST LINE (1693) - The math calculation/formula has an error , The formula is attempting to divide by zero, , Calculation returned zero
    19 Jul 2017 02:53:51 PM - PST LINE (1692) - Duplicate post block declaration, , Duplicate assignment of label

    Anything that could steer me in the right direction? I'm new to working with PP's. I've looked around but haven't come up with anything yet. 

     

    Thanks

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