I have a Kiwa Excel 510 that I recently purchased, that I am trying to learn how to use. I have done a lot of CNC milling previously with an old Morbidelli wood mill (in aluminium) which had a control system not really using G-code, so I am slowly learning more about this.
The controller is a Fanuc OM and I have been trying to figure out some things regarding the macros, mainly for the tool changer. I do understand some of it, but not all.
Mainly I am trying to figure out if there is actually a possibility to use wear compensation, maybe it already does? This is the tool macro being called when I do for example T04 ;
PROGRAM
09000 ;
N10 G91 G30 Z0 M19 ; --- Orients the spindle
N20 M6 T#149 ; --- Do a M6 with tool in variable #149 (04 in our example)
N30 G65 H2 P#148 Q#149 R16 ; --- What does this do?
N40 G65 H2 P#147 Q2000 R#149 ; --- What does this do?
N50 G49 ; --- Cancel tool offset
N55 G91 G00 G43 Z-#9147 H#149 ; --- incremental, rapid move, tool compensation on, What do I have in #9147?, tool length offset for tool 04 in our example
N70 G90 ; ---- Switch to absolute mode
N75 G65 H2 P#146 Q2000 R#148 ; --- What does this do?
N80 G10 L91 R#9146 ; --- What does this do?
N90 M99 ;
It also has this macro, but I believe from the paramenters that this is not used,
PROGRAM
09003 ;
N10 G91 G30 Z0 ; --- Orient spindle
N20 G65 H01 P#100 Q10170 ;--- What does this do?
N30 T#9100 M06 ; --- How do I know what is in #9100?
N40 M99 ;
%
I guess maybe I need to use G41/G42 in the post processor, but how would I load the radius and from what table? I have a 16 position tool changer in my machine, could I just do a H1 for example and D17 and add the radius in offset no 17? So that offset no 1 would be tool length offset and no 17 would be radius?
Hope somebody could enlighten me on this.