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:

flippinjig

Verified Members
  • Posts

    54
  • Joined

  • Last visited

Posts posted by flippinjig

  1. Here is what I'm doing: Create/Line/Endpoint and I make sure Tangent is selected. I hover close to the first arc, it highlights and I select it. I hover close to the second arc and it............HIGHLIGHTS! I selected it and it drew a line tangent to two arcs!!!!  I can't tell you how many times I tried the same thing last week and it just refused to work. I guess it just needed a rest over the weekend. Boy am I glad I got that to work, it was driving me nuts.

     

    I thank you all for being patient with me while I beat it into submission!

  2. Thanks for the replies. I must have something set wrong. I hover close to the first arc till it changes color and then I select it. When I hover close to the second arc it will not change color but will hi light a point on the arc such as the end point or the mid point.

  3. Hey guys thanks for the quick response! I've got signed up for Mastercam.com and downloaded the zip. I'll give an update when I can.......gaining knowledge daily!  I did notice....181 views on this post. Wow, there's a lot of people on here. Cool

  4. Hello everyone,

     

    I am on version X8 (wire EDM) and need to wire a lot of holes in a mold cavity. The way I am doing it now is I have created wire thread points for a series of holes on a level by themselves. Then I create another set of thread points on a different level that will have a different diameter.....so forth and so on. In all its close to 100 holes of 4 different diameters, each diameter is on a level by itself. Now that I have all my thread points created, I turn off all but one level: create arc-circle center point-select my thread point and give it a diameter.

     

    Is there a way to select all the points on that level and give a diameter and create arcs  with just a few keystrokes rather than selecting each individual point?

     

    Thanks guys for your help!

     

    Mark

  5. I took a closer look at this and when I # those lines out of the post, I lose G1 at the begining of the program as well as G0 being removed. It's got to be something that is putting the rapid feedrate in the NCI code.

     

    confused.gif

  6. I got it to work by putting # in front of these lines:

     

     

    code:

    -------------------------------------------------

    if cntrflag = one, g20code = one

    else, g20code = zero

    g30code = g20code

     

    (I don't understand what these lines do but it didn't change anything other than removing the G0.)

    -------------------------------------------------

     

     

     

     

    code

    -------------------------------------------------

     

    cntrflag : 0 #Contour flag, 0 = before, 1 = contour, 2 = after

    #3 = single move case.

     

    (I tried changing to 1, 2 or 3 but it didn't make any difference.)

    -------------------------------------------------

     

    NCI code:

    -------------------------------------------------

    11

    0 -1.192674 0.064355 -0. -1.210884 0.069664 2.125 0. 0

    11

    0 -1.190654 0.094633 -0. -1.208883 0.098248 2.125 0. 0

    11

    0 -1.187866 0.12485 -0. -1.206219 0.126778 2.125 0. 300

    11

    140 -0.9 0.1 -0. -0.9 0.1 2.125 0. 20000

    1004

     

    1003

    -0.9 0.1 0.

     

     

    I think it has something to do with ".300" which is a rapid feedrate but where does that come from?

    -------------------------------------------------

     

     

    Thanks for your help.

     

    Thad's rule:

    ver 8.1.1 wire

    fanuc 16W wire post

  7. Hi guys,

     

    Why do I get a rapid move in the line before compensation is turned off in 4axis taper?

     

    Last lines of program (with fastmode set to zero):

    -------------------------------------------------

    X-1.17999 Y.18502 U-.01892 V-.00141 pedm prapid

    X-1.18431 Y.15499 U-.01858 V.00025 pedm prapid

    G0 X-1.18787 Y.12485 U-.01835 V.00193 pedm prapid

    G40 X-.9 Y.1 U0. V0. pedm prapid

    M50 pedm p__51:1125

    M30 peof

    % peof

    -------------------------------------------------

     

    last few lines of NCI code:

    -------------------------------------------------

     

    11

    0 -1.184311 0.154986 -0. -1.202893 0.155238 2.125 0. 0

    11

    0 -1.187866 0.12485 -0. -1.206219 0.126778 2.125 0. 300

    11

    140 -0.9 0.1 -0. -0.9 0.1 2.125 0. 20000

    1004

     

    1003

    -0.9 0.1 0.

    -------------------------------------------------

     

    pedm code:

    -------------------------------------------------

    pedm #4 Axis Taper

    pcntr

    if cntrflag = one, g20code = one

    else, g20code = zero

    g30code = g20code

    prapid

     

    -------------------------------------------------

     

    I hope this helps someone to point me in the right direction.

     

    Thad's rule:

    ver 8.1.1 wire

    fanuc 16W wire post

  8. I got comments for each path now. As far as the rest, I don't get it yet confused.gif but if I don't have too many people tugging on my shirt tail tonight maybe I can work on it.

     

    Thanks for your help and I'll let you know how it turns out.

    Mark

  9. my code:

    _________________________________________________

    psof #Start of file for non-zero tool number

    pcuttype

    g20code = zero

    cc_pos = zero

    prv_xia = vequ(startx)

    prv_uia = vequ(startx)

    *progno,"( ", progname, ")", e #*added to put name at beginning

    comment

    pbld, n, *sg20code, *smetric, *sgabsinc, [if feed_out, "G94"], e

    "M23", e#***************************added

    "M24", e#***************************added

    "M27", e#***************************added

    "M28", e#***************************added

    "D0", e#****************************added

    if strtflag = one, ptlch_strt

    else,

    [

    prv_g20code = -1

    prv_xabs = c9k

    prv_yabs = c9k

    ptlch_nstrt

    ]

    pbld, n, pconchg, e

    motst = one

    sof = zero

    _________________________________________________

     

    Does this help??

     

    Thanks,

    Mark

  10. Roger,

    I am not getting anything at beginning either.

     

    this is only place scomm is in my code:

    _________________________________________________

    pcomment2 #Comment from manual entry

    scomm = ucase (scomm)

    if gcode = 1007, "(", scomm, ")"

    else, "(", scomm, ")", e

     

     

    &

     

     

    prapidout #Output to NC of linear movement - 2D rapid

    pcantxt1, pbld, n, sgabsinc, pccomp, sg20code, pwtcode,

    pfxout, pfyout, pzout, pwtout, strcantext, e

    n, "G92", e #added

    n, "M98 P5001 K", scomm, e #added to put in value for scaling

    pwtoutaft

    _________________________________________________

     

     

    headscratch.gif

     

    Thanks, Mark

  11. Roger, it is MPWFANUC.

     

    code:

    _________________________________________________

    ptlch_strt #Tool change, use start position

    pstart_pos

    pcom_moveb

    pcantxt

    pcantxt1, pbld, n, pwcs, pfxout, pfyout, pzout, pstrtij, strcantext, e

    pcom_movea

    prstore_pos

    ptlch_nstrt

    _________________________________________________

     

    I'm not really sure what I need to change.

    headscratch.gif

  12. Thanks James and Ashan, works great.

    Roger, actually I have already tried:

    _________________________________________________

    n, "M98 P5001 K", scomm, e #added to put in value for scaling

    _________________________________________________

     

    Output:

    _________________

    M98 P5001 K (blank,it isn't passing text that I entered in the comment box on my wire parameters page???)

    _________________

     

    What is a 'Manual Entry' string?

  13. I want to insert a comment into my program after a rapid move. This is what I have tried:

     

    _________________________________________________

    prapidout #Output to NC of linear movement - 2D rapid

    pcantxt1, pbld, n, sgabsinc, pccomp, sg20code, pwtcode,

    pxout, pyout, pzout, pwtout, strcantext, e

    n, "G92", e #added

    n, "M98 P5001 K", *********, e #added to put in value for scaling

    pwtoutaft

    _________________________________________________

     

    Output wanted:

    _________________________________________________

    O0100 ( TESTHOLES )

    G0 G90

    G92 X0. Y0.

    X1.771 Y-1.601

    G92

    M98 P5001 K********

    X-1.289 (how to force "Y" value?)

    G92

    M98 P5001 K********

    X1.295 (how to force "Y" value?)

    G92

    M98 P5001 K********

    M30

    %

    _________________________________________________

     

    On the wire parameters page I entered in the comment box the text I want to appear where the ********* is . Also how can I force "Y" positions in the rapid line?

     

    Thanks,

    Mark

     

    _________________________

    Wire 8.1.1

  14. I want to rapid from program zero to the thread point so I unselect "Auto start position" on the lead in/out page. It shows a rapid move and a thread symbol when I back plot but posts out:

     

    _________________________________________________

    G92 X0. Y0. I1. J0.

    G92 X1.49217 Y.375

    M60

    _________________________________________________

     

    How can I get "G0 X1.49217 Y.375" in between the two G92 lines?

     

    Thanks,

    Mark

     

    ---------------------

    Wire 8.1.1

  15. Heavy,

    Blind holes are for cascades or baffles. .578 diameter is for 3/8 NPT, you can use 9/16 drill and pipe reamer, then tap. I drill .2 shy of depth and hand grind a ball on the end of a drill and just drill the last .2 with the ball drill. 2" is pretty shallow, on deep holes I have drilled with on size drill then balled with 1/64 under so drill would not seize in hole.

     

     

    Hey, this is kinda cool. Finally I can contribute, its not easy to do when your using Ver 8.1!

    cheers.gif

     

    -------------------

    Wire 8.1.1

  16. Heavy,

    5/16 ejector pin measures .312 so I drill and ream .313 before heat treat. 3/4" of bearing surface is common, with the rest of the hole relief drilled 1/32 over. I have seen it before but it is rare that customer wants .002 over pin size. Aluminum flashes at .003. I agree with Kevangle, 4" not too deep. I would go from BS also.

     

    ----------------------

    Wire 8.1.1

  17. Thanks Del,

     

    I pasted your code over mine but got several errors.

    _________________________________________________

    Duplicate String Name: strcantext, at post lines 545, 548, 551, and 554.

     

     

    Variable not defined: if, at post line 536 Program execution halted due to error(s) in .pst

    _________________________________________________

     

     

    What is "strcantext" and what are the contour types?

     

    Thanks, Mark

  18. Del, I saw your post a couple weeks ago. Mine looks so different.

     

    Your Post:

    _________________________________________________

    ptlch_nstrt #Tool change, do not use start

    position

    pcom_moveb

    if op_id$ <> prv_op_id$, [

    xr$ = xabs, yr$ = yabs

    n$, sg20code, xr$, yr$, e$

    ]

     

    if contour_typ$ = 1,

    pcantxt1, pbld, n$, pwcs, sg20code, sgabsinc, pxout, pyout, ptaperwb,

    strcantext, e$

     

    if contour_typ$ = 2,

    pcantxt1, pbld, n$, pwcs, sg20code, sgabsinc, pxout, pyout, ptaperwt,

    strcantext, e$

     

    if contour_typ$ = 3,

    pcantxt1, pbld, n$, pwcs, sg20code, sgabsinc, pxout, pyout, plandup,

    strcantext, e$

    if contour_typ$ = 4,

    pcantxt1, pbld, n$, pwcs, sg20code, sgabsinc, pxout, pyout, planddown,

    strcantext, e$

    if contour_typ$ = 0,

    pcantxt1, pbld, n$, pwcs, sg20code, sgabsinc, pxout, pyout, pzout,

    strcantext, e$

    if G92_flag = 1, pbld, n$, "G92", e$ #added G92 after move to new cut

    postlchng = zero

    G92_flag = 0

    pcantxt

    pbld, n$, stank, e$

    pcom_movea

    _________________________________________________

     

     

    My post:

    _________________________________________________

     

    ptlch_nstrt #Tool change, do not use start position

    pcom_moveb

    pcantxt1, pbld, n, pwcs, `sg20code, sgabsinc, pxout, pyout, pzout,

    pstrtij, strcantext, e

    postlchng = zero

    ____________________________________________

    I added this from yours:

     

    if G92_flag = 1, pbld, n$, "G92", e$ #added G92 after move to new cut

    postlchng = zero

    G92_flag = 0

    _____________________________________________

    pcantxt

    pbld, n, stank, e

    pcom_movea

    _________________________________________________

     

     

    I got error message:

     

    'postlchng' is the result of global formual and cannot be used as the result of a postline formula.

     

    Any ideas?

  19. Hi guys,

     

    I have a similar problem but can't seem to get it to work. I've got three pockets to wire out and I'm using two operations to do it. The first operation roughs all three leaving a tab and then cuts tabs in reverse. The next operation skims all three. The problem is I need to remove the slug before skimming starts. I tried Change at Point and it puts M00 at beginning of rough pass. Hmmmm,any thoughts?

     

    --------------------

    Mark

    Wire Version 8.1.1

    -------------------

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