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:

Leaderboard

Popular Content

Showing content with the highest reputation on 10/30/2021 in all areas

  1. Here's how I put different manual process codes in my post. It should work for you also. If mi7$ = 14 the post will output "M00", "(REMOVE CENTER SCREWS THEN ADD CLAMP)", e$ sav_mi7 : 0 # Saved mi7 value if mi7$ <> 0, pstopcomment #<<<<<<<< insert where you want the numbers to show up. You can change pstopcomment to whatever you want. Just change both to the same name. For you... if mR6$= 14.125, pbld, "(HEAD SPACING 14.125)", e$ # if you don't need the pbld you can remove it. pstopcomment #pallet rotation macro if mi7$ = 1, "M00", "(ADD CAP SCREWS THEN REMOVE CLAMP)", e$ if mi7$ = 2, "M00", "(REMOVE WASTE MATERIAL)", e$ if mi7$ = 3, "M00", "(RESET PART TO POSITION 2)", e$ if mi7$ = 4, "M00", "(MOVE CLAMP TO BOTTOM POSITION)", e$ if mi7$ = 5, "M00", "(ADD CENTER CLAMPS TO PALLET A)", e$ if mi7$ = 6, "M00", "(UNCLAMP AND RECLAMP PARTS)", e$ if mi7$ = 7, "M00", "(ADD CLAMP)", e$ if mi7$ = 8, "M00", "(ADD CAP SCREWS)", e$ if mi7$ = 9, "M00", "(ADD CLAMPS)", e$ if mi7$ = 10, "M00", "(INVERT PARTS PER SETUP SHEET)", e$ if mi7$ = 11, "M00", "(ADD CLAMP THEN REMOVE CAP SCREWS)", e$ if mi7$ = 12, "M00", "(ADD OP1-2 CLAMPS THEN REMOVE OP1-1 CLAMPS)", e$ if mi7$ = 13, "M00", "(REMOVE ANTI-VIBRATION BLOCKS)", e$ if mi7$ = 14, "M00", "(REMOVE CENTER SCREWS THEN ADD CLAMP)", e$ if mi7$ = 15, "M00", "(ADJUST CASTED SLEEVE WITH 1.97 DIA SHAFT THEN REMOVE)", e$ if mi7$ = 16, "M00", "(ADD THEN REMOVE CLAMPS PER S/U SHEET)", e$ if mi7$ = 17, "M00", "(ADD CAP SCREWS THEN REMOVE Y STOP BLOCKS)", e$ if mi7$ = 18, "M00", "(CLEAN AND DEBURR PART BEFORE PROBING)", e$ if mi7$ = 19, "M00", "(REMOVE CLAMP)", e$ if mi7$ = 20, "M00", "(REMOVE CLAMPS)", e$ if mi7$ = 21, "M00", "(REMOVE ANTI-VIBRATION BLOCK)", e$ if mi7$ = 22, "M00", "(DEBURR HOLES AND EDGES BEFORE FINISH CUT)", e$ if mi7$ = 23, "M00", "(CLEAN OUT HOLES WITH DRILLS)", e$ if mi7$ = 24, "M00", "(ADD CAP SCREWS AND INSPECT Z LOCATION)", e$ if mi7$ = 25, "M00", "(ADD CAP SCREWS AND INSPECT FOR FULL CLEANUP)", e$ if mi7$ = 26, "M00", "(ADD CAP SCREWS THEN REMOVE ALL CLAMPS)", e$ if mi7$ = 27, "M00", "(ADD CLAMPS THEN REMOVE CAP SCREWS)", e$ if mi7$ = 28, "M00", "(ROTATE PART PER SETUP SHEET)", e$ " ", e$ ******************************************************* if mr6$ <> 0, pheadspacing = 1 #<<<<<<<< insert where you want the code to show up. pheadspacing # head spacing list if mR6$= 14.125, "(HEAD SPACING 14.125)", e$ if mR6$= 13.813, "(HEAD SPACING 13.813)", e$ if mR6$= 13.125, "(HEAD SPACING 13.125)", e$ if mR6$= 12.813, "(HEAD SPACING 12.813)", e$ if mR6$= 11.813, "(HEAD SPACING 11.813)", e$ if mR6$= 15.75, "(HEAD SPACING 15.75)", e$ if mR6$= 15.75, "(HEAD SPACING 14.125)", e$ # note: you need to change 15.75 to 14.125 if mR6$= 13.75, "(HEAD SPACING 13.75)", e$ if mR6$= 12.75, "(HEAD SPACING 12.75)", e$ if mR6$= 12.125, "(HEAD SPACING 12.125)", e$ if mR6$= 11.75, "(HEAD SPACING 11.75)", e$ if mR6$= 10.125, "(HEAD SPACING 10.125)", e$ if mR6$= 10.813, "(HEAD SPACING 10.813)", e$ If mr6$ =15.75 you would type 15.75 in the mr6$ box.
    1 point
  2. Should be all lower case in the mr6$ you have a capital R in there. You could make the output from the mr6$ be the output value verses using the condition statements to equal that value. The current method to get output has you do all that extra work that can be avoided. I thinking something like this should work. You will need to format mr6$ output with the following: fmt 4 mr6$ #Head Spacing out when mr6$ is used in the program. Then need to change the logic to output the value when used like so: if mr6$ > 0 , pbld, "(HEAD SPACING", *mr6&, ")", e$ Now no matter value you put in mr6$ you will get that output when you use anything other than Zero. Use at your own risk.
    1 point
  3. I just posted a link on the Job Opportunities forum. Please take a look. After 8 years at Albany Engineered Composites, It's time for me to retire. This job has been one of the most rewarding I've ever had.
    1 point
  4. In some ways it is really not much different from buying tools for a CNC. You wouldn't keep using high speed steel tooling because that it what it came with. You couldn't be productive. And then there is the: "Sorry boss, I forgot to edit the final program for the umpteenth time and the spindle was turning the wrong direction when it ran into the chuck and I didn't change a G0 to a G1" For years I have encouraged anyone who will listen to get good post or modify it so that there are no hand edits.
    1 point
  5. I learned how to edit posts back when V6 (not X6 for the kids in the room) in the mid 90's. I was working for Mori Seiki (not DMG for said kids) at the time and I had a showroom with 7 machines I think and I needed like 4 different posts. This also pre-dated MPMaster so I had to start with MPFan. My local reseller (CAD/CAM Consulting) was instrumental in helping me get started. They gave me the old Post Processor Book which I read cover to cover on a business trip (on my own time). I asked a few questions and was able to figure a fair chunk of it out. I'm nothing special. Barely graduated High School. Suck at math (at least the paper and pencil kind). However, I wrote LOGO (Apple) and BASIC (Commodore, etc...) programs as a kid so I had a very basic understanding of computer programming. I said all that to tell you that YOU are responsible for your own knowledge. Not your employer. Not your school. Not your CAD/CAM reseller. YOU! It's not popular. It's not convenient. It might even be offensive. However, truth is true regardless. Now all that said, you should be able to get hold of the Post Processor Documentation from your reseller. They are responsible for getting you that information if you ask for it. They aren't helpful or knowledgable? Good. It's an opportunity to expand your professional network. Post Processor Development is hard? Good. We should all strive to do hard things. That is what creates elite professionals. Don;t know how or where to start? Good. You can to the right place. There's some GOOD mentors here if you don;t mind putting in the sweat equity. Guys like @Colin Gilchrist, @crazy^millman, etc... have been here forever and are more than happy to share their hard earned knowledge. So, you will need to have an idea of what modifications you need to make so I'm going to suggest you create a SIMPLE sample file (or files) to work from. This will save you untold hours of immense grief. Too few do this and pay the price later. This file should contain only enough "stuff" that you need to create any anticipated conditions you will encounter. So drilling cycles. Drill. Drill with Dwell. Peck. Chip Break. Bore. Bore with Shift. Bore with shift and dwell. A contour path or a rectangle... or a single line. A small surface patch. etc... Seriously. Simple is your friend when you're debugging a post. If you've got some massive mold cavity with 200 operations, you'll NEVER get anything accomplished. Toggle the coolant modes. etc... Seriously, you can have a decent sample file with like 20 operations and like 3 tools to test 90+% of what you'll run into. And last but not least, figure out where/who your resources are. Don't ask for free $#!+ (not that you did/do/are... I just put that in for the benefit of future readers of this topic) ... ask for help to learn. You'll get WAY farther personally and professionally. Post work is hard. There's no two ways about it. I'm not nearly as good as I was BITD because I've got new tools/toys that make post building infinitely easier but i never forget where I came from because it's what brought me here where I am now. HTH
    1 point
  6. CNC Software publishes full documentation which is available through your Mastercam Reseller. CNC Software also teaches a 3-Day Basic Post Processing Class at their campus in Tolland. It is not cheap, but the training is excellent. Keep in mind that their is value in developing Posts, so most of that Development work is done by the Resellers, on a for-profit basis. The same for-profit basis your company uses to make money. I have taught online classes previously on the Mastercam Post Processor for both Mills, Lathes, and 5-Axis as well. I've made that content available, for free, on YouTube. You're welcome. How much time have you invested on your own, outside of work, on growing your own skills? I put up about 60 hours of content on how to do the basics and advanced stuff as well.
    1 point
  7. I think if you queried the "real" post developers that are employed by CNC and other external companies, you would find that most, have some kind of computer science degrees...a post is just logic to process information and output in a given format. For the rest of us hackers and slashers, most of us learned on our own time with the provided information in the post guides, some help here and trial and error. I can handle almost all of the post edits that I require at this point but when I was still learning 15+ years ago I came here with snippets of code and asked for direction. To this day, if we put a new machine on the floor and I don't have the time to modify a post, I still purchase them as necessary. The company I work for understands that a machine needs to be making parts and has no issue spending what we need to get making parts as fast as we can.
    1 point
  8. Version 1.0.0

    431 downloads

    Description coming soon
    Free
    1 point
  9. Version 1.0.0

    340 downloads

    Description coming soon
    Free
    1 point
  10. Version 1.0.0

    321 downloads

    Description coming soon
    Free
    1 point
  11. Version 1.0.0

    257 downloads

    Description coming soon
    Free
    1 point
  12. Version 1.0.0

    279 downloads

    Description coming soon
    Free
    1 point

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