Results 1 to 5 of 5

Thread: Different Format Statements for different conditions?

  1. #1
    Registered
    Join Date
    Mar 2007
    Location
    USA
    Posts
    81
    Downloads
    0
    Uploads
    0

    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
    Registered
    Join Date
    May 2004
    Location
    United States
    Posts
    4,519
    Downloads
    0
    Uploads
    0
    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.
    Last edited by txcncman; 09-21-2011 at 06:00 PM.
    http://www.kirkcon.com/


  3. #3
    Registered
    Join Date
    Mar 2007
    Location
    USA
    Posts
    81
    Downloads
    0
    Uploads
    0
    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
    Registered
    Join Date
    May 2004
    Location
    United States
    Posts
    4,519
    Downloads
    0
    Uploads
    0
    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?
    http://www.kirkcon.com/


  • #5
    Registered
    Join Date
    Mar 2007
    Location
    USA
    Posts
    81
    Downloads
    0
    Uploads
    0
    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, 07:28 AM
    2. Need Help!- comment statements
      By compfranon in forum ArtCam Pro
      Replies: 0
      Last Post: 09-03-2011, 09:13 PM
    3. Conditional and Loop Statements in Mach3
      By Monotoba in forum LittleMachineShop CNC Machines
      Replies: 5
      Last Post: 04-24-2010, 10:12 PM
    4. PRINT / MSG statements using AXIS front end
      By bogflap in forum LinuxCNC (formerly EMC2)
      Replies: 9
      Last Post: 03-16-2009, 09:43 AM
    5. If / Then Statements
      By Nanker in forum G-Code Programing
      Replies: 6
      Last Post: 10-23-2004, 01:11 AM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.