Hello everyone. I'm new here and I need help.

I am using Focas library to commnuicate with Mori Seiki NT3150 DCG mill-trun machine with Fanuc 31i A5.
I want to write the override value for milling spindle. I found that I can use pmc_wrpmcrng(hanlde, 0, 0, 30, 30, &spindleOV) to change the spindle speed override value because it is store on variable G30.

However, it defaultly changes the override for turning spindle.

How can I change the override for milling spindle?

Thanks,
Hunter