CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > Machine Controllers Software and Solutions > G-Code Programing


G-Code Programing Discuss G-code programing and problems here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 05-17-2010, 06:47 AM
 
Join Date: Nov 2005
Location: USA
Posts: 145
MarkT is on a distinguished road
Fanuc 16T Using G10

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.
Reply With Quote

  #2   Ban this user!
Old 05-17-2010, 07:19 AM
 
Join Date: Feb 2006
Location: india
Posts: 1,187
sinha_nsit is on a distinguished road

Try G10 P10016 ...

The other G10 block would incrementally change wear offset values. It is ok.
Reply With Quote

  #3   Ban this user!
Old 05-17-2010, 07:46 AM
 
Join Date: Nov 2005
Location: USA
Posts: 145
MarkT is on a distinguished road

Tried - same result

Mark T.
Reply With Quote

  #4   Ban this user!
Old 05-17-2010, 01:21 PM
CNCRim's Avatar  
Join Date: Feb 2006
Location: usa
Posts: 947
CNCRim is on a distinguished road

I'm sure about your machine same the same way/not, you are miss L parameter, on the Fanuc G10 Lxx Pxx .
__________________
The best way to learn is trial error.
Reply With Quote

  #5  
Old 05-17-2010, 03:37 PM
*Registered User*
 
Join Date: Nov 2005
Location: USA
Posts: 274
Bluesman is on a distinguished road

Originally Posted by MarkT View Post
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.

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
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 05-18-2010, 05:45 AM
 
Join Date: Feb 2006
Location: india
Posts: 1,187
sinha_nsit is on a distinguished road

G10 is an option on some controls. Does it ever work on your machine?

No L-word is needed for geometry/wear offset values on a lathe.
Reply With Quote

  #7   Ban this user!
Old 05-19-2010, 11:14 AM
 
Join Date: Jun 2008
Location: United States
Posts: 1,507
stevo1 is on a distinguished road

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
Reply With Quote

  #8   Ban this user!
Old 05-19-2010, 03:07 PM
 
Join Date: Nov 2005
Location: USA
Posts: 145
MarkT is on a distinguished road

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.
Reply With Quote

  #9   Ban this user!
Old 05-21-2010, 12:58 AM
 
Join Date: Feb 2006
Location: india
Posts: 1,187
sinha_nsit is on a distinguished road

If system variables are available, there is no need to use G10.

Yes, no L-word is needed on a lathe.
P16 refers to wear offset number 16, and P10016 refers to geometry offset number 16.
Reply With Quote

  #10   Ban this user!
Old 05-21-2010, 06:56 AM
 
Join Date: Nov 2005
Location: USA
Posts: 145
MarkT is on a distinguished road

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.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 05-21-2010, 08:00 AM
 
Join Date: Jun 2008
Location: United States
Posts: 1,507
stevo1 is on a distinguished road

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
Reply With Quote

  #12   Ban this user!
Old 12-22-2011, 02:52 PM
 
Join Date: May 2011
Location: USA
Posts: 2
Tom Ryan is on a distinguished road
Probably resolved, but...

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
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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




All times are GMT -5. The time now is 02:08 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361