Hi All
Very new to CAD/CAM and returning to CNC after learning to use a sinumerik at 14 years of age (long story)
My problem is that the post for our 2005 CTX410 using a fanuc 21i and the 'fanuc turning.cps' generates a G17 code for the drilling process (using a udrill)
This cause the CNC to report a '028 ILLEGAL PLANE SELECT' at what I think is line N116.
I had to set the post type to B as type a gave an error for line N12 so the G50 became a G92.
I assume I have the model wrote.
Thanks
Mike
Solved! Go to Solution.
Solved by HughesTooling. Go to Solution.
Some Fanuc controls are setup to use G18 with polar interpolation and some using G17. Drilling cycles do not use polar interpolation, which is why the G17 is output. You can modify the getG17Code in your post to return G17 for polar interpolation to resolve your issue.
// Change this function ...
function getG17Code() {
return (machineState.usePolarInterpolation || !gotYAxis) ? 18 : 17;
}
// To look like this ...
function getG17Code() {
return !gotYAxis ? 18 : 17;
}
Can't find what you're looking for? Ask the community or share your knowledge.