Can anyone please take the tim eto provide me with a G-Gode snippet that will allow mt to rotate my 4th axis 90 degrees?
My plan is to take the txt file and insert this code a tthe end then copy and paste it 4 times so that the txt file will perfrom the act of cuting the pocket rotate and repeat 4 times.
if my thought is correct it would return to the home position before rotating.
Why should it?
When you execute
g01 x1 y1
g01 x-1 y1
you most certainly do NOT expect an RTZ in between them! Same applies to the A, B & C axes.
In other words, the CNC SW will do EXACTLY what your program says.
Granted, if your program is wrong, the machine will still try to execute it! This can be exciting.