![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| G-Code Programing Discuss G-code programing and problems here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
I have never used this feature before on a lathe. I am trying in MDI with no success. Machines = Daewoo Puma 2 & 3 axis lathes / mill turns Control = Fanuc 16T circa mid 1990's I would like to bring preset tooling offsets to the control via the program using the G10 command. I have tried in MDI using the following syntax G10 P1000016 X0. Z6.475; (Insert Drill Geometry offset) When I go to the geometry screen, nothing has been changed, I am thinking there is a parameter that needs to be changed to enable me to write to the geometry register. Also, is the following accurate G10 P16 U-.03 W.01; The assumtion here is to write in offset backoffs for first piece runs. That example would not be for the drill example, but for an I.D. Boring bar. Any help would help, thanks! Mark T. |
|
#5
| |||
| |||
Do you have Custom Macro B availible ? if so you can load it directly to the system varible and bypass the G10 function. i use this for loading fixture offsets and the like and it save a tone of cycle time not having to wait for the G10. I can send you the list of system varibles for the 16T and a short manual on how to use them. This is how I load stuff from nest to nest (PREP NEXT TOOL) #10191=146.786 T#20 #549=#542 G91G0G43H191Z-[#10191](CALL OFFSET) #1=[[#14421*.707]+[#14422*.707]]+#14741 #2=[[#14422*.707]-[#14421*.707]]+#14742 #3=#14423+#14743 #5221=[-796.267-#3](G54 X) #5222=[-506.+#2](G54 Y) #5223=[-832.225+#1](G54 Z) #5224=0(G54 B) G90G0G54X38.74Y0.Z500.B225. M10 G4P#574 Z88.5 #760=16. M54S#5 G84Z68.0(Z70.5)R88.5F#6 #760=0. G80 G0Z400. This saves tons of cycle time and can also help to lock in offsets you dnt want anyone to mess with Bluesman |
| Sponsored Links |
|
#7
| |||
| |||
| If the G10 function is not turned on in the control then it would alarm out with "Improper G-Code" alarm. My guess is that if this alarm did not occur then you probably have the function active. Another way to try is to program G10L2P1X1. Then go look at G54 and see if it change X=1. If so then your G10 is working. Make sure you write down the current value of G54 before you run this that way you can put the proper number back into G54. Mark....what is the P1000016 for?? Sinha...are you sure the L() is not needed? My notes show L10. Try G10L10P16X0Z6.475 Stevo Edit** G10 says geometry and G11 is wear. Last edited by stevo1; 05-19-2010 at 11:15 AM. Reason: L10 and L11 |
|
#8
| |||
| |||
| Custom macro b is installed and used on the machine. This is a 16T on a lathe. This is not to change the G54 work offset, but to load the distinct tool geometry & wear offsets on a lathe. Peter Smid's Custom macro B book states that this is the way this can be accomplished on a lathe - It states the L address is not needed on a T series Fanuc, only needed on an M Series Fanuc. I have tried various methods, no alarms are generated. I run parametric programs all the time, loop commands, and local variables. The other method described was to write to the system variable for each offset ( Geometry "X" Geometry "Z" Geometry "Raduis" and Tip Type for one tool would be 4 system variables and they are all independant system varibales assigned to each field so I wanted to try to avoid that if possible. Hopefully someone has successfully done this on a turning control, I use this on work offsets for milling controls all the time...works great. Mark T. |
|
#10
| |||
| |||
| The intent is to bring preset tooling geometry offsets into the control, via the program, to eliminate touching off for every job. Very high mix , low quantity operation. The advantage is 2 of the machines do have a good compliment of preset tooling. We ahve discussed punching the offsets out with each job then loading them with each job, but if I can get the control to read the G10 command, it would embed the offsets within each program. Thats seams like a "cleaner" approach. I will keep plugging at it! Mark T. |
| Sponsored Links |
|
#11
| |||
| |||
| Just because you have macroB installed on the machine does not mean that G10 is. G10 is a separate option from Fanuc. Although I believe that you should have it because I have not seen a Fanuc not alarm out with Improper G-code when trying to use one that is not active. I believe you that you may not need the L(). I was simply stating this because my T-series manual states the L10 and L11. Have you tired this at all? As Sinha was stating you can use system variables to accomplish the same thing. G10 may seem cleaner but both ways will get the job done. You will just have to write it like so. #2216=6.475(tool length) #2016=0(set your wear) Stevo |
|
#12
| |||
| |||
My shop also runs Daewoo Puma's (Fanuc 18T) and I do basically the same thing for drilling and tapping on a bolt circle, except I want to clear out any geometry that may have accidentally been left in. I do it with the following code: G10P10003X0R0 Breakdown: G10 = Data setting code P100 = Parameter address 03 = 2-digit turret position (Tool #) that you want to write the geo. to X0 = Inputs a value of 0 into the X geometry for the turret position specified R0 = Inputs a value of 0 into the R geometry for the turret position specified You would need to add a Z value since in my example I do not want to overwrite anything for Z. If this doesn't work for you, than it is something with your control.Hope it helps (a year + later) Tom |
![]() |
| 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 |
| GE Fanuc & FANUC proprietary posts | CNCadmin | Fanuc | 44 | 01-05-2012 08:54 AM |
| FANUC & GE FANUC Repairs | RRL | Product Announcements & Manufacturer News | 1 | 04-17-2011 11:50 AM |
| can fanuc ac digital servo amplifiers be run by a controller other than fanuc? | js412000 | Servo Motors and Drives | 5 | 03-09-2011 09:11 AM |
| Fanuc & GE Fanuc Repairs | RRL | Product Announcements & Manufacturer News | 0 | 10-01-2008 12:42 PM |