I don't have any specific info for your machine but here's something that may work from OSP-7000L.....
M247 ( SUB OPEN INTERLOCK OFF )
M249 ( SUB OPEN )
M151 ( SYNCHRONIZED ROTATION ON )
G97 S500 M3
G00 Z-20.0 W1.0 ( RAPID TO POSITION NEAR PART. W IS SUB MOVEMENT )
G01 W-1.6306 F0.1 ( YOU NEED TO WORK OUT YOUR W POSITION )
M248 ( SUB CLOSE )
M246 ( SUB OPEN INTERLOCK ON )
( REST OF YOUR PROGRAM HERE... PART OFF ETC )
after parting you will need to rapid the sub spindle back to home, switch to sub spindle (G141) then machine the 2nd end. etc. the process is the same as Fanuc, just with different M codes.