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:
I would just set the Z zero at the beginning of each.
G140
VZOFZ=456.123
Then do it again in the next program.
The schedule format should be:
PSELECT OTURN.MIN,,,Q1
PSELECT OMILL.MIN,,,Q1
END
Do you have the right macros loaded onto the machine? I have used it to program probing on an Okuma VMC and thought it worked pretty well. Are you using the stand-alone version?
I use macros quite a lot. If there is a repetitive operation that needs to happen and I can get it down to one command, I'll do it. The key is having it well documented. I have them for attachment changes on a double coulmn, coord. rotation for RAH, angle hole drilling "canned cycles", and so on.
I have a library I keep adding to and try to keep a similar writing process through them all.
I made one the other day for a family of parts. The program is now able to make the 40+ parts by updating six variables.
Once again the key is documentation. It is very important that you or anyone else can read the macro a year after it has been written and understand the basic use and function (I put a sample of how to use it at the top of the file). Also it is important that you can read the logic easily for when revisions/edits are required. The final thing is the idiot proofing. Make sure there are all the appropriate safety checks in place.
Can he check the value in the radius column for the tools at the top of the program and fire a user alarm if it is not zero? Or just set them all to zero, but the first way alerts the operator so if he goes back to a program using it he isn't suprised.
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.