hi, i don't have 2 much time now 2 go into details; pls check this out :
... attached pdf about g22, from manuals
... post 3 in next link, about cutting between centers : https://www.cnczone.com/forums/okuma...er-cutoff.html
...... also, in that thread you can find particular aspects regarding cutting between centers
... post 4 in next link, about explanations how to use g22 : https://www.cnczone.com/forums/okuma...n-lathe-2.html
...... also, in that thread, the posts folowing g22 are about parameters related to this function
pls ask whatever you wish, do you need a certain code example, that does something ? kindly