Results 1 to 5 of 5

Thread: mastercam PP problem

  1. #1
    Registered
    Join Date
    Nov 2008
    Location
    israel
    Posts
    25
    Downloads
    0
    Uploads
    0

    mastercam PP problem

    hello,
    i have a PP file for mastercam working will.

    but if i have a zero " 0" at the left of the decimal point (X0.45.....)
    i get at the NC post file X.45...... without the zero.

    for the machine its not problem but i want to fix this.

    any body can help

    regards,

    Basim
    Attached Files Attached Files


  2. #2
    Registered
    Join Date
    Jun 2009
    Location
    USA
    Posts
    99
    Downloads
    0
    Uploads
    0
    why would you want it to read 0.45 instead of .45? it seems to me that this would be a waste of memory space and excess clutter.


  3. #3
    Registered ObrienDave's Avatar
    Join Date
    Jun 2005
    Location
    USA
    Posts
    285
    Downloads
    0
    Uploads
    0
    littlebrewman is correct, leading and trailing zeros are a waste of memory space.
    Especially on a control with limited capacity that allows decimal point programming.
    If you absolutely, positively, MUST have it post that way, under the heading of FORMAT STATEMENTS, change the line...

    fs 1 0.3 #Decimal, absolute, 4 place

    to

    fs 1 1.3l #Decimal, absolute, 4 place
    that is a lower case 'L' after the 3.

    Note, this will change ALL format assignments such as,

    fmt X 1 xabs # X axis position absolute output variable

    that have the 1 after the axis letter to 'X0.45' for example.
    If you want to change ONLY certain axis letters, you need to do it a different way.

    Question, are you programming in metric?
    The reason I ask is, the comment says 4 places but, the format statement is defining 3 places.
    Last edited by ObrienDave; 12-13-2009 at 09:31 AM. Reason: Brain Fart
    ObrienDave. MasterCam since V6. Gcode since 1983.
    The nose you punch today may belong to the butt you have to kiss tomorrow.


  4. #4
    Registered
    Join Date
    Nov 2008
    Location
    israel
    Posts
    25
    Downloads
    0
    Uploads
    0
    thank you ObrienDave;

    the update is working will.

    but i need to write:
    fs 1 1.3l #decimal, absulote......

    if i write fs 1 0.3l as you told me, it will be the same (nothing change)


    regard,

    Basim


  • #5
    Registered ObrienDave's Avatar
    Join Date
    Jun 2005
    Location
    USA
    Posts
    285
    Downloads
    0
    Uploads
    0
    OOPS! Sorry, You are correct.
    Its been 2 years since I did this stuff.

    I will correct my post.
    ObrienDave. MasterCam since V6. Gcode since 1983.
    The nose you punch today may belong to the butt you have to kiss tomorrow.


  • Similar Threads

    1. Need Help!- Mastercam x c-axis problem
      By Mike68 in forum Mastercam
      Replies: 0
      Last Post: 11-20-2008, 08:21 AM
    2. Mastercam X2 lather problem
      By YamahaR6 in forum Mastercam
      Replies: 3
      Last Post: 01-16-2008, 10:00 PM
    3. HELP Mastercam X2 toolpath problem
      By cam168 in forum Mastercam
      Replies: 3
      Last Post: 01-16-2008, 01:59 AM
    4. Mastercam problem
      By deckhand in forum Mastercam
      Replies: 6
      Last Post: 11-22-2006, 12:08 PM
    5. Problem/mastercam Config
      By DELL in forum CNCzone Club House
      Replies: 0
      Last Post: 07-20-2006, 07:03 PM

    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.