584,871 active members*
5,503 visitors online*
Register for free
Login
Page 1 of 2 12
Results 1 to 20 of 25
  1. #1
    Join Date
    Dec 2006
    Posts
    21

    MC Post Definitions

    I have searched the site for about 2 hours now and came up empty. Is there any source for the MC post code that explains what the symbols are and what they do?

    I am an experienced cnc machinist that has switched to programing and I am running MasterCam X. I have a working post but I want to improve certain areas.

    Examples I need help with,

    1) how do I have the post add two number together, one is a variable and the other is fixed.

    suotz = sthick + .750 #Adds table to part thickness

    2) what are the different Format Statement numbers?

    Thanks.

    Steve

  2. #2
    Join Date
    Dec 2003
    Posts
    43
    Steve,
    Go to computer where mastercam is installed, programs, mastercam x, documentation, post paramater reference. Might be something there to help you. If this is not available, email me and I'll send you this pdf file.

    Tom

  3. #3
    Join Date
    Dec 2006
    Posts
    21
    Thanks Tom

    I found that 400+ page document. This will be a big help. Now I have something to do today.

    :banana: :banana: :banana: :banana: :banana: :banana:

    I am new to MasterCam and am still feeling my way around.

    Steve

  4. #4
    Join Date
    Mar 2006
    Posts
    1013
    svx-ff,

    Why do you need to add numbers in the post?
    What does the output acutally do for you?

    Mike Mattera
    Tips For Manufacturing Training CD's, DVD's for Mastercam, SolidWorks, Inventor, G-Code Training & More
    http://www.tipsforcadcam.com

  5. #5
    Join Date
    Dec 2006
    Posts
    17
    Steve,

    Try going to Emastercam.com, there is a forum for post questions and also other forums that are to help people with mastercam

    Rob
    Rob Timby

  6. #6
    Join Date
    Mar 2006
    Posts
    1013
    Robert Timby,

    We do help people here also. If you read this post, this guy is getting the help he's looking for.

    Welcome to the forum.

    Mike Mattera
    Tips For Manufacturing Training CD's, DVD's for Mastercam, SolidWorks, Inventor, G-Code Training & More
    http://www.tipsforcadcam.com

  7. #7
    Join Date
    Dec 2006
    Posts
    21
    Quote Originally Posted by Mike Mattera View Post
    svx-ff,

    Why do you need to add numbers in the post?
    What does the output acutally do for you?

    Mike Mattera

    Hey Matt, Thanks for responding.

    Little background:
    I am using a CMS Router to cut wood products. Out tables are vacuum tables with a hard Italian wood base followed by a "soft" MDF layer that is cut into.

    I would like to add numbers in my post to help eliminate a step. All of our tools are touched off of the hard table. During the post I am asked "
    ENTER UOT Z DISTANCE" This is the distance from the hard table to the top of the material. The soft table, for my programing state, is always .750.

    I also enter in the material thickness using the "q" command in the post. I would like to add the material thickness to the .750 (constant) to equal my "ZUOT".

    It is no big deal but it would be nice to have. I hope this helps answer you question.

    Steve

  8. #8
    Join Date
    Mar 2006
    Posts
    1013
    So is this added to all the Z values?

    Or are we just passing a value to a variable that gets used in the control?

    You could enter this value in Mastercam.
    You could have it prompt for the value when you post.

    Mike Mattera
    Tips For Manufacturing Training CD's, DVD's for Mastercam, SolidWorks, Inventor, G-Code Training & More
    http://www.tipsforcadcam.com

  9. #9
    Join Date
    Dec 2006
    Posts
    21
    The ZUOT is the same as a G54 Z. It sets the work coordinate Z.

    I have the material height a prompt and the ZUOT a prompt too. I would like to only enter the material height and have the post add the material height to a constant value. The sum of this would be the ZUOT.

    example:
    ZUOT = "material Height" + .750

    Can this be done?

    Steve

  10. #10
    Join Date
    Jun 2005
    Posts
    305
    Yes it can be done.
    It would be a PITA to add a +.750 value to every instance of a Z value output.
    I have never tried to do what you want, but, if you attach a copy of your post file I would be happy to give it a try.
    I think it would be easier to move your model so the BOTTOM is Z+.750
    That way you would not need the prompts, unless, of course, your stock thickness varies substantially.

    P.S. PITA = Pain In The A**
    ObrienDave. MasterCam since V6. Gcode since 1983.
    The nose you punch today may belong to the butt you have to kiss tomorrow.

  11. #11
    Join Date
    Dec 2006
    Posts
    21
    ObrienDave

    I only need to add the .750 to one line of code not all the Z's. The ZUOT is a work coordinate at the beginning of the program to tell the controller were the top of my part is. My material does vary but not to bad. I would like the post to prompt me for material thickness and then add the .750 to it. The sum would be the ZUOT value.
    Basically I need to add a prompt value to a fixed value.

    Steve

  12. #12
    Join Date
    Jun 2005
    Posts
    305
    OK Steve,

    I think I understand what you need.
    I will need a copy of your .pst file to attempt the changes.
    Attach a ZIP file to a message and post it here.

    I'm sure other people will have different ways to do the same thing.
    It's good to see different styles of fixes so you can get a feel for making your own.
    ObrienDave. MasterCam since V6. Gcode since 1983.
    The nose you punch today may belong to the butt you have to kiss tomorrow.

  13. #13
    Join Date
    Dec 2006
    Posts
    21
    OK I am an idiot. Were do I place the file so that you can download it?

    I could not find the download section.

    Steve

  14. #14
    Join Date
    Jun 2005
    Posts
    305
    At the bottom of THIS page, you will see a button that says "Go Advanced".
    Towards the bottom of the next page you will see another button that says "Manage Attachments".
    At the top of the NEW window You will see 6 buttons that say "Browse".
    Find the ZIP file just like any file requester window.
    When done hit the "Upload" button.
    That is how you attach files to THESE messages.
    ObrienDave. MasterCam since V6. Gcode since 1983.
    The nose you punch today may belong to the butt you have to kiss tomorrow.

  15. #15
    Join Date
    Dec 2006
    Posts
    21
    Thanks ObrienDave,

    I have zipped the .pst file

    Steve
    Attached Files Attached Files

  16. #16
    Join Date
    Jun 2005
    Posts
    305
    Ok Steve, got it.
    I can't promise a fix real quick, but, I'll try.
    ObrienDave. MasterCam since V6. Gcode since 1983.
    The nose you punch today may belong to the butt you have to kiss tomorrow.

  17. #17
    Join Date
    Jun 2005
    Posts
    305
    Steve,
    Could you post a small program and show me EXACTLY where and how you want the output code to read?
    Thanx!
    ObrienDave. MasterCam since V6. Gcode since 1983.
    The nose you punch today may belong to the butt you have to kiss tomorrow.

  18. #18
    Join Date
    Dec 2006
    Posts
    21

    Little Post

    ObrienDave,

    Here is the post.

    Thanks for all your help.

    Steve
    Attached Files Attached Files

  19. #19
    Join Date
    Jun 2005
    Posts
    305
    Steve,
    I have not forgotten you.
    I have it working for the most part but, I can't get it to NOT output the new variable name.

    ;(P/N DAVID02 )
    ;(DATE - 20-01-07 TIME - 06:51 )
    ;(PROGRAMER - DAVE )
    ;(MATERIAL TYPE - ABS )
    ;(MATERIAL THICKNESS - thick .625 )
    ;(NOTE - TEST )
    G00G79Z0
    G16XY
    (UOT,3,X-3,Y3,Z zthick 1.375 )
    G79G00Z0
    T7 M06;( 5/8 EMRFP )
    G0 G90 X0. Y0. S0855 M3
    h7
    Z3.
    X-2.75 Y-5.125
    Z.1
    G1 Z-.3 F4.28
    Y-5.1625
    G3 Y-5.0875 R.0375
    G1 X-3.5
    G3 Y-5.1625 R.0375
    G1 X-2.75
    G0 Z.1
    X.85 Y-4.5
    G1 Z-.3 F4.28
    X1.1625
    G3 X-1.1625 R1.1625
    X1.1625 R1.1625
    G0 Z.1
    X3.5 Y-5.125
    G1 Z-.3 F4.28
    Y-5.1625
    G3 Y-5.0875 R.0375
    G1 X2.75
    G3 Y-5.1625 R.0375
    G1 X3.5
    G0 Z3.
    G00
    h0
    G79G00Z0
    M05S0
    G79G00X0Y0
    M30

    Still trying.
    Dave
    ObrienDave. MasterCam since V6. Gcode since 1983.
    The nose you punch today may belong to the butt you have to kiss tomorrow.

  20. #20
    Join Date
    Dec 2006
    Posts
    21
    ObrienDave

    I greatly appreciate you hard work. I am not in a hurry for it and it looks like you are were I got to on Friday. I have not tried anything more.

    Steve

Page 1 of 2 12

Posting Permissions

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