TerryT
-
Posts
12 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Store
eMastercam Wiki
Blogs
Gallery
Events
Posts posted by TerryT
-
-
Does anyone know if I can reference "P" in the following with a variable. #510=[#_WZP21[1]].
Such as #510=[#_WZP#500[1]].
-
O4999 (SERIAL NUMBERING CUSTOM MACRO)#111 = #24 (FIND CURRENT X ABS)#112 = #25 (FIND CURRENT Y ABS)#113 = #26 (FIND CURRENT Z ABS)#500 = #500+1 (STEP SERIAL NUMBER)#110 = #19 (SPACING)#121 = #9 (FEEDRATE)(1 THROUGH 1O)IF [#500 GT 9] GOTO 10G52 X#111 Y#112G65 P5000 Z#26 D#7 (FIRST ZERO)G52 X#[111+110] Y#112G65 P5000 Z#26 D#7 (SECOND ZERO)G52 X#[111+110*2] Y#112#105 = 5000 + #500 (GET THIRD)G65 P#105 Z#26 D#7G52 X0 Y0GOTO 99(10 THROUGH 99)N10 IF [#500 GT 99] GOTO 20G52 X#111 Y#112G65 P5000 Z#26 D#7 (FIRST ZERO)G52 X[#111+#110] Y#112#100 = FIX[#500/10] (GET SECOND)#105 = 5000 + #100G65 P[#105]G52 X[#111+#110*2] Y#112#101 = #500 - #100*10 (GET THIRD)G65 P[5000+ #101] Z#26 D#7G52 X0 Y0GOTO 99(100 THROUGH 999)N20 IF [#500 GT 999] GOTO 30G52 X#111 Y#112#100 = FIX[#500/100] (GET FIRST)G65 P[5000 +#100] Z#26 D#7G52 X[#111+#110] Y#112#101 = #500 - #100*100#102 = FIX [#101/10] (GET SECOND)G65 P[5000+ #102] Z#26 D#7G52 X[#111+#110*2] Y#112#103 = #101 - #102*10 (GET THIRD)#105 = 5000 +#103G65 P#105 Z#26 D#7G52 X0 Y0GOTO 99N30 #3000 = 100 (OUT OF RANGE)N99M99Here is the program used to call it. Just for fun I changed the GOTO10 to a GOTO99 which takes it to the end and this M99 work just fine. No clue what the difference is.
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
-
we use M.A.Ford endmills. They work great, usually able to keep cost under five bucks per endmill per part.
-
what cs number are you using to figure out your feed rate with. 70's?
- 1
-
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.
-
We mill in features everyday on Inconel castings, I personally like the M.A. Ford Carbide Products. Usually can keep costs down to under $5.00 a part.
-
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
- 1
-
You can check the history.
No options required.
A key log history is present with time stamps on a 31i-A5 by default.
Showed that feature to a customer last week.
It's the first thing that gets checked when there is a problem.
This is the first place I check when one of the guys in my area has a issue. And yes Parameter 3195.
-
If your using the Renishaw macro programs, could you not use the "E" variable in the macro call?
-
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.
Macro-Work Offset
in Machining, Tools, Cutting & Probing
Posted
This is on a Fanuc 31-i A5 controller.