What's new
What's new

Using 2 spindles to ruff & finish pockets & profiles. Fanuc OM, Supermax2 with mounting Z axis for 2 spindles, need help understanding machine offset

Mike, many thanks! My post processor is not perfect, so I need to revisit the G-code to edit the feed, usually after any G54 in the single spindle programs.

Your suggestion in BobCad is to create a ruff and finish all in 1 program, then edit (I know I need edit feed) then make shore all tool #1 (larger tool) G-code associated with the G54 work offset & all tool #2 (smaller tool) G-code associated with G55 work offset.
I would need a "pause" in the controller, so I can set air, coolant & correct spindle up to speed between the ruff & finish cuts.
If I have understood correctly, this sounds like a plan that I will be working, if something I have overlooked please point it out.

Vanbiker, my screen shows a G53, top left corner of screen, I believe my Fanuc OM is a C version. Many thanks!!

Many, many thanks for the second opinion!
 
Mike, many thanks! My post processor is not perfect, so I need to revisit the G-code to edit the feed, usually after any G54 in the single spindle programs.

Your suggestion in BobCad is to create a ruff and finish all in 1 program, then edit (I know I need edit feed) then make shore all tool #1 (larger tool) G-code associated with the G54 work offset & all tool #2 (smaller tool) G-code associated with G55 work offset.
I would need a "pause" in the controller, so I can set air, coolant & correct spindle up to speed between the ruff & finish cuts.
If I have understood correctly, this sounds like a plan that I will be working, if something I have overlooked please point it out.

Vanbiker, my screen shows a G53, top left corner of screen, I believe my Fanuc OM is a C version. Many thanks!!

Many, many thanks for the second opinion!
I think you have it,
 
Ox, many thanks!
Mike, many thanks! After starting a new program, I see in BobCad v29 there is a place to insert the "work offset" (under the Posting tab) this allows each operation to have its own work offset as a #1 or #2, etc. work offset. The exact value goes into the controller in G54 or G55 "work offset" screen. This looked very promising until I posted the G-code & found that the numbered lines (see picN9999 N01.png) on the left side starting with "N00 (at beginning of program) go to N9999" start again at N01 to N2562. When I use simulate in BobCad the profile operation shows proper. When I use the G-code simulator (CAMotics) does not show, I had had very good luck with CAMotics.

It seems to me the "N" when this starts over, about 3/4 way through the program, confuses the software? Is there a way to work around the 9999 starts again at 0? Is there something I am missing?

Ox, the program has a M00 between the 2 different work offset, this program looks good from BobCad if the profile cut would show in CAMotics I would be good.

Many, many thanks.

Edit: The pic was taken in "notepad" so the numbers (that are cut off) further to the left are from notepad, not BobCad.
 
Last edited:
I can't help with CAM, but typically we don't use- N's on every line.
We only use an N at tool changes typically, unless we need them for a GOTO statement or sumpthing.

IDK how you would tell CAM to dump N's tho?


-----------------

I am Ox and I approve this here post!
 
Ox, many thanks, for hanging in there with me. To remove the numbers in question I open the Post Processor in a text editor, see in pic, line 208 was Yes, now NO, as to not save. I am close, thanks.Line 208 was Y to stop numbers G-code.JPG
 








 
Back
Top