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:

MrFish

Verified Members
  • Posts

    533
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by MrFish

  1. Not sure if this will help, but here is the comment section of my post that works properly.

     

    At a previous shop, I remember having to change the 1007 to one of the other options (or vice versa) to get it to work. It would output code as comments or comments as code. Changing that number fixed it, but I don't remember where I did it. That was also back in V9.

     

     

     

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

    # Tool Comment / Manual Entry Section

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

    ptoolcomment #Comment for tool

    tnote = t$

    toffnote = tloffno$

    tlngnote = tlngno$

    " (", *tnote, ")", e$

    !spaces$

    spaces$ = 0

    spaces$ = prv_spaces$

     

    pstrtool #Comment for tool

    if strtool$ <> sblank,

    [

    strtool$ = ucase(strtool$)

    *strtool$, " "

    ]

     

    ptime #Turn 24-hour time format into AM/PM format added by tws

    !spaces$

    spaces$ = zero

    if time$ >= 13, time2 = (time$ - 12)

    else, time2 = time$

    hour = int(time2)

    min = frac(time2)

    *hour, ":", *min,

    if time$ > 12, " PM"

    else, " AM"

    spaces$ = prv_spaces$

     

     

    pcomment$ #Comment from manual entry (must call pcomment2)

    pcomment2 #Required if doing boolean 'if' logic testing!

     

    pcomment2 #Output Comment from manual entry

    scomm$ = ucase (scomm$)

    if gcode$ = 1005, sopen_prn, scomm$, sclose_prn, e$ #Manual entry - as comment

    if gcode$ = 1006, scomm$, e$ #Manual entry - as code

    if gcode$ = 1007, sopen_prn, scomm$, sclose_prn #Manual entry - as comment with move NO e$

    if gcode$ = 1026, scomm$ #Manual entry - as code with move NO e$

    if gcode$ = 1008, sopen_prn, scomm$, sclose_prn, e$ #Operation comment

    if gcode$ = 1051, sopen_prn, scomm$, sclose_prn, e$ #Machine name

    if gcode$ = 1052, sopen_prn, scomm$, sclose_prn, e$ #Group comment

    if gcode$ = 1053, sopen_prn, scomm$, sclose_prn, e$ #Group name

    if gcode$ = 1054, sopen_prn, scomm$, sclose_prn, e$ #File Descriptor

     

     

    Cheers Thad, once I set the strings for sopen_prn & sclose_prn it worked a treat.

  2. Can someone tell me what i need to change in my Haas post to get the manual op to output correctly as either code - no brackets, or comment - with brackets depending on the radio button I have selected. Currently with the following post code i just get everything in brackets as a comment.

     

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

    # Tool Comment / Manual Entry Section

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

    ptoolcomment #Comment for tool

    tnote = t$

    toffnote = tloffno$

    tlngnote = tlngno$

    "(", pstrtool, ")", e$

    "(", *tnote, *toffnote, *tlngnote, *tldia$, ")", e$

     

    pstrtool #Comment for tool

    if strtool$ <> sblank,

    [

    strtool$ = ucase(strtool$)

    *strtool$, " "

    ]

     

    pcomment$ #Comment from manual entry (must call pcomment2 if booleans)

    pcomment2

     

    pcomment2 #Comment from manual entry

    scomm$ = ucase (scomm$)

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

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

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

    # Start of File and Toolchange Setup

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

    psof0$ #Start of file for tool zero

    psof$

     

     

     

     

    output looks like this

     

     

    N2410 G1 G40 Y28.069

    N2420 Z-7. F2000.

    N2430 G0 Z26.

    ( M01 (MEASURE TO SET CUTTER OFFSET) )

    ( M03 )

    ( FINISH BACK ANGLED FACE )

    N2440 A350.

    N2450 X7. Y26.52

    N2460 Z13.

     

    was set to code in operation, so should not have the brackets at start and end of the M01 and M03 lines. Next line is the following operation comment, so should be there.

  3. Thanks for the indepth instructions Colin.

     

    Maybe with machines getting alot faster these days this should be updated to a higher default, or better still have it linked to the machine def for the max possible feedrate, but could still be set lower in the default file - just an idea.

  4. Scrub that, it is to do with when you select it to be an stl file in the save as type drop down. If you change the name then select the drop down it works. Other way around and it doesn't , as if it is losing the .stl format when I change the file name even though it is not visible.

  5. Works for me...

     

    I've used it at least a dozen times in the last week.

     

    I usually hide everythign else, file, save some, select my solid (pre-selection does not work), give it a name and voila. Works like a charm.

     

     

    Interesting, If I isolate the part on a sperate level and make it the only thing visible then it works fine, but if there is other geometery on the screen it doesn't .

     

    I also use this all the time and have never seen that before, will do some more testing before I send to QC.

     

    Thanks

  6. If I use save some and select a solid model in my current part file then try to save it as a .stl file , it does not work and just saves a X6 file. Going to send this to QC but thought I would share as well.

     

    p.s. work around is to save the solid then open it then resave as a.stl a bit more long winded and a pain having to close files etc but works

  7. Having a poke around,

    Machine definition models/geometry...

     

    What are these for???

    If defined, are they supposed to show up in verify?

    (I realize/appreciate the inherent limitations)

     

    -DJ

     

     

    DJ not sure exactly where your looking but are probably for machine simulation models.

  8. I'm pretty sure you will only be able to do this with a Multi-Axis toolpath.

     

    The Rotary Axis Control is only setup to resolve a single rotary axis. The toolplane must revolve around a common single axis of rotation.

     

    It may be possible, but you would need to post up a file and let someone take a look...

     

     

    Thanks Colin, that is what I suspected.

  9. Can anyone tell me if it is possible and if so how to use Rotary Axis Control when using a Tilted tool plane. I am trying to cut a round angled groove in a plate on a 5 axis machine that cannot traverse to the other side of the pallet so effectively have to mill turn it.

     

    Angledslot.gif

     

    I have tested in X5 and X6mu1 and only works with TOP TOP TOP planes, so I guess I have answered my own question but just want to make sure I'm not missing something ?

  10. I sure do miss the Recent Folders drop down box. That saved a lot of time for me when opening and saving files. Will it be coming back?

     

     

    Brian I complained about this face to face with Mike Rosa recently and he was going to look into it for me but haven't heard anything as yet. I really miss this and the favorites bar also.

  11. Go to "START", "Mastercam X6", "MCAMX Control Panel Applet", "User Interface", change "File dialog style" to "Mastercam X style", "Apply", "Green check" and see if that works for you.

     

     

    Hi Peon

     

    Worked a treat Thanks. And they have even fixed the posting ask/overwrite bug in the Mastercan X style file app that was forcing me to use the windows style file app. :thumbsup:

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