![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Mastercam Discuss Mastercam software here. |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Hello, So I've got some common code I want to be able to re-use (specifically, I want to be able to pull out our probe and run some macros with certain parameters), and I was wondering if there is a way to store that text somewhere for easy re-use in mastercam. I basically want to have some pre-defined manual entry commands, which I can adjust after picking them for whatever specific parameters I need. That is, unless mastercam can do it more intelligently. Is there any way to define a probe and have mastercam treat it differently? Moving the probe safely requires running a macro that turns it on, and will stop it if it hits something, and then once I position the probe, I am going to want to run some zeroing macro. There are also some macros for using the table probe to check a tool, or sero a range of tools. I would love to be able to click around a bit and insert some basic code for one of those things easily. Ideas? Thanks! -Taylor |
|
#2
| ||||
| ||||
| I use a macro call to check tool lengths against breakage and wear on a couple of programs we run. The actual macro is in the control but I have a text file for MC that is the call for it. What I do is insert a Manual Toolpath (Menu bar Toolpaths-->Manual Entry or user defined toolbar button) click Use Text File, Select and As Code after the operation for the tool I want to check. I can then select the Edit Now button which will pull it up in my editor, insert the variables I need and then save it as a txt file with the same name as the nc file. I then reselect the txt file and pick the one I edited. It will post like any other toolpath then. There may be a better method but this works well for me.
__________________ Suppose you were an idiot and suppose you were a member of Congress. But I repeat myself. Mark Twain |
|
#3
| ||||
| ||||
| [QUOTE=Shotout;601185]What I do is insert a Manual Toolpath (Menu bar Toolpaths-->Manual Entry or user defined toolbar button) click Use Text File, Select and As Code after the operation for the tool I want to check. I can then select the Edit Now button which will pull it up in my editor, insert the variables I need and then save it as a txt file with the same name as the nc file. I then reselect the txt file and pick the one I edited. It will post like any other toolpath then. QUOTE] I agree, "Manual Entry" is the way to go - have a generic text file on your PC for each gauging situation, and do as Shotout suggests, and then customise the - or copy & paste into the "Manual Entry" window, then to modify the actual code to suit this particular part, it then is permanent with no modifications required after each posting |
|
#5
| ||||
| ||||
Go to the Mastercam forum and there is a section on just doing these types of things,
__________________ (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) Cadcam Mastercam Instructor , Programming Consultant and ME (Manufacturing Eng) |
| Sponsored Links |
|
#7
| ||||
| ||||
| The Developers forum on the Main Mastercam forum on Emastercam.com the main Mastercam forum for all Mastercam users. I am not trying to get away from here but what you are looking for is there. But that forum is not like here with all kinds of diffrent options . it is based on Mastercam only.
__________________ (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) Cadcam Mastercam Instructor , Programming Consultant and ME (Manufacturing Eng) |
|
#8
| |||
| |||
-Taylor |
|
#9
| ||||
| ||||
| You can also customize a Canned drilling cycle to output your probing macro. Mike Mattera
__________________ Tips For Manufacturing Training CD's, DVD's for Mastercam, SolidWorks, Inventor, G-Code Training & More http://www.tipsforcadcam.com |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Reuse the waste oil | beruren | Environmental & Alternate Energy | 0 | 03-03-2009 09:58 PM |
| MastercamX not so easy with easy projects | X7racer | Mastercam | 7 | 05-21-2008 10:28 PM |
| Easy CNC and Easy Stepp'n | kylecroft | CNCzone Club House | 5 | 02-18-2007 12:54 PM |
| Saving the Changes, | CharlieM | Kellyware CAM | 0 | 01-11-2006 02:24 PM |
| saving code | trevorhinze | BobCad-Cam | 1 | 08-05-2005 09:42 AM |