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 believe your actual problem is highlighted in red. I don't think you can use a variable to call a program. Also the line G52 X#[111+110] Y#112 could cause a major crash since your telling to move in X whatever value is in #221
I'm no expert, but couldn't you just program G81 to whatever your 11/2 depth would be , then call your coolant on M28, then command your M3 to the new speed, then G81 to final depth with your new F rate.
Here's something for you to look at. The operator's place their offset changes in the top part of this main program. It has a built in safety check to make sure no one fat fingers a number.Example.txt
I'm asking because on some of our jobs we are running out of number. All of our programs are controlled by macros. These programs run in a very large 5 axis CBN Grinder, with milling capabilities. That we take full advantage of.
We control the depth of cut, speeds, feeds, tool life counters, wheel life counters, Renishaw Probe programs, control set up programs, and etc....
The tool builder uses system variables #10.., and a limited number of #900 variables for the tool changer.
What I want to know is, does the Fanuc controller use these numbers for storing can cycle info, trig calculation and etc....
Why are variables #200 - #499 hidden. I know that I can un-hides these by changing a parameter. But I was wondering why there made hidden. Is the controller using these to store information in, Or are they usable, and are meant to keep smart people from changing information.
I'm running out of numbers and might need to use these.
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.