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 > Fanuc


Fanuc Discuss Fanuc controllers here!


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Ban this user!
Old 12-17-2009, 04:55 AM
 
Join Date: Feb 2006
Location: india
Posts: 1,187
sinha_nsit is on a distinguished road
Learning G10: please help

I am trying to learn the use of G10. Please confirm if my interpretation of the following codes is correct:

G90 G10 L10 P10 R-500; (Enters -500 mm into offset number 10, as the geometry compensation value for H-code)

G91 G10 L10 P10 R5; (Enters 5 mm incrementally into offset number 10, as the geometry compensation value for H-code, making the tool length smaller by 5 mm. So, the same tool would dig 5 mm more into the workpiece, for the same program)

G91 G10 L11 P10 R0.5; (Enters 0.5 mm incrementally into offset number 10, as the wear compensation value for H-code. So, the wear value would increase by 0.5 mm, and hence, the same tool would dig 0.5 mm more into the workpiece, for the same program)
Reply With Quote

  #2   Ban this user!
Old 12-17-2009, 09:21 AM
 
Join Date: Jun 2008
Location: United States
Posts: 1,507
stevo1 is on a distinguished road

Sinha,
That is correct. The only thing I cannot confirm is if you have the proper “L” for the registry. I don’t have any of my data with me. Speaking of that does anyone have a master list or a spreadsheet with the “L” meaning of each registry? I always have to look it up in the book and IIRC they are not all the same per control.

Stevo
Reply With Quote

  #3   Ban this user!
Old 12-17-2009, 09:54 AM
 
Join Date: Feb 2006
Location: india
Posts: 1,187
sinha_nsit is on a distinguished road

Thanks for the reply. You are always helpful.
As per 0i manuals,
L2 is for work offsets,
L20 is for additional work offsets (on milling machines only),
L10 is for H-geometry,
L11 is for H-wear,
L12 is for D-geometry,
L13 is for D-wear,
No L is used for lathe compensation values,
L50 is for parameter entry, and
L3 is for tool life data entry.
L1 can be used in place of L11.

Other control versions may use different L values. For example, I have heard that 180i uses L52 for parameter entry.

However, for offset and compensation data, there is not enough reason to use G10 (because one has to remember its syntax). I would prefer to use system variables. Of course, for parameter entry and tool life data entry, through a program, G10 is the only method.
Reply With Quote

  #4   Ban this user!
Old 12-17-2009, 01:52 PM
 
Join Date: Jun 2008
Location: United States
Posts: 1,507
stevo1 is on a distinguished road

Your always welcom Sinha.

Thanks for the feedback on the "L" designation.

Stevo
Reply With Quote

  #5   Ban this user!
Old 12-17-2009, 02:07 PM
 
Join Date: Nov 2006
Location: UK
Posts: 121
ChattaMan is on a distinguished road

Sinha, all your code looks good.
Maybe not the point of your post, probably just me being picky.

The meaning of this one
.....
G91 G10 L11 P10 R0.5; (Enters 0.5 mm incrementally into offset number 10, as the wear compensation value for H-code. So, the wear value would increase by 0.5 mm, and hence, the same tool would dig 0.5 mm more into the workpiece, for the same program)
.......

This would increase the wear comp by 0.5mm and so make your tool longer (or bigger dia if used for D value). So it would dig 0.5mm less, into the workpiece.

e.g. need to leave more material on, then comp+
need to take more material off, then comp-
Reply With Quote

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

Thanks for your comments.
Actually, I was more interested in verifying if my interpretation was correct.
Since, I do not have 0i M control, I can only rely on you people.

Are other interpretations OK?
How about this (I am repeating):

G91 G10 L10 P10 R5; (Enters 5 mm incrementally into offset number 10, as the geometry compensation value for H-code, making the tool length smaller by 5 mm. So, the same tool would dig 5 mm more into the workpiece, for the same program)

