Settings
Set the appropriate coordinate system via the following channel-specific machine data (values,
for example, for boring mills):
MD52000 $MCS_DISP_COORDINATE_SYSTEM Position of the coordinate system (variable)
= 16 Y up, Z to the right
MD52001 DISP_COORDINATE_SYSTEM_2 Coordinate system for turning on milling machines
(variable)
= 0 Z up, X to the right
Describe the rotation of the coordinate system as follows at the _M70 marker in the
CUST_800.SPF cycle:
_M70: ; Rotation of the coordinate system for turning
N800703 $P_WPFRAME=$P_WPFRAME:CROT(Y,-90):CROT(X,-90)
21.8.7 Adaptations for CUST_800
Adapt these markers in the CUST_800.SPF cycle for turning on milling machines:
Function markers
_M40: ; User Init
N800400 SETMS(1) ; Sets tool spindle as main spindle
N800401 DIAMOF ; No transverse axis defined as diameter
programming for milling
GOTOF _MEND
_M47: ; Retract axis Z to MCS fixed position
before tool alignment
GOTOF _MEND
_M48: ; Retract axis Z and then the XY axes to
MCS fixed position before tool alignment
GOTOF _MEND
_M70: ; Alignment tool: Prepare
IF($P_SMODE[1]==1) ; Spindle mode of tool spindle
N800700 SPOS[1]=0 ; Tool spindle as rotary axis C
ENDIF
N800701 SETMS(2) ; Sets table as main spindle
N800702 DIAM90 ; Transverse axis defined as diameter
programming for turning
GOTO _MEND
Technologies and cycles
21.8 Turning on milling machines
SINUMERIK Operate (IM9)
608 Commissioning Manual, 12/2017, 6FC5397-1DP40-6BA1