hy hutch i dont have a lathe with a 2nd spindle, but i can tell that you may change orientation for M19 in 2 ways :2nd spindle orientation zero offset
... change its origin, by editing the parameter " spindle orientation zero offset " in " parameters \ other function "
... don't change its origin, but input ( in MDI or inside the program ) M19 C55 ( for example ) : this will rotate the spindle with 55 degress from its origin
...... i guess M19 must be available for both spindles
so try this :
... syncronize M19 origins for both spindles inside parameters, and after that input inside the program M19 for 1st spindle, and M19 C60 or M19 C300 for 2nd spindle : this will put the spindles in a 60degree oposing faze ( you should input C60 or C300, depending on the desired sense )
... or dont mess with the parameters, and do this :
...... in MDI mode input M19 for 1st spindle, and for 2nd spindle try M19 C10, or M19 C20, etc, until both spindles are syncronized; thus C20 is the " real desincronization between spindles = c "
...... inside the program, input :
......... M19 for 1st spindle and M19 C80 or M19 C320 for 2nd spindle; 80=60+20 and 320=300+20, where 20=c ( this will input c to 2nd spindle )
......... or M19 C360-c for 1st spindle, and M19 C60 or M19 C300 for 2nd spindle ( this will input c to 1st spindle )
this should put your spindles in the desired position; i hope you can continue from here with part transfer
what means 2nd spindle zero offset ? are you reffering to C axis origin ? i can tell you how to mess with the C axis origin, but i can not help with code for transfer by using C axis2nd spindle zero offset
i dont know if M151 is syncing M19 or S, but there are ways to do the part transfer without rotating the spindleWhen the IGF writes the program it uses the M151 to sync the spindles
if you need to rotate, and have the spindles at a desired phase shift, maybe C axis can be sync on both spindles; however, in this mode you can not exceed 200rpm
somewhere must exist an S origin, otherwise threading would be impossible i will look futher into this / kindly