Hi. I want to add lathe attachment to my milling machine. I want that lathe spindle and milling spindle works together. For example I make lathe machining of a part, then position lathe chuck to exact position and make milling operations. My lathe attachment has servo motor on it. As I understand wright I see this so: Miling spindle controlled by Sxxx M3 command(now working ok through modbus protocol), lathe spindle speed uses some variable that controlls analog output of UC300ETH+UB1 for servo speed command through analog input of servo drive. For positioning option I set C axis for step/dir output to servo drive step/dir inputs. Also I use additional M code to swith servodrive between position/speed modes.
What other variants we have to make this set working?