Feature Request - workpiece angle compensation CNC
jay_s_uk last edited by
I am using RRF on a fairly big CNC.
There will be times when I want to cut parts using material that is the correct dimensions in one or two directions. Its also going to be difficult to position the material perpendicular to the X or Y axis.
So the request is the ability to probe the material on one or two axis and angle/skew the gcode accordingly.
Here's an example of how HAAS do it https://www.youtube.com/watch?v=amWolMgEM-Q
The first thing we would need to do is implement G68 and G69. Looks like there are (at least) two different forms of syntax for G68 (Fanuc and Mach3), however it would be possible to support both because their parameters don't conflict.
After that, a probing cycle to calculate the rotation would be needed. Rather than define a new G-code to do this, I think it could be done in a macro using conditional GCode.
I'll add supporting G68 and G69 to the RRF 3.3 work list.
@jay_s_uk I am not 100% if
M556Axis skew compensation could achieve the angle compensation but if so then you could get away with a combination of
G38.xto find the locations,
G60to save those points and some arithmetic to calculate the required angles.