![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| Fanuc Discuss Fanuc controllers here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
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) |
|
#2
| |||
| |||
| 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 |
|
#3
| |||
| |||
| 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. |
|
#5
| |||
| |||
| 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- |
| Sponsored Links |
|
#6
| |||
| |||
| 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? |
|
#9
| ||||
| ||||
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 |
|
#10
| |||
| |||
| 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. |
| Sponsored Links |
|
#11
| ||||
| ||||
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 |
|
#12
| |||
| |||
| 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. |
![]() |
| 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 |
| 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 |