SINUMERIK 840D sl Basesoftware and operating software. Commissioning Manual (2020) - page 7

 

  Index      Manuals     SINUMERIK 840D sl Basesoftware and operating software. Commissioning Manual (2020)

 

Search            copyright infringement  

 

   

 

   

 

Content      ..     5      6      7      8     ..

 

 

 

SINUMERIK 840D sl Basesoftware and operating software. Commissioning Manual (2020) - page 7

 

 

Technologies and cycles
19.5 Turning
Inclined axis under ShopTurn
Please also note the following:
Note
In the user interface, the inclined axis function is automatically integrated in the cycles after
setting up. For machining with inclined axis, in the screen forms of the machining plane, you can
select "Face Y" or "Peripheral surface Y" and enter the Cartesian coordinates.
Additional information
You will find additional information on the inclined Y axis function in:
• Function Manual Transformations
• Programming Manual NC Programming
Example
For example, for a turning machine with X and Z axes and inclined Y axis, main spindle (C) and
tool spindle (WZ), you must configure the following machine data:
MD20050 $MC_AXCONF_GEOAX_ASSIGN_TAB[ ]
Assignment of geometry axis to channel
axis.
[0] = 1
1st real geometry axis X axis.
[1] = 0
2nd real geometry axis Y axis not available.
[2] = 2
3rd real geometry axis Z axis.
MD20110 $MC_RESET_MODE_MASK
Bit 0 = 1
TRAANG is retained after ramp-up.
Bit 7 = 0
MD20112 $MC_START_MODE_MASK
Bit 7 = 1
TRAANG is retained after "Cycle start".
MD20118 $MC_GEOAX_CHANGE_RESET
= 1
Allow automatic geometry axis change.
MD20140 $MC_TRAFO_RESET_VALUE
= 5
TRAANG always active after reset.
MD20144 $MC_TRAFO_MODE_MASK
Bit 0 = 1
TRAANG runs in the backg7round (persistent) and is not shown on the user interface.
SINUMERIK Operate
418
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.5 Turning
MD20070 $MC_AXCONF_MACHAX_USED[4]
= 5
Channel axis YC = 5th machine axis.
MD20080 $MC_AXCONF_CHANAX_NAME_TAB[ ]
Name of channel axis in the channel.
[0] = XC
1st channel axis XC
[1] = ZC
2nd channel axis ZC
[2] = C
3rd channel axis C
[3] = WZ
4th channel axis WZ
[4] = YC
5th channel axis YC
Data set for inclined axis:
MD24430 $MC_TRAFO_TYPE_5
= 1024
Transformation 5: TRAANG
MD24432 $MC_TRAFO_AXES_IN_5[ ]
Axis assignment for transformation 5.
[0] = 5
1st transformation axis = channel axis, YC
[1] = 1
2nd transformation axis = channel axis, XC
[2] = 2
3rd transformation axis = channel axis, ZC
MD24434 $MC_TRAFO_GEOAX_ASSIGN_TAB_5[ ]
Assignment of geometry axes to channel
axes for transformation 5.
[0] = 1
1st axis = channel axis XC
[1] = 5
2nd axis = channel axis YC
[2] = 2
3rd axis = channel axis ZC
MD24436 $MC_TRAFO_INCLUDES_TOOL_5
= 0
Tool handling with active 5th transformation.
MD24700 $MC_TRAANG_ANGLE_1
= 55
Angle between 1st and 2nd transformer axis data record for linking (TRACON) of end face
machining on main spindle (TRANSMIT) and inclined axis (TRAANG).
Data set for linking (TRACON) of end face machining on main spindle (TRANSMIT) and
inclined axis (TRAANG):
MD24440 $MC_TRAFO_TYPE_6
= 8192
Type of transformation that is available as sixth in the channel.
MD24444 $MC_TRAFO_GEOAX_ASSIGN_TAB_6[ ]
Assignment of geometry axes to channel
axes for transformation 6.
[0] = 1
1st axis = channel axis XC
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
419
Technologies and cycles
19.5 Turning
[1] = 3
2nd axis = channel axis YC
[2] = 2
3rd axis = channel axis ZC
MD24995 $MC_TRACON_CHAIN_1[ ]
Transformation linking
[0] = 1
Number of the TRANSMIT transformation (main spindle) for linking.
[1] = 5
Number of the TRAANG transformation for linking. Data set for linking (TRACON) of cylinder
surface transformation on main spindle (TRACYL) and inclined axis (TRAANG).
Data set for linking (TRACON) of cylinder surface transformation on main spindle (TRACYL)
and inclined axis (TRAANG):
MD24450 $MC_TRAFO_TYPE_7
= 8192
Type of transformation 7 in the TRACON channel.
MD24454 $MC_TRAFO_GEOAX_ASSIGN_TAB_7[ ]
Assignment of geometry axes to channel
axes for transformation 7.
[0] = 1
1st axis = channel axis XC
[1] = 3
2nd axis = channel axis YC
[2] = 2
3rd axis = channel axis ZC
MD24996 $MC_TRACON_CHAIN_2[ ]
Transformation linking
[0] = 3
Number of the TRACYL transformation (main spindle) for linking.
[1] = 5
Number of the TRAANG transformation for linking.
19.5.11
Spindle speed limitation for current program
Speed limits are programmed in the part program. If the part program is applied, the spindle
speed limits are entered in the setting data and saved there after the end of program.
However, if the modified speed limits must not apply after the end of the program, you can
change the property with the following commands in the GUD block of the machine
manufacturer:
Changing spindle speed limits for the current program only
REDEF $SA_SPIND_MAX_VELO_LIMS PRLOC
; maximum spindle speed limit for V
constant (G96)
REDEF $SA_SPIND_MAX_VELO_G26 PRLOC
; maximum spindle speed limit for rpm
(G26)
Additional information
You can find additional information about speed limiting in the
SINUMERIK Operate
420
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.6 Grinding
Programming Manual NC Programming.
19.6
Grinding
General
Grinding tools are identified by tool type 400, 410; dressing tools are identified by tool type 490.
The "New tool" function offers these types for selection. The tool list shows the "Grinding disk"
and "Dressing tool" tool types listed according to their tool type. To generate the grinding disk
correction, a tool setter creates a dressing program. Depending on the complexity, the tool setter
makes use of external or internal code generators. This program will be assigned later to a
grinding disk.
Oscillation cycles
These grinding cycles permit the machining of workpieces with grinding machines using two
geometry axes.
The machines type does not exist because the cycles create only an oscillating movement that
can be used as required on every machine.
This requires a SINUMERIK control as well as fast inputs/outputs for the program processing.
The cycles package provides the following cycles:
• CYCLE4071: Longitudinal grinding with infeed at the reversal point
• CYCLE4072: Longitudinal grinding with infeed at the reversal point and measurement
control
• CYCLE4073: Longitudinal grinding with continuous infeed
• CYCLE4074: Longitudinal grinding with continuous infeed and measurement control
• CYCLE4075: Surface grinding with infeed at the reversal point
• CYCLE4077: Surface grinding, plunge grinding with measurement control
• CYCLE4078: Surface grinding with continuous infeed
• CYCLE4079: Surface grinding with intermittent infeed
Oscillation cycles: Activate GUD variables for synchronized actions
MD18661 $MN_MM_NUM_SYNACT_GUD_INT[n]
Number of configurable integer-type
GUD variables
> 0
With the machine data, the individual GUD blocks can be extended by additional channel-
specific parameter areas of the type integer.
[n] is equivalent to the access rights data block
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
421
Technologies and cycles
19.6 Grinding
Additional information
You can find additional information about oscillating cycles and GUD variables for synchronized
actions in the:
• Programming Manual NC Programming
• Function Manual Synchronized Actions
Grinding function screen
MD51840 $MNS_GRIND_FUNCTION_MASK
Grinding cycles function screen
Bit 0
Reference point for measuring the dresser/wheel is a work offset
= 0
Deselection of the work offset as reference point
= 1
Selection of the work offset as reference point
MD52840 $MCS_FUNCTION_MASK
Grinding cycles function screen
Bit 7
Retraction when form-truing with G1
= 0
Retraction when form-truing with rapid traverse (G0)
= 1
Retraction when form-truing with feedrate (G1)
Activate and display fit-dependent corrections
Activate fit-dependent corrections
MD18603 $MN_MM_NUM_GLOBAL_G_FRAMES
Number of global grinding frames
(SRAM)
The value corresponds to the number of field elements for the pre-defined field $P_GFR[].
If the value of the data is > 0, then all settable frames are only global. MD28079 is then ignored.
MD28079 $MC_MM_NUM_G_FRAMES
Number of grinding frames (SRAM)
Defines the number of predefined grinding frames.
Display fit-dependent corrections in the operating area "Parameters" → "Work offsets" window:
MD52211 $MCS_FUNCTION_MASK_DISP_ZOA
Function screen Display overview of
work offsets
Bit 22
Display fit-dependent corrections ($P_GFRAME)
Details of disk size
MD52842 $MCS_GRIND_DIAMETER_LENGTH
Number of the tool length for the disk
diameter
= 1
Length 1 is disk diameter
= 2
Length 2 is disk diameter
SINUMERIK Operate
422
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.7 Swiveling
MD52843 $MCS_GRIND_WIDTH_LENGTH
Number of the tool length for the disk
width
= 1
Length 1 is disk width
= 2
Length 2 is disk width
Form-truing (CYCLE495)
SD55880 $SCS_GRIND_CONT_RELEASE_ANGLE
Angle of retraction
This setting data is used to specify the angle of retraction from the contour during form-truing.
SD55881 $SCS_GRIND_CONT_RELEASE_DIST
Retraction distance
This setting data is used to specify the distance retracted in both axes during form-truing.
SD55884 $SCS_GRIND_CONT_BLANK_OFFSET
Blank allowance
This setting data is used to specify the distance to the grinding wheel as of which the switch-
over is made from G0 to G1 during form-truing.
19.7
Swiveling
19.7.1
Technology cycles for swiveling
Requirement
The commissioning of the machine kinematics is a mandatory requirement for correct swiveling
functionality (CYCLE800). The vectors of the machine kinematics are stored in the tool
parameters $TC_CARR1 to $TC_CARR65. The machine kinematics are stored in the kinematic
chain and be accessed via the $TC_CARR_KIN... tool parameters. The vectors of the machine
kinematics can also be stored in the tool parameters $TC_CARR1 to $TC_CARR65 without the
kinematic chain.
Note
The vectors of the machine kinematics can be corrected with the "Measurement of machine
kinematic" measuring function (CYCLE9960).
To activate the swivel function, there must be at least one tool carrier that can be oriented
(swivel data set) in the NCK, and the workpiece, tool and rotary table reference system frames
must be activated:
MD18088 $MN_MM_NUM_TOOL_CARRIER
Maximum number of definable tool holders
> 0
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
423
Technologies and cycles
19.7 Swiveling
MD28082 $MC_MM_SYSTEM_FRAME_MASK
System frames (SRAM)
= 7DH
Bit 2 = 1
TCARR and PAROT
Bit 3 = 1
TOROT and TOFRAME
Bit 4 = 1
Workpiece reference points
Bit 5 = 1
System frame for cycles
Bit 6 = 1
Transformations
Note
Changing machine data MD18088 and MD28082 causes the buffered memory to be
reorganized.
After changing the machine data, a series start-up file must be generated and downloaded,
otherwise, it can be assumed that data will be lost.
To change machine data, you require the following authorization: Access level 1 (manufacturer).
More information
More information can be found in:
• Tools Function Manual
• Programming Manual Measuring Cycles
Activating the swivel function
The swivel function is enabled on the user interface via the following channel-machine data:
MD52212 $MCS_FUNCTION_MASK_TECH
General function screen for all technologies
Bit 0 = 1
Enable swivel
Configuring input masks
You can configure the input mask for swiveling using the following channel-specific cycle setting
data. The setting data is effective for all of the declared swivel data sets.
SD55221 $SCS_FUNKTION_MASK_SWIVEL_SET
Function screen, swiveling CYCLE800
Bit 0
Input field "No swiveling"
= 0
Hide
= 1
Display
Bit 1
Select text when retracting "Z, ZY" or "Fixed position 1/2"
= 0
Display text Z = "Z", display text Z, XY = "Z,XY"
= 1
Display text Z = "Fixed point 1", Display text Z, XY = "Fixed point 2".
If you wish to modify the retraction version "Z" or "Z, XY" via the manufacturer cycle
CUST_800.SPF, the neutral text "Fixed point 1" and "Fixed point 2" can be displayed.
Bit 2
Select, permit "deselection" of the swivel data set
SINUMERIK Operate
424
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.7 Swiveling
= 0
If deselection is not permitted, the "Swivel data set" (TC) selection field is not displayed in
the "Swivel" input mask.
= 1
Deselection permitted
see also swivel data set parameter $TC_CARR37
HUNDRED MILLIONS position
Bit 3
Displays the active swivel plane under swivel in JOG. The setting in the swivel function
screen acts on all swivel data sets.
Bit 4
Positioning in the basic position (pole position) of the kinematics
= 0
Evaluation of the input values in pole position of the machine kinematics
= 1
Compatibility
Bit 5
Tool alignment absolute or via frame calculation
= 0
Tool alignment via frame calculation (TCOFRY for G18)
= 1
Tool alignment absolute (TCOABS)
For B axis kinematics of a turning machine, the tool spindle can be set in the basic position
of the kinematics, either parallel to Z or to X. Therefore, the function "Align milling tool" is
required for rotary milling machine bit 5 = 1.
Bit 6
Do not list swivel mode "direct" under swivel in JOG
Bit 7
Swivel plane: Direction selection in basic position of the kinematic
= 0
With direction selection + or -, both calculated solutions for the rotary axes are approached
= 1
With direction selection + or -, only one of the calculated solutions for the rotary axes is
approached
Bit 8
Traverse the work offset for the rotary axes of the swivel data set as offset
= 0
Only take the work offset for the rotary axes of the swivel data set into account in the WCS
(compatibility)
= 1
Traverse the work offset for the rotary axes of the swivel data set as offset
Bit 8 is set in conjunction with MD21186.
Bit 9
Swivel data set TC permanently assigned to the tool
= 0
Show number of the swivel data set TC
= 1
Do not show number of the swivel data set TC
The swivel data set is assigned to the tool with parameter SGUD_TC_GNO if technology
MD52200 = 3 is set for cylindrical grinding.
Example:
The machine manufacturer can write the current tool _TC_GNO = $P_TOOLNO into pa-
rameter _TC_GNO in the tool change program L6. As a result, the tool holder will be up-
dated whenever a tool is changed.
Bit 10
Swivel plane: Show input field "Positioning direction"
= 0
Input field "Positioning direction" is not displayed
= 1
Input field "Positioning direction" is displayed with swivel table and swivel head/table com-
binations
The selected positioning direction is stored in GUD _TC_POS_DIR and can be evaluated in
CUST_800:
_TC_POS_DIR = 0: Automatic (shortest path)
_TC_POS_DIR = -1: Direction -
_TC_POS_DIR = +1: Direction +
The function must be implemented by the manufacturer.
Bit 11
Positioning both solutions of AB kinematics
= 0
Positions only one solution of some swivel angles (compatibility)
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
425
Technologies and cycles
19.7 Swiveling
= 1
Positions both solutions calculated by the NC
Bit 11 should be set for kinematics = 1 where, in the kinematics basic setting, neither of the
two rotary axes rotates about the tool axis (AB kinematics in tool axis in the Z direction)
Bit 12
Swivel plane, align tool: Reset behavior takes account of rotary axis positions
= 0
Reset condition refers to the final position of the rotary axes of the swivel data set (com-
patibility)
Linear axis identifiers are written into parameters $TC_CARR21/22. On reset (TCOABS), the
tool holder is initialized with the final positions of the rotary axes ($TC_CARR13/14).
= 1
Reset condition refers to the current position of the rotary axes of the swivel data set
The rotary axis names of the swivel data set are written into parameters $TC_CARR21/22.
On reset (TCOABS), the tool holder is initialized with the actual values of the rotary axes.
Bit 13
Activates the extended evaluation of rotations for axis-by-axis swiveling in the pole position
= 0
The rotations when swiveling in the pole position (compatibility) are not evaluated, the
settings of bits 4 and 11 apply
= 1
Extended evaluation of rotations when swiveling in the pole position
Using the following channel-specific setting data, you can set the status of the "Swivel plane"
input mask when actuating the "Basic Position" softkey:
SD55410 $SCS_MILL_SWIVEL_ALARM_MASK
Hide and unhide cycle alarms
Displaying CYCLE800, CYCLE996, CYCLE9960 cycle alarms
Bit 0
Display alarm 62186: Active work offset G54 and following and base (base reference)
contain rotations
Bit 1
Display alarm 62187: Active base and base reference (G500) contain rotations
Bit 2
Display alarm 61148: Swiveling of plane with active turning tool not possible
SD55420 $SCS_MILL_SWIVEL_RESET_RETRACT
Swivel initial setting: Retraction
This setting information can be used to set the status of the "Retract" toggle switch on the
"Swivel Plane" screen when the "Basic Position" softkey is pressed
No change
= 1
No
= 2
Z
= 3
Z XY
= 4
Tool direction, max.
= 5
Tool direction, inc.
SD55421 $SCS_MILL_SWIVEL_RESET_TRACK
Swivel initial setting: Track tool
This setting information can be used to set the status of the "Track tool" toggle switch on the
"Swivel Plane" mask when the "Basic Position" softkey is pressed
= 0
No change
= 1
Do not track
= 2
Track
SINUMERIK Operate
426
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.7 Swiveling
SD55422 $SCS_MILL_SWIVEL_RESET_MODE
Swivel initial setting: Swivel mode
This setting information can be used to set the status of the "Swivel Mode" toggle switch on
the "Swivel Plane" screen when the "Basic Position" softkey is pressed
= 0
Axis-by-axis
= 1
directly
SD55423 $SCS_MILL_SWIVEL_RESET_SEQ_AXIS
Swivel initial setting: Axis sequence
This setting information can be used to set the status of the "Axis sequence" toggle switch
on the "Swivel Plane" screen when the "Basic Position" softkey is pressed
= 0
XYZ
= 1
XZY
= 2
YXZ
= 3
YZX
= 4
ZXY
= 5
ZYX
Additional settings
For the swivel function, set the following machine data as a minimum to the following -
although this deviates from the default value:
MD10602 $MN_FRAME_GEOAX_CHANGE_MODE
= 1
The actual total frame (zero offsets) is recalculated when switching over geometry axes
(selecting/deselecting TRAORI).
MD10760 $MN_G53_TOOLCORR
Method of operation with G53, G153 and
SUPA
Bit 0 = 1
If the machine axis/axes are to be retracted before swiveling, see Chapter "Manufacturer
cycle CUST_800.SPF (Page 471)"
MD11450 $MN_SEARCH_RUN_MODE
Settings, block search
Bit 1 = 1
Activate PROG_EVENT.SPF after block search. This means that for a block search, the rotary
axes of the active swivel data set are pre-positioned.
Declare swivel data sets
For the swivel function, swivel data sets must be created in the NCK and declared in the machine
data MD18088 $MN_MM_NUM_TOOL_CARRIER.
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
427
Technologies and cycles
19.7 Swiveling
If several channels are declared in the NCU, the number of swivel data sets is split up, taking
MD28085 $MC_MM_LINK_TOA_UNIT into account.
MD28085 $MC_MM_LINK_TOA_UNIT
Assigning a TO unit to a channel (SRAM)
If several channels are set-up, then the following can be set in the machine data:
Assignment of the TO units (tools and orientable tool holders) to the NC channel. One TO unit can be
assigned to several channels.
- OR -
Each NC channel is assigned one TO unit.
Example 1:
Machine has two channels with different TO units.
Channel 1: MD28085 $MC_MM_LINK_TOA_UNIT= 1
Channel 2: MD28085 $MC_MM_LINK_TOA_UNIT= 2
Three swivel data sets (SDS) are required for each TO unit.
MD18088 = (number of TO units) x (number of SDS per TO unit) = 2 x 3 = 6
Example 2:
Machine has three channels with two different TO units.
Channel 1: MD28085 $MC_MM_LINK_TOA_UNIT= 1
Channel 2: MD28085 $MC_MM_LINK_TOA_UNIT= 2
Channel 3: MD28085 $MC_MM_LINK_TOA_UNIT= 1
One swivel data set (SDS) is required for each TO unit.
MD18088 = (number of TO units) x (number of SDS per TO unit) = 2 x 1 = 2
Using angular tools
Angular tools are created and managed in the NC with tool type 130. The tool lengths are
entered in the tool of tool type 130. If an angular tool is also used on a swiveled machining plane
(CYCLE800), the basic tool orientation must be enabled with
MD18114 $MM_ENABLE_TOOL_ORIENT = 2. This enables a direction vector to be transferred to
the tool in the tool parameters $TC_DPV3[n] to $TC_DPV5[n]. The TOROT (G17), TOROTY (G18),
and TOROTX (G19) commands must be programmed for the tool change so that the basic tool
orientation is updated.
n = internal tool number
MD18114 $MM_ENABLE_TOOL_ORIENT
Assign orientation to cutting edges.
Basic tool orientation
= 0
No basic tool orientation active
= 2
Basic tool orientation active
Used for angular tools and swiveling
SINUMERIK Operate
428
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.7 Swiveling
MD20110 $MC_RESET_MODE_MASK
Initial control setting for RESET and end of
part program
Bit 14 = 1
Calculation of the basic and system frames, example: 4041H.
MD20112 $MC_START_MODE_MASK
Basic control setting for START and part pro-
gram.
400H
MD20126 $MC_TOOL_CARRIER_RESET_VALUE
Active tool holder at RESET.
= 0
No active tool holder at RESET.
= > 0 (n)
Tool holder with number n active at RESET.
MD20126 is written to in CYCLE800.
CYCLE800() corresponds to deselect tool holder (MD20126 = 0).
MD20150 $MC_GCODE_RESET_VALUES[ ]
Delete position, G group.
[41] = 1
Delete position, G group 42 on TCOABS
[51] = 2
Initial setting of G group 52 on PAROT
[52] = 1
Delete position, G group 53 on TOROTOF
[52] = > 1
Delete position, G group 53 on TOROT, TOROTY or TOROTX
Used for machine kinematics, types "T" and "M".
See parameter $TC_CARR34
Note
If, after a RESET from the NC, a frame must be calculated in the tool direction, then
MD20150 $MC_GCODE_RESET_VALUES[52] can be set to a value > 1.
Applications:
• Machine kinematics with Hirth teeth
• Angular tool with basic tool orientation
Note on kinematics (swivel head / mixed kinematics) with Hirth teeth:
Depending on the active plane (G17, G18, G19), the TOROT command (or TOROTX, TOROTY) is
programmed in the NCU (G group 53) to calculate the compensating frame for the Hirth teeth
in CYCLE800. If the Hirth teeth cause the programmed rotation to deviate from the possible
positions of the rotary axes, a $P_TOOLFRAME compensating frame is created for swivel head
and mixed kinematics (see HMI active ZO / details tool reference).
If the compensating frame must be retained after RESET or end of part program, enter the
following value in the channel-specific machine data:
MD20150 $MC_GCODE_RESET_VALUES[52]
Reset behavior of the G groups
= 2
For G17 (TOROT)
= 3
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
429
Technologies and cycles
19.7 Swiveling
= 4
For G18 (TOROTY)
= 5
For G19 (TOROTX)
MD20196 $MC_TOCARR_ROTAX_MODE
Rotary axis mode for oriented tool holders
Bit 0 = 1
Swivel data set with a rotary axis
used for a rotary table with C axis
Bit 1 = 1
Swivel data set with two rotary axes
used for standard swiveling
Bit 2
= 1
In a singular position, for which there is an unambiguous solution due to the alignment
of the coordinate axes that are vertical to the orientation, the value 1 is displayed in the
system variable $P_TCSOL as the number of solutions.
= 0
This version is required to ensure compatibility with older software versions. Two solu-
tions are displayed; the angles about the orientation axis differ by 180 degrees.
MD20360 $MC_TOOL_PARAMETER_DEF_MASK
Tool parameter setting
Bit 10 = 1
The tool portion of an active orientable tool carrier is retained at T0 or D0 (no tool).
Used for machine kinematics, types "T" and "M".
See parameter $TC_CARR34
Bit 19 = 1
A tool's change in orientation caused by an oriented tool holder remains at T0 or D0 (no
tool).
Bit 19 acts only with bit 10 = 1.
MD21186 $MC_TOCARR_ROT_OFFSET_FROM_FR
Offset of the rotary axes for an oriented
tool holder from the work offset of the ro-
tary axis.
= 0
In CYCLE800, the WCS is recalculated when there is a value in the work offset (WO) of the
rotary axes.
If values are entered in the work offset of the rotary axes of the active swivel data set, the
basic position of the swivel data set and therefore also the basic position of the WCS can
change.
= 1
A value in the ZO of the rotary axes acts as offset of the oriented tool holder. The Work
remains unchanged.
MD21186 may not be rewritten in a program with call CYCLE800.
The setting MD21186 = 0 is only suitable for a swivel data set in which one of the available rotary
axes rotates exactly around the tool axis. In this way, a useful rotation of the WCS can be
calculated in CYCLE800 when values are entered in the zero offset of the rotary axes. For
example, for a swivel table with rotary axis A around X and rotary axis C around Z for a basic
position of the kinematics in G17.
SINUMERIK Operate
430
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.7 Swiveling
If several swivel data sets are declared per channel, and if machine functions need to be
activated on changeover between swivel heads or tables, an M command can be issued in the
PLC program on switchover to another swivel data set.
MD22530 $MC_TOCARR_CHANGE_M_CODE
M code for swivel data set change
= 0
No swivel data set change
< 0
M code + number of the swivel data set for the swivel data set change
Example
Number of swivel data sets in channel 1
= 2
MD22530 $MC_TOCARR_CHANGE_M_CODE
= -800
Programming swivel data set 1 (TCARR=1)
= M801
Programming swivel data set 2 (TCARR=2)
= M802
With the output of the M commands, the PLC can limit or invert the spindle speed or clamp or
release the rotary axes, for example.
Setting the workpiece, tool and rotary table reference
Using the following machine data, you can set the workpiece, tool and rotary table reference
system frames or you can influence the behavior of the system frames.
Application: System frames can be active after Reset or Power On, in order to retract a drill from
a swiveled position without causing a collision, for example.
MD24006 $MC_CHSFRAME_RESET_MASK
Active system frames after RESET
Bit 4
System frame workpiece reference
= 0
Not active
= 1
Remains active
MD24007 $MC_CHSFRAME_RESET_CLEAR_MASK
Clear system frames after RESET
Bit 4
System frame workpiece reference
= 0
Do not delete
= 1
Delete
When used for measuring or swiveling in JOG, the workpiece reference must be active at RESET
and not cleared (cascaded measuring).
MD24006 $MC_CHSFRAME_RESET_MASK
Active system frames after RESET
Bit 4 = 1
System frame for workpiece reference remains active after RESET
MD24007 $MC_CHSFRAME_RESET_CLEAR_MASK
Clear system frames after RESET
Bit 2 = 0
Reserved, do not delete TCARR and PAROT
Bit 3 = 0
Reserved, do not delete TOROT and TOFRAME
Bit 4 = 0
Do not clear system frame workpiece reference after RESET
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
431
Technologies and cycles
19.7 Swiveling
MD24008 $MC_CHSFRAME_POWERON_MASK
Reset system frames after power on.
Bit 2
System frame rotary table reference (PAROT)
= 0
Do not reset
= 1
Reset
Bit 3
System frame tool reference (TOROT,..)
= 0
Do not reset
= 1
Reset
Bit 4
System frame workpiece reference
= 0
Do not reset
= 1
Reset
MD24080 $MC_USER_FRAME_POWERON_MASK
Settings for settable frames.
Bit 0
= 0
Settable work offset via power on not active.
=1
Last active settable work offset remains active after power on if MD20152 $MC_GCODE_RE-
SET_MODE[7] = 1.
Application: Work offset G5xx, including all rotations, should remain active after Power On.
MD28082 $MC_MM_SYSTEM_FRAME_MASK
Setting-up system frames (SRAM)
Bit 2 = 1
Rotary table reference ($P_PARTFRAME)
Bit 3 = 1
Tool reference ($P_TOOLFRAME)
Bit 4 = 1
Workpiece reference ($P_WPFRAME)
MD28083 $MC_MM_SYSTEM_DATAFRAME_MASK
Setting-up data management, system
frames (SRAM)
Bit 2 = 1
Rotary table reference ($P_PARTFRAME)
Bit 3 = 1
Tool reference ($P_TOOLFRAME)
Bit 4 = 1
Workpiece reference ($P_WPFRAME)
Axial machine data for the modulo rotary axes of the swivel data set
MD30455 $MA_MISC_FUNCTION_MASK
Axis functions
Bit 0
Modulo rotary axis programming
= 0
Programmed positions must be in the modulo range, otherwise an alarm is triggered (e.g. 0
to 359.999 degrees).
= 1
When positions are programmed outside of the modulo range, no alarms are signaled. The
position is modulo converted internally (e.g. -180 to +180 degrees).
Bit 2
Positioning, rotary axis
= 0
As programmed
= 1
Along the shortest path
Application: With the setting bit 2 = 1, the rotary axis C travels along the shortest path for G90
with DC. For more information, refer to Chapter "Manufacturer cycle CUST_800.SPF
(Page 471)".
SINUMERIK Operate
432
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.7 Swiveling
MD32010 $MA_JOG_VELO_RAPID[AX]
Rapid traverse in JOG
AX = axis name
Rotary and machine axes that should trav-
el for swiveling in JOG.
= 10000
Rapid traverse in JOG mode for swiveling in JOG
SD42980 $SC_TOFRAME_MODE
Setting, frame definition for TOROT, PAROT
= 2000
Swivel (default value)
SD42974 $SC_TOCARR_FINE_CORRECTION
Fine offset TCARR (swivel data set)
= 0
No fine offset of the swivel data set vectors.
= 1
Fine offset of the swivel data set vectors.
The parameters of the swivel data set from $TC_CARR41[n] n…number of the swivel data set
and higher apply.
Swiveling in the JOG mode
Cycle alarms 62186 and 62187 can be hidden or displayed using the following cycle machine
data:
MD55410 $MC_MILL_SWIVEL_ALARM_MASK
Activate fault evaluation CYCLE800
Bit 0
Activates fault 61186
= 0
Hide fault 61186 "Active work offset G%4 and base (base reference) contains rotations"
(default setting).
= 1
Display fault 61186
Bit 1
Activate fault 61187
= 0
Hide fault 61187 "Active base and base reference (G500) contain rotations" (default set-
ting).
= 1
Display fault 61187
19.7.2
CYCLE800 checklist for the identification of the machine kinematics
Note
Identification of the machine kinematics according to DIN 66217 or ISO 841-2001
This checklist does not claim to be complete.
• Do the 3 linear axes of the machine that are active for the transformation form an
orthogonal coordinate system? Geometry axes XYZ
• How many swivel kinematics does the machine have?
Combinations of two (or one) rotary axis and the three linear axes are always formed.
• Which machine components are concerned?
Swivel head, swivel table or swivel head and rotary table.
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
433
Technologies and cycles
19.7 Swiveling
• What are the names of the rotary axes of the kinematics?
Manual rotary axes are permitted and do not have to be declared in the NC.
• What is the 1st or 2nd d rotary axis of a swivel data set?
• Is the traversing direction of the linear axes and the rotary axes correct? Right-hand rule
Rule: If the linear axis or the rotary axis moves the workpiece, the direction of motion of the
axis and also the sign of the rotary axis vector change.
• What is the initial setting of the kinematics?
This defines the tool orientation and the plane G17, G18, G19.
• Which rotary axis rotates around which axis of the coordinate system or the machine
axis (axes)?
This defines the rotary axis vectors of the kinematics.
Example 1:
Head kinematics. Rotary axis 2 rotates around axis Y → rotary axis vector V2xyz = 0,1,0
Example 2:
Table kinematics. Rotary axis 1 rotates around axis X → rotary axis vector V1xyz = -1,0,0
19.7.3
Setting up a tool carrier/swivel data set
Defining a tool carrier/swivel data set
You must create a tool carrier (tool holder) for every swivel head, swivel table or each swivel
head/swivel table combination.
Tool carriers can be declared in several channels. A tool carrier can be defined as classic or via the
kinematic chain.
A classic tool carrier comprises the parameters $TC_CARR1[n] to $TC_CARR65[n]
n = number of the tool carrier.
The geometry of the tool carrier based on the kinematic chain comes from the chain. There are
also other descriptive parameters $TC_CARR_KIN...[n] and $TC_CARRxx[n].
If all preconditions from Chapter "Technology cycles for swiveling (Page 423)" are met, you can
assign the tool carrier parameters via the input mask
in the "Setup" → "NC" → "Transformation" operating area.
When you create a new tool carrier here, you can choose if the parameters should be assigned
as classic or via the chain.
Programming with appropriate value assignment is also possible in an NC program. The
parameters of the tool carrier are immediately effective after the program has started.
SINUMERIK Operate
434
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.7 Swiveling
The following softkeys are assigned to the Swivel function in the "Program" → "Various"
operating area:
Milling technology
Turning technology
"Swivel plane"
"Swivel plane"
"Advance milling tool"
"Swivel tool"
→ "Align turning tool"
→ "Align milling tool"
→ "Advance milling tool"
The "Align turning tool" and "Align milling tool" softkeys are only displayed if the "B-axis
kinematics" function has been activated via $TC_CARR37[n].
More information
More information on setting up the kinematic chain can be found in the
Basic Functions Function Manual.
Kinematic types $TC_CARR23[n]
Swivel head (type T)
Swivel table (type P)
Swivel head +
Swivel table (type M)
Offset vector I1
Offset vector I2
Offset vector I1
Rotary axis vector V1
Rotary axis vector V1
Rotary axis vector V1
Offset vector I2
Offset vector I3
Offset vector I2
Rotary axis vector V2
Rotary axis vector V2
Offset vector I3
Offset vector I3
Offset vector I4
Rotary axis vector V2
Offset vector I4
Name of swivel data set
If several swivel data sets are declared in each NC channel, then a name is assigned to each
swivel data set: $TC_CARR34[n]
The name of the swivel data set may only contain characters that are permissible for NC
programming: A...Z, 0...9 and _ !
If multiple NC channels have been set up, note the settings in MD28085. If a TO unit is assigned
to several NC channels, the channel display in the dialog corresponds to the TO unit.
You can find more information in Chapter "Technology cycles for swiveling (Page 423)".
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
435
Technologies and cycles
19.7 Swiveling
System variable $TC_CARR37[n]
In order that a value can be displayed in the input/selection boxes of the dialog for swiveling, the
following display versions can be set:
Meaning of the decimal positions
$TC_CARR37[n]
Display variants of the input masks for CYCLE800
Decimal place
Meaning
ONES
Select swivel mode
0 =
Axis-by-axis
1 =
Axis-by-axis + projection angle
2 =
Axis-by-axis + projection angle + solid angle
3 =
Axis-by-axis + direct
4 =
Axis-by-axis + projection angle + direct
5 =
Axis-by-axis + projection angle + solid angle + direct
TENS
Rotary axis 1
0 =
Automatic
1 =
Manual
2 =
Semiautomatic
HUNDREDS
Rotary axis 2
0 =
Automatic
1 =
Manual
2 =
Semiautomatic
THOUSANDS
Selection field direction: Direction selection of the rotary axes
0 =
No display of the direction reference for kinematics that only have
one solution. Direction selection (_DIR) Minus is generated in the
cycle call CYCLE800.
3 =
Direction reference, rotary axis 1, direction selection Minus in the
basic setting of the kinematics.
4 =
Direction reference, rotary axis 2, direction selection Minus in the
basic setting of the kinematics.
5 =
No display of the direction reference for kinematics that only have
one solution. Direction selection (_DIR) Plus is generated in the
cycle call CYCLE800.
8 =
Direction reference, rotary axis 1, direction selection Plus in the
basic setting of the kinematics.
9 =
Direction reference, rotary axis 2, direction selection Plus in the
basic setting of the kinematics.
The values 1, 2, 6 and 7 are not permitted.
TEN THOUSANDS
Selection field, tracking of the tool tip or B axis kinematics
0 =
No display of the tracking of the tool tip input field.
1 =
Tracking of tool tip by means of TRAORI.
2 =
No tracking of tool tip + B axis kinematics turning technology.
HUNDRED THOUSAND
Basic position of the kinematics 1)
SINUMERIK Operate
436
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.7 Swiveling
$TC_CARR37[n]
Display variants of the input masks for CYCLE800
Decimal place
Meaning
0 =
Corresponding to the working plane G17, G18 or G19 (compati-
bility)
1 =
Tool axis in the Z direction
3 =
Tool axis in the X direction
ONE MILLION TEN MIL-
Selection field, retraction
LION
00 =
No retraction
01 =
Retraction Z
02 =
Retraction Z, XY
03 =
Retraction Z or Z, XY
04 =
Maximum retraction in tool direction
08 =
Incremental retraction in tool direction
15 =
Retraction Z or Z, XY or
in maximum tool direction or in incremental tool direction
$TC_CARR38[n]
Retraction position X
$TC_CARR39[n]
Retraction position Y
$TC_CARR40[n]
Retraction position Z
HUNDRED MILLION
Swivel data set enabled
Setting swivel data set change
Automatic or manual tool change is only necessary under ShopMill or Shop-
Turn (→ see also: CUST_800.spf, marks _M2 to _M13).
A swivel data set must be "enabled" in every case (value ≥ 4).
0 =
Tool carrier not enabled
4 =
Tool carrier enabled
Automatic swivel data set and tool change
5 =
Tool carrier enabled
Automatic swivel data set change and manual tool change
6 =
Tool carrier enabled
Manual swivel data set change and automatic tool change
7 =
Tool carrier enabled
Manual swivel data set and tool change
Notes on the setting Basic position of the kinematics 1)
For turning machines (1st technology is turning) with a B axis, you can set whether the tool is
oriented toward "-Z" or toward "-X" in the basic position of the kinematics. This setting is taken
into account for "Align tool" and for "Swivel plane".
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
437
Technologies and cycles
19.7 Swiveling
Align tool
• For "Align tool", the programming of beta and gamma is machine-independent.
• With the basic position setting "Working plane" or "-Z", beta = 0 also corresponds to this basic
position (compatibility).
• With the basic position setting "-X", the B axis is re-oriented through 90° for beta = 0.
Swivel plane (new swivel plane)
• With the basic position setting "Working plane" or "-Z" and active working plane G17, there
is no new tool orientation for swivel plane to basic position (compatibility).
• With the basic position setting "-X" and active working plane G17, the tool orientation is
rotated 90° around Y for swivel plane to basic position.
Therefore, with the basic position setting "-X", milling is possible in a swiveled plane in different
working planes (G17 or G19).
The following settings and programming is not permitted and results in error messages:
• Swivel plane, basic position -Z and G18 or G19 active
• Swivel plane, basic position -X and G18 active
Retracting the geometry axes before swiveling
Figure 19-4
Dialog to select the type of retraction for classic tool carrier
SINUMERIK Operate
438
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.7 Swiveling
Select the retraction variant in the input field: This is defined in the ONE MILLION and TEN
MILLION position of the system variable $TC_CARR37[n]:
• Retract axis Z
• Retract axes Z, XY
• Retract in the tool direction, maximum or incremental
NOTICE
Collision avoidance
Make sure that the tool and the workpiece cannot collide during swiveling when the tool axes
move.
Retraction of the axis Z or retraction of the axes Z, XY is implemented as an absolute machine
position to the values of parameters $TC_CARR38[n] to $TC_CARR40[n].
$TC_CARR38[n]
Retraction position X
$TC_CARR39[n]
Retraction position Y
$TC_CARR40[n]
Retraction position Z
The type of retraction is modified in the Manufacturer cycle CUST_800.SPF (Page 471).
Note
Retraction in the tool direction is useful for swivel data sets in which the tool is re-oriented
(swivel head or mixed kinematics). This applies particularly for turning machines with a B axis.
During retraction in "maximum tool direction", traversing is performed until one of the relevant
linear axes reaches the software limit switch.
19.7.4
Setting up the tool carrier based on kinematic chain
You must create a tool carrier for every swivel head, swivel table or each swivel head/swivel table
combination.
Requirement
A kinematic chain is already available or must be created for the machine.
More information
More information is provided in the
Tools Function Manual.
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
439
Technologies and cycles
19.7 Swiveling
Creating the tool carrier
Create the tool carrier via the input mask in the
"Setup" → "NC" → "Transformation" operating area.
In the "New tool holder" dialog you can select the tool carrier on the basis of the chain or using
the classic method.
More information on selection is provided in Chapter: "Setting up a tool carrier/swivel data set
(Page 434)".
Figure 19-5
Tool carrier dialog based on the chain
The following tool data is set using the input mask for tool carrier setup:
Variable name
Meaning
$TC_CARR_KIN_CNTRL[n]
Controls the acceptance of tool carrier geometry
data from kinematic chain elements
Bit 0: Tool carrier using kinematic chain
Bit 1: Close part chain (calculation I4)
Bit 2: Close tool chain (calculation I1)
$TC_CARR_KIN_TOOL_START[n]
Name of the kinematic chain element that forms
the starting point of the tool chain
$TC_CARR_KIN_TOOL_END[n]
Name of the kinematic chain element that forms
the end point of the tool chain
$TC_CARR_KIN_PART_START[n]
Name of the kinematic chain element that forms
the starting point of the tool chain
$TC_CARR_KIN_PART_END[n]
Name of the kinematic chain element that forms
the end point of the part chain
SINUMERIK Operate
440
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.7 Swiveling
Variable name
Meaning
$TC_CARR_CORRELEM[n, m]
Name of the kinematic chain element to which cor-
rection can be performed with CYCLE9960
n = number of the tool carrier data set
0 ≤ m ≤ 3
$TC_CARR_KIN_ROTAX_NAME[n, m]
String name of the kinematic chain element that
contains the rotary axis
$TC_CARR23[n]
Kinematic head (T), Table (P), Mixed (M)
$TC_CARR26[n]
Offset Hirth teeth of the rotary axes
$TC_CARR27[n]
$TC_CARR28[n]
Increment Hirth teeth of the rotary axes
$TC_CARR29[n]
$TC_CARR30[n]
Software limit for minimum position of the rotary
axes
$TC_CARR31[n]
$TC_CARR32[n]
Software limits for maximum position of the rotary
axes
$TC_CARR33[n]
$TC_CARR34[n]
Name of the tool carrier
$TC_CARR37[n]
$TC_CARR38[n]
Position for retraction
$TC_CARR39[n]
$TC_CARR40[n]
Rotary axes (axes of rotation)
The input mask of the machine image is opened via the "Select element" softkey, and you can
select the chain element that corresponds to the rotary axis.
The name for the chain element with rotary axis included is contained in the variable
$TC_CARR_KIN_ROTAX_NAME[n, m].
Correction element
The variable $TC_CARR_CORRELEM[n, m] makes reference to the chain element that contains
the kinematic correction if kinematics are measured and corrected via CYCLE9960.
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
441
Technologies and cycles
19.7 Swiveling
19.7.5
Setting up classic tool carrier swivel data
Name of swivel data set
Figure 19-6
Dialog to input parameters for the swivel data set
Offsets I1 to I4 $TC_CARR1[n] ... $TC_CARR20[n]
The vectors always contain three components, which are the reference to the machine axes (X,
Y, Z). The positions in the kinematic chain are measured by the machine manufacturer; they are
always relevant with respect to a swivel head/swivel table (tool carrier).
Offsets I1 to I4 refer to the non-swiveled state of the rotary axes (basic setting: machine
kinematics). However, be aware that the traversing range in the swivel planes may be restricted.
If machine kinematics are to be implemented with just one rotary axis, this must always be
declared as the 1st rotary axis.
Manually adjustable rotary axes (manual mode) are possible with and without measuring
systems and can be used with "simple machines".
Rotary axes that are positioned by an additional mechanical system, can be declared in the
"Semiautomatic" mode.
$TC_CARR1[n]
$TC_CARR2[n]
$TC_CARR3[n]
Offset I1 xyz
$TC_CARR4[n]
$TC_CARR5[n]
$TC_CARR6[n]
Offset I2 xyz
SINUMERIK Operate
442
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.7 Swiveling
$TC_CARR15[n]
$TC_CARR16[n]
$TC_CARR17[n]
Offset I3 xyz
$TC_CARR18[n]
$TC_CARR19[n]
$TC_CARR20[n]
Offset I4 xyz
Example
In a boring mill, the swivel head is positioned by coupling the spindle. In this case, the rotary axes
of the swivel head must be declared as "Semiautomatic". The appropriate machine-specific
cycles are called in CUST_800.SPF.
Machine manufacturer
Follow the machine manufacturer's instructions.
Swivel head
• I3 distance from the tool adapter to the pivot point/intersection of the 2nd rotary axis
• I2 distance from the pivot point/intersection of the 2nd rotary axis to the pivot point/
intersection of the 1st rotary axis
• I1 closure of the I1=-(I2+I3) vector chain, if the swivel head cannot be changed
Swivel table
• I2 distance from the machine reference point to the pivot point/intersection of the 1st rotary
axis
• I3 distance from the pivot point/intersection of the 1st rotary axis to the pivot point/
intersection of the 2nd rotary axis (or to the reference point of the tool adapter)
• I4 closure of the I4=-(I2+I3) vector chain, if the swivel table cannot be changed
Swivel head/swivel table (mixed kinematics)
• I2 distance from the tool adapter to the pivot point/intersection of the 1st rotary axis
• I1 closure of the I1=-I2 vector chain, if the swivel head cannot be changed.
• I3 distance from the machine reference point to the pivot point/intersection of the 2nd rotary
axis (or to the reference point of the tool adapter)
• I4 closure of the I4=-I3 vector chain, if the swivel table cannot be changed.
The offset vectors do not have to point to the pivot point of the rotary axes. The important thing
is that they point to a point on the direction of rotation (intersection).
The sign of the offset vectors (I1 to I4) and the rotary axis vectors (V1, V2) result from the
specifications of the axis directions according to ISO 841-2001 or DIN 66217 (right-hand rule).
In the case of machine kinematics that move the workpiece (rotary table), the axis direction is
reversed.
Direction V1 and V2
$TC_CARR7[n]
$TC_CARR8[n]
$TC_CARR9[n]
Direction vector of the 1st ro-
tary axis
$TC_CARR10[n]
$TC_CARR11[n]
$TC_CARR12[n]
Direction vector of the 2nd ro-
tary axis
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
443
Technologies and cycles
19.7 Swiveling
More information
More information on tool offsets or on multiple transformations can be found in:
• Tools Function Manual
• Transformations Function Manual
Setting offsets
Note
Interrelation of TOOLCARRIER ⇔ 5-axis transformation (transformer type 24, 40, 56):
For 5-axis transformation, transformer type 72 in MD24100: $MC_TRAFO_TYPE_1 can be used.
In the case of transformer type 72, the vectors of the TOOLCARRIER in MD24582:
$MC_TRAFO5_TCARR_NO_1 are used.
Swivel head (swivel-mounted tool)
$TC_CARR23[n]="T"
MD24100: $MC_TRAFO_TYPE_1=24
I1
$TC_CARR1...3[n]
MD24500: $MC_TRAFO5_PART_OFFSET_1[0...2]
I2
$TC_CARR4...6[n]
MD24560: $MC_TRAFO5_JOINT_OFFSET_1[0...2]
I3
$TC_CARR15...17[n]
MD24550: $MC_TRAFO5_BASE_TOOL_1 [0...2]
Closure of the I1=-(I2+I3) vector chain; for fixed-mounted machine kinematics
Swivel table (swivel-mounted workpiece)
$TC_CARR23[n]="P"
MD24100: $MC_TRAFO_TYPE_1=40
I2
$TC_CARR4...6[n]
MD24550: $MC_TRAFO5_BASE_TOOL_1 [0..2]
I3
$TC_CARR15...17[n]
MD24558: $MC_TRAFO5_JOINT_OFFSET_1 [0...2]
I4
$TC_CARR18...20[n]
MD24500: $MC_TRAFO5_PART_OFFSET_1 [0...2]
Closure of the I4=-(I2+I3) vector chain; for fixed-mounted machine kinematics
Swivel head + swivel table (swivel-mounted tool + workpiece)
$TC_CARR23[n]="M"
MD24100: $MC_TRAFO_TYPE_1=56
I1
$TC_CARR1...3[n]
MD24560: $MC_TRAFO5_JOINT_OFFSET_1 [0...2]
I2
$TC_CARR4...6[n]
MD24550: $MC_TRAFO5_BASE_TOOL_1 [0...2]
I3
$TC_CARR15...17[n]
MD24558: $MC_TRAFO5_JOINT_OFFSET_PART_1[0...2]
I4
$TC_CARR18...20[n]
MD24500: $MC_TRAFO5_PART_OFFSET_1 [0...2]
Closure of the I1=-I2 I4=-I3 vector chain; for fixed-mounted machine kinematics
Rotary axis vectors V1, V2
V1
$TC_CARR7..9[n]
MD24570: $MC_TRAFO5_AXIS1_1[0..2]
V2
$TC_CARR10..12[n]
MD24572: $MC_TRAFO5_AXIS2_1[0..2]
SINUMERIK Operate
444
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.7 Swiveling
Fine offsets of offset vectors
Fine offset of the offset vectors is described in the parameters $TC_CARR41[n] to
$TC_CARR60[n].
Assignment of base vectors to the fine offset vectors:
I1 $TC_CARR1..3[n]
to
$TC_CARR41..43[n]
I2 $TC_CARR4..6[n]
to
$TC_CARR44..46[n]
I3 $TC_CARR15..17[n]
to
$TC_CARR55..57[n]
I4 $TC_CARR18..20[n]
to
$TC_CARR58..60[n]
The fine offsets are activated by the following setting data:
SD42974 $SC_TOCARR_FINE_CORRECTION = 1
Fine offset TCARR on/off
= 0
When activating a tool holder that can be oriented, the fine offset values are not taken into
account.
= 1
When activating a tool holder that can be oriented, the fine offset values are taken into
account.
The fine offsets act in addition to the corresponding base vectors when the Swivel function
CYCLE800 or the NC function TCARR=n is called.
Name of the rotation axes (rotary axes)
Figure 19-7
Dialog to input parameters for the rotary axis
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
445
Technologies and cycles
19.7 Swiveling
The following identifiers should be preferably chosen for the names of the rotary axes:
• Rotary axis rotates around machine axis X → A
• Rotary axis rotates around machine axis X → B
• Rotary axis rotates around machine axis Z → C
For automatic rotary axes, the channel names of the corresponding NC rotary axes must be
entered (see $TC_CARR37[n] TENS and HUNDREDS position: Automatic mode). For manual
(manually adjustable) and semiautomatic rotary axes, you can use any axis identifier (up to six
letters or digits).
Manual and semiautomatic rotary axes are not defined in the NC. With manual rotary axes, the
value for the angular range is entered in the dialog box. Semiautomatic rotary axes are moved
mechanically on the machine, e.g. through a coupled spindle. The adaptations for this can be
made in the CUST_800 manufacturer cycle. The value for the angular range must not be
specified, the rotary axis positioning is performed automatically.
Machine manufacturer
Follow the machine manufacturer's instructions.
$TC_CARR35[n]
Name of rotary axis 1
$TC_CARR36[n]
Name of rotary axis 2
19.7.6
Examples of machine kinematics for setting up the classic tool carrier
The following examples are for a classic tool carrier. If the tool carrier is based on a kinematic
chain, the kinematic chain must be set up accordingly:
SINUMERIK Operate
446
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.7 Swiveling
Example 1: Swivel head 1 "HEAD_1"
The vectors in the drawing refer to the initial setting of the kinematics. The drawing is not true
to scale. The swivel head is exchangeable and manually adjustable.
=
<
;
&
$
/ WRRO OHQJWK
C
Rotary axis 1 (manual) rotates about Z.
A
Rotary axis 2 (manual) rotates about X.
Figure 19-8
Exchangeable swivel head with steep taper to hold the spindle
Figure 19-9
Selection of kinematic type
Name
HEAD_1
Enable
Yes
Type
Swivel plane
Offset I1
0.000000
0.030000
-63.000000
Fine offset
0.000000
0.000000
0.000000
Rotation axis 1
C
Mode
Manual
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
447
Technologies and cycles
19.7 Swiveling
Direction v1
0.000000
0.000000
0.000000
Offset
0.000°
Angle range
0.000°
360.000°
Hirth teeth
No
Offset I2
0.000000
0.000000
40.000000
Fine offset
0.000000
0.000000
0.000000
Rotation axis 2
A
Mode
Manual
Direction v2
1.000000
0.000000
0.000000
Offset
0.000°
Angle range
-15.000°
100.000°
Hirth teeth
No
Offset I3
0.000000
-0.030000
-23.000000
Fine offset
0.000000
0.000000
0.000000
Properties
Select retract
• Machine axis Z
Yes
• Retract position
200
Select swivel mode
• Axis-by-axis
Yes
Reference axis pref. direction
Rotation axis 2
Select tracking
No
SINUMERIK Operate
448
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.7 Swiveling
Example 2a: Swivel head 2 "HEAD_2" tool carrier based on kinematic chain
In order to map the kinematics in the machine, we recommend mapping the kinematics as they
actually are with regard to the kinematic chain. The drawing on the left shows how the vectors
are specified to map the kinematics in such a way that reflects how the machine actually is. The
tool carrier starts at the pivot point of the B axis followed by the C_OFFSET up to the actual pivot
point of the C axis with an orientation of (0,1,1). The offset then connects to the reference point
of the tool. However, the tool carrier can also start at the pivot point of the C axis (as is usual with
classic). If the swivel head is firmly attached to the machine and the kinematics are closed, the
result of the description is the same. If there are multiple swivel heads on the machine and the
kinematics are open, the first kinematics description is recommended.
$@"9*4
$@"9*4
$@0''4&5
"YJT PG SPUBUJPO PG
"YJT PG SPUBUJPO PG
#@"9*4
#@"9*4
UIF # BYJ
T
UIF # BYJT
41 @0''4&5
$@0''4&5
;
41 @0''4&5
;
5PPM SFGFSFODF QPJOU
5PPM SFGFSFODF QPJOU
"YJT PG SPUBUJPO PG
:
"YJT PG SPUBUJPO PG
:
UIF $ BYJT
UIF $ BYJT
9
9
Figure 19-10
Swivel head with actual and offset kinematics description
Schematic representation of the chain:
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
449
Technologies and cycles
19.7 Swiveling
3005 .,4
:@"9*4
9@"9*4
;@"9*4
5"#-&@0''4&5
#@0''4&5
&/%@1"35@$)"*/
5BCMF DIBJO XJUI MJOFBS
#@"9*4
BYJT 9 XIJDI NPWFT UIF
"YJT PG SPUBUJPO
9
UBCMF
"YJT PG SPUBUJPO :
"YJT PG SPUBUJPO ;
$033@$@0''4&5
$@0''4&5
0꫻TFU 9
0꫻TFU :
0꫻TFU ;
$@"9*4
"YJT PG SPUBUJPO
9
"YJT PG SPUBUJPO :
"YJT PG SPUBUJPO ;
$033@41 @0''4&5
41 @0''4&5
0꫻TFU 9
0꫻TFU :
࢕
0꫻TFU ;
࢕
41 @"9*4
&/%@500-@$)"*/
)FBE DIBJO XJUI MJOFBS
BYFT : BOE ; XIJDI
NPWF UIF IFBE
LJOFNBUJDT XJUI
SPUBUJPO BYFT # BOE $
Name
HEAD_2
Enable
Yes
Type
Swivel plane
Kinematics
Tool chain
Start of tool chain
Z_AXIS
Rotation axis
B_AXIS
SINUMERIK Operate
450
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.7 Swiveling
Angle range
0.000°
360.000°
Hirth teeth
No
Correction element
CORR_C_OFFSET
Rotation axis
C_AXIS
Angle range
-15.000°
100.000°
Hirth teeth
No
Correction element
CORR_SP1_OFFSET
End of tool chain
SP1_OFFSET
Close tool chain
Yes
Properties
Select retract
• Machine axis Z
Yes
• Retract position
200
Select swivel mode
• Axis-by-axis
Yes
Reference axis pref. direction
Rotation axis 2
Select tracking
No
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
451
Technologies and cycles
19.7 Swiveling
Example 2b: Swivel head 2 "HEAD_2" classic tool carrier
The vectors in the drawing refer to the initial setting of the kinematics. If the swivel head is fixed-
mounted, the vector chain is closed. The reference point of the center of rotation of rotary axes
1 and 2 can be offset on the line of rotation and does not have to coincide with the mechanical
center of rotation.
5RWDU\ D[LV
9
9
JUG
,
,
5RWDU\ D[LV
,
&HQWHU RI URWDWLRQ RI
=
URWDU\ D[LV
&HQWHU RI URWDWLRQ
RI URWDU\ D[LV
<
5HIHUHQFH SRLQW
;
RI WRRO
Direction v1
Rotary axis 1 rotates about Y.
Direction v2
Rotary axis 2 rotates about Y and about Z.
Offset I1
Closure of vector chain with fixed-mounted swivel head, I1 = - (I2 + I3).
Offset I2
The distance between the center of rotation of rotary axis 1 and center of
rotation of rotary axis 2.
Offset I3
The distance between the reference point of the tool and the center of rotation
of rotary axis 2.
Figure 19-11
Cardanic swivel head with Hirth joint, manually adjustable
Name
HEAD_2
Enable
Yes
Type
Swivel plane
Offset I1
0.000000
-172.000000
265.800000
Fine offset I1
0.000000
0.000000
0.000000
Rotation axis 1
B
Mode
Automatic
Direction v1
0.000000
1.000000
0.000000
Offset
0.000°
Angle range
0.000°
360.000°
Hirth teeth
No
Offset I2
0.000000
172.000000
172.000000
Fine offset
0.000000
0.000000
0.000000
SINUMERIK Operate
452
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.7 Swiveling
Rotation axis 2
C
Mode
Automatic
Direction v2
0.000000
-1.000000 1)
1.000000 1)
Offset
0.000°
Angle range
0.000°
180.000°
Hirth teeth
Yes
1°
Offset I3
0.000000
-0.030000
93.800000
Fine offset
0.000000
0.000000
0.000000
Properties
Select retract
• In tool direction, inc.
Yes
• In tool direction, max.
Yes
• Machine axis Z
• Retract position Z
200
Select swivel mode
• Axis-by-axis
Yes
Reference axis pref. direction
Rotation axis 2
Select tracking
No
1) Calculation of rotary axis vector:
V2: 45 degree angle
V2Y = sin(-45) = -0.7071
V2Z = cos(-45) = 0.7071
V2Y and V2Z can be normalized to 1.
Example 3a: Cardanic table "TABLE_45" TCARR based on kinematic chain
The vectors in the drawing refer to the initial setting of the kinematics. The A_OFFSET vector can
be offset anywhere on the axis of rotation of the A axis.
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
453
Technologies and cycles
19.7 Swiveling
"@0''4&5
3005
3005
.,4
.,4
"@0''4&5
$@0''4&5
3FGFSFODF QPJOU PG UIF
3FGFSFODF QPJOU PG UIF
UPPM UBCMF
UPPM UBCMF
5"#-&@0''4&5
$@0''4&5
$@"9*4
"@"9*4
$@"9*4
"@"9*4
Figure 19-12
Vector offset A_OFFSET
Name
TABLE_45
Enable
Yes
Type
Swivel plane
Kinematics
Tool chain
Start of tool chain
Z_AXIS
CORR_A_OFFSET
Rotation axis
A_AXIS
Angle range
0.000°
360.000°
Hirth teeth
No
Correction element
CORR_C_OFFSET
Rotation axis
C_AXIS
Angle range
0.000°
360.000°
Hirth teeth
No
End of tool chain
OFFSET_TABLE
Close tool chain
Yes
Properties
Select retract
• Machine axis Z
Yes
• Retract position
200
Select swivel mode
• Axis-by-axis
Yes
Reference axis pref. direction
Rotation axis 1
Select tracking
No
SINUMERIK Operate
454
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.7 Swiveling
Example 3b: Cardanic table "TABLE_45" classic TCARR
The vectors in the drawing refer to the initial setting of the kinematics. The spindle (tool adapter)
is positioned on a gage block above the top edge of the table/center of the table (rotary axis C).
A measuring rod in the spindle is used to determine the turning center of rotary table C.
5HIHUHQFH SRLQW RI WKH PDFKLQH
0.6 ;
<
=
9
,
,
]
,
\
,
¡
,
]
,
5RWDU\ D[LV &
5RWDU\ D[LV %
=
9
<
;
Direction v1
Rotary axis B rotates around Y and around Z.
Direction v2
Rotary axis C rotates about Z.
Offset I2
The distance from the reference point of the machine to the center of rotation/
intersection of rotary axis 1.
Offset I3
The distance from the center of rotation/intersection of rotary axis 1 to the
center of rotation/intersection of rotary axis 2.
Offset I4
Closure of vector chain, I4 = - (I2 + I3).
Figure 19-13
Side view of the machine
Name
TABLE_45
Enable
Yes
Type
Swivel plane
Kinematics
Table
Offset I2
0.000000
-100.000000
-20.000000
Fine offset I2
0.000000
0.000000
0.000000
Rotation axis 1
B
Mode
Automatic
Direction v1
0.000000
-1.000000 1)
1.000000 1)
Offset
0.000°
Angle range
0.000°
180.000°
Hirth teeth
No
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
455
Technologies and cycles
19.7 Swiveling
Offset I3
0.000000
0.000000
-30.000000
Fine offset I3
0.000000
0.000000
0.000000
Rotation axis 2
C
Mode
Automatic
Direction v2
0.000000
0.000000
-1.000000
Offset
0.000°
Angle range
0.000°
360.000°
Hirth teeth
No
Offset I4
-300.000000
100.000000
50.000000
Fine offset I4
0.000000
0.000000
0.000000
Properties
Select swivel mode
• Axis-by-axis
Yes
Reference axis pref. direction
Rotation axis 1
Select tracking
No
1) Calculation of rotary axis vector:
V1: β = -45 degrees
V1Y= sin(-45)= -0.7071
V1Z= cos(-45)= 0.7071
V1Y and V1Z can be normalized to -1 and 1.
Example 4a: Swivel head/rotary table "MIXED_45" based on kinematic chain
The vectors in the drawing refer to the initial setting of the kinematics. The vector SP1_OFFSET
of the B axis to the reference point of the tool can be offset anywhere on the axis of rotation of
the B axis.
SINUMERIK Operate
456
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.7 Swiveling
41 @0''4&5
3FGFSFODF QPJOU PG
#@"9*4
UIF UPPM
41 @"9*4
$@0''4&5
$@"9*4
Figure 19-14
Vector offset SP1_OFFSET
Name
MIXED_45
Enable
Yes
Type
Swivel plane
Kinematics
Tool chain
Start of tool chain
Z_AXIS
Rotation axis
B_AXIS
Angle range
0.000°
180.000°
Hirth teeth
No
Correction element
CORR_SP1_OFFSET
End of tool chain
SP1_AXIS
Close tool chain
Yes
Workpiece chain
Start of workpiece chain
Correction element
CORR_C1_OFFSET
Rotation axis
C_AXIS
Angle range
0.000°
360.000°
Hirth teeth
No
End of workpiece chain
C_AXIS
Close tool chain
Yes
Properties
Select retract
• Machine axis Z
No
Select swivel mode
• Axis-by-axis
Yes
Select prefer. direction
Yes, default=+
Reference axis pref. direction
Rotation axis 1
Select tracking
No
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
457
Technologies and cycles
19.7 Swiveling
Example 4b: Swivel head/rotary table "MIXED_45" with classic tool carrier
The vectors in the drawing refer to the initial setting of the kinematics. The spindle (tool adapter)
is positioned on a gage block above the top edge of the table/center of the table (rotary axis C).
A measuring rod in the spindle is used to determine the turning center of rotary table C.
9
¡
=
5RWDU\ D[LV %
<
;
O
O
]
O
O
O
O
\
5HIHUHQFH SRLQW RI
O
O
5RWDU\ D[LV &
WKH PDFKLQH
0.6 ;
<
=
9
Direction v1
Rotary axis B rotates around Y and around Z.
Direction v2
Rotary axis C rotates about Z.
Offset I2
The distance from the reference point of the tool adapter to the center of
rotation/intersection of rotary axis 1.
Offset I1
Closure of vector chain, I1 = - I2.
Offset I3
The distance from the reference point of the machine to the center of rotation/
intersection of rotary axis 2.
Offset I4
Closure of vector chain, I4 = - I3.
Figure 19-15
Side view of the machine
Name
MIXED_45
Enable
Yes
Type
Swivel plane
Kinematics
Head
Offset I1
0.000000
0.000000
-30.000000
Fine offset I1
0.000000
0.000000
0.000000
Rotation axis 1
B
Mode
Automatic
Direction v1
0.000000
1.000000 1)
1.000000 1)
Offset
0.000°
SINUMERIK Operate
458
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.7 Swiveling
Angle range
0.000°
180.000°
Hirth teeth
No
Offset I2
0.000000
0.000000
30.000000
Fine offset I2
0.000000
0.000000
0.000000
Table
Offset I3
300.000000
150.000000
0.000000
Fine offset I3
0.000000
0.000000
0.000000
Rotation axis 2
C
Mode
Automatic
Direction v2
0.000000
0.000000
-1.000000
Offset
0.000°
Angle range
0.000°
360.000°
Hirth teeth
No
Offset I4
-300.000000
-150.000000
0.000000
Fine offset I4
0.000000
0.000000
0.000000
1) Calculation of rotary axis vector:
V1: β = 45 degrees
V1Y= sin(-45)= -0.7071
V1Z= cos(-45)= 0.7071
V1Y and V1Z can be normalized to 1.
Example 5: Swivel table "Table_5" with classic tool carrier
The vectors in the drawing refer to the initial setting of the kinematics. The spindle (tool adapter)
is positioned on a gage block above the top edge of the table/center of the table (rotary axis C).
A measuring rod in the spindle is used to determine the turning center of rotary table C.
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
459
Technologies and cycles
19.7 Swiveling
9
=
<
;
5RWDU\ D[LV &
O
O
O
\
O
O
\
5RWDU\ D[LV $
5HIHUHQFH SRLQW RI
9
WKH PDFKLQH
0.6 ;
<
=
Direction v2
Rotary axis C rotates about Z.
Offset I2
The distance from the reference point of the machine to the center of rotation/
intersection of rotary axis 1.
Offset I3
The distance from the center of rotation of rotary axis 1 to the center of rota-
tion/intersection of rotary axis 2.
Offset I4
Closure of vector chain, I4 = - (I2 + I3).
Figure 19-16
Side view of the machine from the X direction
SINUMERIK Operate
460
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.7 Swiveling
9
=
<
;
5RWDU\ D[LV &
O
O
O
O
,
,
O
]
O
O
[
5RWDU\ D[LV $
9
5HIHUHQFH SRLQW RI
WKH PDFKLQH
0.6 ;
<
=
Direction v1
The rotary axis A rotates about X.
Direction v2
Rotary axis C rotates about Z.
Offset I2
The distance from the reference point of the machine to the center of rotation/
intersection of rotary axis 1.
Offset I3
The distance from the center of rotation of rotary axis 1 to the center of rota-
tion/intersection of rotary axis 2.
Offset I4
Closure of vector chain, I4 = - (I2 + I3).
Figure 19-17
Front view of the machine from the Y direction
Name
TABLE_5
Enable
Yes
Type
Swivel plane
Kinematics
Table
Offset I2
260.000000
200.000000
0.000000
Fine offset I2
0.000000
0.000000
0.000000
Rotation axis 1
A
Mode
Automatic
Direction v1
-1.000000
0.000000
0.000000
Offset
0.000°
Angle range
-90.000°
-90.000°
Hirth teeth
No
Offset I3
0.000000
0.020000
20.400000
Fine offset I3
0.000000
0.000000
0.000000
Rotation axis 2
C
Mode
Automatic
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
461
Technologies and cycles
19.7 Swiveling
Direction v2
0.000000
0.000000
-1.000000
Offset
0.000°
Angle range
0.000°
360.000°
Hirth teeth
No
Offset I4
-260.000000
-200.020000
-20.400000
Fine offset I4
0.000000
0.000000
0.000000
Example 6a: Setting up a turning machine with B axis (chain)
9
3PUBSZ BYJT $
3PUBSZ BYJT #
#@"9*4
;
$ @0''4&5
:
9
;
࢕
5PPM TQJOEMF
3005
.,4
3PUBSZ BYJT $
3PUBSZ BYJT $
.BJO TQJOEMF
$PVOUFSTQJOEMF
Figure 19-18
Turning machine with B axis
The example below relates to a turning machine with main spindle and counterspindle as well
as B axis in the head.
The first step is to create the kinematic chain for this machine.
Schematic representation of the kinematic chain:
SINUMERIK Operate
462
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.7 Swiveling
3005
;@"9*4
$033@$ @0''4&5
; @"9*4
:@"9*4
$ @0''4&5
$ @0''4&5
0꫻TFU 9
0꫻TFU 9
0꫻TFU :
0꫻TFU :
9@"9*4
0꫻TFU ;
0꫻TFU ;
#@"9*4
$ @"9*4
$ @"9*4
"YJT PG SPUBUJPO
9
"YJT PG SPUBUJPO
9
"YJT PG SPUBUJPO
9
"YJT PG SPUBUJPO :
"YJT PG SPUBUJPO :
"YJT PG SPUBUJPO :
"YJT PG SPUBUJPO ;
"YJT PG SPUBUJPO ;
"YJT PG SPUBUJPO ;
$033@$ @0''4&5
&/%@1"35@$)"*/@$
&/%@1"35@$)"*/@$
$ @0''4&5
0꫻TFU 9
0꫻TFU :
0꫻TFU ;
࢕
$ @"9*4
"YJT PG SPUBUJPO
9
"YJT PG SPUBUJPO :
"YJT PG SPUBUJPO ;
&/%@500-@$)"*/
5BCMF DIBJO
5BCMF DIBJO
)FBE DIBJO
.BJO TQJOEMF
$PVOUFSTQJOEMF
Figure 19-19
Schematic representation of the chain
Once the machine's kinematic chain has been created, various tool carriers can be created on
this basis.
For turning machines with an additional rotary axis B, the tool can be aligned or swiveled on the
X/Z plane. If the machine has a counterspindle, you can, for example, work with a tool
alternating between the main spindle and counterspindle.
You can create the following tool carriers to use the "Align tool" and "Swivel plane" functions:
Tool carrier 1
For aligning and swiveling tools on the main spindle and counterspindle (Turning, Face Y/C,
Surface Y/C):
Name
Enable
Yes
Type
Align turning tool
Kinematics
Tool chain
Start of tool chain
Z_AXIS
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
463
Technologies and cycles
19.7 Swiveling
Rotation axis
B_AXIS
Angle range
-15.000°
195.000°
Hirth teeth
No
Correction element
Rotation axis
C3_AXIS
Angle range
0.000°
360.000°
Hirth teeth
No
Correction element
End of tool chain
SP1_OFFSET
Close tool chain
Yes
Properties
Select retract
• Machine axis Z
No
Select swivel mode
• Axis-by-axis
Yes
Select prefer. direction
Yes, default=+
Reference axis pref. direction
Rotation axis 1
Select tracking
No
When setting up "Align turning tool", the TEN THOUSANDS position in parameter
$TC_CARR37[n] must be set to 2 or 3 in swivel data set 1. This is the reason why in the program
editor "Swivel tool → Align turning tool or milling tool" is listed for tool carrier 1.
For more information, see Chapter "Setting up a tool carrier/swivel data set (Page 434)"
Tool carrier 2
For machining inclined surfaces when milling on the main spindle (face B):
Name
TC_MAIN_SPINDEL
Enable
Yes
Type
Swivel plane
Kinematics
Tool chain
Start of tool chain
Z_AXIS
Rotation axis
B_AXIS
Angle range
-15.000°
195.000°
Hirth teeth
No
Correction element
CORR_C3_OFFSET
End of tool chain
C3_AXIS
Close tool chain
Yes
Workpiece chain
Start of workpiece chain
CORR_C1_OFFSET
Correction element
CORR_C1_OFFSET
Rotation axis
C1_AXIS
Angle range
0.000°
360.000°
Hirth teeth
No
SINUMERIK Operate
464
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.7 Swiveling
End of workpiece chain
C1_AXIS
Close workpiece chain
Yes
Properties
Select retract
• Machine axis Z
No
Select swivel mode
• Axis-by-axis
Yes
Select prefer. direction
Yes, default=+
Reference axis pref. direction
Rotation axis 1
Select tracking
No
Tool carrier 3
For machining inclined surfaces when milling on the counterspindle (face B):
Name
TC_SUB_SPINDEL
Enable
Yes
Type
Swivel plane
Kinematics
Tool chain
Start of tool chain
Z_AXIS
Rotation axis
B_AXIS
Angle range
-15.000°
195.000°
Hirth teeth
No
Correction element
CORR_C3_OFFSET
End of tool chain
C3_AXIS
Close tool chain
Yes
Workpiece chain
Start of workpiece chain
CORR_C2_OFFSET
Correction element
CORR_C2_OFFSET
Rotation axis
C2_AXIS
Angle range
0.000°
360.000°
Hirth teeth
No
End of workpiece chain
C2_AXIS
Close workpiece chain
Yes
Properties
Select retract
• Machine axis Z
No
Select swivel mode
• Axis-by-axis
Yes
Select prefer. direction
Yes, default=+
Reference axis pref. direction
Rotation axis 1
Select tracking
No
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
465
Technologies and cycles
19.7 Swiveling
The kinematic chain is created once and all requested tool carriers refer to the corresponding
chain elements. If a value in the chain described in kinematic terms has to be changed, this is
immediately effective for all tool carriers.
Example 6b: Setting up a turning machine with B axis (classic)
9
3PUBSZ BYJT $
3PUBSZ BYJT #
;
*
*
࢕
*
9
;
:
*
࢕*
5PPM TQJOEMF
3PUBSZ BYJT $
3PUBSZ BYJT $
.BJO TQJOEMF
$PVOUFSTQJOEMF
Figure 19-20
Turning machine with B axis
You can also create the following classic tool carriers to use the "Align tool" and "Swivel plane"
functions:
Tool carrier 1
For aligning and swiveling tools on the main spindle and counterspindle (Turning, Face Y/C,
Surface Y/C):
Name
TC_1
Enable
Yes
Type
Align turning tool
Head
Offset I1
-0.010000
0.000000
-75.070000
Fine offset I1
0.000000
0.000000
0.000000
Rotation axis 1
B
Mode
Automatic
Direction v1
0.000000
1.000000
0.000000
Offset
0.000°
Angle range
-15.000°
195.000°
Hirth teeth
No
Offset I2
0.010000
0.000000
75.070000
Fine offset I2
0.000000
0.000000
0.000000
Rotation axis 2
C3
Mode
Automatic
Direction v2
0.000000
0.000000
1.000000
SINUMERIK Operate
466
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.7 Swiveling
Offset
0.000°
Angle range
0.000°
360.000°
Hirth teeth
No
Offset I3
0.000000
0.000000
0.000000
Fine offset I3
0.000000
0.000000
0.000000
Tool direction in initial setting
- Z
Properties
Select retract
• In tool direction, inc.
Yes
• In tool direction, max.
Yes
• Machine axis Z
• Retract position Z
200
Select swivel mode
• Axis-by-axis
Yes
Reference axis pref. direction
Rotation axis 2
Select tracking
No
When commissioning the "B-axis kinematics turning technology", the TEN THOUSANDS position
in parameter $TC_CARR37[n] must be set to 2 or 3 in tool carrier 1. This is the reason why in the
program editor "Swivel tool → Align turning tool or milling tool" is listed for tool carrier 1.
More information is provided in Chapter "Setting up a tool carrier/swivel data set (Page 434)"
Tool carrier 2
For machining inclined surfaces when milling on the main spindle (face B):
Name
TC_2
Enable
Yes
Type
Swivel plane
Kinematics
Head
Fine offset I1
0.000000
0.000000
0.000000
Rotation axis 1
B
Mode
Automatic
Direction v1
0.000000
1.000000
1.000000
Offset
0.000°
Angle range
-15.000°
195.000°
Hirth teeth
No
Offset I2
0.010000
0.000000
75.070000
Fine offset I2
0.000000
0.000000
0.000000
Table
Offset I3
0.000000
0.000000
0.000000
Fine offset I3
0.000000
0.000000
0.000000
Rotation axis 2
C1
Mode
Automatic
Direction v2
0.000000
0.000000
-1.000000
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
467
Technologies and cycles
19.7 Swiveling
Offset
0.000°
Angle range
0.000°
360.000°
Hirth teeth
No
Offset I4
0.000000
0.000000
0.000000
Fine offset I4
0.000000
0.000000
0.000000
Tool direction in initial setting
- Z
Tool carrier 3
For machining inclined surfaces when milling on the counterspindle (face B):
Name
TC_3
Enable
Yes
Type
Swivel plane
Kinematics
Head
Offset I1
-0.010000
0.000000
-75.070000
Fine offset I1
0.000000
0.000000
0.000000
Rotation axis 1
B
Mode
Automatic
Direction v1
0.000000
1.000000
1.000000
Offset
0.000°
Angle range
-15.000°
195.000°
Hirth teeth
No
Offset I2
0.010000
0.000000
75.070000
Fine offset I2
0.000000
0.000000
0.000000
Table
Offset I3
0.000000
0.000000
0.000000
Fine offset I3
0.000000
0.000000
0.000000
Rotation axis 2
C2
Mode
Automatic
Direction v2
0.000000
0.000000
-1.000000
Offset
0.000°
Angle range
0.000°
360.000°
Hirth teeth
No
Offset I4
0.000000
0.000000
0.000000
Fine offset I4
0.000000
0.000000
0.000000
Tool direction in initial setting
- Z
SINUMERIK Operate
468
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.7 Swiveling
Example 7: Configuring a milling machine with B axis for turning
#@"9*4
41 @0''4&5
3FGFSFODF QPJOU PG
UIF UPPM
$@0''4&5
$@"9*4
Figure 19-21
Milling machine with B axis for turning
You can configure a milling machine with a B axis (rotation around Y) so that turning is possible.
To do so, turning technology is set up as an extended technology.
More information is provided in Chapter "Turning on milling machines (Page 481)"
The following example refers to a milling machine with a rotary axis around Y (B), a rotary axis
around Z (C) and a main spindle (SP) in the tool direction Z (G17).
The following static transformation is created to use the "Align tool" functions.
A new transformation with 2 axes of rotation in the head and one in the table is created in the
"Transformations" operating area:
Figure 19-22
TRAORI_STAT dialog
Name
TURN_TRAFO
Assignment to chain
Tool chain
Rotation axis
B_AXIS
Axis of rotation offset
0.000°
Correction element
CORR_SP1_OFFSET
Rotation axis
SP_AXIS
Axis of rotation offset
0.000°
End of tool chain
SP_AXIS
Close tool chain
Auto
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
469
Technologies and cycles
19.7 Swiveling
Workpiece chain
Correction element
CORR_C2_OFFSET
Rotation axis
C_AXIS
Axis of rotation offset
0.000°
Hirth teeth
No
End of workpiece chain
C2_AXIS
Close workpiece chain
Auto
Linear axes
Machine axis X
X_AXIS_LIN
Machine axis Y
Y_AXIS_LIN
Machine axis Z
Z_AXIS_LIN
Properties (input mask)
Select retract
• Machine axis Z
No
Select swivel mode
• Axis-by-axis
Yes
Select prefer. direction
Yes, default=+
Reference axis pref. direction
Rotation axis 1
Select tracking
No
Properties (transformation)
Basic tool orientation
Direction vector
0.000
0.000
1.000
Normal vector
0.000
1.000
0.000
The tool carrier can be created as follows for "Swivel plane" on the basis of the kinematic chain
that has been created:
Name
MIX_BC
Enable
Yes
Type
Swivel plane
Kinematics
Tool chain
Start of tool chain
Z_AXIS
Rotation axis
B_AXIS
Angle range
-90.000°
90.000°
Hirth teeth
No
Correction element
CORR_SP_OFFSET
End of tool chain
SP_AXIS
Close tool chain
Yes
Workpiece chain
Start of workpiece chain
CORR_C_OFFSET
Correction element
CORR_C_OFFSET
Rotation axis
C_AXIS
SINUMERIK Operate
470
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.7 Swiveling
Angle range
0.000°
360.000°
Hirth teeth
No
End of workpiece chain
C_AXIS
Close workpiece chain
Yes
Properties
Select retract
• Machine axis Z
No
Select swivel mode
• Axis-by-axis
Yes
Select prefer. direction
Yes, default=+
Reference axis pref. direction
Rotation axis 1
Select tracking
Yes
Parameter CUTMOD in CYCLE800
Distinction between calls:
• The CUTMOD NC function is activated when data set 2 is called in the NC program (CYCLE800
align turning tool). This means that the cutting edge position or the tool reference point is
updated corresponding to the tool orientation:
• When calling a swivel data set for rotational operation in the NC program (CYCLE800 align
tool), the CUTMOD NC function is activated. The cutting edge position, tool angle, cut
direction and tool reference point are thus calculated in accordance with the current tool
orientation following the "Align tool" function.
More information
A more detailed description of parameter CUTMOD is provided in the
Tools Function Manual.
19.7.7
Manufacturer cycle CUST_800.SPF
Function
During swiveling, all axis positions are approached using the CUST_800.SPF cycle. The call is
exclusively made from the swivel cycle CYCLE800 or from the cycles
E_TCARR (ShopMill) or F_TCARR (ShopTurn).
In cycle CUST_800.SPF, the function marks (_M2: to _M59) are prepared and documented. Also
refer to the following "Structogram CYCLE800".
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
471
Technologies and cycles
19.7 Swiveling
There are extensions in the CUST_800.SPF cycle for the "Turning on milling machine" function,
see Chapter "Adaptations for CUST_800 (Page 492)".
Note
If you modify the CUST_800, ensure that the G commands of the G groups used are restored at
the end of the CUST_800 (versions S_G_1 to S_G_5!).
Parameter
CUST_800 (INT _MODE, INT _TC1, REAL _A1, REAL _A2, INT _TC2, REAL _T_POS)
_MODE
A jump is made to marks _M2 to _M59
_TC1
Number of the swivel head/table
_A1
Angle of rotary axis 1
_A2
Angle of rotary axis 2
_TC2
Feed evaluation in percent (%) for swiveling in JOG mode and number of the new swivel
head/table when replaced in ShopMill
_T_POS
Incremental position during retraction in the incremental tool direction (see mark _M44,
_M45)
Retract prior to swiveling
If the CUST_800.SPF cycle is not modified, the Z axis (mark _M41) or the Z axis followed by the
X, Y axes (mark _M42) are first traversed in the Machine to the positions when retracting prior
to swiveling. The freely available position values are specified in the system variables
$TC_CARR38[n] to $TC_CARR40[n]. When retracting, the active tool cutting edge is deselected
(D0) and is reselected after retraction.
If retraction in the tool direction has been declared, the tool axis is retracted to the software end
position (maximum in tool direction) or by an incremental distance away from the tool in the
tool direction. The tool lengths are taken into account accordingly.
SINUMERIK Operate
472
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.7 Swiveling
6WUXFWXUH FRDUVH RI VZLYHO F\FOHV
,QSXW VFUHHQ IRUP XQGHU 6KRS0LOO 6KRS7XUQ
,QSXW VFUHHQ IRUP IRU &<&/(
VWDQGDUG F\FOH
&867B
63)
/DEHO B0
B0
(B7&$55 63)
)B7&$55 63)
&<&/(
63)
/DEHO B0
B0
(QG RI F\FOH
Figure 19-23
Structure (coarse) of swivel cycles
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
473
Technologies and cycles
19.7 Swiveling
CYCLE800 structured chart
Sequence in AUTOMATIC mode
6WUXFWXUH &<&/(
63)
&867B
63)
,QSXW SDUDPHWHUV
QDPH RI VZLYHO GDWD VHW
PRGH
RIIVHWV
URWDWLRQV
UHWUDFWLRQ
&DOFXODWLRQ RI
,QLW
YDOLG VZLYHO GDWD VHW
/DEHO B0 ,QLW
5HZULWH YHFWRUV
NLQHPDWLF FKDLQ LV SRVVLEOH
IRU H[DPSOH WHPSHUDWXUH FRPSHQVDWLRQ
YHFWRUV RU LQFOXVLRQ RI
6ZLYHO GDWD VHW LQYDOLG
: D[LV LQ GULOOLQJ WRROV
)DXOW PHVVDJHV
$GDSWLQJ WKH UHWUDFWLRQ VWUDWHJ\
/DEHO
B0
= D[LV
B0
= D[LV ;< D[LV
5HWUDFWLRQ
B0
WRRO GLUHFWLRQ PD[
7RRO D[LV
B0
WRRO GLUHFWLRQ LQF
B0
UHWUDFWLRQ RI = D[LV
WR 0&6 IL[HG SRVLWLRQ EHIRUH WRRO DOLJQPHQW
B0
UHWUDFWLRQ RI =
;< D[LV
WR 0&6 IL[HG SRVLWLRQ EHIRUH WRRO DOLJQPHQW
1R UHWUDFWLRQ
7UDYHUVH URWDU\ D[HV IRU 1& D[HV
/DEHO
B0
VZLYHO URWDU\ D[HV
DXWRPDWLFDOO\
FDOFXODWLRQ RI WKH
B0
VZLYHO URWDU\ D[LV DXWRPDWLFDOO\
URWDU\ D[LV DQJOH
URWDU\ D[LV PDQXDOO\ RU VHPLDXWRPDWLFDOO\
GLVSOD\ DQJOH YDOXHV WR EH VHW
PDQXDO URWDU\ D[HV
B0
VZLYHO URWDU\ D[LV DXWRPDWLFDOO\
GHDFWLYDWH D[LV WUDQV
B0
VZLYHO URWDU\ D[LV PDQXDOO\ RU VHPLDXWRPDWLFDOO\
IRUPDWLRQ
B0
VZLYHO URWDU\ D[LV DXWRPDWLFDOO\
URWDU\ D[LV PDQXDOO\ RU VHPLDXWRPDWLFDOO\
B0
VZLYHO URWDU\ D[HV
PDQXDOO\ RU
VHPLDXWRPDWLFDOO\
1R WUDYHUVLQJ
B0
B0
B0
VZLYHO LQ -2* ZLWK 75$25,
RI URWDU\ D[HV
(QG RI F\FOH
Figure 19-24
Structure: CYCLE800.SPF / CUST_800.SPF
SINUMERIK Operate
474
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.7 Swiveling
6WUXFWXUH (B7&$55 63) )B7&$55 63)
&867B
63)
7KH IROORZLQJ VWUXFWXUH UHIHUV WR WKH VZLYHO GDWD EORFN FKDQJH DQG WKH
7RRO QDPH
DVVRFLDWHG WRRO FKDQJH XQGHU PLOOLQJ WXUQLQJ
,QSXW GDWD IRU VZLYHOLQJ
6'6
! 6ZLYHO GDWD VHW
\HV
2OG 6'6
1HZ 6'6"
QR
2OG 6'6
\HV
/DEHO B0
&KDQJH PDJD]LQH WRRO
6ZLYHO
B0
&KDQJH PDQXDO WRRO
KHDG"
QR
$XWRPDWLFDOO\
\HV
/DEHO B0
$XWRPDWLFDOO\ FKDQJH
FKDQJH
VZLYHO KHDG WDEOH
6'6 ROG QHZ"
QR
$XWRPDWLFDOO\
\HV
/DEHO B0
0DQXDOO\ FKDQJH
FKDQJH
VZLYHO KHDG WDEOH
6'6 ROG QHZ"
QR
$XWRPDWLFDOO\
/DEHO B0
$XWRPDWLFDOO\ FKDQJH
FKDQJH
\HV
VZLYHO KHDG WDEOH"
6'6 ROG
/DEHO B0
$XWRPDWLFDOO\ FKDQJH
0DQXDOO\ FKDQJH
VZLYHO KHDG WDEOH"
6'6 QHZ"
QR
/DEHO B0
0DQXDOO\ FKDQJH
0DQXDOO\ FKDQJH
\HV
VZLYHO KHDG WDEOH"
6'6 ROG"
/DEHO B0
$XWRPDWLFDOO\ FKDQJH
$XWRPDWLFDOO\ FKDQJH
6'6
VZLYHO KHDG WDEOH"
QHZ"
QR
\HV
/DEHO B0 &KDQJH PDJD]LQH WRRO
7RRO
B0
&KDQJH PDQXDO WRRO
FKDQJH"
/DEHO B0
6ZLYHO DIWHU WRRO FKDQJH
$872
QR
B0
6ZLYHO DIWHU WRRO FKDQJH -2*
/DEHO B0
5HWUDFWLRQ DIWHU VZLYHOLQJ
(QG RI F\FOH
Figure 19-25
Structure: E_TCARR.SPF (F_TCARR.SPF) / CUST_800.SPF
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
475
Technologies and cycles
19.7 Swiveling
Note on marks _M2 to _M13
When the swivel data set (SDS) or tool is changed, the linear axes are recovered using the last
retraction mode (modal).
If this behavior is not desired in milling/turning, the corresponding calls must be commented out
with a semicolon (;). The E_SWIV_H or F_SWIV_H cycle is called in milling/turning (see marks
_M2 to _M9) in the CUST_800.SPF manufacturer cycle.
Parameter E_SWIV_H (Par1, Par2, Par3)
• Par1: Number of swivel data set (_TC1)
• Par2: Angle 1st rotary axis
• Par3: Angle 2nd rotary axis
Modification examples
If the rotary axes (swivel head/table) are not to be positioned during swivel data change/tool
change, the call of the E_SWIV_H cycle can be commented out at the relevant marks. If the rotary
axes are to move to a certain position, an angle value can be transferred to parameters Par 2, Par
3.
Note on marks _M14, _M15
Depending on the values of the retraction plane and the programmed swivel plane, it is possible
that the linear axes now also travel the swiveled retraction plane while running up from the
current position to the software limit switches after a block search. To avoid this problem, mark
_M14 in the CUST_800.SPF is called after swiveling. The E_SP_RP(30) cycle preset there runs up
to the milling retraction plane, whereby travel may be along the software limit switches. An
appropriate retraction after block search can be set at mark _M15.
Note on the mark _M16
If for a swivel data set change or when de-selecting the swivel data set, you wish to traverse the
rotary axes to zero, the syntax of the _M16 mark can be modified accordingly, e.g. activate block
N8006 E_SWIV_H(_TC1,0,0).
Note on marks _M20 to _M31
Marks _M20 to _M31 are distinguished by machine kinematics with two rotary axes or one
rotary axis. A distinction is also made between automatic rotary axes (known to the NCU) and
manual (semi-automatic) rotary axes. There is only ever one valid mark for swiveling with the
active swivel data set.
Note on mark _M35
Run through _M35 for block search and a swivel data set with manual rotary axes.
SINUMERIK Operate
476
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.7 Swiveling
Note on mark _M40
This mark is called before the calculation and activation of the tool holder function as user
initialization. This makes it possible for special kinematics, to calculate or rewrite the current
vectors of the active swivel data set.
Boring mill application example: For parallel axes, the vector in the Z direction can be updated
with the actual value of the W axis.
A STOPRE is integrated for this mark.
Manufacturers can test as to whether this STOPRE for mark M40 in CUST_800.spf complies with
their functional requirements. In this case, one must weigh up between velocity (without
STOPRE) and functionality for interrupt conditions (RESET) for a swivel plane. This also depends
on the type of machine kinematics.
Note on marks _M41 to _M45 and _M47, _M48
At marks _M41 to _M45, the retraction strategy can be modified before the swiveling of the
rotary axes and at marks _M47 and _M48 before the alignment of the tool.
The retraction to the MCS positions Z or Z, XY is made considering the tool length components
without tool cutter deselection.
Note on marks _M41 and _M42
When retracting in Z or Z, XY with mixed swivel head kinematics, the NC takes account of the
kinematics reference point. If the head is tilted, positions are approached that might deviate
from the values of the retraction position $TC_CARR38 to $TC_CARR40.
If you do not wish to have such behavior, you can deactivate the tool carrier for the marks M41
and M42 when calculating the tool components.
Note
Reactivate the marks M41 and M42 when you have finished.
Example:
IF (_MODE==41)OR(_MODE==42)OR(_MODE==47)OR(_MODE==48)
TCARR=0 ; deactivate tool carrier
TRAFOOF
ENDIF
_M41; Retract axis Z to MCS fixed position
TCARR=_TC1 ; reactivate tool holder
GOTOF _MEND
_M42; Retract axis Z and then the XY axes to MCS fixed position
TCARR=_TC1 ; reactivate tool holder
GOTOF _MEND
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
477
Technologies and cycles
19.7 Swiveling
Note on mark _M46
Retraction before swiveling after a block search can be set at mark _M46. Variable _E_VER is 1
if it is a milling technology program.
Note on marks _M57 to _M59
Marks _M57 to _M59 are used for swiveling in JOG mode and active 5-axis transformation
(TRAORI).
Note on "Track tool"
"Track tool" requires that a 5-axis transformation is set up which is equivalent to the
corresponding swivel data set. The programming section for "Track tool" is integrated in the
marks _M20, _M21, _M22 and _M30. The first 5-axis transformation is called with TRAORI(1).
Note on tool change + swivel
In general, the swivel (CYCLE800) and tool change functions for a machine are independent of
each other. Thus, the swiveled work plane can be retained in a technological sequence with
multiple tools, e.g. centering, drilling, tapping.
If the rotary axes of the active swivel data set are involved in the mechanical sequence of the tool
change or have to be retracted, this must be taken into account in the tool change program. After
the tool change, the rotary axis positions are approached as prior to the tool change. If linear
axes (geometry axes) are also involved in the tool change, the rotations in the NC (swivel frame)
must not be deleted. Rather, the linear axes can be positioned as machine axes using the G153
or SUPA commands.
Note on swiveling without active tool compensation
If swiveling the rotary axes without active tool cutting edge (D0) is not possible, then you can
adapt this in cycle CUST_800.SPF:
_M40:
IF ((NOT $P_TOOL) AND _TC1)
LOOP
MSG ("No tool cutting edge active")
M0
STOPRE
ENDLOOP
ENDIF
GOTOF_MEND
SINUMERIK Operate
478
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.7 Swiveling
19.7.8
Indirectly programming the name of the swivel data set
Function
The _TC_CHANGE GUD variable defined in the channel is a string with a length of 32. Using this
variable, the user can determine before the CYCLE800 call which swivel data set is called in the
CYCLE800, irrespective of what is programmed in the call itself.
The _TC_CHANGE GUD variable is re-initialized with each RESET. At the end of the CYCLE800, the
variable is also deleted. This means that the variable must be re-described before each new
CYCLE800 call.
The swivel data set is changed in the CYCLE800 following the CUST_800 jump to the _M40
marker. This means that the variable can also be described in the CUST_800.
Programming example
N10 _TC_CHANGE="HEAD_2"
N20 CYCLE800(0,"HEAD_1",100000,57,0,0,0,0,0,0,0,0,0,-1,100,1)
N30 M0 ;* HEAD_2 is active
N40 _TC_CHANGE="HEAD_3"
N50 CYCLE800(0,"HEAD_1",100000,57,0,0,0,0,0,0,0,0,0,-1,100,1)
N60 M0 ;* HEAD_3 is active
N70 CYCLE800(0,"HEAD_1",100000,57,0,0,0,0,0,0,0,0,0,-1,100,1)
N80 M0 ;* HEAD_1 is active
N90 _TC_CHANGE="TABLE_2"
N100 CYCLE800(0,"TABLE_1",100000,57,0,0,0,0,0,0,0,0,0,-1,100,1)
N110 M0 ;* TABLE_2 is active
N120 M2
Note
The _TC_CHANGE variable must be re-described before each new CYCLE800 call.
Programmed restrictions in the CYCLE800
The swivel data set named in _TC_CHANGE is checked for the following properties:
• The swivel data set to be activated must be enabled.
• The following parameters must match the swivel data set selected on the screen:
- $TC_CARR23 (swivel data set type)
- $TC_CARR37 (swivel mode, units digit)
- $TC_CARR37 (selection of follow-up, ten-thousands digit)
- The mode set (Bit 6, 7) on the screen
(axis-by-axis/solid angle/projection angle/direct) to TC_CARR37
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
479
Technologies and cycles
19.7 Swiveling
19.7.9
CYCLE9960 workpiece - Measurement of machine kinematic
Function
With the Measure kinematics function, it is possible to calculate the geometric vectors used to
define the 5-axis transformation (TRAORI and TCARR) by measuring the position of the ball in
space.
Measurement essentially involves scanning three to twelve positions of a measuring ball for
each rotary axis with a workpiece probe. The ball positions can be defined in accordance with
user specifications so that they correspond to the geometric ratios on the machine. The only way
of setting the ball positions is to reposition the rotary axis that is to be measured in each case.
Application
The function Measurement of machine kinematic (CYCLE9960) allows the transformation-
related data for kinematics transformations to be determined with included rotary axes TRAORI
and TCARR.
Options:
• Redefinition of swivel data sets or kinematic chain
- Commissioning the machine
- Use of swivel-mounted workholders as TCARR
• Checking of swivel data sets or kinematic chain
- Service following collisions
- Checking the kinematics during the machining process
Kinematics with manual axes (manually adjustable rotary tables, swivel-mounted workholders)
can be measured in the same way as kinematics with NC-controlled rotary axes.
When CYCLE9960 is started, a swivel data set with basic data (for kinematics type) must be
parameterized.
If, in the setting data SD55740 $MNS_MEA_FUNCTION_MASK bit 7 is set, then depending on the
setting, the kinematics can be measured based on the calculated or based on the rotary axis
vectors saved in the swivel data set.
Requirements
The following requirements must be met in order to use CYCLE9960 (measure kinematics):
• SIEMENS measuring cycles package is installed
• Workpiece probe is calibrated
• Calibration ball is mounted
• Tool carrier with orientation capability (MD18088 $MN_MM_NUM_TOOL_CARRIER > 0) or
kinematic chain is set up
SINUMERIK Operate
480
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.8 Turning on milling machines
• The basic geometry of the machine (X, Y, Z) is rectangular and referenced
The right angle refers to the workpiece spindle and should be preferably checked using a test
mandrel.
• Defined position of the rotary axes involved in the transformation
• Defined traverse directions in compliance with the standard of all axes involved in the
transformation according to ISO 841-2001 and/or DIN 66217 (righthand rule)
• Defined size of the protocol file (MD11420 $MN_LEN_PROTOCOL_FILE ≥ 20)
Additional information
The precise procedure when measuring and programming CYCLE9960, including examples, is
provided in the
Programming Manual Measuring Cycles.
19.8
Turning on milling machines
You can set up the turning technology as an extended technology on milling machines. The
operating software has all the setting options of a milling machine and a turning machine. For
example, the rotary table can be set at a high speed for the turning of the workpiece. The turning
tool is then clamped in the milling spindle and can be used in various positions.
Machine manufacturer
Please refer to the machine manufacturer's specifications.
19.8.1
Setting up machine data and setting data
Setting up parameters
Machine data
Set the following machine data to set up the technology:
MD10602 $MN_FRAME_GEOAX_CHANGE_MODE
Frames when switching over geometry axes
= 1
The current complete frame is calculated again when the geometry axes are switched over,
and the translations, scalings and mirrorings of the new geometry axes are effective. The
rotations of the old geometry axes are retained.
MD18114 $MN_MM_ENABLE_TOOL_ORIENT
Assign orientation to cutting edges
= 0
The tool orientation function is not active.
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
481
Technologies and cycles
19.8 Turning on milling machines
- OR -
= 3
Each tool cutting edge D = m of tool T = n is assigned to the following system parameters:
$TC_DPV[n, m] and $TC_DPV3 - $TC_DPV5
$TC_DPVN3[n, m], $TC_DPVN4[n, m] and $TC_DPVN5[n, m]
Note
If you use angular tools (type 130) with variable tool orientation, you require the setting
MD18114 = 3.
MD51226 $MNS_FUNCTION_MASK_SIM
Simulation function screen
Bit 5 = 1
Turning tool in tool spindle rotatable (for simulation)
MD51781 $MNS_MEA_T_PROBE_THICKNESS
Tool probe thickness for the automatic approach of
turning tools to the probe on milling/turning ma-
chines
= 0
Default value
MD20100 $MC_DIAMETER_AX_DEF
Geometry axis with transverse axis function
=X
The machine data defines a geometry axis as transverse axis.
MD20110 $MC_RESET_MODE_MASK
Definition of control initial setting after reset / end
of part program
Bit 0 = 1
Default value for system
MD20112 $MC_START_MODE_MASK
Definition of the basic control setting after part pro-
gram start
Bit 7 = 0
The current setting for the active transformation is retained.
MD20124 $MC_TOOL_MANAGEMENT_TOOLHOLDER
Tool holder number
= 1
Variable
MD20125 $MC_CUTMOD_ERR
Alarm display for CUTMOD errors
= CFFFH
Display alarms for CUTMOD errors
MD20150 $MC_GCODE_RESET_VALUES[21]
Initial setting of the G groups
= 2
Initial setting of G group 22 on CUT2DF
SINUMERIK Operate
482
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.8 Turning on milling machines
MD20150 $MC_GCODE_RESET_VALUES[55]
Initial setting of the G groups
= 3
Initial setting of G group 56 TOWWCS
MD20152 $MC_GCODE_RESET_MODE[21]
Reset behavior of the G groups
= 0
Reset behavior of G group 22
MD20152 $MC_GCODE_RESET_MODE[55]
Reset behavior of the G groups
= 3
Reset behavior of G group 56 TOWWCS
MD20360 $MC_TOOL_PARAMETER_DEF_MASK
Definition of the tool parameters
Bit 17 = 0
With CUTMOD for turning and grinding tools, the cutting edge for the calculation of the
compensation values is not configured in the machining plane.
Bit 18 = 1
With CUTMOD for turning and grinding tools, always use the active plane for turning and
grinding tools.
Bit 22 = 1
Consider tool wear with active kinematic transformation in real time.
MD21203 $MC_LIFTFAST_MODE_MASK
Settings for fast lifting
Bit 0 = 1
This bit activates the monitoring of the direction for LIFTFAST for thread turning.
MD24030 $MC_FRAME_ACS_SET
SZS coordinate system setting
= 1
SZS results from the WCS transformed with the $P_CYCFRAME
MD35040 $MA_SPIND_ACTIVE_AFTER_RESET[ ]
Reset behavior of the spindle
[Tool spindle] = 2
Do not stop tool spindle during jog → spindle is listed in the T,S,M screen
[Turning spindle] = 2
Do not stop turning spindle during jog → spindle is listed in the T,S,M
screen
MD52001 $MCS_DISP_COORDINATE_SYSTEM_2
Definition of the displayed directions in the user
interface for turning operations (variable)
= 0
MD52200 $MCS_TECHNOLOGY
Technology
= 2
Milling
MD52201 $MCS_TECHNOLOGY_EXTENSION
Extended technology
= 1
Turning
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
483
Technologies and cycles
19.8 Turning on milling machines
MD52206 $MCS_AXIS_USAGE[ ]
Meaning of the axes in the channel
[Tool spindle] = 1
Tool spindle
[Turning spindle] = 3
Turning spindle
MD52207 $MCS_AXIS_USAGE_ATTRIB[turning spindle]
Attributes of the axes
Bit 8 = 1
Offer rotary axis for blank clamping
MD52212 $MCS_FUNCTION_MASK_TECH
General function screen for all technologies
Bit 10 = 1
Align the turning tool via kinematics transformation
MD52214 $MCS_FUNCTION_MASK_MILL
Milling function screen
Bit 1 = 1
Offer fixed table for blank clamping
Note
Only set bit 1 in MD52214 when a fixed table is used in addition to a rotary table.
MD52780 $MCS_J_MEA_T_PROBE_APPR_MODE
Approach mode for measuring a tool in JOG
= 0
Technology-dependent approaching of the tool probe (default value)
Turning technology: Manual approach
Milling technology: Automatic approach
= 1
Technology-independent approaching of the tool probe
Manual approaching of the tool probe
= 2
Technology-independent approaching of the tool probe
Automatic approaching of the tool probe
MD52242 $MCS_TURN_TOOL_FIXING
Tool adapter for turning tools
= 0
Turning tools in tool spindle
= 1
Turning tools fixed on the tool headstock
= 2
Turning tools in the tool spindle or fixed on the tool headstock
Note
Depending on the set mounting alignment in MD52242, different parameters are available in
the "Align Turning Tool" dialog.
SINUMERIK Operate
484
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.8 Turning on milling machines
Setting data
The following setting data is recommended. Set the setting data to set up the technology:
NOTICE
Risk of collision
Value changes of SD42940, SD42942 and SD42950 during the program execution can cause
collisions. Only set the setting data during the commissioning.
SD42935 $SC_WEAR_TRANSFORM
Transformations for tool components
= 1
Orientation for milling tools: Standard
G group 56: Observe or set TOWWCS
SD42940 $SC_TOOL_LENGTH_CONST
Change of tool length components at change of
plane
= 17
L1 = Z, L2 = Y, L3 = X
SD42942 $SC_TOOL_LENGTH_CONST_T
Change of tool length components for turning tools
at change of plane
= 19
L1 = Z, L2 = Y, L3 = X
Note
SD42942 is only evaluated after setting SD42950.
SD42950 $SC_TOOL_LENGTH_TYPE
Assignment of the tool length offset independent
of tool type
= 3
The assignment of the tool length components is performed separately for the turning and
grinding tools (tool types 400 to 599) on the one hand and all other tools (milling tools) on
the other hand.
SD42954 $SC_TOOL_ORI_CONST_M
Change of tool orientation components for milling
tools at change of plane
= 0
Orientation for milling tools: Standard
SD42956 $SC_TOOL_ORI_CONST_T
Change of tool orientation components for turning
tools at change of plane
= 18
Orientation for turning tools: G18
SD42998 $SC_CUTMOD_PLANE_TOL
Difference between tool tip plane and machining
plane
= 5
Maximum permissible difference for gamma of 0° to 180°
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
485
Technologies and cycles
19.8 Turning on milling machines
SD42999 $SC_ORISOLH_INCLINE_TOL
Difference between tool tip plane and machining
plane for ORISOLH
= 1
Maximum permissible inclination of the tool tip compared to the G18 plane for "Align tool
directly"
In the following setting data, index [k] stands for the number of the current data field (probe
number -1) of the probe.
SD54633 $SNS_MEA_TP_TYPE[k]
Probe type, cube/disk
= 0
Compatibility (measuring cycles: cube, turning surface shows probe, milling surface shows
disk)
= 3
Cube
SD54648 $SNS_MEA_TPW_TYPE[k]
Probe version
= 0
Compatibility (measuring cycles: cube, turning surface shows probe, milling surface shows
disk)
= 3
Cube
Additional settings
• Set the current zero point in the center point of the turning tool, e.g. via a settable zero offset.
• Change the tool before the "Align turning tool" cycle call.
• Program the tool in the part program for the simulation.
Note
No tool is active after the start of the simulation.
• After the "Align turning tool" cycle call, traverse the tool to Y = 0.
• Limit the maximum speed of the tool spindle, e.g. with the tool change cycle, in order to
avoid too high a speed of the turning tool.
• The turning tools in the tool management are automatically set up by the system. You can
make your own modifications in file sltmmillturnlistconfig.xml, for example, for the OEM tool
list.
19.8.2
Setting up a kinematics transformation
In order to be able to use the turning on milling machines technology, at least one kinematics
transformation must be set up for turning.
Requirement
A kinematic chain is already available for the machine.
SINUMERIK Operate
486
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4

 

 

 

 

 

 

 

Content      ..     5      6      7      8     ..