Hello,
I ran into some problem trying to mill a gearing wheel on my Doosan Puma 5100LMA with Fanuc Oi-F software. The machine consists of 4 axes (X,Z,C1 and C2).
I have a driving tool that is parralel to the Z-axis and i am trying to mill out the gearing teeth.
Code:
N6
G54
M5P11
M35
G28U0
G0Z300T0G40G98
T02002
G97S3000M3P12
G28H0
M08
G0X190Z10C0
G1Z-31F1000
G42X168
X168C-5.44
X141.5C-9.94
X141.5C-30.06
X168C-34.56
X168C-45.44
X141.5C-49.94
X141.5C-70.06
X168C-74.56
X168C-85.44
X141.5C-89.94
X141.5C-110.06
X168C-114.56
X168C-125.44
X141.5C-129.94
X141.5C-150.06
X168C-154.56
X168C-165.44
X141.5C-169.94
X141.5C-190.06
X168C-194.56
X168C-205.44
X141.5C-209.94
X141.5C-230.06
X168C-234.56
X168C-245.44
X141.5C-249.94
X141.5C-270.06
X168C-274.56
X168C-285.44
X141.5C-289.94
X141.5C-310.06
X168C-315.56
X168C-325.44
X141.5C-329.94
X141.5C-350.06
X168C-354.56
X168C-360
G1G40X190
G0Z20
The problem i'm getting with this program is that G41 or G42 compensates it's radius in the Z-axis. On default the machine is using the XZ plane (G18) but whenever i try to use G17 or G19 it is returning an error (Illegal plane select).
Is there something wrong with my code? Or might there be a parameter that is not set right?
Similar Threads: