I try to drill in the same PCD by the equal degree. I used main and subprogram.
G92 G17 X100. Y100.;
G72.1 P4000 L24 X0 Y0 R15.;
G80 G0 X100. Y100.;
O4000 G90 G81 X0 Y98. R5. Z10. F100;
But the alarm show inproper G CODE at G72.1 Anybody can guide?
OKK/ Fanuc 18M/ Vertical Machining Center
Thank you Bill,
So what should I do for operating this multiple holes?
Normally, I use CAD/CAM program for this type of job. Anyways, it should have other simply method to operate in front of machine. Some time machine operator doesn't wanna wait for CAM programmer to generate this basic job.
Your control is likely to have User Macro B, which is a pseudo Basic type language. Its quite a powerful programming tool limited in many way only by your imagination. I'm not sure about their current system, but Fanuc's early Conversational Program was entirely based on their User Macro executable, including the input prompt pages.
Using this feature, you could write simple Macro programs that can be accessed at the control to do simple things like holes on PCD etc.
Also your R (retract plane) value is less than the Z (hole bottom) value in the G81 line... Even if you had a machine with G72.1, this would cause an error.
Thank you Texaspyro, this is a little thing that i am always miss it.
Bill, I am quite poor in G-code. I started working by CAM program. So I have no any knowledge about Macro. I started with wrong fundamental basic. Some time I just think that Fanuc control should be able to help me more than receive data and run moving.