Firstly - has anybody beaten me to it?
Secondly, the behavior of G02/03 - is this legal?
G3 X.5081 Z-5.5497 I.1025
There's an I, but no K....
Thirdly, G28 - that moves back to the home switches, right? Is there a way to programmatically set a user-defined home position?
The generic FANUC post does this:
G28 U0. W0.
G50 X1. Z-5.
To move to X1.0, Z-0.5, but in the lathe manual G50 only sets min/max spindle speeds; passing it X and Z I don't think is legal.