I was trying yesterday first 4 axis machining and things goes wrong, I checked the g-code online and it looks good there. Please see attached photo and g-code file.
Link where I checked the g-code is https://ncviewer.com/
I have MK1 controller from 2011 and never tested it on true 4 axis machining.
Also X Y and Z colors are wrong in software, and the tool path is reversed on Y axis that is my rotary axis on.
And should be like this: