585,722 active members*
4,272 visitors online*
Register for free
Login
IndustryArena Forum > CAM Software > Mastercam > Post Processors for MC > Different Format Statements for different conditions?
Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2007
    Posts
    86

    Different Format Statements for different conditions?

    Hi All,
    Is there a relatively easy way to have my posts use different Format Statement values under different conditions? I am forced to really shrink my programs for some older Fanuc controllers and I'd like to use 2 or 3 decimal places for coordinates while roughing, and 4 decimal places for finish passes (as one example).
    Thanks in advance,
    Jeff

    MasterCAM X

  2. #2
    Join Date
    May 2004
    Posts
    4519
    I think this is managed in your post-processor(s). The setting to look for and change will be for "Trailing Zeros". This will change Z1.000 to Z1. or X4.500 to X4.5 .

    Oh, and to force resolution, X.XX instead of X.XXXX you probably will have to make one Machine Group for roughing and one Machine Group for finishing. Edit the Machine Control for each to the resolution you desire. The problem with this is you will run into circumstances where the round off on the roughing will not leave material for finish. So, then you will be forced to adjust your XY and Z Stock to leave to compensate.

  3. #3
    Join Date
    Mar 2007
    Posts
    86
    Right txcncman,
    I know how to change the values in the post. What I'd like to be able to do is have some way to change it with variables in the particular Mastercam operation I am working with. That way I don't have to keep swapping posts every time I switch from a roughing to a finishing routine.

  4. #4
    Join Date
    May 2004
    Posts
    4519
    I am pretty knowledgeable of MasterCAM X3. I cannot imagine any way to do what you are wanting to do automatically. If you do not want to edit your tolerances for each cutting condition every time, you could build one machine control and name it Fanuc Mill Rough and another for Fanuc Mill Finish. That would simplify the process a little.

    Are you already utilizing sub programs to "shrink" the memory used?

  5. #5
    Join Date
    Mar 2007
    Posts
    86
    Hi txcncman,
    Yes I use subs as much as possible. Your seperate machine definitions idea would probably work. Maybe not too messy. Thanks for the idea.
    Jeff

Similar Threads

  1. Format Statements
    By Xavior in forum Mastercam
    Replies: 5
    Last Post: 09-08-2011, 12:28 PM
  2. comment statements
    By compfranon in forum ArtCam Pro
    Replies: 0
    Last Post: 09-04-2011, 02:13 AM
  3. Conditional and Loop Statements in Mach3
    By Monotoba in forum Uncategorised MetalWorking Machines
    Replies: 5
    Last Post: 04-25-2010, 03:12 AM
  4. PRINT / MSG statements using AXIS front end
    By bogflap in forum LinuxCNC (formerly EMC2)
    Replies: 9
    Last Post: 03-16-2009, 02:43 PM
  5. If / Then Statements
    By Nanker in forum G-Code Programing
    Replies: 6
    Last Post: 10-23-2004, 06:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •