Adapt manufacturer cycle CUST_TECHCYC.SPF
You can execute the following actions with the aid of the _MODE parameter:
Marker Action
_M1 Main spindle: Changeover to C axis mode
_M2 Changeover to spindle mode
_M3 Clamp C axis
_M4 Release C axis clamping
_M5 Rinse chuck
_M6 Close chuck
_M7 Open chuck when spindle is stationary
_M8 Open chuck when spindle is rotating
_M9 Flush chuck
_M11 Tool spindle: Changeover to C axis mode
_M12 Changeover to spindle mode
_M13 Clamp C axis
_M14 Release C axis clamping
_M21 Counterspindle: Changeover to C axis mode
_M22 Changeover to spindle mode
_M23 Clamp C axis
_M24 Release C axis clamping
_M25 Rinse chuck
_M26 Close chuck
_M27 Open chuck when spindle is stationary
_M28 Open chuck when spindle is rotating
_M29 Rinse chuck off
_M30 Position 4th axis after block search (e.g. counterspindle, tailstock, back rest)
_M41 Engage driven tool
_M42 Disengage driven tool
_M61 Changeover to turning
_M62 Changeover to peripheral surface machining C
_M63 Changeover to face machining C
_M64 Changeover to peripheral surface machining Y
_M65 Changeover to face machining Y
_M66 Changeover to face machining B (swivel)
_M67 Deselection of the face machining B (swivel)
_M68 After block search to ST block before swivel
Technologies and cycles
21.3 Manufacturer cycles
SINUMERIK Operate (IM9)
Commissioning Manual, 12/2017, 6FC5397-1DP40-6BA1 515