Wiil the tool dig more or less?
Reply With Quote

  #7   Ban this user!
Old 12-18-2009, 01:04 AM
dcoupar's Avatar  
Join Date: Mar 2003
Location: USA
Posts: 2,312
dcoupar is on a distinguished road

H10 = -255.000
G43 Z0 H10 moves tool down 255mm.

execute G91 G10 L10 P10 R5

H10 is now - 250.00
G43 Z0 H10 moves tool down 250mm.

This is assuming your control interprets R5 as 5mm, not .005mm
Reply With Quote

  #8   Ban this user!
Old 12-18-2009, 01:47 AM
 
Join Date: Feb 2006
Location: india
Posts: 1,187
sinha_nsit is on a distinguished road

Thanks.
So, in my previous post, more should be replaced by less, if we are using G43.
Correct?
Reply With Quote

  #9   Ban this user!
Old 12-18-2009, 11:02 PM
christinandavid's Avatar  
Join Date: Aug 2009
Location: New Zealand
Posts: 573
christinandavid is on a distinguished road
G10 Applications

Hi,

Sorry for butting in, have recently discovered G10 myself and I use it in programs to reload my previous work offsets.

Noted that there are L-codes that relate to tool offsets - is there also a way (not necessarily G10) to load other tool information via the program, ie the tool type/tool description info, which can then be displayed in 'Current Machining'?

DP
Reply With Quote

  #10   Ban this user!
Old 12-18-2009, 11:23 PM
 
Join Date: Feb 2006
Location: india
Posts: 1,187
sinha_nsit is on a distinguished road

As far as I know, there is no way a message can be displayed while the machining is being done. It is, however, possible to use system variable #3006 which will halt (but not terminate) the execution and display user-specified message (up to 26 characters) on MESSAGE screen. You have to press CYCLE START again to continue further machining. Details of #3006 are given below:

System variable #3006
System variable #3000 generates an alarm condition and terminates the program execution, whereas variable #3006 causes temporary pause of execution which can be restarted by pressing the CYCLE START button again. In the paused state, pressing the MESSAGE key displays the user-specified message (up to 26 characters). Assigning a number to variable #3006 halts the program execution. There is no significance of this number, as message number is not displayed. So, normally, 1 is assigned. Example:
#3006 = 1 (CHECK THE DIAMETER);
This would temporarily stop the execution, and display “CHECK THE DIAMETER” on the message screen. If no message is typed, nothing would be displayed.
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 12-18-2009, 11:48 PM
christinandavid's Avatar  
Join Date: Aug 2009
Location: New Zealand
Posts: 573
christinandavid is on a distinguished road
G10 and Tool Data

Hi again,

Wasn't refering to a message on screen this time.. Was hoping there was a G10 L* and R* command that could load other Tool data such as the tool's shape/orientation for use with the graphic simulation (rather than inputting it directly into tool table). Bizarre request, I know, but there it is.

DP
Reply With Quote

  #12   Ban this user!
Old 12-19-2009, 12:49 AM
 
Join Date: Feb 2006
Location: india
Posts: 1,187
sinha_nsit is on a distinguished road

The graphic feature of the control does not show tool shape. Only toolpath is drawn. Manual Guide i might be showing more realistic simulation, but I have no experience on that. I have used some third-party simulation softwares, where one has to choose the shape/orientation of the tool(s) being used in the program. It is not a part of the program. This has to be done independently, before simulation.
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
Learning CNC clayman General Metalwork Discussion 8 02-23-2012 02:21 PM
Learning Get lucky Surfcam 2 11-20-2009 12:30 PM
Need help learning MBG G-Code Programing 13 04-18-2008 11:24 PM
Learning...Need help with PSU h3ndrix General Electronics Discussion 0 02-24-2007 04:38 PM
learning massbaster General Metal Working Machines 3 05-04-2005 03:25 PM




All times are GMT -5. The time now is 01:54 AM.





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