G10 Using G10 on a Fanuc Type Control
I am always amazed that so many companies still don’t use G10 in their CNC programs.
No G10… Is this you?
I am sure you have your reasons which I will accept. But if your reason is that you don’t understand it then that’s just not good enough.
So you make a part, it’s all setup and you need to break it down.
If you can fix the work holding in such a way that you can reload it in exactly the same place then you need G10.
Let me explain, watch this video to see how single point location works.
G10 No need to spend loads of money.
You could just bolt a sub plate to your machine table so that vices and chucks etc can have dowels to locate them.
But the main idea is that you can relocate your work holding in exactly the same place every time.
This is your work offset page on a Fanuc control.
These figures are written in by hand or by automatic setting.
If you had written this line in your program.
G90 G10 L2 P1 X-440.500 Y-265.200 Z-443.00
They would have been written in automatically when you ran the program.
So the work offset page could have any values in G54 but as soon as you run your program this G10 command will replace them with its preset values.
Make Sure Your in Absolute
Try not to forget the G90 (Absolute) because you may accidentally be in G91 (Incremental). What would then happen is it would add these numbers to what is already in the work offset. Oh dear me.
In G90 it will always replace them.
You can write to G54 G55 G56 G57 G58 or G59 just by changing the P number.
G90 G10 L2 P1 X-140.600 Y-265.923 Z-400.00 (G54)
G90 G10 L2 P2 X-125.500 Y-236.865 Z-313.865 (G55)
G90 G10 L2 P3 X-800.500 Y-563.200 Z-125.00 (G56)
G90 G10 L2 P4 X-440.500 Y-265.200 Z-169.369 (G57)
G90 G10 L2 P5 X-440.500 Y-265.200 Z-123.568 (G58)
G90 G10 L2 P6 X-410.500 Y-235.200 Z-443.00 (G59)
The code above would setup all six work offsets.
What about the L2 you ask?
What’s that for?
L2 means you are writing to the work offsets (G54- G59)
But you can also write to the tool length offsets in which case it would be
G10 L10 P1 R200. (200 length into tool 1)
G10 L12 P1 R10.(10mm radius into tool 1)
WARNING THIS IS NOT THE SAME ON ALL FANUC CONTROLS
G10 means your datum positions are saved with your CNC program.
The vice or fixture needs to be in exactly the same place when you next set it up.
You can use special single point location fixturing or just make a sub plate.