Cycle_Programming
Cycle_Programming
1
______________
General
Cycles 4
______________
Turning cycles
A
______________
List of abbreviations
B
______________
List of parameters
Valid for
Controls
SINUMERIK 840D sl/840DE sl
SINUMERIK 840D powerline/840DE powerline
SINUMERIK 840Di powerline/840DiE powerline
SINUMERIK 810D powerline/810DE powerline
Software Version
NCU system software for 840D sl/840DE sl 1.3 with
cycles 6.5
cycles for 840D/840DE 6.5
cycles for 840Di/840DiE 6.5
cycles for 810D/810DE 6.5
6FC5398-3BP10-0BA0
Safety Guidelines
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
Danger
indicates that death or severe personal injury will result if proper precautions are not taken.
Warning
indicates that death or severe personal injury may result if proper precautions are not taken.
Caution
with a safety alert symbol, indicates that minor personal injury can result if proper precautions are not taken.
Caution
without a safety alert symbol, indicates that property damage can result if proper precautions are not taken.
Notice
indicates that an unintended result or situation can occur if the corresponding information is not taken into
account.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The device/system may only be set up and used in conjunction with this documentation. Commissioning and
operation of a device/system may only be performed by qualified personnel. Within the context of the safety notes
in this documentation qualified persons are defined as persons who are authorized to commission, ground and
label devices, systems and circuits in accordance with established safety practices and standards.
Prescribed Usage
Note the following:
Warning
This device may only be used for the applications described in the catalog or the technical description and only in
connection with devices or components from other manufacturers which have been approved or recommended by
Siemens. Correct, reliable operation of the product requires proper transport, storage, positioning and assembly
as well as careful operation and maintenance.
Trademarks
All names identified by ® are registered trademarks of the Siemens AG. The remaining trademarks in this
publication may be trademarks whose use by third parties for their own purposes could violate the rights of the
owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
Preface
Information about training courses and FAQs (Frequently Asked Questions) can be found at
the following website:
http://www.siemens.com/motioncontrol , under "Support"
Target group
This documentation is intended for machine tool programmers.
Benefits
This programming manual enables the target group to develop, write, and test programs and
to correct errors.
Standard scope
The functionality of the standard scope (cycles SW 6.5) is described in this programming
manual. Additions or changes made by the machine tool manufacturer are documented by
the machine tool manufacturer.
It may be possible to execute other functions not described in this documentation in the
control. This does not, however, represent an obligation to supply such functions with a new
control or when servicing.
Further, for the sake of simplicity, this documentation does not contain all detailed
information about all types of the product and cannot cover every conceivable case of
installation, operation or maintenance.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 iii
Preface
Technical Support
If you have questions, contact the following hotline:
Note
Country telephone numbers for technical support are provided at the following Internet
address:
http://www.siemens.com/automation/service&support
Cycles
iv Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Preface
Validity
This Programming Guide is valid for Cycles Version 6.5.
Structure of descriptions
All cycles and programming options have been described according to the same internal
structure, as far as this is meaningful and practicable. The various levels of information have
been organized such that you can selectively access the information you need for the task in
hand.
Supplementary devices
The applications of SIEMENS controls can be expanded for specific purposes through the
addition of special add-on devices, equipment and expansions supplied by SIEMENS.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 v
Preface
Cycles
vi Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Table of contents
Preface ...................................................................................................................................................... iii
1 General................................................................................................................................................... 1-1
1.1 Overview of cycles ..................................................................................................................... 1-1
1.1.1 Drilling cycles, hole pattern cycles, milling cycles, and turning cycles ...................................... 1-1
1.1.2 Cycle auxiliary subroutines ........................................................................................................ 1-2
1.2 Programming cycles .................................................................................................................. 1-3
1.2.1 Call and return conditions .......................................................................................................... 1-3
1.2.2 Messages during execution of a cycle....................................................................................... 1-4
1.2.3 Cycle call and parameter list...................................................................................................... 1-4
1.2.4 Simulation of cycles ................................................................................................................... 1-7
1.3 Cycle support in the program editor........................................................................................... 1-8
1.3.1 Menus, cycle selection............................................................................................................... 1-8
1.3.2 Functions of the input screen forms........................................................................................... 1-9
1.4 Cycle support for user cycles................................................................................................... 1-18
1.4.1 Overview of necessary files ..................................................................................................... 1-18
1.4.2 Getting started with cycle support............................................................................................ 1-18
1.4.3 Cycle support configuration ..................................................................................................... 1-19
1.4.4 Bitmap size and screen resolution ........................................................................................... 1-20
1.4.5 Bitmap storage in the data management of HMI Advanced .................................................... 1-20
1.4.6 Bitmap handling for HMI Embedded........................................................................................ 1-21
1.5 Cycle startup ............................................................................................................................ 1-22
1.5.1 Machine data............................................................................................................................ 1-22
1.5.2 Definition files for cycles GUD7.DEF and SMAC.DEF ............................................................ 1-23
1.5.3 New delivery forms for cycles in HMI Advanced...................................................................... 1-25
1.5.4 Upgrading the cycles with SW 6.4 and higher in HMI Advanced with SW 6.3 and higher ...... 1-25
1.6 Additional functions for cycles.................................................................................................. 1-26
2 Drilling cycles and drilling patterns.......................................................................................................... 2-1
2.1 Drilling cycles ............................................................................................................................. 2-1
2.1.1 General information ................................................................................................................... 2-1
2.1.2 Requirements............................................................................................................................. 2-2
2.1.3 Drilling, centering - CYCLE81 .................................................................................................... 2-4
2.1.4 Drilling, counterboring - CYCLE82:............................................................................................ 2-7
2.1.5 Deep-hole drilling - CYCLE83.................................................................................................. 2-10
2.1.6 Rigid tapping - CYCLE84......................................................................................................... 2-18
2.1.7 Tapping with compensating chuck - CYCLE840 ..................................................................... 2-25
2.1.8 Boring 1 - CYCLE85 ................................................................................................................ 2-32
2.1.9 Boring 2 - CYCLE86 ................................................................................................................ 2-35
2.1.10 Boring 3 - CYCLE87 ................................................................................................................ 2-39
2.1.11 Boring 4 - CYCLE88 ................................................................................................................ 2-42
2.1.12 Boring 5 - CYCLE89 ................................................................................................................ 2-45
2.2 Modal call of drilling cycles ...................................................................................................... 2-48
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 vii
Table of contents
Cycles
viii Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Table of contents
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 ix
Table of contents
Cycles
x Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
General
The first section provides you with an overview of the available cycles. The following
1
sections describe the general conditions that apply to all cycles regarding
• Programming the cycles and
• Operator guidance for calling the cycles.
beschrieben.
1.1.1 Drilling cycles, hole pattern cycles, milling cycles, and turning cycles
You can run the following cycles with the SINUMERIK 810D, 840D and 840Di controls:
Drilling cycles
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 1-1
General
1.1 Overview of cycles
Milling cycles
Turning cycles
CYCLE93 Recess
CYCLE94 Undercut (DIN form E and F)
CYCLE95 Stock removal with relief cutting
CYCLE96 Thread undercut (DIN forms A, B, C, and D)
CYCLE97 Thread cutting
CYCLE98 Chaining of threads
CYCLE950 Extended stock removal
Cycles
1-2 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
General
1.2 Programming cycles
Note
The cycles are supplied on diskette/CD or with the relevant software version for HMI
Advanced. They are loaded to the part program memory of the control via the V.24 interface
or from the diskette drive (see operator's guide).
=
$SSOLFDWH
<
QDWH
* UGL
2
*
*
$E
VF
LVV
D
;
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 1-3
General
1.2 Programming cycles
Note
You can find a summary of all messages in Appendix A of this programming guide.
Note
Cycle calls always require a block for themselves.
Cycles
1-4 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
General
1.2 Programming cycles
If you want to exclude the last transfer parameters that have to be written in a call, you can
prematurely terminate the parameter list with ")". If any parameters are to be omitted within
the list, a comma "..., ,..." must be written as a placeholder.
Note
No plausibility checks are made of parameter values with a discrete or limited value range
unless an error response has been specifically described for a cycle.
During a cycle call, if the parameter list contains more entries than there are parameters
defined in the cycle, the general NC alarm 12340 "Too many parameters" appears, and the
cycle is not executed.
Cycle call
The various methods for writing a cycle call are shown in the following example, CYCLE100,
which requires the following input parameters.
Example
This cycle is called via the Cycle100 (FORM, MID, FFR, VARI, FAL) command.
1. parameter list with constant values
Rather than input individual parameters, you can directly enter the concrete values to be
used in the cycle.
Example
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 1-5
General
1.2 Programming cycles
As R parameters are predefined as type real, it is important to ensure that the type of the
target parameter in the cycle is compatible with the type real.
Note
More detailed information about data types and type conversion and compatibility is given in
the Programming Guide.
In the event of type incompatibilities, the system displays alarm 12330 "Type of parameter ...
incorrect".
Cycles
1-6 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
General
1.2 Programming cycles
Function
In HMI Embedded configurations, the program runs normally in the NC and the traversing
motion is traced on screen during simulation.
In HMI Advanced configurations, the program is simulated on the HMI only. This makes it
possible to run cycles without tool data or without prior selection of a tool offset in the MM.
The finished contour is then traversed in the case of cycles that have to include tool offset
data in the calculation of their traversing motion (e.g., milling pockets and grooves, turning
with recess) and a message indicates that simulation without tool is active.
This function can be used, for example, to check the position of the pocket.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 1-7
General
1.3 Cycle support in the program editor
Function
The cycle support offers the following functions:
• Cycle selection via soft keys
• Input screen forms for parameter assignment with help displays
• Online help for each parameter (HMI Advanced only)
• Support of contour input
From the individual screen forms, a program code that can be reset is generated.
&RQWRXU Geometry input via the geometry processor or contour definition screen forms
%RUH Input screen forms for drilling cycles and drilling patterns
After confirming the screen form input by clicking OK, the technology selection bar remains
visible. Similar cycles are supplied from shared screen forms. Within the screen forms, it is
then possible to switch between cycles via soft key, e.g., for tapping or undercut.
The editor cycle support also contains screen forms that insert a multi-line DIN code in the
program instead of a cycle call, e.g., contour definition screen forms and the input of any
drilling positions.
Cycles
1-8 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
General
1.3 Cycle support in the program editor
Function
• Many cycles allow you to influence the processing type via the VARI parameter. It often
contains several settings composing one code. In the cycle support screen forms, these
individual settings can be divided among different input fields that can be switched using
the toggle key.
• The input screen forms are changed dynamically. Only the input fields required for the
selected processing type are displayed. Unnecessary input fields are not shown.
• One input may, therefore, automatically assign several dependent parameters. This is the
case for thread cutting, where metric thread tables are currently supported. During the
thread cutting cycle CYCLE97, for example, with input 12 in the input box for the thread
size (parameter MPIT), the thread pitch (parameter PIT) is automatically assigned a value
of 1.75 and the thread depth (parameter TDEP) is automatically assigned a value of
1.074. This function is not active if the metric thread table has not been selected.
• If a screen form is displayed a second time, the most recently entered values are
assigned to all fields. When cycles are called up several times in a row in the same
program (e.g., pocket milling when roughing and finishing), few parameters then have to
be changed.
• In screen forms for drilling and milling cycles, certain parameters may be input as
absolute or incremental values. The abbreviation ABS for absolute and INC for
incremental input is displayed behind the input field. This can be toggled with the
"Alternative" soft key. This setting will remain the next time these screen forms are called.
Alter-
native
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 1-9
General
1.3 Cycle support in the program editor
• HMI Advanced allows you to view additional information on each cycle parameter in the
online help. If the cursor is positioned on a parameter and the help icon appears in the
lower right corner, the help function can be activated.
By pressing the info key, the parameter explanation is displayed from the Cycle
Programming Guide.
Cycles
1-10 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
General
1.3 Cycle support in the program editor
3DJH
XS
Paging backward in the documentation
3DJH
GRZQ
Paging forward in the documentation
1H[WHQWU\
Enables the user to jump to another piece of text included in the help display
*RWR
Enables the user to jump to a selected piece of text
=RRP
Zoom the text in the help window
=RRP
Reduce the text in the help window
([LW
KHOS
Return to the cycle screen form
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 1-11
General
1.3 Cycle support in the program editor
&RQWRXU
OLQH
&RQWRXU
OLQH
These consist of one or more straight lines with intermediary contour transition elements
(radii, chamfers). Each contour element may be preassigned by means of end points or point
and angle and supplemented by a free DIN code.
Example
The following DIN code is generated from the following input screen form for a contour
definition with two straight lines:
Cycles
1-12 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
General
1.3 Cycle support in the program editor
Drilling support
The drilling support includes a selection of drilling cycles and drilling patterns.
The "Drilling pattern position" soft key branches into a submenu with a selection of several
drilling patterns.
'ULOOLQJ
FHQWHULQJ
'HHSKROH
GULOOLQJ
%RUH
7DSSLQJ
'HVHOHFW
PRGDO
Note
Cycles CYCLE81, CYCLE87 and CYCLE89 cannot be parameterized with this support. The
function of CYCLE81 is covered by CYCLE82 ("Drilling, centering" soft key), as is the
function of CYCLE89. The function of CYCLE87 is covered by the function of CYCLE88
("Drilling, centering" -> "Drilling with stop" soft keys).
Drilling patterns may be repeated if, for example, drilling and tapping are to be executed in
succession. To this end, a name for the drilling pattern, which is later entered in the "Repeat
Position" screen form, is assigned in the drilling pattern.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 1-13
General
1.3 Cycle support in the program editor
Moreover, any drilling position may be entered as a repeatable drilling pattern by means of
screen forms.
Up to 5 positions can be programmed in the plane; all values are optionally absolute or
incremental (can be toggled with "Alternative" soft key). The "Delete all" soft key generates
an empty screen form.
Cycles
1-14 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
General
1.3 Cycle support in the program editor
Milling support
Milling support includes the following selection possibilities:
The "Standard pockets", "Grooves", and "Spigot" soft keys each branch into submenus with
a selection of several pocket, groove, or spigot cycles.
)DFH 7KUHDG
PLOOLQJ PLOOLQJ
3DWK 6ZLYHOLQJ
PLOOLQJ F\FOHV
6WDQGDUG
PLOOLQJ
*URRYHV
6SLJRW
!!
Note
Pocket milling cycles POCKET1 and POCKET2 cannot be parameterized with this support.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 1-15
General
1.3 Cycle support in the program editor
Turning support
Turning support includes the following selection possibilities:
&XW
The undercut cycles for forms E and F (CYCLE94) as well as for the thread undercuts of
forms A to D (CYCLE96) are grouped together under the "Undercut" soft key.
7KUHDG
The "Thread" soft key contains a submenu for selection between single thread cutting or
*URRYH thread chaining.
8QGHUFXW
Recompiling
Retranslating program codes serves to change an existing program with the help of cycle
support. The cursor is placed on the line to be changed, and the "Recompile" soft key is
pressed.
This reopens the corresponding input screen form, which created the program piece, and
values may be modified.
Entering modifications directly into the created DIN code may prevent recompilation.
Therefore, consistent use of the cycle support is required and modifications are to be carried
out with the help of recompilation.
Cycles
1-16 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
General
1.3 Cycle support in the program editor
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 1-17
General
1.4 Cycle support for user cycles
Note
Any names can be chosen for the cycle support configuration files (*.com ).
Function
The horizontal soft key HS6 in the program editor is designated as the Entry soft key for user
cycles. Its function must be configured in file aeditor.com. Assign a text to the soft key and
configure a function in the press block for soft key operation.
Example
//S(Start)
...
HS5=($80270,,se1)
PRESS(HS5)
LS("Turning",,1)
END_PRESS
HS6=("Usercycle",,se1) ;HS6 is configured with the "Usercycle" text
PRESS(HS6)
LS("SK_Cycles1","cycproj1") ;When the soft key is pressed, a soft key bar is
;loaded from the file cycproj1.com
END_PRESS
Cycles
1-18 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
General
1.4 Cycle support for user cycles
%_N_COMMON_COM
;$PATH=/_N_CUS_DIR
...
[MMC_DOS]
...
SC315=AEDITOR.COM
SC316=AEDITOR.COM
Function
The soft key bars and input screen forms of cycle support can be configured in any file and
stored as type *.com in the HMI of the control.
A detailed description of the configuration is given in:
References: /IAM/, HMI Installation and Startup Guide: BE1 "Expanding the User Interface"
In HMI Advanced, the *.com files are stored in data management in the directories:
• dh\cst.dir (for Siemens cycles)
• dh\cma.dir or
• dh\cus.dir
and the usual search sequence is followed: cus.dir, cma.dir, cst.dir. The files are not loaded
into the NCU.
For HMI Embedded, the *.com files can be loaded into the NCU (read in via "Services" using
V.24). But as they occupy NC memory there, it is better to integrate them in the HMI. They
must be packed and incorporated into the application software of the HMI version. The tool
to pack the files is included with the standard cycle software under \hmi_emb\tools.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 1-19
General
1.4 Cycle support for user cycles
Cycles
1-20 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
General
1.4 Cycle support for user cycles
Introduction
With HMI Embedded, the bitmaps are incorporated in the HMI software. They are grouped
together into a package cst.arj. Bitmaps can always be integrated in *.bmp format. However,
to save more space and display faster, use a *.bin binary format.
Requirement
In order to generate this, you need the tools supplied in the \hmi_emb\tools directory of the
standard cycles software:
• arj.exe, bmp2bin.exe and
• sys_conv.col
• arj_idx.exe
and the script files:
• mcst_640.bat,
• mcst_800.bat or
• mcst1024.bat.
File cst.arj contains all standard and user cycle bitmaps, so you will have to link together the
standard cycle bitmaps and your own bitmaps.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 1-21
General
1.5 Cycle startup
Notice
These specifications are valid only for the Siemens standard cycles.
For user cycles, the corresponding values must be added.
When using ShopMill or ShopTurn, comply with the information relevant to these products.
The machine data files are delivered with these defaults by the machine manufacturer.
Remember: Any changes you make to these machine data will not apply until you perform a
power ON.
Notice
For the cycle CYCLE840 (tapping with compensating chuck), the axis-specific machine data
element MD 30200: NUM_ENCS must also be taken into account.
Cycles
1-22 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
General
1.5 Cycle startup
Note
Additional IDs not shown here can also be used by the system!
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 1-23
General
1.5 Cycle startup
According to the definition of Defining user data (see programming guide "Defining user
data" production planning), the GUD7 blocks and the SMAC.DEF are NOT available to the
machine tool manufacturer/user! MGUD, UGUD, GUD4,8,9 and MMAC, UMAC should
preferably be employed in user applications.
However, in order to give users the option of integrating their existing definitions in these
blocks in this system, the following IDs are kept free:
File ID Assignment
xxx_CMA Manufacturer
xxx_CUS User
Note
When loading or unloading individual definition files, if a call-up file is already loaded it
must be unloaded and then reloaded. Otherwise, the NC retains the previous GUD/macro
configuration.
Cycles
1-24 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
General
1.5 Cycle startup
1.5.4 Upgrading the cycles with SW 6.4 and higher in HMI Advanced with SW 6.3 and
higher
When upgrading a cycle version with SW 6.4 and higher, the archives in HMI Advanced
must first be exchanged under:
→ Archives/cycle archives.
To this end, the supplied software contains several archives for overwriting the existing cycle
archives. These archives can be found in the supply software in the path
→ hmi_adv
References: For current information, see:
• "siemensd.txt" file in the supplied software (standard cycles) or
• In the case of HMI Advanced, F:\dh\cst.dir\HLP.dir\siemensd.txt.
Once the cycle archives have been overwritten, they must be loaded as described in the
previous section "New delivery forms for cycles in HMI Advanced".
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 1-25
General
1.6 Additional functions for cycles
Version display
To provide an overview and for diagnosis of the cycle versions and their definition files, as of
SW 6.3 it will be possible to display and use version screens.
These can be found in HMI under "Diagnostics => "Service displays" => "Version" => "Cycle
Version" or "Definit. Version". A LOG file in ASCII format can be generated and read out
under "Services" => "Diagnostics" => "LOG files".
Note
This function can also only be run with HMI software versions SW 6.3 and higher.
Package lists
A new file type for packages lists is introduced:
*.cyp (for cycle package), cycle package list in plain text.
Users can create package lists for their own cycle packages. They must look like this:
Structure of a package list:
Cycles
1-26 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
General
1.6 Additional functions for cycles
Example
%_N_CYC_USER1_CYP
;$PATH=/_N_CUS_DIR
;VERSION: 01.02.03 31.10.2002 ;PACKAGE: $85200
ZYKL1.SPF
ZYKL2.SPF
ZYKL3.COM
M30
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 1-27
General
1.6 Additional functions for cycles
Note
The cycle package name behind the keyword PACKAGE can also be written as a string in "
". However, it is language-dependent in this case.
%_N_ZYKL1_SPF
;$PATH=/_N_CUS_DIR
;VERSION: 01.02.03 31.10.2002
;Comment
PROC CYCLE1(REAL PAR1)
...
Cycles
1-28 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Drilling cycles and drilling patterns 2
2.1 2.1 Drilling cycles
Function
Drilling cycles are motional sequences specified according to DIN 66025 for drilling, boring,
tapping, etc.
They are called in the form of a subroutine with a defined name and a parameter list.
Boring cycles
A total of five cycles is provided for boring. They all follow a different technological procedure
and are, therefore, parameterized differently:
The drilling cycles can be modal, that is, they are executed at the end of each block
containing motion commands. Other cycles written by the user can also be called modally.
Parameters
There are two types of parameters:
• Geometrical parameters and
• Machining parameters
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 2-1
Drilling cycles and drilling patterns
2.1 Drilling cycles
The geometrical parameters are identical for all drilling cycles, drilling pattern cycles and
milling cycles. They define the reference and retraction planes, the safety clearance and the
absolute or relative final drilling depth. Geometrical parameters are assigned once during the
first drilling cycle CYCLE81.
The machining parameters have a different meaning and effect in the individual cycles. They
are therefore programmed in each cycle separately.
*HRPHWULFDOSDUDPHWHUV
5HWUDFWLRQSODQH
6DIHW\FOHDUDQFH
5HIHUHQFHSODQH
)LQDOGULOOLQJGHSWK
2.1.2 Requirements
Cycles
2-2 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Drilling cycles and drilling patterns
2.1 Drilling cycles
Plane definition
Drilling cycles generally assume that the current workpiece coordinate system, in which the
machining operation is to be performed, has been defined by selecting a plane (G17, G18 or
G19) and activating a programmable frame. The drilling axis is always the axis in this
coordinate system that is vertical on this plane.
A tool length compensation must be selected before the cycle is called. Its effect is always
perpendicular to the selected plane and remains active even after the end of the cycle.
FRPSHQVDWLRQ
'ULOOLQJD[LV
/HQJWK
Spindle handling
The drilling cycles are set up such that the spindle commands they contain always refer to
the active master spindle of the control system. If you want to use a drilling cycle on a
machine with several spindles, you must first define the spindle with which you will be
working as the master spindle.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 2-3
Drilling cycles and drilling patterns
2.1 Drilling cycles
Function
The tool drills at the programmed spindle speed and feedrate to the specified final drilling
depth.
;
Programming
CYCLE81 (RTP, RFP, SDIS, DP, DPR)
Parameters
Cycles
2-4 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Drilling cycles and drilling patterns
2.1 Drilling cycles
% ; =
Sequence
Position reached prior to cycle start:
The drilling position is the position in the two axes of the selected plane.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 2-5
Drilling cycles and drilling patterns
2.1 Drilling cycles
=
*
*
573
5)36',6
5)3
;
'3 5)3'35
Note
If the values for reference and retraction planes are identical, a relative depth specification is
not permitted. The error message 61101 "Reference plane defined incorrectly" is output and
the cycle is not executed.
This error message is also output if the retraction plane is located after the reference plane,
i.e. its distance to the final drilling depth is smaller.
Note
If a value is entered both for DP and for DPR, the final drilling depth is derived from DPR. If
this differs from the absolute depth programmed via DP, the message "Depth:
Corresponding to value for relative depth" is output in the dialog line.
Cycles
2-6 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Drilling cycles and drilling patterns
2.1 Drilling cycles
Function
The tool drills at the programmed spindle speed and feedrate to the specified final drilling
depth. A dwell time can be allowed to elapse when the final drilling depth has been reached.
;
Programming
CYCLE82 (RTP, RFP, SDIS, DP, DPR, DTB)
Parameter
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 2-7
Drilling cycles and drilling patterns
2.1 Drilling cycles
%
; =
Sequence
Position reached prior to cycle start:
The drilling position is the position in the two axes of the selected plane.
The cycle creates the following sequence of motions:
• Approach of reference plane shifted by the amount of the safety clearance with G0
• Traversing to the final drilling depth at the feedrate programmed in the calling program
(G1).
• Execution of dwell time at final drilling depth.
• Retraction to the retraction plane with G0.
Cycles
2-8 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Drilling cycles and drilling patterns
2.1 Drilling cycles
=
*
*
*
573
5)36',6
5)3
;
'3 5)3'35
Note
For an explanation of the parameters RTP, RFP, SDIS, DP, and DPR, see Drilling,
centering – CYCLE81.
See also
Drilling, centering - CYCLE81 (Page 2-4)
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 2-9
Drilling cycles and drilling patterns
2.1 Drilling cycles
Function
The tool drills at the programmed spindle speed and feedrate to the entered final drilling
depth.
Deep hole drilling is performed with a depth infeed of a maximum definable depth executed
several times, increasing gradually until the final drilling depth is reached.
Optionally, the drilling machine can be retracted after each infeed depth either to the
reference plane + safety clearance for chip removal or by the length of the programmed
retraction path for chip breakage.
;
Programming
CYCLE83 (RTP, RFP, SDIS, DP, DPR, FDEP, FDPR, DAM, DTB, DTS, FRF,
VARI, _AXN, _MDEP, _VRT, _DTD, _DIS1)
Cycles
2-10 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Drilling cycles and drilling patterns
2.1 Drilling cycles
Parameter
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 2-11
Drilling cycles and drilling patterns
2.1 Drilling cycles
$
%
; =
Note
-> means: it must be programmed in a block.
Cycles
2-12 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Drilling cycles and drilling patterns
2.1 Drilling cycles
Sequence
Position reached prior to cycle start:
The drilling position is the position in the two axes of the selected plane.
The cycle creates the following sequence:
Deep-hole drilling with chip removal (VARI=1):
*
*
*
573
5)36',6
5)3
;
)'(3
)'(3
'3 5)3'35
• Approach of reference plane shifted by the amount of the safety clearance with G0
• Traversing to the first drilling depth with G1, whereby the feedrate results from the
feedrate programmed during the cycle call that is compensated with the FRF (feedrate
factor) parameter.
• Execution of dwell time at final drilling depth (DTB parameter).
• Retraction to the reference plane shifted by the amount of the safety clearance with G0
for chip removal.
• Execute dwell time at starting point (DTS parameter).
• Approach of the last drilling depth reached, minus the limit distance, programmable or
calculated within the cycle, with G0.
• Traversing to next drilling depth with G1 (motion sequence is continued until the final
drilling depth is reached).
• Retraction to the retraction plane with G0.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 2-13
Drilling cycles and drilling patterns
2.1 Drilling cycles
*
*
*
573
5)36',6
5)3
;
)'(3
'3 5)3'35
• Approach of reference plane shifted by the amount of the safety clearance with G0
• Traversing to the first drilling depth with G1, whereby the feedrate results from the
feedrate programmed during the cycle call that is compensated with the FRF (feedrate
factor) parameter.
• Execute dwell time at final drilling depth (DTB parameter).
• Variable retraction (Parameter _VRT) from the current drilling depth with G! and the
feedrate programmed in the calling program (for chip breakage).
• Traversing to next drilling depth with G1 and the programmed feedrate (motion sequence
is continued until the final drilling depth is reached).
• Retraction to the retraction plane with G0.
Cycles
2-14 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Drilling cycles and drilling patterns
2.1 Drilling cycles
Value Meaning
-12 Corresponds to the first drilling depth
-21 The incremental difference 9 results from the first drilling depth 12
minus the degression value 3
-27 Previous drilling depth minus degression value 3
-30, -33, -36 Degression value
-38, -40 Remaining depth divided into two cuts
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 2-15
Drilling cycles and drilling patterns
2.1 Drilling cycles
Value Meaning
-10 Corresponds to the first drilling depth
-18 The incremental difference 8 corresponds to 0.8 • the first drilling depth
-24.4, -29.52 The relevant previous drilling depth • degression factor
-34.52 Minimum drilling depth MDEP is in effect
-37.26, -40 Remaining depth divided into two cuts
Cycles
2-16 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Drilling cycles and drilling patterns
2.1 Drilling cycles
By programming the drilling axis via _AXN, it is possible to omit the switchover from plane
G18 to G17 when the deep-hole drilling cycle is used on turning machines.
The identifiers have the following meanings:
Note
For an explanation of the parameters RTP, RFP, SDIS, DP, and DPR, see Drilling,
centering – CYCLE81.
See also
Drilling, centering - CYCLE81 (Page 2-4)
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 2-17
Drilling cycles and drilling patterns
2.1 Drilling cycles
Function
The tool drills at the programmed spindle speed and feedrate to the entered final thread
depth.
CYCLE84 can be used to make tapped holes without compensating chuck.
The cycle is also capable of performing tapping operations in several stages (deep-hole
drilling).
Notice
CYCLE84 can be used if the spindle to be used for the boring operation is technically able to
be operated in the position-controlled spindle operation.
;
Programming
CYCLE84 (RTP, RFP, SDIS, DP, DPR, DTB, SDAC, MPIT, PIT, POSS, SST,
SST1, _AXN, _PTAB, _TECHNO, _VARI, _DAM, _VRT)
Parameter
Cycles
2-18 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Drilling cycles and drilling patterns
2.1 Drilling cycles
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 2-19
Drilling cycles and drilling patterns
2.1 Drilling cycles
%
; =
Note
-> means: it must be programmed in a block
Note
For tapping with compensating chuck, a separate cycle CYCLE840 is provided.
See also
Tapping with compensating chuck - CYCLE840 (Page 2-25)
Cycles
2-20 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Drilling cycles and drilling patterns
2.1 Drilling cycles
Sequence
Position reached prior to cycle start:
The drilling position is the position in the two axes of the selected plane.
The cycle creates the following sequence of motions:
• Approach of reference plane shifted by the amount of the safety clearance with G0
• Oriented spindle stop with SPOS (value in POSS parameter) and transfer of spindle to
axis operation.
• Tapping to final drilling depth with G331 and speed of rotation SST.
• Execute dwell time at thread depth (DTB parameter).
• Retraction to the reference plane brought forward by the safety clearance with G332,
speed of rotation SST1 and direction of rotation reversal.
• Retraction of the retraction plane with G0, by rewriting the last programmed spindle
speed of rotation before the cycle call and the direction of rotation programmed under
SDAC, the spindle operation is reinitiated (if this is programmed as such in the _TECHNO
parameter).
6'$&
=
*
*
*
*
573
5)36',6
5)3
;
'3 5)3'35
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 2-21
Drilling cycles and drilling patterns
2.1 Drilling cycles
By programming the drilling axis via _AXN, it is possible to omit the switchover from plane
G18 to G17 when deep-hole tapping is used on turning machines.
Cycles
2-22 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Drilling cycles and drilling patterns
2.1 Drilling cycles
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 2-23
Drilling cycles and drilling patterns
2.1 Drilling cycles
Note
The direction of rotation when tapping in the cycle is always reversed automatically.
Within the cycle, the programmed direction of rotation in the thread can be reversed via
_ZSD[7]. With this setting, the cycle on turning machines can be adjusted to the C-axis
direction described in DIN 66217,
_ZSD[7]=1: The programmed sign of the pitch is reversed within the cycle.
_ZSD[7]=0: The programmed sign of the pitch is retained within the cycle.
Note
For an explanation of the parameters RTP, RFP, SDIS, DP, and DPR, see Drilling,
centering – CYCLE81.
See also
Drilling, centering - CYCLE81: Additional information (Page 2-5)
Cycles
2-24 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Drilling cycles and drilling patterns
2.1 Drilling cycles
Function
The tool drills at the programmed spindle speed and feedrate to the entered final thread
depth.
With this cycle, tapped holes with compensating chuck can be made as follows:
6'$& 6'$&
= * = *
* *
*
573 573
5)36',6 5)36',6
5)3 5)3
; ;
6'5 6'5
Programming
CYCLE840 (RTP, RFP, SDIS, DP, DPR, DTB, SDR, SDAC, ENC, MPIT, PIT,
_AXN, _PTAB, _TECHNO)
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 2-25
Drilling cycles and drilling patterns
2.1 Drilling cycles
Parameter
Cycles
2-26 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Drilling cycles and drilling patterns
2.1 Drilling cycles
Example
%
; =
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 2-27
Drilling cycles and drilling patterns
2.1 Drilling cycles
Sequence
Tapping with compensating chuck without encoder (ENC = 1/11)
Position reached prior to cycle start:
The drilling position is the position in the two axes of the selected plane.
The cycle creates the following sequence of motions:
• Approach of reference plane shifted by the amount of the safety clearance with G0
• Tapping to final drilling depth with G63.
• Execute dwell time at thread depth (DTB parameter).
• Retraction to the reference plane brought forward by the safety clearance with G63.
• Retraction to the retraction plane with G0.
Notice
The spindle override must be set to 100%!
Note
For information about modal calling of drilling cycles, see Section 2.2.
Cycles
2-28 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Drilling cycles and drilling patterns
2.1 Drilling cycles
ENC (tapping)
To perform tapping without encoder although an encoder exists, parameter ENC must be set
to x1.
However, if an encoder is not present, and the parameter has a value of x0, it is not taken
into account during the cycle.
• Tapping without encoder, with indication of pitch
You can calculate the correlation between feedrate and speed via the programmed pitch
within the cycle for tapping without encoder (G63 thread). The speed must be
programmed before the cycle is called.
You can specify the pitch either via MPIT (metric thread unit) or via PIT (thread pitch as
value) just as for tapping without encoder.
The feedrate is then calculated in the cycle from the pitch and the speed. After the cycle
has ended, the last programmed feedrate applies again.
Programming:
ENC=11, program the pitch in MPIT or PIT
• Tapping with encoder, with dwell time
As an alternative, you can program a dwell time in the parameter DTB for tapping with
encoder (G33 thread). It applies after tapping and before retraction to the retraction plane
RTP, and is required for machines with unfavorable spindle dynamics.
Programming:
ENC=20, enter the dwell time in parameter DTB
MPIT and PIT (as thread size and as value)
The parameter for the pitch is only relevant if tapping is performed with encoder. The cycle
calculates the feedrate from the spindle speed and the pitch.
The value for the thread pitch can be defined either as the thread size (for metric threads
between M3 and M48 only) or as a value (distance from one thread turn to the next as a
numerical value). The parameter not required in each case is omitted in the call or is
assigned the value zero.
If the two thread pitch parameters have conflicting values, alarm 61001 "Thread pitch wrong"
is generated by the cycle and cycle execution is aborted.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 2-29
Drilling cycles and drilling patterns
2.1 Drilling cycles
By programming the drilling axis via _AXN, it is possible to omit the switchover from plane
G18 to G17 when the deep-hole tapping cycle is used on turning machines. The identifiers
have the following meanings:
Cycles
2-30 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Drilling cycles and drilling patterns
2.1 Drilling cycles
Note
Depending on the setting in machine data NUM_ENCS, the cycle selects whether tapping is
to be performed with or without encoder.
The direction of rotation for the spindle must be programmed with M3 or M4.
In thread blocks with G63, the values of the feedrate override switch and spindle speed
override switch are frozen to 100%.
A longer compensating chuck is usually required for tapping without encoder.
Note
For an explanation of the parameters RTP, RFP, SDIS, DP, and DPR, see Drilling,
centering – CYCLE81.
See also
Drilling, centering - CYCLE81: Additional information (Page 2-5)
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 2-31
Drilling cycles and drilling patterns
2.1 Drilling cycles
Function
The tool drills at the programmed spindle speed and feedrate velocity to the entered final
drilling depth.
The inward and outward movement is performed at the feedrate assigned to FFR and RFF
respectively.
This cycle can be used for reaming of bore holes.
573
6',6
5)3
;
'3
Programming
CYCLE85 (RTP, RFP, SDIS, DP, DPR, DTB, FFR, RFF)
Parameter
Cycles
2-32 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Drilling cycles and drilling patterns
2.1 Drilling cycles
; ; $%
%
= <
Note
-> means: it must be programmed in a block
Sequence
Position reached prior to cycle start:
The drilling position is the position in the two axes of the selected plane.
The cycle creates the following sequence of motions:
• Approach of reference plane shifted by the amount of the safety clearance with G0
• Traversing to the final drilling depth with G1 and at the feedrate programmed under the
parameter FFR
• Execution of dwell time at final drilling depth.
• Retraction to the reference plane brought forward by the safety clearance with G1, and
the retraction feedrate assigned under parameter RFF.
• Retraction to the retraction plane with G0.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 2-33
Drilling cycles and drilling patterns
2.1 Drilling cycles
=
*
*
*
573
5)36',6
5)3
;
'3 5)3'35
Note
For an explanation of the parameters RTP, RFP, SDIS, DP, and DPR, see Drilling,
centering – CYCLE81.
See also
Drilling, centering - CYCLE81 (Page 2-4)
Cycles
2-34 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Drilling cycles and drilling patterns
2.1 Drilling cycles
Function
The tool drills at the programmed spindle speed and feedrate velocity up to the entered
drilling depth.
With Boring 2, oriented spindle stop is activated with the SPOS command once the drilling
depth has been reached. Then, the programmed retraction positions are approached in rapid
traverse and, from there, the retraction plane.
Notice
Cycle CYCLE86 can be used if the spindle to be used for the boring operation is technically
able to go into position-controlled spindle operation.
;
Programming
CYCLE86 (RTP, RFP, SDIS, DP, DPR, DTB, SDIR, RPA, RPO, RPAP, POSS)
Parameter
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 2-35
Drilling cycles and drilling patterns
2.1 Drilling cycles
%
; =
Note
-> means: it must be programmed in a block
Cycles
2-36 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Drilling cycles and drilling patterns
2.1 Drilling cycles
Sequence
Position reached prior to cycle start:
The drilling position is the position in the two axes of the selected plane.
The cycle creates the following sequence of motions:
• Approach of reference plane shifted by the amount of the safety clearance with G0
• Traversing to the final drilling depth at G1 and the feedrate programmed before the cycle
call.
• Dwell time at final drilling depth is executed.
• Oriented spindle hold at the spindle position programmed under POSS.
• Traverse retraction path in up to 3 axes at G0.
• Retraction to the reference plane brought forward by the safety clearance with G0.
• Retraction to the retraction plane at G0 (initial drilling position in both axes of the plane.
=
*
*
*
6326
573
5)36',6
5)3
;
'3
5)3'35
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 2-37
Drilling cycles and drilling patterns
2.1 Drilling cycles
Note
With the SPOS command, you can perform an oriented spindle stop of the active master
spindle. The angular value is programmed using a transfer parameter.
Turning machine without Y axis
You can now use the cycle CYCLE86 for turning machines without a Y axis. Retraction to
drilling depth is then traversed in two axes only. If a retraction path was programmed for the
3rd axis, it would be ignored.
If you call the cycle without Y axis in the G18 plane, the following alarm appears: 61005 "3rd
geometry axis does not exist", as the Y axis would be the drilling axis in this case.
Note
For an explanation of the parameters RTP, RFP, SDIS, DP, and DPR, see Drilling,
centering – CYCLE81.
See also
Drilling, centering - CYCLE81 (Page 2-4)
Cycles
2-38 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Drilling cycles and drilling patterns
2.1 Drilling cycles
Function
The tool drills at the programmed spindle speed and feedrate to the entered final drilling
depth.
During boring 3, a spindle stop without orientation M5 is generated after reaching the final
drilling depth, followed by a programmed stop M0. Pressing the NC START key continues
the retraction movement at rapid traverse until the retraction plane is reached.
;
Programming
CYCLE87 (RTP, RFP, SDIS, DP, DPR, SDIR)
Parameter
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 2-39
Drilling cycles and drilling patterns
2.1 Drilling cycles
%
; =
Sequence
Position reached prior to cycle start:
The drilling position is the position in the two axes of the selected plane.
The cycle creates the following sequence of motions:
• Approach of reference plane shifted by the amount of the safety clearance with G0
• Traversing to the final drilling depth at G1 and the feedrate programmed before the cycle
call.
• Spindle stop with M5
• Press NC-START button.
• Retraction to the retraction plane with G0.
Cycles
2-40 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Drilling cycles and drilling patterns
2.1 Drilling cycles
=
*
*
*
00
573
5)36',6
5)3
;
'3 5)3'35
Note
For an explanation of the parameters RTP, RFP, SDIS, DP, and DPR, see Drilling,
centering – CYCLE81.
See also
Drilling, centering - CYCLE81 (Page 2-4)
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 2-41
Drilling cycles and drilling patterns
2.1 Drilling cycles
Function
The tool drills at the programmed spindle speed and feedrate to the entered final drilling
depth. During boring pass 4, a dwell time, a spindle stop without orientation M5 and a
programmed stop M0 are generated when the final drilling depth is reached. Pressing the
NC START key traverses the outward movement at rapid traverse until the retraction plane
is reached.
;
Programming
CYCLE88 (RTP, RFP, SDIS, DP, DPR, DTB, SDIR)
Parameter
Cycles
2-42 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Drilling cycles and drilling patterns
2.1 Drilling cycles
%
; =
Note
-> means: it must be programmed in a block
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 2-43
Drilling cycles and drilling patterns
2.1 Drilling cycles
Sequence
Position reached prior to cycle start:
The drilling position is the position in the two axes of the selected plane.
The cycle creates the following sequence of motions:
• Approach of reference plane shifted by the amount of the safety clearance with G0
• Traversing to the final drilling depth at G1 and the feedrate programmed before the cycle
call.
• Dwell time at final drilling depth.
• Spindle stop with M5 (_ZSD[5]=1) or
• Spindle and program stop with M5 M0 (_ZSD[5]=0). After program stop, press the NC
START key.
• Retraction to the retraction plane with G0.
Explanation of the parameters
=
*
*
*
00
573
5)36',6
5)3
;
'3 5)3'35
Note
For an explanation of the parameters RTP, RFP, SDIS, DP, and DPR, see Drilling,
centering – CYCLE81.
For an explanation of the cycle setting data _ZSD[5], see Requirements for milling cycles.
See also
Drilling, centering - CYCLE81 (Page 2-4)
Requirements (Page 3-1)
Cycles
2-44 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Drilling cycles and drilling patterns
2.1 Drilling cycles
Function
The tool drills at the programmed spindle speed and feedrate to the entered final drilling
depth. When the final drilling depth is reached, a dwell time can be programmed.
;
Programming
CYCLE89 (RTP, RFP, SDIS, DP, DPR, DTB)
Parameter
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 2-45
Drilling cycles and drilling patterns
2.1 Drilling cycles
%
; =
Sequence
Position reached prior to cycle start:
The drilling position is the position in the two axes of the selected plane.
The cycle creates the following sequence of motions:
• Approach of reference plane shifted by the amount of the safety clearance with G0
• Traversing to the final drilling depth at G1 and the feedrate programmed before the cycle
call.
• Dwell time at final drilling depth is executed.
• Retraction up to the reference plane brought forward by the safety clearance at G1 and
the same feedrate value.
• Retraction to the retraction plane with G0.
Cycles
2-46 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Drilling cycles and drilling patterns
2.1 Drilling cycles
=
*
*
*
573
5)36',6
5)3
;
'3 5)3'35
Note
For an explanation of the parameters RTP, RFP, SDIS, DP, and DPR, see Drilling,
centering – CYCLE81.
See also
Drilling, centering - CYCLE81 (Page 2-4)
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 2-47
Drilling cycles and drilling patterns
2.2 Modal call of drilling cycles
Function
In NC programming, subroutines and cycles can be called modally. This feature is of
particular importance for drilling cycles.
You generate a modal subroutine call by programming the keyword MCALL (modal
subroutine call) in front of the subroutine name. This function causes the subroutine to be
called and executed automatically after each block that contains traversing movement.
The function is deactivated by programming MCALL without a following subroutine name or
by modally calling another subroutine.
Note
Nesting of modal calls is not permissible, i.e., subroutines that are called modally cannot
contain any further modal subroutine calls.
Any number of modal drilling cycles can be programmed, the number is not limited to a
certain number of G functions reserved for this purpose.
Programming
Modal call of a subroutine
MCALL
Example with drilling cycle CYCLE81:
MCALL CYCLE81 (RTP, RFP, SDIS, DP, DPR)
Cycles
2-48 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Drilling cycles and drilling patterns
2.2 Modal call of drilling cycles
Note
Explanation of this example
The modal call must be deselected in block N80 because, in the next block, the tool is
traversed to a position where no drilling is to be performed.
It is advisable to store the drilling positions for a machining task of this type in a subroutine,
which is then called at MA1 or MA2.
= =
$ $%
%
; <
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 2-49
Drilling cycles and drilling patterns
2.2 Modal call of drilling cycles
Note
-> means: it must be programmed in a block.
Cycles
2-50 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Drilling cycles and drilling patterns
2.3 Drilling pattern cycles
2.3.1 Requirements
Function
The hole pattern cycles only describe the geometry of an arrangement of drilling holes in the
plane. The link to a drilling process is established via the modal call of this drilling cycle
before the hole pattern cycle is programmed.
See also
Modal call of drilling cycles (Page 2-48)
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 2-51
Drilling cycles and drilling patterns
2.3 Drilling pattern cycles
Function
With this cycle, you can make a row of holes, i.e., a number of drill holes in a straight line.
The type of drill hole is determined by the drilling cycle that has already been called modally.
Programming
HOLES1 (SPCA, SPCO, STA1, FDIS, DBH, NUM)
Parameter
Cycles
2-52 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Drilling cycles and drilling patterns
2.3 Drilling pattern cycles
= =
$ $%
%
; <
Note
-> means: it must be programmed in a block
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 2-53
Drilling cycles and drilling patterns
2.3 Drilling pattern cycles
Sequence
To avoid unnecessary travel, the cycle calculates whether the row of holes is machined
starting from the first hole or the last hole from the actual position of the plane axes and the
geometry of the row of holes. The drilling positions are then approached one after the other
at rapid traverse.
<
63&$
+
'%
,6
)'
67$
63&2
Cycles
2-54 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Drilling cycles and drilling patterns
2.3 Drilling pattern cycles
Function
Use this cycle to machine a circle of holes. The machining plane must be defined before the
cycle is called.
The type of drill hole is determined by the drilling cycle that has already been called modally.
Programming
HOLES2 (CPA, CPO, RAD, STA1, INDA, NUM)
Parameter
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 2-55
Drilling cycles and drilling patterns
2.3 Drilling pattern cycles
< <
¡
%
; =
Cycles
2-56 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Drilling cycles and drilling patterns
2.3 Drilling pattern cycles
Sequence
In the cycle, the drilling positions are approached one after the other in the plane with G0.
< &3$
,1'$
67$
5
$'
&32
CPA, CPO, and RAD (center point and radius, abscissa, ordinate)
The position of the circle of holes in the machining plane is defined via center point
(parameters CPA and CPO) and radius (parameter RAD). Only positive values are permitted
for the radius.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 2-57
Drilling cycles and drilling patterns
2.3 Drilling pattern cycles
Function
Cycle CYCLE801 can be used to machine a "grid of holes" drilling pattern. The type of drill
hole is determined by the drilling cycle that has already been called modally.
Programming
CYCLE801 (_SPCA, _SPCO, _STA, _DIS1, _DIS2, _NUM1, _NUM2)
Parameter
Cycles
2-58 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Drilling cycles and drilling patterns
2.3 Drilling pattern cycles
<
;
Sequence
The cycle calculates the sequence of holes such that the empty paths between them are
kept as short as possible. The starting position of the machining operation is defined
according to the last position reached in the plane prior to the cycle call.
In each case, starting positions are one of the four possible corner positions.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 2-59
Drilling cycles and drilling patterns
2.3 Drilling pattern cycles
<
,6
B'
B',6
B67$
B63&2
B63&$ ;
Cycles
2-60 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles 3
3.1 3.1 General information
The following sections describe how milling cycles are programmed.
This section is intended to guide you in selecting cycles and assigning parameters to them.
In addition to a detailed description of the function of each cycle and the associated
parameters, you will find in each section programming examples that make it easier for you
to work with cycles.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-1
Milling cycles
3.2 Requirements
Plane definition
Milling cycles generally assume that the current workpiece coordinate system has been
defined by selecting a plane (G17, G18 or G19) and activating a programmable frame (if
necessary). The infeed axis is always the 3rd axis of this coordinate system.
=
$SSOLFDWH
<
WH
*
GLQD
2U
*
*
$E
VFL
VVD
;
References:
/PG/, Programming Guide Fundamentals
/PG/, Programming Guide Production Planning
Spindle handling
The spindle commands in the cycles always refer to the active master spindle of the control.
If a cycle is to be used on a machine with several spindles, the spindle with which you are
working must first be defined as the master spindle with the SETMS command.
Cycles
3-2 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.2 Requirements
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-3
Milling cycles
3.3 Thread milling - CYCLE90
Function
By using the cycle CYCLE90, you can produce internal or external threads. The path when
milling threads is based on a helix interpolation. All three geometry axes of the current plane,
which you will define before calling the cycle, are involved in this motion.
The programmed feedrate F acts according to the the axis grouping defined in the FGROUP
instruction before the call.
Programming
CYCLE90 (RTP, RFP, SDIS, DP, DPR, DIATH, KDIAM, PIT, FFR, CDIR,
TYPTH, CPA, CPO)
Parameter
Cycles
3-4 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.3 Thread milling - CYCLE90
< <
$%
$
%
; =
Note
-> means: it must be programmed in a block
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-5
Milling cycles
3.3 Thread milling - CYCLE90
The distance from the thread diameter depends on the size of the thread and the tool radius
used.
=
<
&3$
2
&3
;
3RVLWLRQRIWKH
3RVLWLRQRIWKH VWDUWLQJSRLQW
VWDUWLQJSRLQWZKHQ ZKHQPLOOLQJ
PLOOLQJWKUHDGVZLWK* WKUHDGVZLWK*
Cycles
3-6 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.3 Thread milling - CYCLE90
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-7
Milling cycles
3.3 Thread milling - CYCLE90
= =
573 573
5)36',6 5)36',6
5)3 5)3
'35
'35
'3
; ;
< <
&3$ &3$
&',5 &',5
7+
7+
,$
,$
&32
&32
'
'
; ;
DIATH, KDIAM, and PIT (nominal diameter, core diameter, and thread pitch)
These parameters are used to determine the thread data nominal diameter, core diameter,
and pitch. The parameter DIATH is the external, and KDIAM is the internal diameter of the
thread. The travel-in / travel-out movements are created internally in the cycle, based on
these parameters.
FFR (feedrate)
The value of the parameter FFR is specified as the current feedrate value for thread milling.
It is effective when thread milling on a helical path.
This value will be reduced in the cycle for the travel-in / travel-out movements. The retraction
is performed outside the helix path using G0.
CDIR (direction of rotation)
This parameter is used to specify the value for the machining direction of the thread.
If the parameter has an impermissible value, the message "Wrong milling direction, G3 will
be generated".
In this case, the cycle is continued and G3 is automatically generated.
Cycles
3-8 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.3 Thread milling - CYCLE90
S :55',))
˂]
',$7+
Where:
Δz Overshoot, internal
p Pitch
WR Tool radius
DIATH External diameter of the thread
RDIFF Radius difference for travel-out circle
Δz Overshoot, internal
p Pitch
WR Tool radius
DIATH External diameter of the thread
KDIAM Core diameter of the thread
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-9
Milling cycles
3.3 Thread milling - CYCLE90
Note
The cutter radius is calculated internally in the cycle. Therefore, a tool compensation must be
programmed before calling the cycle. Otherwise, the alarm 61000 "No tool compensation
active" appears and the cycle is aborted.
If the tool radius=0 or negative, the cycle is also aborted and this alarm is issued.
With internal threads, the tool radius is monitored and alarm 61105 "Cutter radius too large"
is output, and the cycle is aborted.
Note
For an explanation of the parameters RTP, RFP, SDIS, DP, and DPR, see Drilling,
centering – CYCLE81.
See also
Drilling, centering - CYCLE81 (Page 2-4)
Cycles
3-10 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.4 Long holes located on a circle - LONGHOLE
Function
Use this cycle to machine long holes located on a circle. The longitudinal axis of the long
holes is aligned radially.
In contrast to the slot, the width of the long hole is determined by the tool diameter.
Internally in the cycle, an optimum traversing path of the tool is determined, ruling out
unnecessary idle passes. If several depth infeeds are required to machine an slot, the infeed
is carried out alternately at the end points. The path to be traversed along the longitudinal
axis of the long hole will change its direction after each infeed. The cycle will search for the
shortest path when changing to the next long hole.
Notice
The cycle requires a milling cutter with an "end tooth cutting across center" (DIN844).
Note
A tool compensation must be programmed before the cycle is called. Otherwise, the cycle is
aborted and alarm 61000 "No tool compensation active" is output.
If mutual contour violations of the slots result from incorrect values of the parameters that
determine the arrangement and the size of the slots, the cycle will not start the machining.
The cycle is aborted and the error message 61104 "Contour violation of slots/long holes" is
output.
During the cycle, the workpiece coordinate system is offset and rotated. The values in the
workpiece coordinate system are shown on the actual value display such that the
longitudinal axis of the long hole being machined is positioned on the first axis of the current
machining plane.
After the cycle has been completed, the workpiece coordinate system is in the same position
again as it was before the cycle was called.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-11
Milling cycles
3.4 Long holes located on a circle - LONGHOLE
Programming
LONGHOLE (RTP, RFP, SDIS, DP, DPR, NUM, LENG, CPA, CPO, RAD, STA1,
INDA, FFD, FFP1, MID)
Parameter
Cycles
3-12 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.4 Long holes located on a circle - LONGHOLE
= =
$ $%
¡
¡
% < ;
Note
-> means: it must be programmed in a block
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-13
Milling cycles
3.4 Long holes located on a circle - LONGHOLE
Sequence
Position reached prior to cycle start:
The starting position is any position from which each of the long holes can be approached
without collision.
The cycle creates the following sequence of motions:
• Using G0, the starting position for the cycle is approached. In both axes of the current
plane, the closest end point of the first long hole to be machined is approached at the
level of the retraction plane in the tool plane and then lowered to the reference plane
shifted by the amount of the safety clearance.
• Each long hole is milled in a reciprocating motion. The machining in the plane is
performed using G1 and the feedrate programmed under FFP1. The infeed to the next
machining depth calculated using G1 internally in the cycle and using feedrate is
performed at each reversal point until the final depth is reached.
• Retraction to the retraction plane using G0 and approach to the next long hole on the
shortest path.
• After the last long hole has been machined, the tool is moved with G0 to the position in
the machining plane, which was reached last and which is specified in the diagram below,
and the cycle is ended.
Cycles
3-14 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.4 Long holes located on a circle - LONGHOLE
<
&3$
,1'$
/(
1
* 67$
5
$'
&32
;
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-15
Milling cycles
3.4 Long holes located on a circle - LONGHOLE
Note
For an explanation of the parameters RTP, RFP, SDIS, DP, and DPR, see Drilling,
centering – CYCLE81.
For an explanation of the cycle setting data _ZSD[1], see Requirements for milling cycles.
See also
Drilling, centering - CYCLE81 (Page 2-4)
Requirements (Page 3-1)
Cycles
3-16 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.5 Slots on a circle - SLOT1
Function
The cycle SLOT1 is a combined roughing-finishing cycle.
Use this cycle to machine slots arranged on a circle. The longitudinal axis of the slots is
aligned radially. In contrast to the long hole, a value is defined for the slot width.
Notice
The cycle requires a milling cutter with an "end tooth cutting across center" (DIN844).
Note
A tool compensation must be programmed before the cycle is called. Otherwise, the cycle is
aborted and alarm 61000 "No tool compensation active" is output.
If incorrect values are assigned to the parameters that determine the arrangement and size
of the slots and thus cause mutual contour violation of the slots, the cycle is not started. The
cycle is aborted and the error message 61104 "Contour violation of slots/long holes" is
output.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-17
Milling cycles
3.5 Slots on a circle - SLOT1
&RQWRXUYLRODWLRQ
Programming
SLOT1 (RTP, RFP, SDIS, DP, DPR, NUM, LENG, WID, CPA, CPO, RAD, STA1,
INDA, FFD, FFP1, MID, CDIR, FAL, VARI, MIDF, FFP2, SSF, _FALD,
_STA2)
Parameter
Cycles
3-18 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.5 Slots on a circle - SLOT1
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-19
Milling cycles
3.5 Slots on a circle - SLOT1
Length 30 mm
Width 15 mm
Depth 23 mm
Safety clearance 1 mm
Finishing allowance 0.5 mm
Milling direction G2
Maximum infeed in depth 10 mm
= =
$ $%
¡
¡
% < ;
Note
-> means: it must be programmed in a block
Cycles
3-20 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.5 Slots on a circle - SLOT1
Sequence
Position reached prior to cycle start:
The starting position can be any position from which each of the slots can be approached
without collision.
The cycle creates the following sequence of motions:
• Approach of the position at the beginning of the cycle indicated in the figure with G0.
• Complete machining of a slot is carried out in the following steps:
– Approach of reference plane brought forward by safety clearance at G0
– Infeed to next machining depth as programmed under VARI and feedrate FFD.
– Pocket milling of the slot up to the finishing allowance at the slot base and slot edge
with feedrate value FFP1. Then finishing with feedrate value FFP2 and spindle speed
SSF along the contour according to the machining direction programmed under CDIR.
– The vertical depth infeed with G0/G1 always takes place at the same position in the
machining plane as long as the slot is reached by the end depth.
– With oscillating machining the starting point is selected such that the end point always
reaches the same position in the machining plane.
• Retract tool to the retraction plane and move to the next slot with G0.
• When machining of the last slot is complete, the tool is traversed to the retraction plane
with G0, and the cycle is completed.
<
&3$
,1'$
/(
1
67$
*
:,'
5
$'
&32
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-21
Milling cycles
3.5 Slots on a circle - SLOT1
NUM (number)
Use the parameter NUM to specify the number of slots.
LENG and WID (slot length and slot width)
Use the parameters LENG and WID to define the form of a slot in the plane. The milling
cutter diameter must be smaller than the slot width. Otherwise, alarm 61105 "Cutter radius
too large" will be activated and the cycle aborted.
The milling cutter diameter must not be smaller than one half the slot width or else residual
material will remain in the center of the slot. However, this is not checked.
CPA, CPO and RAD (center point and radius)
The position of the hole circle in the machining plane is defined by the center point
(parameters CPA and CPO) and the radius (RAD). Only positive values are permitted for the
radius.
STA1 and INDA (starting and incremental angle)
The arrangement of the slot on the circle is defined by these parameters.
STA1 defines the angle between the positive direction of the abscissa of the workpiece
coordinate system active before the cycle was called and the first slot. Parameter INDA
contains the angle from one slot to the next.
If INDA=0, the incrementing angle is calculated from the number of slots so that they are
arranged equally around the circle.
FFD and FFP1 (feedrate for depth and surface)
Feedrate FFD is active for vertical infeed to the machining plane with G1 and for insertion
with oscillating motion.
The feedrate FFP1 is active for all movements in the plane traversed at feedrate when
roughing.
MID (infeed depth)
Use this parameter to define the maximum infeed depth. The depth infeed is performed by
the cycle in equally sized infeed steps.
Using MID and the total depth, the cycle automatically calculates this infeed which lies
between 0.5 x maximum infeed depth and the maximum infeed depth. The minimum
possible number of infeed steps is used as the basis. MID=0 means that the cut to slot depth
is made with one feed.
The depth infeed starts from the reference plane brought forward by the safety clearance
(depending on _ZSD[1]).
CDIR (milling direction)
You define the slot machining direction in this parameter.
The direction of milling can be programmed as follows using the CDIR parameter:
• Directly with "2 for G2" and "3 for G3" or
• Alternatively, "down-cut" or "up-cut"
Down-cut and up-cut are determined internally in the cycle via the direction of rotation of the
spindle activated prior to calling the cycle.
Down-cut Up-cut
M3 → G3 M3 → G2
M4 → G2 M4 → G3
Cycles
3-22 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.5 Slots on a circle - SLOT1
Note
The description of these parameters is also valid for the cycles SLOT2, POCKET1 and
POCKET2.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-23
Milling cycles
3.5 Slots on a circle - SLOT1
Note
During the cycle, the workpiece coordinate system is offset and rotated. The values in the
workpiece coordinate system displayed on the actual value display are such that the
longitudinal axis of the slot that has just been machined corresponds to the first axis of
the current machining plane.
After the cycle has been completed, the workpiece coordinate system is in the same
position again as it was before the cycle was called.
Note
For an explanation of the parameters RTP, RFP, and SDIS, see Drilling, centering –
CYCLE81.
For an explanation of the cycle setting data _ZSD[1], see Requirements for milling cycles.
See also
Drilling, centering - CYCLE81 (Page 2-4)
Requirements (Page 3-1)
Cycles
3-24 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.6 Circumferential slot - SLOT2
Function
The cycle SLOT2 is a combined roughing-finishing cycle.
Use this cycle to machine circumferential slots arranged on a circle.
Notice
The cycle requires a milling cutter with an "end tooth cutting across center" (DIN844).
Programming
SLOT2 (RTP, RFP, SDIS, DP, DPR, NUM, AFSL, WID, CPA, CPO, RAD, STA1,
INDA, FFD, FFP1, MID, CDIR, FAL, VARI, MIDF, FFP2, SSF, _FFCP)
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-25
Milling cycles
3.6 Circumferential slot - SLOT2
Parameter
Cycles
3-26 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.6 Circumferential slot - SLOT2
Example of slots 2
Use this program to machine 3 circumferential slots arranged at a circle with center point
X60 Y60 and radius 42 mm in the XY plane. The circumferential slots have the following
dimensions:
Width 15 mm, angle for slot length 70 degrees, depth 23 mm. The initial angle is 0 degrees,
the incremental angle is 120 degrees. The slot contours are machined to a final machining
allowance of 0.5 mm, the safety clearance in infeed axis Z is 2 mm, the maximum depth
infeed is 6 mm. The slots are to be completely machined. Speed and feedrate are to be the
same when finishing. The infeed when finishing is to be performed to slot depth.
< <
$%
$
¡
¡
%
; =
Note
-> means: it must be programmed in a block
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-27
Milling cycles
3.6 Circumferential slot - SLOT2
Sequence
Position reached prior to cycle start:
The starting position can be any position from which each of the slots can be approached
without collision.
The cycle creates the following sequence of motions:
• With G0, the position indicated in the first figure is approached at the beginning of the
cycle.
• The circumferential slot is machined in the same steps as an elongated hole.
• After finishing a circumferential slot, the tool is withdrawn to the retraction plane and the
transition to the next slot is made, either on a straight line with G0 or on a circular path at
the feedrate programmed in _FFCP.
• After the last slot has been machined, the tool at the final position in the machining plane
specified in the second figure is moved with G0 to the retraction plane, and the cycle is
ended.
<
&3$
,1'$ $)6/
67$
&32
:,'
NUM (number)
Use the parameter NUM to specify the number of slots.
AFSL and WID (angle and circumferential slot width)
Use the parameters AFSL and WID to define the form of a slot in the plane. The cycle
checks whether the slot width is violated with the active tool. Otherwise, alarm 61105 "Cutter
radius too large" will be activated and the cycle aborted.
CPA, CPO and RAD (center point and radius)
You define the position of the circle in the machining plane by the center point (CPA, CPO)
and the radius (RAD). Only positive values are permitted for the radius.
Cycles
3-28 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.6 Circumferential slot - SLOT2
Note
For an explanation of the parameters RTP, RFP, and SDIS, see Drilling, centering –
CYCLE81.
For an explanation of the parameters DP, DPR, FFD, FFP1, MID, CDIR, FAL, VARI, MIDF,
FFP2, and SSF, see Slots located on a circle - SLOT1.
For an explanation of the cycle setting data _ZSD[1], see Requirements for milling cycles.
**
*
* **
*
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-29
Milling cycles
3.6 Circumferential slot - SLOT2
Additional notes
A tool compensation must be programmed before the cycle is called. Otherwise, the cycle is
aborted and alarm 61000 "No tool compensation active" is output.
&RQWRXUYLRODWLRQ
If incorrect values are assigned to the parameters that determine the arrangement and size
of the slots and thus cause mutual contour violation of the slots, the cycle is not started.
The cycle is aborted and the error message 61104 "Contour violation of slots/elongated
holes" is output.
During the cycle, the workpiece coordinate system is offset and rotated. The actual value
display in the workpiece coordinate system is always shown such that the circumferential
slot currently being machined starts on the 1st axis of the current processing level and the
zero point of the workpiece coordinate system is in the center of the circle.
After the cycle has been completed, the workpiece coordinate system is in the same position
again as it was before the cycle was called.
Cycles
3-30 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.6 Circumferential slot - SLOT2
6ORW
,QIHHG
,QIHHG
• The machining case of slot width = milling cutter diameter is permitted for roughing and
finishing. This machining case occurs when slot width WID – 2 * finishing allowance FAL
= milling cutter diameter.
• The traversing strategy is then as for the LONGHOLE cycle, i.e., depth infeed occurs
alternately at the reversal points, see figure.
Note
An annular slot (complete circle) can be machined when NUM = 1 and AFSL = 369 are
programmed.
See also
Drilling, centering - CYCLE81 (Page 2-4)
Requirements (Page 3-1)
Slots on a circle - SLOT1 (Page 3-17)
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-31
Milling cycles
3.7 Milling rectangular pockets - POCKET1
Function
The cycle is a combined roughing-finishing cycle.
With this cycle, you can machine rectangular pockets in any position in the machining plane.
Notice
The cycle requires a milling cutter with an "end tooth cutting across center" (DIN844).
Note
The pocket milling cycle POCKET3 can be performed with any tool.
Programming
POCKET1 (RTP, RFP, SDIS, DP, DPR, LENG, WID, CRAD, CPA, CPD, STA1,
FFD, FFP1, MID, CDIR, FAL, VARI, MIDF, FFP2, SSF)
Cycles
3-32 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.7 Milling rectangular pockets - POCKET1
Parameter
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-33
Milling cycles
3.7 Milling rectangular pockets - POCKET1
< <
$ $%
; =
Note
-> means: it must be programmed in a block
Cycles
3-34 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.7 Milling rectangular pockets - POCKET1
Sequence
Position reached prior to cycle start:
Starting position is any position from which the pocket center point can be approached at the
height of the retraction plane without collision.
<
*
*
• With G0, the pocket center point is approached at the retraction level, and then, from this
position, with G0, too, the reference plane brought forward by the safety clearance is
approached. Complete machining of the pocket is performed in the following stages:
– Infeed to the next machining depth with G1 and the feedrate FFD.
– Pocket milling of the pocket to the finishing allowance with feedrate FFP1 and the
spindle speed in effect before the cycle call.
• After roughing is completed:
– Infeed to the machining depth defined by MIDF
– Finishing along the contour with feedrate FFP2 and speed SSF.
– The machining direction is carried out according to the direction defined under CDIR.
• When machining of the pocket is completed, the tool is traversed to the pocket center
point on the retraction plane and the cycle is terminated.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-35
Milling cycles
3.7 Milling rectangular pockets - POCKET1
<
&3$
67$
&5$'
:
*
1
,'
/(
&32
;
Note
For an explanation of the parameters RTP, RFP, and SDIS, see Drilling, centering –
CYCLE81.
For an explanation of the parameters FFD, FFP1, MID, CDIR, FAL, VARI, MIDF, FFP2, and
SSF, see Slots located on a circle - SLOT1.
For an explanation of the cycle setting data _ZSD[1], see Requirements for milling cycles.
Cycles
3-36 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.7 Milling rectangular pockets - POCKET1
Additional notes
A tool compensation must be programmed before the cycle is called. Otherwise, the cycle is
aborted and alarm 61000 "No tool compensation active" is output.
Internally in the cycle, a new current workpiece coordinate system is used which influences
the actual value display. The zero point of this coordinate system is to be found in the pocket
center point.
At the end of the cycle, the original coordinate system is active again.
See also
Drilling, centering - CYCLE81 (Page 2-4)
Requirements (Page 3-1)
Circumferential slot - SLOT2 (Page 3-25)
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-37
Milling cycles
3.8 Milling circular pockets - POCKET2
Function
The cycle is a combined roughing-finishing cycle.
With this cycle, you can machine circular pockets in the machining plane.
Notice
The cycle requires a milling cutter with an "end tooth cutting across center" (DIN844).
Note
The pocket milling cycle POCKET4 can be performed with any tool.
Programming
POCKET2 (RTP, RFP, SDIS, DP, DPR, PRAD, CPA, CPO, FFD, FFP1, MID,
CDIR, FAL, VARI, MIDF, FFP2, SSF)
Cycles
3-38 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.8 Milling circular pockets - POCKET2
Parameter
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-39
Milling cycles
3.8 Milling circular pockets - POCKET2
= =
$ $%
%
< ;
Note
-> means: it must be programmed in a block
Cycles
3-40 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.8 Milling circular pockets - POCKET2
Sequence
Position reached prior to cycle start:
Starting position is any position from which the pocket center point can be approached at the
height of the retraction plane without collision.
Note
A tool compensation must be programmed before the cycle is called. Otherwise, the cycle is
aborted and alarm 61000 "No tool compensation active" is output.
The depth infeed is always made in the pocket center point. It can be useful to drill there
beforehand.
Internally in the cycle, a new current workpiece coordinate system is used which influences
the actual value display. The zero point of this coordinate system is to be found in the pocket
center point.
Note
At the end of the cycle, the original coordinate system is active again.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-41
Milling cycles
3.8 Milling circular pockets - POCKET2
<
&3$
* *
35
$'
&32
;
Note
For an explanation of the parameters RTP, RFP, and SDIS, see Drilling, centering –
CYCLE81.
For an explanation of the parameters DP and DPR, see Milling rectangular pockets -
POCKET1
For an explanation of the parameters FFD, FFP1, MID, CDIR, FAL, VARI, MIDF, FFP2, and
SSF, see Slots located on a circle - SLOT1.
For an explanation of the cycle setting data _ZSD[1], see Requirements for milling cycles.
See also
Drilling, centering - CYCLE81 (Page 2-4)
Slots on a circle - SLOT1 (Page 3-17)
Requirements (Page 3-1)
Milling rectangular pockets - POCKET1 (Page 3-32)
Cycles
3-42 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.9 Milling a rectangular pocket - POCKET3
Function
The cycle can be used for roughing and finishing.
For finishing, a face cutter is required.
The depth infeed will always start at the pocket center point and be performed vertically from
there; thus it is practical to predrill at this position.
Programming
POCKET3 (_RTP, _RFP, _SDIS, _DP, _LENG, _WID, _CRAD, _PA, _PO, _STA,
_MID, _FAL, _FALD, _FFP1, _FFD, _CDIR, _VARI, _MIDA, _AP1, _AP2,
_AD, _RAD1, _DP1)
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-43
Milling cycles
3.9 Milling a rectangular pocket - POCKET3
Parameter
Cycles
3-44 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.9 Milling a rectangular pocket - POCKET3
< <
$ $%
; =
Note
-> means: it must be programmed in a block
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-45
Milling cycles
3.9 Milling a rectangular pocket - POCKET3
Sequence
Position reached prior to cycle start:
Starting position is any position from which the pocket center point can be approached at the
height of the retraction plane without collision.
<
*
*
Note
A tool compensation must be programmed before the cycle is called. Otherwise, the cycle is
aborted and alarm 61000 "No tool compensation active" is output.
Internally in the cycle, a new current workpiece coordinate system is used which influences
the actual value display. The zero point of this coordinate system is to be found in the pocket
center point.
At the end of the cycle, the original coordinate system is active again.
The cycle creates the following sequence of motions when roughing (VARI = X1):
With G0, the pocket center point is approached at the retraction level, and then, from this
position, with G0, too, the reference plane brought forward by the safety clearance is
approached. The machining of the pocket is then carried out according to the selected
insertion strategy, taking into account the programmed blank dimensions.
Immersion strategies:
• Immersion perpendicular to pocket center (VARI = 0X, VARI = 1X)
means that the current infeed depth calculated within the cycle (≤ maximum infeed depth
programmed under _MID) is carried out in a block with G0 or G1.
Cycles
3-46 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.9 Milling a rectangular pocket - POCKET3
<
B$3SRFNHWOHQJWKEODQNGLPHQVLRQ
;
B$3EODQNGLPHQVLRQ
3RFNHWZLGWK
During solid machining of the pockets, it is possible to take into account blank dimensions
(e.g. when machining precast parts).
The blank dimensions for length and width (_AP1 and _AP2) are programmed without sign
and are placed by the cycle symmetrically around the pocket center point via calculation.
You will define the part of the pocket which is no longer to be machined by solid machining.
The blank dimension for the depth (_AD) is also programmed without sign and taken into
account by the reference plane in the direction of the pocket depth.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-47
Milling cycles
3.9 Milling a rectangular pocket - POCKET3
The depth infeed when taking into account blank dimensions is carried out according to the
programmed type (helical path, reciprocating, vertically). If the cycle detects that there is
space enough in the pocket center because of the given blank contour and the radius of the
active tool, the infeed is carried out vertically to the pocket center point as long as it is
possible in order not to traverse extensive insertion paths in the open.
Solid machining of the pocket is carried out starting from the top downwards.
The cycle creates the following sequence of motions when finishing (VARI = X2):
Finishing is performed in the order from the edge until the finishing allowance on the base is
reached, and then the base is finished. If one of the finishing allowances is equal to zero, this
part of the finishing process is skipped.
• Finishing on the edge
While finishing on the edge, the tool will traverse around the pocket contour only once.
For finishing on the edge, the path includes one quadrant reaching the corner radius. The
radius of this path is normally 2 mm or, if "less space" is provided, equals to the
difference between the corner radius and the mill radius.
If the final machining allowance on the edge is larger than 2 mm, the approach radius is
increased accordingly.
The depth infeed is performed with G0 in the open towards the pocket center, and the
starting point of the approach path is also reached with G0.
• Finishing on the base
During finishing on the base, the machine performs G0 towards the pocket center until
reaching a distance equal to pocket depth + finishing allowance + safety clearance. From
there, the tool always moves vertically downward at the feedrate for the depth infeed
(because a tool that can cut over the face is used for finishing on the base).
The base surface of the pocket is machined once.
Cycles
3-48 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.9 Milling a rectangular pocket - POCKET3
Pocket dimensioned from the center point Pocket dimensioned from the corner
< <
B3$
B67$
*
B&5$'
(1
B/
* *
B:
*
B:
(1
,'
,'
B/
B67$
* *
B32
B32
; B3$ ;
_LENG, _WID and _CRAD (pocket length, pocket width and corner radius)
Use the parameters _LENG, _WID and _CRAD to define the form of a pocket in the plane.
The pocket can be dimensioned from the center or from a corner point. When dimensioning
from a corner point, use _LENG and _WID with sign.
If you cannot traverse the programmed corner radius with the active tool since its radius is
larger, then the corner radius of the machine pocket corresponds to the tool radius.
If the milling tool radius is larger than half of the length or width of the pocket, then the cycle
will be aborted and alarm 61105 "Cutter radius too large" is output.
_PA, _PO (reference point)
With the parameters _PA and _PO, you define the reference point of the pocket in the
machining plane.
This is either the pocket center point or a corner point. The value of this parameter depends
on cycle setting data bit _ZSD[2]:
• 0 means pocket center point
• 1 means corner point.
When dimensioning the pocket from a corner, the length and width parameters (_LENG,
_WID) must be entered with sign, thus uniquely defining the position of the pocket.
_STA (angle)
_STA indicates the angle between the 1st axis of the plane (abscissa) and the longitudinal
axis of the pocket.
The rotation around _STA is always carried out at the reference point. (Note setting
_ZSD[2]).
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-49
Milling cycles
3.9 Milling a rectangular pocket - POCKET3
Down-cut Up-cut
M3 → G3 M3 → G2
M4 → G2 M4 → G3
_VARI (machining type)
Use the parameter _VARI to define the machining type.
For possible values, see parameter overview.
If a different value is programmed for the parameter _VARI, the cycle is aborted after output
of alarm 61002 "Machining type defined incorrectly".
_MIDA (max. infeed width)
Use this parameter to define the maximum infeed width when solid machining in a plane.
Analogously to the known calculation method for the infeed depth (equal distribution of the
total depth with the maximum possible value), the width is distributed equally, maximally with
the value programmed under _MIDA.
Cycles
3-50 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.9 Milling a rectangular pocket - POCKET3
If this parameter is not programmed or has value 0, the cycle will internally use 80% of the
milling tool diameter as the maximum infeed width.
The following parameters must be taken into account when the width infeed calculated from
the edge machining is recalculated when reaching the full pocket in depth. Otherwise, the
calculated width infeed is retained for the entire cycle.
AP1, _AP2, _AD (blank dimension)
With the parameters _AP1, _AP2 and _AD, you define the blank dimension (incremental) of
the pocket in the plane and depth.
_RAD1 (radius)
Use the parameter _RAD1 to define the radius of the helical path (referred to the tool center
point path) or the max. insertion angle for the reciprocating motion.
_DP1 (immersion depth)
Use the parameter _DP1 to define the infeed depth when inserting to the helical path.
Note
For an explanation of the parameters RTP, RFP, and SDIS, see Drilling, centering –
CYCLE81.
For an explanation of the DP parameter, see Milling rectangular pockets - POCKET1
For an explanation of the cycle setting data _ZSD[1] and _ZSD[2], see Requirements for
milling cycles.
See also
Drilling, centering - CYCLE81 (Page 2-4)
Milling rectangular pockets - POCKET1 (Page 3-32)
Requirements (Page 3-1)
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-51
Milling cycles
3.10 Milling a circular pocket - POCKET4
Function
Use this cycle to machine circular pockets in the machining plane.
For finishing, a face cutter is required.
The depth infeed will always start at the pocket center point and be performed vertically from
there; thus it is practical to predrill at this position.
Programming
POCKET4 (_RTP, _RFP, _SDIS, _DP, _PRAD, _PA, _PO, _MID, _FAL,
_FALD, _FFP1, _FFD, _CDIR, _VARI, _MIDA, _AP1, _AD, _RAD1, _DP1)
Cycles
3-52 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.10 Milling a circular pocket - POCKET4
Parameter
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-53
Milling cycles
3.10 Milling a circular pocket - POCKET4
= =
$ $%
%
< ;
Note
-> means: it must be programmed in a block
Cycles
3-54 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.10 Milling a circular pocket - POCKET4
Sequence
Position reached prior to cycle start:
Starting position is any position from which the pocket center point can be approached at the
height of the retraction plane without collision.
Note
A tool compensation must be programmed before the cycle is called. Otherwise, the cycle is
aborted and alarm 61000 "No tool compensation active" is output.
Internally in the cycle, a new current workpiece coordinate system is used which influences
the actual value display. The zero point of this coordinate system is to be found in the pocket
center point.
At the end of the cycle, the original coordinate system is active again.
The cycle creates the following sequence of motions when roughing (VARI = X1):
With G0, the pocket center point is approached at the retraction level, and then, from this
position, with G0, too, the reference plane brought forward by the safety clearance is
approached. The machining of the pocket is then carried out according to the selected
insertion strategy, taking into account the programmed blank dimensions.
Taking into account the blank dimensions
During solid machining of the pockets, it is possible to take into account blank dimensions
(e.g. when machining precast parts).
With circular pockets, the blank dimension _AP1 is also a circle (with a smaller radius than
the pocket radius).
Note
Insertion strategies:
See description of POCKET3.
For further information about taking into account the blank dimensions, see POCKET3, as
well!
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-55
Milling cycles
3.10 Milling a circular pocket - POCKET4
<
B3$
* *
B3
5
$'
B32
;
Cycles
3-56 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.10 Milling a circular pocket - POCKET4
Example:
Requirement: Depth calculation without including safety clearance (_ZSD[1]=1)
Note
For an explanation of the parameters RTP, RFP, and SDIS, see Drilling, centering –
CYCLE81.
For an explanation of the DP parameter, see Milling rectangular pockets - POCKET1
For an explanation of the parameters MID, FAL, FALD, FFP1, FFD, _CDIR, _MIDA, _AP1,
_AD, _RAD1, and _DP1, see Milling a rectangular pocket - POCKET3.
For an explanation of the cycle setting data _ZSD[1], see Requirements for milling cycles.
See also
Drilling, centering - CYCLE81 (Page 2-4)
Milling rectangular pockets - POCKET1 (Page 3-32)
Milling a rectangular pocket - POCKET3 (Page 3-43)
Requirements (Page 3-1)
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-57
Milling cycles
3.11 Face milling - CYCLE71
Function
Use CYCLE71 to face mill any rectangular surface. The cycle differentiates between
roughing (machining the surface in several steps until reaching the final machining
allowance) and finishing (end milling the surface in one step). The maximum infeed in width
and depth can be specified.
The cycle operates without cutter radius compensation. The depth infeed is carried out in the
open.
Programming
CYCLE71 (_RTP, _RFP, _SDIS, _DP, _PA, _PO, _LENG, _WID, _STA,_MID,
_MIDA, _FDP, _FALD, _FFP1, _VARI, _FDP1)
Cycles
3-58 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.11 Face milling - CYCLE71
Parameter
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-59
Milling cycles
3.11 Face milling - CYCLE71
Note
-> means: it must be programmed in a block
Cycles
3-60 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.11 Face milling - CYCLE71
Sequence
Position reached prior to cycle start:
Starting position is any position from which the infeed point can be approached at the height
of the retraction plane without collision.
Note
A tool compensation must be programmed before the cycle is called. Otherwise, the cycle is
aborted and alarm 61000 "No tool compensation active" is output.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-61
Milling cycles
3.11 Face milling - CYCLE71
<
B)'3
B)'3
;
0LOOLQJPRYHPHQWZKHQILQLVKLQJLQDOWHUQDWH
GLUHFWLRQ PDFKLQLQJW\SH
• Machining in one direction stops at the final machining allowance + safety distance and
the next starting point is approached in rapid traverse.
Roughing in one direction stops when the calculated infeed depth + safety distance is
reached. The depth infeed is performed at the same point as in roughing.
After finishing has been completed, the tool retracts from the last position reached to the
retraction plane _RTP.
B32
B3$
B)'3
,QIHHGSRLQW
;
5RXJKLQJZLWKB0,'$ODUJHUWKDQPLOOLQJUDGLXV
PDFKLQLQJW\SH
_DP (depth)
The depth can be specified as an absolute value (_DP) to the reference plane.
Cycles
3-62 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.11 Face milling - CYCLE71
&XWWHUGLDPHWHUIURPWRROWDEOH
B)'3
$UHD
Use this parameter to specify an overrun travel in the direction of the plane infeed (_MIDA).
Thus, it is possible to compensate the difference between the current cutter radius and the
tool nose radius (e.g. cutter radius or cutting tips arranged at an angle). The last cutter
center point path thus always results as _LENG (or _WID) + _FDP1 - tool radius (from the
compensation table).
_FALD (finishing allowance)
When roughing, a finishing allowance in the depth is taken into account which is
programmed under this parameter.
When finishing, the residual material that was programmed as the finishing allowance during
roughing and that is still present must be indicated so that the lift-off and subsequent infeed
to the starting point of the next cut can be executed without collisions.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-63
Milling cycles
3.11 Face milling - CYCLE71
< <
B/(1* B/(1*
B:,'
B:,'
; ;
< B/(1* < B/(1*
B:,'
B:,'
; ;
3RVVLEOHVROLGPDFKLQLQJVWUDWHJLHVIRUIDFHPLOOLQJ
If a different value is programmed for the parameter _VARI, the cycle is aborted after output
of alarm 61002 "Machining type defined incorrectly".
Note
For an explanation of the parameters RTP, RFP, and SDIS, see Drilling, centering –
CYCLE81.
For an explanation of the parameters _STA, _MID, and _FFP1, see Milling rectangular
pockets - POCKET3.
For an explanation of the cycle setting data _ZSD[1], see Requirements for milling cycles.
Cycles
3-64 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.12 Path milling - CYCLE72
Function
With CYCLE72, you mill along any user-defined contour. The cycle operates with or without
cutter radius compensation.
The contour does not need to be closed; internal or external machining is defined by the
position of the cutter radius compensation (central, left or right of contour).
The contour must be programmed in the direction in which it is to be milled and must be
located in one plane.
In addition, it must also consist of at least 2 contour blocks (starting and finishing point)
because the contour subroutine is called directly within the cycle.
Notice
A tool compensation must be programmed before the cycle is called. Otherwise, the cycle is
aborted and alarm 61000 "No tool compensation active" is output.
<
&RQWRXUVWDUWLQJSRLQW
Programming
CYCLE72 (_KNAME, _RTP, _RFP, _SDIS, _DP, _MID, _FAL, _FALD, _FFP1,
_FFD, _VARI, _RL, _AS1, _LP1, _FF3, _AS2, _LP2)
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-65
Milling cycles
3.12 Path milling - CYCLE72
Parameter
Parameter Data Meaning
type
_KNAME string Name of contour subroutine
_RTP real Retraction plane (absolute)
_RFP real Reference plane (absolute)
_SDIS real Safety clearance (to be added to the reference plane, enter without sign)
_DP real Depth (absolute)
_MID real Maximum infeed depth (incremental, enter without sign)
_FAL real Finishing allowance at the edge contour (enter without sign)
_FALD real Finishing allowance at the base (incremental, enter without sign)
_FFP1 real Feedrate for surface machining
_FFD real Feedrate for depth infeed (enter without sign)
_VARI integer Machining type: (enter without sign)
Values: ONES DIGIT: 1: Roughing; 2: Finishing
TENS DIGIT:
0: Intermediate paths with G0
1: Intermediate paths with G1
HUNDREDS DIGIT:
0: Retraction at contour end to _RTP
1: Retraction at contour end to _RFP + _SDIS
2: Retraction at contour end by _SDIS
3: No retraction at contour end
_RL integer Traveling around the contour either centrally, to the right or to the left (with
G40, G41 or G42; enter without sign)
Values: 40: G40 (approach and return only in straight line)
41: G41
42: G42
_AS1 integer Specification of the approach direction/approach path: (enter without sign)
Values: ONES DIGIT:
1: Straight line tangential; 2: Quadrant; 3: Semicircle
TENS DIGIT:
0: Approach contour in the plane
1: Approach contour on a three-dimensional path
_LP1 real Length of the approach travel (with straight-line) or radius of the approach
arc (with circle) (enter without sign)
The other parameters can be selected as options.
_FF3 real Retraction feedrate and feedrate for intermediate positions in the plane (in
the open)
_AS2 integer Specification of the return direction/retraction path: (enter without sign)
Values: ONES DIGIT:
1: Straight line tangential; 2: Quadrant; 3: Semicircle
TENS DIGIT:
0: Return from contour in the plane
1: Return from contour on a three-dimensional path
_LP2 real Length of the retraction travel (with straight-line) or radius of the retraction
arc (with circle) (enter without sign)
Cycles
3-66 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.12 Path milling - CYCLE72
< &RQWRXUVWDUWLQJSRLQW
3URJUDPPHG
FRQWRXUGLUHFWLRQ
)LQDOFRQWRXU
)LQDOFRQWRXUILQDO
PDFKLQLQJDOORZDQFH
;
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-67
Milling cycles
3.12 Path milling - CYCLE72
Note
-> means: it must be programmed in a block
$TC_DP1[20,1]=120 $TC_DP6[20,1]=7
N10 T20 D1 ;T20: Milling cutter with radius 7
N15 M6 ;Changing tool T20,
N20 S500 M3 F3000 ;Program feedrate and spindle speed
N25 G17 G0 G90 G94 X100 Y200 Z250 -> ;Approach start position,
-> CYCLE72 ("START:END", 250, 200, -> ;cycle call
-> 3, 175, 10,1, 1.5, 800, 400, 11, ->
-> 41, 2, 20, 1000, 2, 20)
N30 G0 X100 Y200
N35 GOTOF END
START:
N100 G1 G90 X150 Y160
N110 X230 CHF=10
N120 Y80 CHF=10
N130 X125
N140 Y135
N150 G2 X150 Y160 CR=25
END:
N160 M02
Note
-> means: it must be programmed in a block
Cycles
3-68 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.12 Path milling - CYCLE72
Sequence
Position reached prior to cycle start:
Starting position is any position from which the contour starting point can be approached at
the height of the retraction plane without collision.
The cycle creates the following sequence of motions when roughing (VARI = XX1):
The depth infeeds are distributed equally with the maximum possible value of the specified
parameters.
• Travel to the starting point for the first roughing with G0/G1 (and _FF3). This point is
calculated within the control system and depends on;
– the contour starting point (first point in the subroutine),
– the direction of the contour at the starting point,
– the approach mode and its parameters and
– the tool radius.
The cutter radius compensation is activated in this block.
• Depth infeed to first or next machining depth plus programmed safety distance
(parameter _SDIS) with G0/G1. The first machining depth results from
– the total depth,
– the finishing allowance and
– the maximum possible depth infeed.
• Approach the contour vertically with feedrate for depth infeed _FFD and then in the plane
with the feedrate _FFP1 programmed for surface milling or 3D with the feedrate
programmed under _FFD corresponding to the programming for soft approach.
• Milling along the contour with G40/G41/G42.
• Soft retraction from the contour with G1, still with the feedrate for surface machining by a
lift-off amount calculated within the cycle.
• Retraction with G0 /G1 (and feedrate for intermediate paths _FF3), depending on the
programming.
• Retraction to the depth infeed point with G0/G1 (and _FF3).
• This sequence is repeated on the next machining plane up to finishing allowance in the
depth.
A completion of roughing, the tool stands above the point (calculated internally in the control
system) of retraction from the contour at the height of the retraction plane.
The cycle creates the following sequence of motions when finishing (VARI = XX2):
• When finishing, the milling is carried out with the relevant infeed in depth along the
contour until the final dimension _DP is reached.
• The appropriate path is calculated internally in the control system.
• At the end of the cycle, the tool is positioned at the contour retraction point at the height
of the retraction level.
Contour programming
When programming the contour, please observe the following:
• No programmable frame (TRANS, ROT, SCALE, MIRROR) may be selected in the
subroutine before the first programmed position.
• The first block of the contour subroutine is a straight line block containing G90 and G0
and defines the contour start.
• The cutter radius compensation is selected / deselected by the higher-level cycle;
therefore, no G40, G41, G42 is programmed in the contour subroutine.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-69
Milling cycles
3.12 Path milling - CYCLE72
=
5HIHUHQFHSODQHB5)3
)LQDOPDFKLQLQJDOORZDQFH
GHSWKB)$/'
)LQLVKLQJGLPHQVLRQ
GHSWKB'3
;
_KNAME (name)
The contour to be milled is programmed completely in a subroutine. _KNAME defines the
name of the contour subroutine.
The milling contour can also be a section of the calling routine or of any other program. The
section is identified by start or end labels or by block numbers. Program name and
labels/block number are indicated with ":".
Example:
Name Meaning
_KNAME="KONTUR_1" The milling contour is the complete program
Kontur_1.
_KNAME="ANFANG:ENDE" The milling contour is defined as a section in the
calling program, which starts from the block
containing label ANFANG (START) to the block
containing label ENDE (END).
_KNAME= The milling contour is defined in blocks N130 to
"/_N_SPF_DIR/_N_KONTUR_1_SPF:N130:N210" N210 in the program KONTOUR_1. The program
name must be written out completely with the
path and extension. See call description in the
reference: /PGA/ Programming Guide Production
Planning
Notice
If the section is defined with block numbers, then you must note that with _KNAME, the block
numbers for the section must also be adjusted after a program change with a subsequent
"renumbering" operation.
Cycles
3-70 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.12 Path milling - CYCLE72
_AS1/_AS2 &RQWRXU
DSSURDFKHGUHWXUQHG
IURPDORQJDVWUDLJKWOLQH
&RQWRXUDSSURDFKHG
UHWXUQHGIURPDORQJD
TXDUWHUFLUFOH
_AS1/_AS2
&RQWRXUDSSURDFKHG
UHWXUQHGIURPDORQJD
VHPLFLUFOH
_AS1/_AS2
%\SDVVLQJWKHFRQWRXUFHQWUDOO\
_AS1/_AS2
&RQWRXU
DSSURDFKHGUHWXUQHG
IURPDORQJDVWUDLJKWOLQH
Use the parameter _AS1 to program the specification of the approach path and _AS2 to
program that of the retraction path. For possible values, see "Parameters for CYCLE72". If
_AS2 is not programmed, then the behavior of the retraction path is analogously to that of
the approach path. Smooth approach of the contour along a spatial path (helix or straight
line) should only be programmed if the tool is not yet in mesh or is suitable for this type of
approach.
Note
In the case of central (G40) approach and retraction, only possible along a straight line.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-71
Milling cycles
3.12 Path milling - CYCLE72
Note
When using G40, the approach or retraction travel is the distance from the tool center point
to the starting or end point of the contour.
Note
For an explanation of the parameters RTP, RFP, and SDIS, see Drilling, centering –
CYCLE81.
For an explanation of the parameters _MID, _FAL, _FALD, and _FFP1, see Milling
rectangular pockets - POCKET3.
For an explanation of the parameter _DP, see Face milling - CYCLE71
For an explanation of the cycle setting data _ZSD[1], see Requirements for milling cycles.
See also
Drilling, centering - CYCLE81 (Page 2-4)
Milling a rectangular pocket - POCKET3 (Page 3-43)
Face milling - CYCLE71 (Page 3-58)
Requirements (Page 3-1)
Cycles
3-72 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.13 Rectangular spigot milling - CYCLE76
Function
Use this cycle to machine rectangular spigots in the machining plane. For finishing, a face
cutter is required. The depth infeed is always carried out in the position upstream of the
semicircle style approach to the contour.
Programming
CYCLE76 (_RTP, _RFP, _SDIS, _DP, _DPR, _LENG, _WID, _CRAD, _PA, _PO,
_STA, _MID, _FAL, _FALD, _FFP1, _FFD, _CDIR, _VARI, _AP1, _AP2)
Parameter
The following input parameters are always required:
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-73
Milling cycles
3.13 Rectangular spigot milling - CYCLE76
< <
$ $%
3
5 ¡
%
; =
N10 G90 G0 G17 X100 Y100 T20 D1 S3000 ;Specification of technology values
M3
N11 M6
N20 _ZSD[2]=1 ;Dimensioning of spigot with reference to
;corners
N30 CYCLE76 (10, 0, 2, -17.5, , -60, -> ;Cycle call
-> -40, 15, 80, 60, 10, 11, , , 900, ->
-> 800, 0, 1, 80, 50)
N40 M30 ;Program end
Note
-> means: it must be programmed in a block
Cycles
3-74 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.13 Rectangular spigot milling - CYCLE76
Sequence
Position reached prior to cycle start:
Within the cycle, a position located on the first axis in the plane in the positive direction of
this axis is calculated as the starting point. It depends on the blank dimension of the spigot
and the tool radius, and must be approachable without collisions.
$SSURDFKWRDQGUHWUDFWLRQIURPWKHFRQWRXUDORQJ
DVHPLFLUFOHZLWKWKHVSLQGOHURWDWLQJFORFNZLVH
DQGV\QFKURQRXVPLOOLQJ
<
$SSURDFKWRFRQWRXU
;
5HWUDFWLRQIURPFRQWRXU
Notice
A tool compensation must be programmed before the cycle is called. Otherwise, the cycle is
canceled and alarm 61009 "Active tool number=0" is issued.
Internally in the cycle, a new current workpiece coordinate system is used which influences
the actual value display. The zero point of this coordinate system is to be found in the pocket
center point.
At the end of the cycle, the original coordinate system is active again.
The cycle creates the following sequence of motions when roughing (_VARI = 1):
• Approach/retraction from contour:
The retraction plane (_RTP) is approached at rapid traverse rate to be able to position
then at this height to the starting point in the machining plane.
The tool is feed to the safety clearance (_SDIS) at rapid traverse with subsequent
traversing to the machining depth at feedrate.
To approach the spigot contour, the tool will travel along a semicircle path.
The milling direction can be determined either as up-cut milling or down-cut milling with
reference to the spindle direction.
If the spigot is bypassed once, the contour is left along a semi-circle in the plane, and the
tool is fed to the next machining depth.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-75
Milling cycles
3.13 Rectangular spigot milling - CYCLE76
The contour is then reapproached along a semicircle and the spigot is circumnavigated
once. This process is repeated until the programmed spigot depth is reached. Then, the
retraction plane (_RTP) is approached at rapid traverse rate.
• Depth infeed:
– Feeding to the safety clearance
– Insertion to machining depth
The first machining depth is calculated from:
– the total depth,
– the finishing allowance and
– the maximum possible depth infeed.
The cycle creates the following sequence of motions when smoothing (_VARI = 2)
Depending on the programmed parameters _FAL and _FALD, smoothing is carried out on
the peripheral contour, on the base, or both. The approach strategy corresponds to the
motions in the plane as with roughing.
B3$
B67$ *
(1
B&5$'
B/
B:
*
B:
(1
,'
,'
B67$
B/
B32
B32
; B3$ ;
_LENG, _WID and _CRAD (spigot length, spigot width, and corner radius)
Use the parameters _LENG, _WID, and _CRAD to define the form of a spigot in the plane.
The spigot can be dimensioned from the center or from a corner point. When dimensioning
from a corner point, use _LENG and _WID with sign.
The length value (_LENG) always refers to the first axis (zero degrees for plane angle).
Cycles
3-76 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.13 Rectangular spigot milling - CYCLE76
Down-cut Up-cut
M3 → G3 M3 → G2
M4 → G2 M4 → G3
_VARI (machining type)
Use the parameter _VARI to define the machining type.
Possible settings:
• 1 = roughing
• 2 = finishing
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-77
Milling cycles
3.13 Rectangular spigot milling - CYCLE76
<
B$3
B$3
When machining the spigot, it is possible to take into account blank dimensions (e.g. when
machining precast parts). The basic sizes for the length and width (_AP1 and _AP2) are
programmed without sign and their symmetrical positions around the spigot center are
computed in the cycle. The internally calculated radius of the approach semicircle depends
on this dimension.
Note
For an explanation of the parameters RTP, RFP, SDIS, _DP, and _DPR , see Drilling,
centering – CYCLE81.
For an explanation of the parameters _MID, _FAL, _FALD, _FFP1, and _FFD, see Milling
rectangular pockets - POCKET3.
For an explanation of the cycle setting data _ZSD[2], see Requirements for milling cycles.
See also
Drilling, centering - CYCLE81 (Page 2-4)
Milling a rectangular pocket - POCKET3 (Page 3-43)
Requirements (Page 3-1)
Cycles
3-78 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.14 Circular spigot milling - CYCLE77
Function
Use this cycle to machine circular spigots in the machining plane. For finishing, a face cutter
is required. The depth infeed is always carried out in the position upstream of the semicircle
style approach to the contour.
Programming
CYCLE77 (_RTP, _RFP, _SDIS, _DP, _DPR, _PRAD, _PA, _PO, _MID, _FAL,
_FALD, _FFP1, _FFD, _CDIR, _VARI, _AP1)
Parameter
The following input parameters are always required:
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-79
Milling cycles
3.14 Circular spigot milling - CYCLE77
< <
$ $%
% ; =
Note
-> means: it must be programmed in a block
Cycles
3-80 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.14 Circular spigot milling - CYCLE77
Sequence
Position reached prior to cycle start:
The starting position is calculated within the cycle exactly as in CYCLE76 (see Section 3.13,
Milling a rectangular spigot - CYCLE76).
$SSURDFKWRDQGUHWUDFWLRQIURPWKHFRQWRXUDORQJ
DVHPLFLUFOHZLWKWKHVSLQGOHURWDWLQJFORFNZLVHDQG
V\QFKURQRXVPLOOLQJ
<
$SSURDFKWRFRQWRXU
;
5HWUDFWLRQIURPFRQWRXU
Notice
A tool compensation must be programmed before the cycle is called. Otherwise, the cycle is
canceled and alarm 61009 "Active tool number=0" is issued.
Internally in the cycle, a new current workpiece coordinate system is used which influences
the actual value display. The zero point of this coordinate system is to be found in the pocket
center point.
At the end of the cycle, the original coordinate system is active again.
The cycle creates the following sequence of motions when roughing (_VARI = 1):
• Approach/retraction from contour:
The retraction plane (_RTP) is approached at rapid traverse rate to be able to position
then at this height to the starting point in the machining plane.
The tool is feed to the safety clearance (_SDIS) at rapid traverse with subsequent
traversing to the machining depth at feedrate. To approach the spigot contour, the tool is
approached along a semicircle path, taking into account the programmed blank spigot.
The milling direction can be determined either as up-cut milling or down-cut milling with
reference to the spindle direction.
If the spigot is bypassed once, the contour is left along a semi-circle in the plane, and the
tool is fed to the next machining depth.
The contour is then reapproached along a semicircle and the spigot is circumnavigated
once. This process is repeated until the programmed spigot depth is reached.
Then, the retraction plane (_RTP) is approached at rapid traverse rate.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-81
Milling cycles
3.14 Circular spigot milling - CYCLE77
• Depth infeed:
– Feeding to the safety clearance
– Insertion to machining depth
The first machining depth is calculated from:
– the total depth,
– the finishing allowance and
– the maximum possible depth infeed.
The cycle creates the following sequence of motions when smoothing (_VARI = 2):
Depending on the programmed parameters _FAL and _FALD, smoothing is carried out on
the peripheral contour, on the base, or both. The approach strategy corresponds to the
motions in the plane as with roughing.
Down-cut Up-cut
M3 → G3 M3 → G2
M4 → G2 M4 → G3
Cycles
3-82 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.14 Circular spigot milling - CYCLE77
Note
For an explanation of the parameters RTP, RFP, SDIS, _DP, and _DPR , see Drilling,
centering – CYCLE81.
For an explanation of the parameters _MID, _FAL, _FALD, _FFP1, and _FFD, see Milling
rectangular pockets - POCKET3.
See also
Drilling, centering - CYCLE81 (Page 2-4)
Milling a rectangular pocket - POCKET3 (Page 3-43)
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-83
Milling cycles
3.15 Pocket milling with islands - CYCLE73, CYCLE74, CYCLE75
Note
Pocket milling with islands is an option that requires SW6 in both the NCK and HMI
Advanced.
Function
Cycles CYCLE73, CYCLE74 and CYCLE75 enable you to machine pockets with islands.
The contours of the pocket and islands are defined in DIN code in the same program as the
pocket machining operation or as a subroutine.
Cycles CYCLE74 and CYCLE75 transfer the pocket edge contour or island contours to
CYCLE73, which is the actual pocket milling cycle.
CYCLE73 uses a geometry processor to generate and execute one or more machining
programs. To ensure correct program processing, it is important to program cycle calls in the
proper sequence.
• CYCLE74( ) ;transfer of edge contour
• CYCLE75( ) ;transfer of island contour 1
• CYCLE75( ) ;transfer of island contour 2
• ...
• CYCLE73( ) ;machining of pocket
Requirement
To use the pocket milling cycle with islands, you need specific machine data settings.
References:
For current information, see:
• "siemensd.txt" file in the supplied software (standard cycles)
Cycles
3-84 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.15 Pocket milling with islands - CYCLE73, CYCLE74, CYCLE75
Function
Cycle CYCLE74 transfers the pocket edge contour to pocket milling cycle CYCLE73. This is
achieved by creating a temporary internal file in the standard cycles directory and storing the
transferred parameter values in it.
If a file of this type already exists, it is deleted and set up again.
For this reason, a program sequence for milling pockets with islands must always begin with
a call for CYCLE74.
Programming
CYCLE74 (_KNAME, _LSANF, _LSEND)
Example
See CYCLE75.
Parameter
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-85
Milling cycles
3.15 Pocket milling with islands - CYCLE73, CYCLE74, CYCLE75
Function
Note
Pocket milling with islands is an option that requires SW6 in both the NCK and HMI
Advanced.
Cycle CYCLE75 transfers the island contours to pocket milling cycle CYCLE73. The cycle is
called once per island contour. It does not need to be called if no island contours are
programmed.
The transferred parameter values are written to the temporary file opened by CYCLE74.
Programming
CYCLE75 (_KNAME, _LSANF, _LSEND)
Parameter
Contour programming
Pocket edge and island contours must always be closed, i.e., the start and end points are
identical.
The starting point, i.e., the first point in every contour, must always be programmed with G0.
All other contour elements are programmed via G1 to G3.
When programming the contour, the last contour element must not contain a radius or
champfer.
The tool may not be located at a starting position of the programmed contour element before
CYCLE73 is invoked.
The necessary programs must always be stored in one directory only (workpiece or parts
program). It is permissible to use the global subroutine memory for pocket edge or island
contours.
Workpiece-related geometric dimensional data may be programmed in either metric or
imperial dimensions. Switching between these units of measurement within individual
contour programs causes errors in the machining program.
Cycles
3-86 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.15 Pocket milling with islands - CYCLE73, CYCLE74, CYCLE75
When G90/G91 are programmed alternately in contour programs, care must be taken to
program the correct dimensional command at the start of the program in the sequence of
contour programs to be executed.
Only the geometries in the plane are taken into account when calculating the machining
program for the pocket.
If other axes or functions (T.., D.., S.. M.. etc.) are programmed in the contour sections, they
are skipped during contour preparation within the cycle.
All technical machine-specific program commands (e.g., tool call, speed, M command) must
be programmed before the cycle commences. Feedrates must be set as parameters in
CYCLE73.
The tool radius must be greater than zero.
It is not possible to repeat island contours by offsets implemented by suitable control
commands (e.g., zero offset, frames, etc.). Every island to be repeated always has to be
programmed again with the offsets calculated in the coordinates.
< <
$ $$
5
5
5
$ ; =
$OOUDGLLRQWKHFRUQHUV5
%_N_SAMPLE1_MPF
;$PATH=/_N_MPF_DIR
; Example_1: Pocket with islands
;
$TC_DP1[5,1]=120 $TC_DP3[5,1]=111 $TC_DP6[5,1]=6 ;Tool offset cutter T5 D1
$TC_DP1[2,2]=120 $TC_DP3[2,2]=130 $TC_DP6[2,2]=5
N100 G17 G40 G90 ;Initial conditions G code
N110 T5 D1 ;Load milling tool
N120 M6
N130 S500 M3 F2000 M8
GOTOF _MACHINE
;
N510 _EDGE:G0 G64 X25 Y30 F2000 ;Define edge contour
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-87
Milling cycles
3.15 Pocket milling with islands - CYCLE73, CYCLE74, CYCLE75
See also
Transfer pocket edge contour - CYCLE74 (Page 3-85)
Cycles
3-88 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.15 Pocket milling with islands - CYCLE73, CYCLE74, CYCLE75
Function
Note
Pocket milling with islands is an option that requires SW6 in both the NCK and HMI
Advanced.
CYCLE73 is a machining cycle used for machining any contour axes with or without islands.
It supports complete machining of this type of pocket and offers the following machining
operations:
• Predrilling
• Solid machine pocket
• Machine residual material
• Finish edge
• Finish base
Pocket and island contours are freely programmed in DIN code supported, for example, by
the geometry processor.
The cycle is executed once for each operation according to the programmed machining type
(_VARI). In other words, in applications requiring roughing and finishing, or an additional
rough-cut residual material operation, CYCLE73 must be called a second time.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-89
Milling cycles
3.15 Pocket milling with islands - CYCLE73, CYCLE74, CYCLE75
Programming
CYCLE73 (_VARI, _BNAME, _PNAME, _TN, _RTP, _RFP, _SDIS, _DP, _DPR,
_MID, _MIDA, _FAL, _FALD, _FFP1, _FFD, _CDIR, _PA, _PO, _RAD, _DP1,
_DN)
Cycles
3-90 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.15 Pocket milling with islands - CYCLE73, CYCLE74, CYCLE75
Parameter
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-91
Milling cycles
3.15 Pocket milling with islands - CYCLE73, CYCLE74, CYCLE75
3.15.4.2 Examples
Example 1
The machining task consists of milling a pocket with 2 islands from solid material, followed
by finishing in the plane X,Y.
< <
$ $$
5
5
5
$ ; =
$OOUDGLLRQWKHFRUQHUV5
%_N_SAMPLE1_MPF
;$PATH=/_N_WKS_DIR/_N_CC73BEI1_WPD
;Example_1: Pocket with islands
;Solid machine and finish
$TC_DP1[5,1]=120 $TC_DP3[5,1]=111 $TC_DP6[5,1]=4 ;Tool offset cutter T5 D1
$TC_DP1[2,1]=120 $TC_DP3[2,1]=130 $TC_DP6[2,1]=5 ;Tool offset cutter T2 D1
N100 G17 G40 G90 ;Initial conditions G code
N110 T5 D1 ;Load milling tool
N120 M6
N130 M3 F2000 S500 M8
N140 GOTOF _MACHINE
;
N510 _EDGE:G0 G64 X25 Y30 ;Define edge contour
N520 G1 X118 RND=5
N530 Y96 RND=5
N540 X40 RND=5
N545 X20 Y75 RND=5
N550 Y35
N560 _ENDEDGE:G3 X25 Y30 CR=5
;
N570 _ISLAND1:G0 X34 Y58 ;Define bottom island
N580 G1 X64
N590 _ENDISLAND1:G2 X34 Y58 CR=15
;
Cycles
3-92 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.15 Pocket milling with islands - CYCLE73, CYCLE74, CYCLE75
;
;Programming of contours
_MACHINE:
GOTOF ENDLABEL
SAMPLE1_CONT:
CYCLE74(,"_EDGE","_ENDEDGE")
CYCLE75(,"_ISLAND1","_ENDISLAND1")
CYCLE75(,"_ISLAND2","_ENDISLAND2")
ENDLABEL:
;
; Programming of pocket milling
REPEAT EXAMPLE1_CONT ENDLABEL
CYCLE73(1021,"EXAMPLE1_DRILL","EXAMPLE1_MILL1","5",10,0,1,-
17.5,0,0,2,0.5,0,9000,3000,0,0,0,4,3)
;
; Milling cutter for finishing
T2 D1 M6
S3000 M3
;
; Programming of pocket finishing
REPEAT EXAMPLE1_CONT ENDLABEL
CYCLE73(1023,"EXAMPLE1_DRILL","EXAMPLE1_MILL3","5",10,0,1,-
17.5,0,0,2,0,0,9000,3000,0,0,0,4,2)
M30
Machining result:
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-93
Milling cycles
3.15 Pocket milling with islands - CYCLE73, CYCLE74, CYCLE75
Example 2
Machining task:
Before the pocket is milled, the workpiece must be predrilled to ensure optimum insertion of
the milling tool.
• Predrilling
• Solid machine pocket with islands, cutter radius 12 mm
• Solid machine residual material, cutter radius 6 mm
• Finish pocket, cutter radius 5 mm
Machining outline:
<
3RFNHWGHSWKPP
,16$ ,16$
,16$
ෘ
,16$
5
;
Machining program:
%_N_SAMPLE2_MPF
;$PATH=/_N_WKS_DIR/_N_CC73BEI2_WPD
; Example_2: Pocket with islands
; Predrilling, solid machining, solid machining of residual material, finishing
;
;Drill 20 mm, boring
$TC_DP1[2,1]=220 $TC_DP3[2,1]=111 $TC_DP6[2,1]=10 ;Drill
;Milling tool 24 mm, solid machining
$TC_DP1[3,1]=120 $TC_DP3[3,1]=150 $TC_DP6[3,1]=12 ;Milling tool, roughing
;Milling tool 10 mm, finishing
$TC_DP1[5,1]=120 $TC_DP3[5,1]=150 $TC_DP6[5,1]=5 ;Milling cutter for finishing
;Milling tool 12 mm, residual material
$TC_DP1[6,1]=120 $TC_DP3[6,1]=150 $TC_DP6[6,1]=6 ;Milling tool, residual material
;machining
;
TRANS X10 Y10
G0 G17 G500 G40 G90
;
Cycles
3-94 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.15 Pocket milling with islands - CYCLE73, CYCLE74, CYCLE75
;Define contours
GOTOF ENDLABEL
ACCEPTANCE4_CONT:
CYCLE74("EDGEA01", , )
CYCLE75("ISL11A01",,)
CYCLE75("ISL1A01",,)
CYCLE75("ISL2A01",,)
CYCLE75("ISL3A01",,)
ENDLABEL:
;
; Programming of predrilling
T2 M6
D1 M3 F2222 S3000
MCALL CYCLE81 (10,0,1,-12,)
REPEAT ACCEPTANCE4_MACH ACCEPTANCE4_MACH_END
MCALL
;
; Programming of solid machining
T3 M6
D1 M3 F3000 S4000
GOTOF ACCEPTANCE4_MACH_END
ACCEPTANCE4_MACH:
REPEAT ACCEPTANCE4_CONT ENDLABEL
CYCLE73(1015,"ACCEPTANCE4_DRILL","ACCEPTANCE4_MILL1","3",10,0,1,-
12,0,0,2,0.5,0,2000,400,0,,,,)
ACCEPTANCE4_MACH_END:
REPEAT ACCEPTANCE4_CONT ENDLABEL
CYCLE73(1011,"ACCEPTANCE4_DRILL","ACCEPTANCE4_MILL1","3",10,0,1,-
12,0,0,2,0.5,0,2000,400,0,,,,)
;
; Programming of solid machining of residual
material
T6 M6
D1 M3 S4000
REPEAT ACCEPTANCE4_CONT ENDLABEL
CYCLE73(1012,"","ACCEPTANCE4_3_MILL2","3",10,0,1,-12,0,0,2,0.5,0,1500,800,0,,,,)
;
; Programming of edge finishing
T5 M6
D1 M3 S500
G0 Z120
REPEAT ACCEPTANCE4_CONT ENDLABEL
CYCLE73(1013,"ACCEPTANCE4_DRILL","ACCEPTANCE4_MILL3","6",10,0,1,-
12,0,0,2,0,0,3000,700,0,,,,)
M30
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-95
Milling cycles
3.15 Pocket milling with islands - CYCLE73, CYCLE74, CYCLE75
%_N_EDGEA01_MPF
;$PATH=/_N_WKS_DIR/_N_CC73BEI2_WPD
;Ste 17.05.99
;Edge contour programming example 2
N5 G0 G90 X260 Y0
N7 G3 X260 Y120 CR=60
N8 G1 X170 RND=15
N9 G2 X70 Y120 CR=50
N10 G1 X0 RND=15
N11 Y0 RND=15
N35 X70 RND=15
N40 G2 X170 Y0 CR=50
N45 G1 X260 Y0
N50 M30
%_N_ISL1A01_MPF
;$PATH=/_N_WKS_DIR/_N_CC73BEI2_WPD
;Ste 18.06.99
;Island contour sample program 2
%_N_ISL11A01_MPF
;$PATH=/_N_WKS_DIR/_N_CC73BEI2_WPD
;Ste 18.06.99
;Island contour sample program 2
%_N_ISL2A01_MPF
;$PATH=/_N_WKS_DIR/_N_CC73BEI2_WPD
;Ste 18.06.99
;Island contour sample program 2
Cycles
3-96 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.15 Pocket milling with islands - CYCLE73, CYCLE74, CYCLE75
%_N_ISL3A01_MPF
;$PATH=/_N_WKS_DIR/_N_CC73BEI2_WPD
;Ste 18.06.99
;Island contour sample program 2
Machining result:
→ See explanations of technology using example 2
Example 3
Machining task:
Show the program sequence of a machining task, illustrated by two different pockets with
islands. The machining process is tool-oriented, i.e., each time a new tool becomes
available, all machining tasks requiring this particular tool are completely performed on both
pockets before the next tool is used.
• Predrilling
• Solid machine pocket with islands
• Solid machine residual material
%_N_SAMPLE3_MPF
;$PATH=/_N_WKS_DIR/_N_CC73BEI3_WPD
; Sample3
; 07.04.2000
;Workpiece zero
; G54
$P_UIFR[1,X,TR]=620
$P_UIFR[1,Y,TR]=50
$P_UIFR[1,Z,TR]=-320
; G55
$P_UIFR[2,X,TR]=550
$P_UIFR[2,Y,TR]=200
$P_UIFR[2,Z,TR]=-320
;
N10 G0 G17 G54 G40 G90
N20 T2
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-97
Milling cycles
3.15 Pocket milling with islands - CYCLE73, CYCLE74, CYCLE75
M6
D1 M3 F2000 S500
N30 G0 Z20
;Machining contours pocket 1
GOTOF ENDLABEL
POCKET1_CONT:
CYCLE74("EDGE"," "," ")
CYCLE75("ISLAND1"," "," ")
CYCLE75("ISLAND2"," "," ")
ENDLABEL:
;Machining contours pocket 2
GOTOF ENDLABEL
SAMPLE2_CONT:
CYCLE74("EDGEA01", , )
CYCLE75("ISL11A01",,)
CYCLE75("ISL1A01",,)
CYCLE75("ISL2A01",,)
CYCLE75("ISL3A01",,)
ENDLABEL:
;Drill
T2 M6
D1 M3 F6000 S4000
MCALL CYCLE81 (10,0,1,-8,)
REPEAT POCKET1_MACH POCKET1_MACH_END
MCALL
G55
MCALL CYCLE81 (10,0,1,-8,)
REPEAT SAMPLE2_MACH SAMPLE2_MACH_END
MCALL
;Solid machining pocket 1
T3 M6
G54 D1 M3 S3300
GOTOF POCKET1_MACH_END
POCKET1_MACH:
REPEAT POCKET1_CONT ENDLABEL
CYCLE73(1015,"POCKET1_DRILL","POCKET1_MILL1","3",10,0,1,
-8,0,0,2,0,0,2000,400,0,0,0,1,4)
POCKET1_MACH_END:
REPEAT POCKET1_CONT ENDLABEL
CYCLE73(1011,"POCKET1_DRILL","POCKET1_MILL1","3",10,0,1,
-8,0,0,2,0,0,2000,400,0,0,0,1,4)
SAMPLE2_MACH:
REPEAT SAMPLE2_CONT ENDLABEL
CYCLE73(1015,"SAMPLE2_DRILL","SAMPLE2_MILL1","3",10,0,1,
-8,0,0,2,0,0,2000,400,0,0,0,1,4)
SAMPLE2_MACH_END:
REPEAT SAMPLE2_CONT ENDLABEL
Cycles
3-98 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.15 Pocket milling with islands - CYCLE73, CYCLE74, CYCLE75
CYCLE73(1011,"SAMPLE2_DRILL","SAMPLE2_MILL1","3",10,0,1,
-8,0,0,2,0,0,2000,400,0,0,0,1,4)
G55
REPEAT SAMPLE2_CONT ENDLABEL
CYCLE73(1012,"","SAMPLE2_3_MILL2","3",10,0,1,-8,0,,2,,,2500,800,0,,,,)
G0 Z100
M30
%_N_ISLAND1_MPF
;$PATH=/_N_WKS_DIR/_N_CC73BEI3_WPD
;29.03.99
N100 G0 X130 Y30 Z50 G90
N110 G1 X150 Y30
N120 X150 Y60
N130 X130 Y60
N200 X130 Y30
M30
%_N_ISLAND2_MPF
;$PATH=/_N_WKS_DIR/_N_CC73BEI3_WPD
;29.03.99
N12 G0 X60 Y20
N13 G1 X90 Y20
N14 X90 Y50
N30 X60 Y50
N40 X60 Y20
M30
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-99
Milling cycles
3.15 Pocket milling with islands - CYCLE73, CYCLE74, CYCLE75
Machining result:
Predrilling sequence
In the first machining section of the predrilling operation, a REPEAT command must be used
after a modal call of the drilling cycle to call a sequence of machining steps with the contents
Cycles
3-100 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.15 Pocket milling with islands - CYCLE73, CYCLE74, CYCLE75
of CYCLE73 and the contour repetition. The drilling cycle must be deselected modally before
the next tool change. Other drilling technologies can be programmed subsequently.
The next program section contains CYCLE73, which contains all necessary parameters and
programs for solid machining and drilling.
Parameter _VARI is the only one to define all solid machining parameters and, therefore,
must always be programmed.
The cycle now generates the solid machining and drilling position programs for the pocket. It
then calls the drilling position program and executes it.
If the operation involves several different pockets, it will be necessary to call the associated
contours again in this section. This block can be omitted if there is only one pocket.
This entire machining section must be marked by a skip command to the following "Solid
machine pocket" section.
Note
The programming can be reviewed in Examples 2 and 3.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-101
Milling cycles
3.15 Pocket milling with islands - CYCLE73, CYCLE74, CYCLE75
• Infeed to the current machining depth according to the selected insertion strategy (_VARI)
with feed value _FFD.
• Mill pocket with islands down to final machining allowance with feedrate _FFP1. The
machining direction corresponds to the setting in _CDIR.
• Lift off in accordance with selected retraction mode and return to start point for next plane
infeed.
• When the pocket has been machined, the tool is retracted either to the retraction plane or
by the safety clearance via the reference plane, depending on the selected lift-off mode.
The tool position in the plane is above the pocket surface, as determined by the
generated program.
• The pocket and island contours are each circumnavigated once during the edge finishing
operation. Vertical insertion with G1 (_VARI) must be programmed as the insertion
strategy. Approach and retraction at the start and edge points of the finishing operation
respectively are executed along a tangential circle segment.
• To finish the base, the tool is inserted to pocket depth + final machining allowance +
safety clearance with G0. From this position, the tool is fed in vertically at the feedrate for
depth infeed. The base surface of the pocket is machined once.
• Lift-off and retraction as for solid machining.
• Parameters _FAL, _FALD and _VARI=XXX4 must be assigned for simultaneous finishing
in the plane and on the base.
Cycles
3-102 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.15 Pocket milling with islands - CYCLE73, CYCLE74, CYCLE75
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-103
Milling cycles
3.15 Pocket milling with islands - CYCLE73, CYCLE74, CYCLE75
<
6WDUWSRLQW
6WDUWSRLQW
5HVLGXDOPDWHULDO
Notice
Manually specified start positions must not be too close to the island surface. Manually
specified start positions are not internally monitored.
With manual start point selection, parameters _PA and _PO must also be programmed.
However, these can only define one start point.
If the pocket has to be split, the required start points are calculated automatically.
Cycles
3-104 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.15 Pocket milling with islands - CYCLE73, CYCLE74, CYCLE75
Example:
• No drilling program name:
CYCLE73(1011,““,ACCEPTANCE4_MILL,...)
_TN (name of solid machining tool), _DN (D-number of solid machining tool)
This parameter must be assigned to the solid machining tool. Depending on whether the tool
management function is active or not, the parameter must be set to a tool name or tool
number.
Example:
• With tool management - MILLINGCUTTER3 D8
CYCLE73(1015,"PART1_DRILL","PART1_MILL","MILLINGCUTTER3",...,8)
• Without tool management - T3 D8
CYCLE73(1015,"PART1_DRILL","PART1_MILL","3",...,8)
The _TN parameter has a maximum length of 16 characters. If a D-number is not
programmed, D1 is automatically used. For a flat D-number, T does not have to be
programmed.
Example:
• Flat D number - D39
CYCLE73(1015,"PART1_DRILL","PART1_MILL","",...,39)
When the residual material machining operation is used more than once, the tool from the
last residual material removal process must be used.
_RFP and _RTP (reference plane and retraction plane)
Normally, reference plane (RFP) and return plane (RTP) have different values. The cycle
assumes that the retraction plane precedes the reference plane. This means that the
distance from the retraction plane to the final drilling depth is larger than the distance from
the reference plane to the final drilling depth.
_SDIS (safety clearance)
The safety clearance (SDIS) acts with reference to the reference plane. This is brought
forward by the safety clearance.
The direction, in which the safety clearance is active, is automatically determined by the
cycle.
_DP (absolute pocket depth) and _DPR (incremental pocket depth)
The pocket depth can be specified as either an absolute value (_DP) or an incremental value
(_DPR) in relation to the reference plane. If the incremental option is selected, the cycle
automatically calculates the depth on the basis of the reference and retraction plane
positions.
_MID (maximum infeed depth)
Use this parameter to define the maximum infeed depth. The depth infeed is performed by
the cycle in equally sized infeed steps.
The cycle calculates this infeed automatically on the basis of _MID and the total depth.
The minimum possible number of infeed steps is used as the basis. _MID=0 means that one
cut is made up to the pocket depth.
_MIDA (max. infeed width in the plane)
Use this parameter to define the maximum infeed width when solid machining in a plane.
This value is never exceeded.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-105
Milling cycles
3.15 Pocket milling with islands - CYCLE73, CYCLE74, CYCLE75
If this parameter is not programmed, or if its value is 0, the cycle uses 80% of the cutter
radius as the maximum infeed width.
If an infeed width of more than 80% of the cutter diameter is programmed, the cycle is
aborted after output of alarm 61982 "Infeed width in plane too large".
_FAL (final machining allowance in the plane)
The finishing allowance only affects the machining of the pocket in the plane on the edge.
If the final machining allowance ≥ tool diameter, the pocket will not necessarily be machined
completely.
_FALD (finishing allowance at the base)
A separate final machining allowance on the base is taken into account in roughing
operations.
_FFD and _FFP1 (feedrate for depth infeed and surface machining)
The feedrate _FFD is effective when inserting into the material.
The feedrate FFP1 is active for all movements in the plane which are traversed at feedrate
when roughing.
_CDIR (milling direction)
<
*
*
*
*
Use this parameter to specify the machining direction for the pocket.
Using the parameter _CDIR, the milling direction can be programmed as follows:
• can be programmed directly with "2 for G2" and "3 for G3" or,
• alternatively, "Synchronous milling" or "Conventional milling".
Synchronized operation or reverse rotation are determined internally in the cycle via the
direction of rotation of the spindle activated prior to calling the cycle.
Down-cut Up-cut
M3 → G3 M3 → G2
M4 → G2 M4 → G3
Cycles
3-106 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.15 Pocket milling with islands - CYCLE73, CYCLE74, CYCLE75
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-107
Milling cycles
3.15 Pocket milling with islands - CYCLE73, CYCLE74, CYCLE75
Note
Simulation
In the pocket milling simulation, the generated programs are saved to the NCU file system.
Therefore, only the "NC Active Data" setting is practical, since tool offset data are included in
the program calculation.
Note
For HMI-Advanced OEM users
The "Pocket milling with islands" package occupies Task 27 in the HMI for communication
between the cycle and the HMI.
For this purpose, a file is created in the \ADD_On directory when the package is installed:
• REGIE.INI
As a result, this task is not available to other OEM applications.
Cycles
3-108 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.16 Swiveling – CYCLE800
Function
The cycle is used to swivel on any type of surface so that it can be machined and/or
measured. By calling the appropriate NC functions, the cycle converts the active workpiece
zeroes and tool offsets to refer to the inclined surface, taking account of the kinematic chain
on the machine, and positions the rotary axes (optional).
Swiveling can be implemented either axially, as a projection angle or as a solid angle.
Before the rotary axes are positioned, the linear axes can be retracted if desired.
Swiveling also includes the "Setting tool" function (see Section 3.16.4).
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-109
Milling cycles
3.16 Swiveling – CYCLE800
Cycles
3-110 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.16 Swiveling – CYCLE800
5HIHUHQFHSRLQW
EHIRUHURWDWLRQ
5RWDWLRQ
=HURSRLQWDIWHU
URWDWLRQ
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-111
Milling cycles
3.16 Swiveling – CYCLE800
Note
1) The retraction positions are traversed absolutely. If another sequence or incremental
positioning is desired, this can be modified during installation and set up in the TOOLCARR
user cycle.
2) See Note 2) when programming using parameters, Section 3.1.6.3.
When programming with standard cycles, high settings for the retraction plane and large
swivel angles (through 90 degrees with multiface machining), it is possible that the traversing
area of the machine may be too small (software end position error), since the order of
approach is always the machining plane (for G17 X, Y) first, followed by the infeed axis (Z).
The retraction plane can be reduced to optimize this behavior.
Cycles
3-112 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.16 Swiveling – CYCLE800
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-113
Milling cycles
3.16 Swiveling – CYCLE800
Note
For 1: Swiveling as projection or solid angle
Only available if selected by the machine manufacturer in the CYCLE800 startup menu.
Cycles
3-114 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.16 Swiveling – CYCLE800
Axial
• With the axial swiveling option, the tool is rotated about
the individual axes of the coordinate system in
succession, with each rotation starting from the
previous rotation. The axis sequence can be freely
selected.
Projection angle
• When swiveling using the projection angle, the angle
value of the swiveled surface is projected onto the first
two axes of the right-angle coordinate system. The
user can select the axis rotation sequence.2)
The third rotation starts from the previous rotation.
The active plane and the tool orientation must be taken
into consideration when the projection angle is applied:
– For G17 projection angle XY, 3rd rotation around Z
– For G18 projection angle ZX, 3rd rotation around Y
– For G19 projection angle YZ, 3rd rotation around X
Note
For 2): Swiveling as projection angle
• When projection angles around XY and YX are programmed, the new X-axis of the
swiveled coordinate system lies in the old ZX plane.
• When projection angles around XZ and ZX are programmed, the new Z-axis of the
swiveled coordinate system lies in the old Y-Z plane.
• When projection angles around YZ and ZY are programmed, the new Y-axis of the
swiveled coordinate system lies in the old X-Y plane.
Solid angle
• With the solid angle swiveling option, the tool is first
rotated about the Z axis and then about the Y axis. The
second rotation starts from the first.
The positive direction of each rotation for the different swivel options is shown in the help
displays.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-115
Milling cycles
3.16 Swiveling – CYCLE800
Rotation about A, B, C
• Rotations (axial, projection angle)
Correct tool
The Correct display field can be deactivated using the CYCLE800 startup menu.
• Yes:
When swiveling onto a machining plane, the linear axes can be corrected to prevent the
risk of collision.
Requirements:
1. TRAORI option is required.
2. The machine manufacturer has adapted the TOOLCARR.SPF user cycle
appropriately.
• No:
Linear axes are not corrected during swiveling.
Cycles
3-116 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.16 Swiveling – CYCLE800
N1 G54
N2 T="MILL_10mm"
N3 M6
N4 CYCLE800(1,"",0,57,0,40,0,-45,0,0,0,0,0,-1) ;Swivel cycle
N5 CYCLE71(50,24,2,0,0,0,80,60,0,4,10,5,0,2000,31,5) ;Face milling
N6 TCARR=0 ;Swivel data record
;deselection
N7 PAROTOF
N8 TOROTOF ;(only with
;machine kinematic types
;"T" and "M")
N9 TRAORI
N10 G54 ;Recalculation of
;zero offset
N11 EXTCALL "ROLL" ;5-axis machining program
;with direction vectors
;(A3, B3, C3)
N12 M2
.
.
.
If the 5-axis transformation with the CYCLE832 "high speed settings" cycle has been
activated, blocks N6 to N10 are not required.
• If the rotary axes of machine kinematics are defined as manual axes (CYCLE800 startup
menu), the swivel angle to be set is displayed in cancel alarm 62180/62181.
After rotation to the swivel angle, the NC program is continued with NC Start.
• It is possible to traverse the axes in the active swivel plane in JOG mode, if the WCS key
is active on the machine control panel. This ensures that the geometry axes are traversed
and not the machine axes.
• The swivel data record can be deselected and the swivel frame
(WPFRAME, PARTFRAME, TOOLFRAME) can be deleted by programming
CYCLE800().
• In CYCLE800, parameters can also be transferred as input values (e.g., result variable of
measuring cycles _OVR[19]).
• If rotary axis values are entered in the active ZO (basic rotation of the workpiece), they
will be taken into account when swiveling.
During swiveling to the basic machine setter setting of the machine kinematics
(...,0,0,0,...) [rotation=0], CYCLE800 arranges the WCS accordingly. This results in
rotations in the $P_WPFRAME swivel frame (workpiece reference).
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-117
Milling cycles
3.16 Swiveling – CYCLE800
%_N_SWIVEL_0_SPF
;$PATH=/_N_WCS_DIR/_N_HAA_SWIVEL_WPD
G54
CYCLE800(1,"",0,57,0,0,0,0,0,0,0,0,0,-1)
M2
Example 2 Face milling and milling a circular pocket on a machining plane swiveled through 15
degrees
6FUDWFKLQJSRLQW*
6ZLYHOHGJH GHJU
=
<
;
%_N_SWIVEL_CIRCULARPOCKET_SPF
;$PATH=/_N_WCS_DIR/_N_HAA_SWIVEL_WPD
N12 T="MILL_26mm"
N14 M6
N16 G57
N18 CYCLE800(1,"",0,57,0,0,0,0,0,0,0,0,0,1)
N20 M3 S5000
N22 CYCLE71(50,2,2,0,0,0,80,60,0,4,15,5,0,2000,31,5) ;Face milling
N24 CYCLE800(1,"",0,57,0,25,0,-15,0,0,0,0,0,-1)
Cycles
3-118 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.16 Swiveling – CYCLE800
N30 T=“MILL_10mm“
N32 M6
N34 M3 S5000
N36 POCKET4(50,0,1,-15,20,0,0,4,0.5,0.5,1000,1000,0,11,,,,,) ;Circular pocket
N38 POCKET4(50,0,1,-15,20,0,0,4,0,0,1000,1000,0,12,,,,,)
N40 M2
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-119
Milling cycles
3.16 Swiveling – CYCLE800
5RWDWLRQDURXQGVWD[LV
5RWDWLRQDURXQGQGD[LV $QJOHRIURWDWLRQ
5RWDWLRQDURXQGUGD[LV
5RWDWLRQDURXQGVWD[LV
5RWDWLRQDURXQGQGD[LV $QJOHRIURWDWLRQ
5RWDWLRQDURXQGUGD[LV
5RWDWLRQDURXQGVWD[LV
5RWDWLRQDURXQGQGD[LV $QJOHRIURWDWLRQ
5RWDWLRQDURXQGUGD[LV
$[LVE\D[LVVZLYHODQJOH $%&
6ROLGDQJOH $%
3URMHFWLRQDQJOH $%&
Cycles
3-120 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.16 Swiveling – CYCLE800
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-121
Milling cycles
3.16 Swiveling – CYCLE800
Example:
In the case of a machine with a swivel head, the head (and the WCS) in the G17 plane is
swiveled 90 degrees around the X axis. When traversing the Z axis in the program,
therefore, the Y axis traverses. When retracting in tool direction, the Y machine axis
traverses to the positive software end position.
Retraction mode options (can be set in CYCLE800 installation and setup menu)
Do no retract prior to swiveling Retract: no
Retract prior to swiveling Retract: Z
Retract machining axes prior to swiveling Retract: Z,XY
Maximum retraction in tool direction Retract: Tool max.
(with Cycles SW 6.5 and higher)
Incremental retraction in tool direction Retract: Tool inc., e.g., 100.00
(with Cycles SW 6.5 and higher)
Function
After swiveling, the tool orientation is always vertical on the machining plane.
When milling with radial cutters, it can make technological sense to set the tool at an angle
to the normal surface vector.
In the swivel cycle, the setting angle is generated by an axis rotation (max. +/- 90 degrees)
to the active swivel plane. When setting, the swivel plane is always “additive”. With "Setting
tool", only rotations are displayed on the swivel cycle input screen form. The user can select
the rotation sequence.
7RROOHQJWK
7&3
5
Cycles
3-122 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.16 Swiveling – CYCLE800
The TCP (Tool Center Point) must be entered as the tool length of the radial cutter.
If a program with several swivel cycles is to be milled with a set tool, the "new" swivel plane
must always be set in the subsequent swivel call.
It is also possible to set tools on machines without the TRAORI option (see LEAD advance
angle and TILD sideways angle functions).
Screen form
Entry to programs/milling area
Soft key
!! 6HWWLQJRI
⇒ WRRO
The "Setting tool" input screen form corresponds to the CYCLE800 input screen form, which
has been shut down.
On the input screen form, the following applies:
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-123
Milling cycles
3.16 Swiveling – CYCLE800
Cycles
3-124 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.16 Swiveling – CYCLE800
Operators/machine setters must be aware of the machine position that the unswiveled plane,
the basic setting of the machine kinematics (kinematic chain) or the tool orientation occupies
in this basic setting. The machine manufacturer has defined the basic machine kinematics
setting when setting up the "Swiveling" or "5-axis transformation (TRAORI)" function.
Note the machine manufacturer’s instructions (machine manual)
The operator/machine setter can scratch a workpiece or use a probe to measure a
workpiece on any swiveled plane. In this case, the determined values of the zero offset refer
to the unswiveled plane or the basic setting of the machine kinematics. The
operators/machine setter can also specify the plane to be defined as the new zero plane. In
this case, the determined values of the zero offset refer to the new basic setting (machine
setter).
Screen form
• In JOG mode, the horizontal soft key 8 is the entry soft key for "Swiveling in JOG".
• Horizontal soft key 3 is the entry soft key for "Measuring in JOG".
• The input screen form for the "Swiveling in JOG" function corresponds to a shortened
version of the CYCLE800 Swiveling input screen form.
• The "Retraction", "Direction" and "Correct tool" input fields can be set using display
variants in the “Swiveling” startup screen.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-125
Milling cycles
3.16 Swiveling – CYCLE800
Swivel plane
• New swivel plane
• Additive swivel plane
Swivel mode
• Axis by axis
Rotation around X,Y,Z (selective), same as CYCLE800
• directly
This allows rotary axis positions to be entered directly. After rotary axes have been
positioned (or manual rotary axes have been rotated), a swivel frame is calculated for
these positions. In “direct” swivel mode, input fields with the names of the rotary axes of
the active swivel data record are displayed instead of “Rotation about” input fields.
Vertical soft key 6 provides “Teach-in”, in order to transfer the actual values of the
automatic rotary axes.
Correct tool
Corresponds to the CYCLE800 parameter _ST=1x (correct tool tip).
Note
Note the machine manufacturer’s instructions.
Cycles
3-126 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.16 Swiveling – CYCLE800
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-127
Milling cycles
3.16 Swiveling – CYCLE800
Note
Approaching the basic machine kinematics setting
1. Press VSK 5 "Clear zero plane"
2. Press VSK 3 "Initial setting"
3. NC Start
Example:
The basic machine kinematics setting of the tool is vertical on the rotary axis C (vertical tool
orientation) on a machine with a rotary table around the Z tool axis (rotary axis C) and a
swivel head around the Y machine axis (rotary axis B).
If a workpiece is to be machined exclusively with horizontal tool orientation, the tool must first
be positioned horizontally using a rotation around Y of 90 degrees (possibly in conjunction
with a rotation around Z of 180 degrees) using "Swiveling in JOG".
The ZO is then defined using Scratching or Measuring in JOG, with horizontal tool
orientation. The translational values of the ZO refer to the basic machine kinematics setting.
If the NC machining program is to start in horizontal tool orientation with 0 swivel, a new
"basic machine setter setting" (horizontal) can be defined with VSK4 "Set zero plane".
Cycles
3-128 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.16 Swiveling – CYCLE800
Note on retracting the tool axis and traversing the rotary axes
The tool axis (e.g., with G17 = Z) can be retracted prior to swiveling the rotary axes.
Conventional rapid traverse for JOG is used for positioning (MD 32010
$MA_JOG_VELO_RAPID[AX]).
If the rotary axes are positioned, they are also traversed with G0 and conventional rapid
traverse for JOG (MD 32010 $MA_JOG_VELO_RAPID[AX]). Only the TOOLCARR.SPF
cycle is used for traversing, which can be adjusted by the machine manufacturer.
If a swivel plane with active TRAORI is traversed, the TOOLCARR.SPF cycle is also used
for this, whereby the corresponding direction vector is used to set the tool orientation to
vertical on the swivel plane
(e.g., for G17 with C3=1).
Note on offsets in the zero offset of rotary axes of the swivel data record
All rotary axes that are declared in the swivel data record can always have a value in the
offset of the zero offset. Offsets in the zero offset of the rotary axis that rotate around the tool
axis do not cause rotation of the WCS (basic rotation).
In all other cases, offsets in one rotary axis or in both rotary axes result in rotation of the
WCS and, thus, in a change in the basic machine kinematics setting. This rotation is taken
into account in the workpiece reference (WPFRAME) when CYCLE800 is called and must be
noted when programming the program steps after CYCLE800.
This does not apply to manual or semi-automatic rotary axes of the swivel data record as
these are unknown to the NC and thus have no zero offset.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-129
Milling cycles
3.16 Swiveling – CYCLE800
Note
1) ZO – current zero offset
If the basic ZO is active (G500) and the “Set zero point” system frame ($P_SETFRAME) is
set up, the swivel data are written in the SETFRAME.
If the basic ZO is active (G500) and the “Set zero point” system frame ($P_SETFRAME) is
not set up, the swivel data are written in the last active basic frame.
Cycles
3-130 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.16 Swiveling – CYCLE800
6WDUWXS ! 6ZLYHO
⇒ ⇒ F\FOH
When CYCLE800 is started up, the data (swivel data record) are set in the tool data
$TC_CARR1.... These are grouped to form Swivel startup menus.
References:
For current information see:
• The "siemensd.txt" file on the delivery software (standard cycles) or
• In the case of HMI Advanced, F:\dh\cst.dir\HLP.dir\siemensd.txt.
• Description of Functions 840D/840Di/810D
/W1/ Tool Offset (Inclined Machining with 3 + 2 Axes)
• ISO 841-2001 or DIN 66217
The following cycles must be loaded:
• CYCLE800.SPF, CYCPE_SC.SPF (standard cycles)
• TOOLCARR.SPF (standard cycle)
• PROG_EVENT.SPF (manufacturer cycle)
The PROG_EVENT.SPF cycle is supplied as a manufacturer cycle and is used for
prepositioning of rotary axes (swivel axes) after a block search. The machine
manufacturer can expand the functionality of the PROG_Event by adding his own
manufacturer cycles. CYCPE1MA.SPF or CYCPE_MA.SPF must be used as the name of
the manufacturer cycles. Corresponding exit markers are prepared at the start and end of
PROG_EVENT.SPF for the CYCPE1MA.SPF and CYCPE_MA.SPF manufacturer cycles.
If the CYCPE1MA.SPF and CYCPE_MA.SPF manufacturer cycles are loaded in the NC,
the program branches from PROG_EVENT to the manufacturer cycles as appropriate.
The _TC_FR to _TC_NUM (GUD7) GUD variables must be activated.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-131
Milling cycles
3.16 Swiveling – CYCLE800
• HMI Advanced:
Delete the ";" in front of the following lines in the STARTUP.COM (standard cycles) file:
;HS14=($82084,ac7)
;PRESS(HS14)
;LM("SWIVEL1a","SWIVEL1.com")
;END_PRESS
Following these changes, restart HMI Advanced.
Cycles
3-132 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.16 Swiveling – CYCLE800
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-133
Milling cycles
3.16 Swiveling – CYCLE800
Cycles
3-134 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.16 Swiveling – CYCLE800
• MD 22530
If several swivel data records 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 record.
– Example:
Number of swivel data records in channel 1 =2
MD 22530: TOCARR_CHANGE_M_CODE = -800
Programming of swivel data record 1 (TCARR=1) ⇒ M801
Programming of swivel data record 2 (TCARR=2) ⇒ M802
The PLC can limit or invert the spindle speed, for example, by outputting M
commands.
• MD 30455
This allows the rotary axis to traverse for G90 with DC (shortest path); see
TOOLCARR.SPF user cycle.
• MD 20150/MD 20152 and SD 42980
Note on kinematics (swivel head/mixed kinematics) with Hirth tooth system:
Depending on the active plane (G17,G18,G19), the TOROT command (or TOROTX,
TOROTY) is programmed (G-group 53) to calculate (in the NCU) the compensating frame
for the Hirth tooth system in CYCLE800.
If the Hirth tooth system causes the programmed rotation to deviate from the rotary axes'
possible positions, a $P_TOOLFRAME compensating frame is created for swivel head
and mixed kinematics (see HMI active ZO/details tool reference).
The calculation depends on setting data SD 42980: $SC_TOFRAME_MODE.
For kinematics (swivel head/mixed kinematics) with Hirth tooth setting data SD 42980:
Set $SC_TOFRAME_MODE=2000!
To ensure that the compensating frame (TOOLFRAME) is retained after a reset or end of
program, enter the following value in MD 20150: $MC_GCODE_RESET_VALUES[52]:
– For G17 (TOROT) ⇒ MD 20150=2
– For G18 (TOROTY) ⇒ MD 20150=3
– For G19 (TOROTX).⇒ MD 20150=4
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-135
Milling cycles
3.16 Swiveling – CYCLE800
You must set up a swivel data set for every swivel head, swivel table or combination of both.
Swivel data records can be declared in several channels (see machine data).
The swivel data record is assigned to the tool data by $TC_CARR1[n] to $TC_CARR40[n] or,
with NCU SW 7.1 or higher, to $TC_CARR65[n].
'DWDUHFRUG
'HOHWH
Current swivel data record is deleted.
Explanation of parameters:
The meaning of the parameters in the "Kinematics" screen form is as follows:
Note
Swivel data record names may only contain permitted NC programming characters (A…Z,
0…9 and _)!
Cycles
3-136 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.16 Swiveling – CYCLE800
Swivel head (type T) Swivel table (type P) Swivel head + swivel table (type
M)
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-137
Milling cycles
3.16 Swiveling – CYCLE800
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 kinematics that move the workpiece (rotary table), the motion of the workpiece
relative to the tool must be taken into account.
Interrelation of TOOLCARRIER data ⇔ 5-axis transformation (Trafo type 24, 40, 56):
Note
With NCU SW 7.1 and higher, transformer type 72 ($MC_ TRAFO_TYPE_1) can be used for
a 5-axis transformation. The toolholder (TOOLCARRIER) vectors are used with transformer
type 72.
Cycles
3-138 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.16 Swiveling – CYCLE800
Notice
Please note the following when traversing the tool axes:
Retract the tool axis in such a way that the tool and workpiece cannot collide when swiveled.
Offset vectors I1 to I4 for rotary axis vectors V1, V2 (machine kinematics $TC_CARR1[n] to
$TC_CARR20[n]
The vectors always contain 3 components, which represent the reference to the X, Y, Z
machine axes (see also Kinematics: Type above).
The positions in the kinematic chain are measured by the machine manufacturer; they are
always relevant with respect to a swivel head/swivel table (swivel data record).
Offset vectors I1 to I4 refer to the non-swiveled state of the rotary axes (machine kinematics
basic setting).
The machine kinematics used do not need to be fully implemented. 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 "plain machines".
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-139
Milling cycles
3.16 Swiveling – CYCLE800
GHFLPDOSODFHV
$[LVE\D[LV
$[LVE\D[LVSURMHFWLRQDQJOH
$[LVE\D[LVSURMHFWLRQDQJOHVROLGDQJOH
5RWDU\D[LV
$XWRPDWLF
0DQXDO
6HPLDXWRPDWLF
5RWDU\D[LV
$XWRPDWLF
0DQXDO
6HPLDXWRPDWLF
6HOHFWLRQRISUHIHUUHGGLUHFWLRQRID[HV
1R
5HIHUHQFHWRURWDU\D[LV
5HIHUHQFHWRURWDU\D[LV
&RUUHFWLRQRIWKHWRROWLS
1R
<HV
5HVHUYHG
5HWUDFWLRQPRGH
=D[LV
=D[LVRU=;<D[LV
5HWUDFWLRQLQWRROGLUHFWLRQ ZLWK&\FOHV6:DQGKLJKHU
/HIW 5LJKW
= 0D[WRROGLUHFWLRQ
=;< ,QFUHPHQWDOWRROGLUHFWLRQ
==;< 0D[WRROGLUHFWLRQLQFUHPHQWDO
6ZLYHOGDWDUHFRUGFKDQJHWRROFKDQJH
1R
Cycles
3-140 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.16 Swiveling – CYCLE800
Table 3-1 Coding of retraction modes Z, ZXY, maximum, incremental tool direction
The following display variants affect the input screen form for the swivel cycle:
• Swivel mode
⇒ Axis by axis
⇒ Axis by axis and projection angle
⇒ Axis by axis and projection angle and solid angle
Example:
Selection of swivel mode during startup: Axis by axis, projection angle
In this case, only 'axis by axis' or 'projection angle' is included in the input menu.
It is neither desirable nor possible to program a solid angle in this example.
• Direction
⇒ Rotary axis 1
⇒ Rotary axis 2
⇒ No
Reference to rotary axis 1 or 2 for the travel direction selection in the input screen form
for the swivel cycle.
The NCU calculates two possible solutions using the angle range of the rotary axes of the
machine kinematics. Usually, one of these solutions is technologically suitable.
The rotary axis to which the two solutions are to refer is selected in the startup menu (see
note for _DIR under "Parameters of Input Screen Form).
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-141
Milling cycles
3.16 Swiveling – CYCLE800
The solution to be applied is selected in the input screen form for the swivel cycle.
With No, the direction parameter is not displayed on the operating screen.
Example of effect of "Direction" parameter using mixed kinematics:
1. Rotary axis
Swivel head A rotates around machine axis X
2. Rotary axis
Rotary axis C rotates around machine axis Z
Angle range of 1st rotary axis –30 to +90 degrees
Angle range of 2nd rotary axis 0 to +360 degrees (modulo axis)
Direction parameter in startup screen form Swivel on rotary axis 1
The Direction parameter has no effect in programs 3 and 4 because two solutions are
not produced for the kinematics starting at 30 degrees around X or Y
due to the limited angle range of the A axis (-30 to +90) and therefore the first solution
is always applied.
• Correct tool
⇒ No
⇒ Yes
"Correct Tool" display in the input screen form for the swivel cycle.
The correct tool function requires the 5-axis transformation (TRAORI) option.
See also
Manufacturer Cycle TOOLCARR.SPF - CYCLE800 (Page 3-154)
Cycles
3-142 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.16 Swiveling – CYCLE800
Explanation of parameters:
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-143
Milling cycles
3.16 Swiveling – CYCLE800
• Semi-automatic
In "semi automatic" mode, messages 62180/62181 (display of the angle values to be set)
are not displayed.
Application:
Manual rotary axes that are positioned at the calculated angle by an appropriate
mechanism. For this purpose, the machine manufacturer can modify the TOOLCARR
user cycle to pass the swivel angle (local variable _A1, _A2) to a subroutine (markers
_M21... for manual rotary axes).
Both mixed machine kinematics (e.g., 1st rotary axis automatic, 2nd rotary axis manual) and
“incomplete” machine kinematics (e.g., 1st rotary axis rotates about axis X) are permitted.
If machine kinematics are to be implemented with just one rotary axis, this must always be
declared as the 1st rotary axis.
Kinematics offset
In the "Offset Kinematics" input field, it is possible to enter the offset of rotary axis 1
($TC_CARR24[n]) or rotary axis 2 ($TC_CARR25[n]) if the position of the rotary axes is not
equal to 0 in the basic setting.
Cycles
3-144 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.16 Swiveling – CYCLE800
General information
Input screen form for fine offsets of offset vectors for swiveling (NCU 7.1 and higher):
In the "Fine kinematics" startup screen, fine offsets can be entered for the vectors of
machine kinematics I1 to I4 or the offset values of the rotary axes. The display and entry of
fine offsets of offset vectors takes place in a separate display in the "Start up swivel" area.
You use vertical soft key Kinematics, Rotary axes, Fine kinematics to enter this screen. The
fine offsets are activated by the following setting data: SD 42974:
$SC_TOCARR_FINE_CORRECTION = 1.
The fine offsets act in addition to the corresponding base vectors when the function
"swiveling" CYCLE800 or the NC function TCARR=n is called.
Assignment of base vectors to the fine offset vectors:
• I1 $TC_CARR1..3[n] → $TC_CARR41..43[n]
• I2 $TC_CARR4..6[n] → $TC_CARR44..46[n]
• I3 $TC_CARR15..17[n] → $TC_CARR55..57[n]
• I4 $TC_CARR18..20[n] → $TC_CARR58..60[n]
Offset vectors of rotary axes
• $TC_CARR24..25[n] → $TC_CARR64..65[n]
n...number of swivel data record
Application
The fine offsets can be applied for temperature compensation of machine kinematics. For
this purpose, the fine offsets can be written, activated, and deactivated in a corresponding
manufacturer cycle.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-145
Milling cycles
3.16 Swiveling – CYCLE800
,
&
,
,
/
/FRUUHVSRQGVWRWRROOHQJWK
Display options
Swivel mode Axis by axis
Direction Rotary axis 2
Correct tool No
Cycles
3-146 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.16 Swiveling – CYCLE800
V2
V1
45
degr.
172 I2
I1 Rotary axis 1
93.8
I3 Pivot point of
rotary axis Z
Pivot point of
rotary axis 2 Y
Reference point X
of tool
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-147
Milling cycles
3.16 Swiveling – CYCLE800
Display options
Swivel mode Axis by axis
Direction Rotary axis 2
Rotary axes
Rotary axis 1 B Mode Manual
Angular range 0.000 360.000
Kinematics offset 0.000
Hirth tooth system Yes Angular grid 1.000
Rotary axis 2 C Mode Manual
Angular range 0.000 180.000
Kinematics offset 0.000
The reference point of the pivot point of rotary axes 1 and 2 can be offset on the line of
rotation and does not have to coincide with the mechanical pivot point.
Cycles
3-148 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.16 Swiveling – CYCLE800
5RWDU\D[LV&
5RWDU\D[LV%
Z
9
Y
X
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-149
Milling cycles
3.16 Swiveling – CYCLE800
Rotary axes
Rotary axis 1 B Mode Auto
Angular range 0.000 180.000
Rotary axis 2 C Mode Auto
Angular range 0.000 360.000
Cycles
3-150 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.16 Swiveling – CYCLE800
Display options
Swivel mode Axis by axis
Direction Rotary axis 1
Correct tool Yes
Rotary axes
Rotary axis 1 B Mode Auto
Angular range 0.000 180.000
Rotary axis 2 C Mode Auto
Angular range 0.000 360.000
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-151
Milling cycles
3.16 Swiveling – CYCLE800
; 5RWDU\D[LV&
O
O
O\
O
O\ 5RWDU\D[LV$
5HIHUHQFHSRLQWRI
PDFKLQH
0.6;<=
9
Cycles
3-152 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.16 Swiveling – CYCLE800
9
=
<
;
5RWDU\D[LV&
O O O
O ,,
O]
O 9
O[ 5RWDU\D[LV$
5HIHUHQFHSRLQWRIPDFKLQH
0.6;<=
Display options
Swivel mode Axis by axis
Direction Rotary axis 1
Correct tool No
Rotary axes
Rotary axis 1 A Mode Auto
Angular range -90.000 90.000
Rotary axis 2 C Mode Auto
Angular range 0.000 360.000
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-153
Milling cycles
3.16 Swiveling – CYCLE800
Function
Customization by the machine manufacturer
During swiveling, all axis positions are traversed using the TOOLCARR.SPF cycle. This is
always called from the CYCLE800 swivel cycle or E_TCARR (ShopMill) or F_TCARR
(ShopTurn). The cycle can be modified by the machine manufacturer during startup, in order
to cater to the properties of specific machines.
If the cycle is not modified, the Z axis (marker _M41) or the Z axis followed by the X, Y axes
(marker _M42) is first moved when retracting prior to swiveling. Starting with cycle SW
version 6.5, retraction can also take place in the tool direction with swiveled tool axes (see
marker _M44 _M45).
The positions correspond to the CYCLE800 "Kinematics" ⇒ retraction positions startup
menu.
722/&$5563)
0DUNHUB0WRB0
(B7&$5563)
)B7&$5563)
&<&/(63) 0DUNHUB0WRB0
(QGRIF\FOH
Note
The parameters are only valid in conjunction with the relevant jump label in TOOLCARR ⇒
see the program structure below.
If INCH is the basic system of the machine, the TOOLCARR cycle must be modified
accordingly.
Note the machine manufacturer’s instructions!
Cycles
3-154 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.16 Swiveling – CYCLE800
&<&/(63)6WUXFWXUH 722/&$5563)
,QSXWSDUDPHWHU
VZLYHOGDWDUHFRUGQDPH
PRGH
RIIVHWV
URWDWLRQV
UHWUDFWLRQ
&DOFXODWLRQRI ,QLW
YDOLGVZLYHOGDWD 0DUNHUB0,QLW 5HZULWLQJRIYHFWRUVLQ
UHFRUG NLQHPDWLFFKDLQLVSRVVLEOH
HJWHPSHUDWXUHFRPSHQVDWLRQ
YHFWRUVRUFRQVLGHUDWLRQRI:D[LV
6ZLYHOGDWDUHFRUGLQYDOLG LQWKHFDVHRIERULQJPDFKLQHV
(UURUPHVVDJHV
5HWUDFWLRQ $GMXVWPHQWRI
0DUNHU
WRROD[LV UHWUDFWLRQVWUDWHJ\
B0=D[LV
B0=;<D[LV
B07RROGLUHFWLRQPD[
B07RROGLUHFWLRQLQF
1RUHWUDFWLRQ
7UDYHUVLQJWKHURWDU\D[HVLQWKHFDVHRI1&D[HV
0DUNHU
&DOFXODWLRQRI B0 5RWDU\D[LVDXWRPDWLFVZLYHOLQJ
URWDU\D[LVDQJOHV B0 5RWDU\D[LVDXWRPDWLF
'LVSOD\RIDQJOHYDOXHVWREH 5RWDU\D[LVPDQXDOVZLYHOLQJ
VHW PDQXDOURWDU\D[HV B0 5RWDU\D[LVDXWRPDWLFVZLYHOLQJ
'HDFWLYDWLQJILYHD[LV B0 5RWDU\D[LVPDQXDOVZLYHOLQJ
WUDQVIRUPDWLRQ B0 5RWDU\D[LVDXWRPDWLF
5RWDU\D[LVPDQXDOVZLYHOLQJ
B05RWDU\D[HVPDQXDOVZLYHOLQJ
B0B0B06ZLYHOLQJLQ-2*ZLWK75$25,
1RWUDYHUVLQJRI
URWDU\D[HV
(QGRIF\FOH
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-155
Milling cycles
3.16 Swiveling – CYCLE800
6'6!6ZLYHOGDWDUHFRUG
<HV
2OGHU6'6
1HZHU6'6"
1R
1R
1R
0DUNHUB0&KDQJHVZLYHOKHDGWDEOH
2OG6'6 <HV DXWRPDWLFDOO\
&KDQJHDXWRPDWLFDOO\"
0DUNHUB0&KDQJHVZLYHOKHDGWDEOH
1HZ6'6FKDQJH
PDQXDOO\"
PDQXDOO\"
1R
2OG6'6 0DUNHUB0&KDQJHVZLYHOKHDGWDEOH
FKDQJHPDQXDOO\" <HV PDQXDOO\"
1HZ6'6FKDQJH 0DUNHUB0&KDQJHVZLYHOKHDGWDEOH
DXWRPDWLFDOO\" DXWRPDWLFDOO\"
1R
1R
0DUNHUB06ZLYHODIWHUWRROFKDQJH $872
B06ZLYHODIWHUWRROFKDQJH -2*
(QGRIF\FOH
Cycles
3-156 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.16 Swiveling – CYCLE800
Notes
• For Marker _M20 to _M31
Markers _M20 to _M31 are distinguished by kinematics with two rotary axes or one rotary
axis. A distinction is also made between automatic rotary axes (known to the NCU) and
manual rotary axes.
There is only ever one valid marker for the active swivel data record. Checks are carried
out via the _TC_ST parameter/GUD7 variable.
• For ShopMill/ShopTurn
The E_SWIV_H or F_SWIV_H cycle is called in ShopMill/ShopTurn (see markers _M2 to
_M9) in the TOOLCARR.SPF manufacturer cycle.
Parameter E_SWIV_H (Par1, Par2, Par3)
– Par1: Number of swivel data record (_TC1)
– Par2: Angle of 1st rotary axis
– Par3: Angle of 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 markers.
If the rotary axes are to move to a certain position, an angle value can be transferred to
parameters Par 2, Par 3.
• For "Correct tool"
“Correct tool” requires that a 5-axis transformation is set up, which is equivalent to the
corresponding swivel data record.
The programming section is integrated into marker _M20 in the TOOLCARR.SPF
manufacturer cycle.
The relevant program lines can be activated by commenting them out.
• For 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 record are involved in the mechanical
sequence of the tool change or these rotary axes have to be retracted, the tool change
sequence program must ensure that the rotary axis positions before the tool change are
achieved again 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 during the tool change using the G153 or SUPA
commands.
• For swiveling without active tool compensation
If the user wants to prevent swiveling or rotary axes without active tool cutting edge (D0),
the machine manufacturer can adapt this in the TOOLCARR.SPF cycle.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-157
Milling cycles
3.16 Swiveling – CYCLE800
_M40:
IF ((NOT $P_TOOL) AND _TC1)
LOOP
MSG ("no tool cutting edge active")
M0
STOPRE
ENDLOOP
ENDIF
GOTOF _MEND
Parameter
TOOLCARR(_MODE, _TC1, _A1, _A2, _TC2)
Cycles
3-158 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.17 High speed settings - CYCLE832
Application of CYCLE832:
• For technological support when machining free-form contours (surfaces) in the 3 or 5axis
high-speed machining range (High Speed Cutting - HSC).
• Predominantly used in the HSC milling range (possibility of use for turning or grinding)
• Groups together the important G codes and machine and setting data that are needed for
HSC machining
• Separation of technology/geometry using a relevant NC program architecture
6XUIDFHTXDOLW\
$FFXUDF\ 9HORFLW\
When executing CAM programs in the HSC range, the control has to process high feedrates
with the shortest NC blocks. The user expects a good surface finish quality with high
accuracy in the μm range and with extremely high machining feedrates >10 m/min. By
applying different machining strategies, the user can fine tune the program with the aid of
CYCLE832.
When roughing, the emphasis is on speed due to the smoothing of the contour.
When finishing, the emphasis is on accuracy.
In both cases, specifying a tolerance ensures that the machining contour is observed in
order to achieve the desired surface finish.
When defining the tolerance values for smoothing the contour, the operator must have
precise knowledge of the subsequent CAM program. The CYCLE832 cycle supports
machine types where a maximum of three linear and two rotary axes are involved in
machining.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-159
Milling cycles
3.17 High speed settings - CYCLE832
Function
The following functions can be defined or enabled/disabled by CYCLE832:
• 4 types of machining: Finishing, rough-finishing, roughing, deselection (default setting)
• Tolerance band of the contour to be machined
• Smoothing (G64, G641, G642)
• NC block compressor (COMPCAD, COMPCURV, COMPOF)1)
• Feedforward control (FFWON, FFWOF)
• Jerk limitation (SOFT, BRISK)
• 5-axis transformation (TRAORI, TRAFOF)1)
• B SPLINE1)
1) Only if the relevant option is set.
The CYCLE832 cycle groups together the important G codes and the machine or setting
data required for HSC machining.
Machining modes
In CYCLE832, a distinction is made between four technological operations:
• "Finishing"
• "Rough-finishing"
• "Roughing"
• "Deselection" (default setting)
In CAM programs in the HSC range, the four machining types directly relate to the accuracy
and speed of the path contour (see help display). The operator/programmer uses the
tolerance value to give a corresponding weighting.
Different tolerances and settings (customizing technology) can be assigned to the four
machining types.
Screen form
The relevant G codes are preset (customizing technology) in the input screen form, in order
to ensure a smoothing path contour or that the CAM program is executed at optimum speed.
The cycle precedes the CAM program in the main menu (see typical CYCLE832 call).
Different interpretations of the tolerance values are taken into account. For example, for
G641, the tolerance value is transferred as ADIS= and for G642, the axis-specific MD 33100
COMPRESS_POS_TOL[AX] is updated.
Cycles
3-160 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.17 High speed settings - CYCLE832
When activating the "Customize technology" input field, you can enable or disable
(keyswitch position ≥2):
• Compression (COMPCAD, COMPCURV, COMPOF, B-SPLINE),
• Continuous-path mode (G64, G641, G642) or
• Velocity control (FFWON, FFWOF, SOFT, BRISK).
If 5-axis transformation (TRAORI) is set up, this can be enabled/disabled in the
transformation input field.
Notice
Never ignore information provided by the machine manufacturer!
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-161
Milling cycles
3.17 High speed settings - CYCLE832
Machining (_TOLM)
• Finishing (default)
• Rough-finishing
• Roughing
• Deselection
Variable _TOLM Coding see Parameter Description for CYCLE832.
Cycles
3-162 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.17 High speed settings - CYCLE832
Tolerance (_TOL)
On initial entry, the following values are set for the tolerance:
• Finishing: 0.01 (linear axes) 0.08 deg (rotary axes)
• Rough-finishing: 0.05 (linear axes) 0.4 deg (rotary axes)
• Roughing: 0.1 (linear axes) 0.8 deg (rotary axes)
• Deselection: 0.01 (linear axes) 0.1 deg (rotary axes)
The mm/inch system of units is taken into account.
If the tolerance value is also to be effective for rotary axes, 5-axis transformation must be set
up by the machine manufacturer but not activated in every case, e.g., machining of CAM
programs with resolved rotary axes.
Transformation (_TOLM)
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-163
Milling cycles
3.17 High speed settings - CYCLE832
Selecting the transformation number or the manufacturer cycle to call the 5-axis
transformation.
• It is possible to store the name of a manufacturer cycle, which calls the manufacturer
cycle of the transformation, in the _TOLT2 GUD7 variables. If _TOLT2 is empty (""
default), selecting transformation 1,2... calls the 5-axis transformation with TRAORI(1) or
TRAORI(2).
• To start a 5-axis transformation program to a swiveled plane (see CYCLE800), the
toolholder is deleted and the WPFRAME swivel frame (workpiece reference) is used by
TRAOR after activation.
• COMPOF (default)
• COMPCAD
• COMPCURV
• B SPLINE
The input field is only displayed if the compressor
function option is set.
B spline is only selected if the spline interpolation
option is set.
Option → A, B and C splines/compressor function
Cycles
3-164 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.17 High speed settings - CYCLE832
• G642 (default)
• G641
• G64
With an NC block compressor with COMPCAD,
COMPCURV, G642 is permanently selected.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-165
Milling cycles
3.17 High speed settings - CYCLE832
Programming
CYCLE832(_TOL, _TOLM)
Note
CYCLE832 does not absolve the machine manufacturer from performing the required
optimization tasks when starting up the machine. This involves optimization of the axes
involved in machining and the NCU settings (feedforward control, jerk limitation, etc.).
Parameter
75$)22) GHIDXOW
75$25,
75$25,
*
*
* GHIDXOW
)):2)62)7 GHIDXOW
)):2162)7
)):2)%5,6.
&2032) GHIDXOW
&203&$'
&203&859
%VSOLQH
5HVHUYHG
5HVHUYHG
6HWWLQJFDQEHFKDQJHGE\WKHPDFKLQHPDQXIDFWXUHU
VHH6HFWLRQ&XVWRPL]LQJ7HFKQRORJ\
Cycles
3-166 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.17 High speed settings - CYCLE832
T1 D1
G54
M3 S12000
CYCLE832(0.20,1003) ;Roughing
EXTCALL "CAM_Form_Schrupp"
CYCLE832(0.01,102001) ;Finishing
EXTCALL "CAM_Form_Schlicht"
CYCLE832(0.1,0) ;Deselection (default setting)
M02
Conditions
• The manufacturer password is deleted
• Keyswitch position 2 or 3 or protection level 5, 4, 3, 2
• “Customizing technology” input variable → “Yes”
Customizing technology
In order to customize the technology, the machine setter/programmer must have precise
knowledge of the subsequent CAM machining program.
The modified data are used to generate CYCLE832 and applies to the current call of
CYCLE832.
The machine manufacturer’s default settings are not changed.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-167
Milling cycles
3.17 High speed settings - CYCLE832
Conditions
• The manufacturer password is set
• “Customizing technology” input field → “Yes”
Customizing technology
When the CYCLE832 input screen form is opened, the parameters are preassigned with the
values of the _TOLV[n], _TOLT[n] GUD7 variables.
n → machining: finishing, rough-finishing, roughing, deselection
When the parameters are changed, the values are written directly to the _TOLV[n] or
_TOLT[n] GUD7 variables.
This gives the machine manufacturer the opportunity to customize the default settings to his
machining tasks.
Example:
Calling cycle CYCL832 roughing with three axes, machining axes tolerance 0.1mm with
G642 (Siemens default values).
The machine manufacturer can modify the roughing technology with setting:
machining axes tolerance 0.3 mm, TRAORI, G641.
Each time the tolerance cycle is called, this setting is then displayed and takes effect during
the execution.
Cycles
3-168 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.17 High speed settings - CYCLE832
General information
If the machine manufacturer requires additional responses from CYCLE832 beyond those,
which can be achieved by customizing the technology, it is possible to make the necessary
changes in the CYC_832T cycle. For this purpose, CYC_832T should be copied into the
CMA directory (HMI manufacturer) and loaded into the NCU.
The CYC_832T functions as a frame program. The machine manufacturer must document
any changes.
If it is loaded into the NCU, the CYC_832T cycle is automatically called by CYCLE832.
Customizing CYC_832T does not mean that changes to CYCLE832 are required.
Parameter
CYC_832T(_ASVS, _FACTOR, _OVL_on)
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-169
Milling cycles
3.17 High speed settings - CYCLE832
Example of customizing
The machine manufacturer wants to perform the following customization:
1. The rotary axis tolerance is to be 12 times higher than the tolerances of the linear axes.
2. In the "Finishing", "Rough-finishing" and "Roughing" machining modes, the path jerk (MD
$MC_MAX_PATH_JERK) is defined as value 15 and the axis jerk (MD
$MA_MAX_AX_JERK[AX]) as value 150.
3. On deselection of CYCLE832, the changed machine data must be reset to the default
settings (1000.15).
%_N_CYC_832T_SPF
;$PATH=/_N_CST_DIR
PROC CYC_832T(INT _ASVS,VAR REAL _FACTOR,VAR INT _OVL_on) SBLOF DISPLOF
…
_M4
_FACTOR=12
IF NOT($MN_SCALING_SYSTEM_IS_METRIC)
_FACTOR=_FACTOR*$MN_SCALING_VALUE_INCH
ENDIF
GOTOF _MEND
_M0: ;* Deselection
Cycles
3-170 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.17 High speed settings - CYCLE832
IF ISVAR("DYNNORM")
DYNNORM
ENDIF
GOTOF _MEND
_M1: ;* Finishing
IF ISVAR("DYNNORM")
DYNFINISH
ENDIF
GOTOF _MEND
_M2: ;* Rough-finishing
IF ISVAR("DYNSEMIFIN")
DYNSEMIFIN
ENDIF
GOTOF _MEND
_M3: ;* Roughing
IF ISVAR("DYNROUGH")
DYNROUGH
ENDIF
GOTOF _MEND
_MEND:
RET
To permit the machine data in CYC_832T to be overwritten at all protection levels during the
program run, they must be redefined with REDEF.
Example:
%_N_MGUD_DEF
;$PATH=/_N_DEF_DIR
M30
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-171
Milling cycles
3.17 High speed settings - CYCLE832
3.17.5 Ports
G-codes
List of the G commands programmed in CYCLE832:
• G64, G641, G642
• G601
• FFWON, FFWOF
• SOFT, BRISK
• COMPCAD, COMPCURV,COMPOF,B-SPLINE
• TRAORI, TRAORI(2),TRAOFOF
• UPATH
Note
The G commands should not be generated in the subsequent CAM program.
Separation of technology and geometry.
Machine data
The following machine data are evaluated in CYCLE832 in order to describe the tolerance
values accordingly:
Cycles
3-172 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.17 High speed settings - CYCLE832
Setting data
List of setting data rewritten in CYCLE832:
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-173
Milling cycles
3.18 Engraving cycle CYCLE60
Linear text
Cycles
3-174 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.18 Engraving cycle CYCLE60
Programming
CYCLE60 (_TEXT, _RTP, _RFP, _SDIS, _DP, _DPR, _PA, _PO, _STA, _CP1,
_CP2, _WID, _DF, _FFD, _FFP1, _VARI, _CODEP)
Parameter
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-175
Milling cycles
3.18 Engraving cycle CYCLE60
Cycles
3-176 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.18 Engraving cycle CYCLE60
Linear
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-177
Milling cycles
3.18 Engraving cycle CYCLE60
Circular
Flow
Position reached prior to cycle start:
The starting position can be any position, from which the starting position of the first
character can be approached without collision.
The cycle creates the following sequence of motions:
• Rapid traverse positioning to the starting position in the machining plane; followed by
positioning with G0 to the reference plane brought forward by the safety distance.
• Insertion to the programmed depth at the feedrate for depth infeed _FFD.
• Machining of each character at federate for surface machining _FFP1.
• After completion of each character, retraction to the safety plane is performed with G0,
followed by positioning on the starting point for the next character with G0.
• After execution of all programmed characters, the tool is positioned on the retraction
plane with G0.
Cycles
3-178 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.18 Engraving cycle CYCLE60
If the text is of a circular orientation with polar reference point programming, the reference
point always refers to the circle center point.
Whether the reference point is rectangular or polar is specified in parameter _VARI.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-179
Milling cycles
3.18 Engraving cycle CYCLE60
Cycles
3-180 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.18 Engraving cycle CYCLE60
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-181
Milling cycles
3.18 Engraving cycle CYCLE60
For orientation on a circle, the character spacing or arc angle between the first and the last
characters can be specified. The character spacing is not the linear distance between
adjacent characters, but is applied to the arc as a radian measure.
The arc angle is always specified as a positive value. It refers to the angle between the
center line of the first character and the center line of the last character.
The character spacing, overall text width or arc angle is specified in parameter _VARI.
To distribute the characters evenly in a circle, simply program _DF=360. The cycle then
distributes the characters automatically over the complete circle. There is no need to
calculate the arc angle between the first and last character.
Cycles
3-182 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Milling cycles
3.18 Engraving cycle CYCLE60
. , : ; ! ? " ' ` ´ ^ _
( ) [ ] { } | # Ø ø °
+ - * / \ ÷ × < > = ~
€ $ £ § & % @ © ®
à á â ã ä å À Á Â Ã Ä Å
è é ê ë È É Ê Ë
ì í î ï Ì Í Î Ï
ò ó ô õ ö Ò Ó Ô Õ Ö
ù ú û ü Ù Ú Û Ü
ý ÿ Ý Ÿ
ñ Ñ š Š ž Ž ç Ç ¢ ¥
ß µ ð Ð þ Þ æ Æ œ Œ
There is a special rule for programming single quotes and double quotes (speech marks), as
these characters already have a function in string processing of the NC language. They must
be written within the text string, enclosed in single quotes.
Example:
To obtain the following sentence:
This is a text with " and '.,
program the following in _TEXT:
This is a text with ' " ' and ' ' ' .
Note
For a description of parameters RTP, RFP, SDIS, see Drilling, Centering – CYCLE81.
See also
Drilling, centering - CYCLE81 (Page 2-4)
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 3-183
Milling cycles
3.18 Engraving cycle CYCLE60
Cycles
3-184 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles 4
4.1 4.1 General information
The following sections describe how turning cycles are programmed.
This section is intended to guide you in selecting cycles and assigning parameters to them.
In addition to a detailed description of the function of the individual cycles and the
corresponding parameters, you will also find a programming example at the end of each
section in order for you to familiarize yourself with the use of cycles.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-1
Turning cycles
4.2 Conditions
Plane definition
The machining plane must be defined prior to the cycle call. With turning, it is usually the
G18 (ZX plane). The two axes of the current plane in turning are hereinafter referred to as
the longitudinal axis (first axis of this plane) and transverse axis (second axis of this plane).
In the turning cycles, the second axis of the plane is always allocated as the transverse axis
when diameter programming is active.
;
7UDQVYHUVHD[LV
*
/RQJLWXGLQDOD[LV =
Spindle handling
The turning cycles are written in such a way that the spindle commands contained within
them always refer to the active master spindle of the control.
If you want to use a cycle on a machine with several spindles, the active spindle must first be
defined as the master spindle.
References: /PG/, Programming Guide: Fundamentals
Cycles
4-2 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.2 Conditions
1RFRQWRXUYLRODWLRQ &RQWRXUYLRODWLRQ
When entering the tool clearance angle, note that this depends on the machining type
'longitudinal' or 'face'. If you want to use one tool for longitudinal and face machining, two
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-3
Turning cycles
4.2 Conditions
tool compensations must be used in the case of different tool clearance angles.
The cycle will check whether or not the programmed contour can be machined using the
selected tool.
If the machining is not possible using this tool, then
• the cycle will abort and an error message is output (in stock removal) or
• the contour is continued to be machined and a message is output (with undercut cycles).
In this case, the contour is determined by the cutting edge geometry.
1RFRQWRXUYLRODWLRQ &RQWRXUYLRODWLRQ
Note that active scale factors or rotations in the current plane modify the relationships at the
angles, and that this cannot be allowed for in the contour monitoring that takes place within
the cycle.
If the tool clearance angle is specified with zero in the tool compensation, this monitoring will
not be performed. For details on the reactions, please refer to the individual cycles.
Cycles
4-4 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.3 Grooving cycle - CYCLE93
Function
With the grooving cycle, you can make symmetrical and asymmetrical grooves for
longitudinal and face machining on straight contour elements. You can machine both
external and internal grooves.
Programming
CYCLE93 (SPD, SPL, WIDG, DIAG, STA1, ANG1, ANG2, RCO1, RCO2, RCI1,
RCI2, FAL1, FAL2, IDEP, DTB, VARI, _VRT)
Parameter
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-5
Turning cycles
4.3 Grooving cycle - CYCLE93
¡
¡
¡
&KDPIHUPP
=
Note
-> means: it must be programmed in a single block.
Cycles
4-6 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.3 Grooving cycle - CYCLE93
Flow
The depth infeed (towards the base of the groove) and infeed across the width (from groove
to groove) are distributed evenly and with the greatest possible value. If the groove is being
machined on an inclined surface, travel from one groove to the next follows the shortest
path, i.e., parallel to the cone, on which the groove is being machined. During this process, a
safety clearance to the contour is calculated internally in the cycle.
Step 1
Paraxial roughing to the base of the groove in single infeed steps. After each infeed, the tool
is retracted for chip breaking.
Step 2
The groove is machined vertically to the infeed direction in one or several steps whereby
each step, in turn, is divided according to the infeed depth. From the second cut along the
groove width onwards, the tool will retract by 1 mm each before retraction.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-7
Turning cycles
4.3 Grooving cycle - CYCLE93
Step 3
Machining of the flanks in one step if angles are programmed under ANG1 or ANG2. Infeed
along the groove width is carried out in several steps if the flank width is larger.
Step 4
Stock removal of the finishing allowance parallel to the contour from the edge to the groove
center. During this operation, the tool radius compensation is selected and deselected by the
cycle automatically.
Cycles
4-8 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.3 Grooving cycle - CYCLE93
movement begins in the direction of the longitudinal axis, for an internal groove in the
direction of the facing axis.
Grooves at bent contour elements can be realized differently. Depending on the form and
radius of the bend, either a paraxial straight line can be laid over the maximum of the bend
or a tangential oblique line can be created in a point of the edge points of the groove.
Radii and chamfers at the groove edge make sense with bent contours only if the
appropriate edge point is on the straight line specified for the cycle.
63/
,'(3 67$
',$*
63'
:,'*
;
:,'*
,'(3
',$*
63/
67$
63'
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-9
Turning cycles
4.3 Grooving cycle - CYCLE93
If the programmed groove width is less than the actual tool width, the error message 61602
"Tool width defined incorrectly" appears.
The cycle is not started and machining is aborted. The alarm will also appear if a cutting
edge width equal to zero is detected in the cycle.
STA1 (angle)
Use the STA1 parameter to program the angle of the oblique line at which the groove is to
be machined. The angle can assume values between 0 and 180 degrees and always refers
to the longitudinal axis.
Note
For transverse grooving, the angle STA1 is usually 90° (paraxial case).
Cycles
4-10 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.3 Grooving cycle - CYCLE93
)LQLVKLQJ
DOORZDQFH
RIIODQNV)$/
)LQLVKLQJ
DOORZDQFH
DWEDVH)$/
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-11
Turning cycles
4.3 Grooving cycle - CYCLE93
Z
5/15 X longitudinal, outside,
right
Z
3/13 X longitudinal,
inside, left
Z
7/17 X longitudinal, inside,
right
Z
6/16 X face, outside, top
Z
8/18 X face, outside,
bottom
Z
2/12 X face, inside, top
Z
4/14 X face, inside,
bottom
If the parameter has a different value, the cycle will abort with alarm 61002 "Machining type
defined incorrectly".
The cycle carries out a contour monitoring such that a reasonable groove contour results.
This is not the case if the radii/chamfers come into contact or intersect at the groove base or
if you try to carry out a face grooving operation at a contour segment located parallel to the
longitudinal axis. In such cases, the cycle will abort with alarm 61603 "Groove form defined
incorrectly".
Cycles
4-12 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.3 Grooving cycle - CYCLE93
Note
You must activate a double-edged tool before calling the grooving cycle. You must enter the
offset values for the two tool edges in two successive D numbers of the tool, the first of
which must be activated before the cycle is called. The cycle itself defines for which
machining step it will use which of the two tool compensation values and will also enable
them automatically. After completion of the cycle, the tool compensation number
programmed prior to the cycle call is active again. If no D number is programmed for a tool
compensation when the cycle is called, the execution of the cycle is aborted with the alarm
61000 "No tool compensation active".
This cycle setting data _ZSD[4] can affect the retraction after the 1st groove.
_ZSD[4]=0: means retraction with G1 as before,
_ZSD[4]=1: means retraction with G0.
Cycle data _ZSD[6] can be set to define how the tool offset is handled in the cycle.
_ZSD[6]=0: TO is interchanged internally in the cycle (without orientatable toolholder)
_ZSD[6]=1: TO is not interchanged internally in the cycle (with orientatable toolholder)
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-13
Turning cycles
4.4 Undercut cycle - CYCLE94
Function
With this cycle, you can machine undercuts of form E and F in accordance with DIN509 with
the usual load on a finished part diameter of >3 mm.
Another cycle, CYCLE96, exists for producing thread undercuts (see Section "Thread
Undercut - CYCLE96).
)RUP)
)RUP(
Programming
CYCLE94 (SPD, SPL, FORM, _VARI)
Parameter
Cycles
4-14 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.4 Undercut cycle - CYCLE94
Example of Undercut_Form_E
You can machine an undercut of form E with this program.
)250(
=
Flow
Position reached prior to cycle start:
The starting position can be any position from which each undercut can be approached
without collision.
The cycle creates the following sequence of motions:
• Approach of the starting point determined in the cycle by using G0
• Selection of the cutter radius compensation according to the active tool point direction
and traveling along the undercut contour at the feedrate programmed prior to the cycle
call
• Retraction to the starting point with G0 and deselection of the cutter radius compensation
with G40
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-15
Turning cycles
4.4 Undercut cycle - CYCLE94
63/
63'
FORM (definition)
Form E and form F are fixed in DIN509 and must be defined using this parameter.
If the parameter has a value other than E or F, the cycle aborts and creates alarm 61609
"Form defined incorrectly".
;
)250(
6/
)RUZRUNSLHFHVZLWKRQH
PDFKLQHGVXUIDFH
)250) =
)RUZRUNSLHFHVZLWK 6/
WZRPDFKLQHGVXUIDFHV
DWULJKWDQJOHV
Cycles
4-16 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.4 Undercut cycle - CYCLE94
;
6/ 6/
=
6/ 6/
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-17
Turning cycles
4.4 Undercut cycle - CYCLE94
Note
You must activate a tool offset before you call the cycles. Otherwise, the cycle is aborted
after alarm 61000 "No tool compensation active" has been output.
The clearance angle of the active tool is monitored in the cycle if an appropriate value is
specified in the appropriate parameter of the tool compensation. If it turns out that the form of
the undercut cannot be machined using the selected tool since its tool clearance angle is too
small, the message "Changed form of undercut" is displayed on the control system. The
machining, however, is continued.
Cycles
4-18 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.5 Stock removal cycle - CYCLE95
Function
With the stock removal cycle, you can machine any user-programmed contour from a blank
with paraxial stock removal. The contour may contain relief cut elements. It is possible to
machine contours using longitudinal and face machining, both externally and internally. The
technology can be freely selected (roughing, finishing, complete machining). When roughing
the contour, paraxial cuts from the maximum programmed infeed depth are programmed and
burrs are also removed parallel to the contour after an intersection point with the contour has
been reached. Roughing is performed up to the final machining allowance programmed.
Finishing is performed in the same direction as roughing. The tool radius compensation is
selected and deselected by the cycle automatically.
Programming
CYCLE95 (NPP, MID, FALZ, FALX, FAL, FF1, FF2, FF3, VARI, DT, DAM,
_VRT)
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-19
Turning cycles
4.5 Stock removal cycle - CYCLE95
Parameter
Cycles
4-20 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.5 Stock removal cycle - CYCLE95
3
3
3
5
3
3
3
Note
-> means: it must be programmed in a single block.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-21
Turning cycles
4.5 Stock removal cycle - CYCLE95
3
3
3
3
3
Note
-> means: it must be programmed in a single block.
Cycles
4-22 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.5 Stock removal cycle - CYCLE95
Flow
Position reached prior to cycle start:
The starting position is any position from which the contour starting point can be approached
without collision.
The cycle creates the following sequence of motions:
• The cycle starting point is calculated internally and approached with G0 in both axes at
the same time.
Roughing without relief cut elements:
• The paraxial infeed to the current depth is calculated internally and approached with G0.
• Approach of paraxial roughing intersection point with G1 and at feedrate FF1.
• Round parallel to the contour at contour + final machining allowance to the last roughing
intersection point with G1/G2/G3 and FF1.
• Lift-off by the amount programmed under _VRT in each axis and retraction with G0.
• This sequence is repeated until the total depth of the machining step is reached.
• When roughing without relief cut elements, retraction to the cycle starting point is carried
out axis by axis.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-23
Turning cycles
4.5 Stock removal cycle - CYCLE95
• Round to the last roughing intersection. Lift off and retract as in the first machining
section.
• If there are further relief cut elements, this sequence is repeated for each relief cut.
;
=
5RXJKLQJZLWKRXWUHOLHIFXW
5RXJKLQJRIWKHILUVWUHOLHIFXW
5RXJKLQJRIWKHVHFRQGUHOLHIFXW
Finishing:
• The calculated cycle starting point is approached in both axes simultaneously with G0
and tool nose radius compensation is selected.
• Motion continues with both axes simultaneously and with G0 minus an amount equivalent
to the final machining allowance + tool nose radius + 1 mm safety clearance ahead of the
contour starting point, and from there with G1 to the contour starting point.
• Finish cutting along the contour with G1/G2/G3 and FF3.
• Retraction to starting point with both axes and G0.
Cycles
4-24 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.5 Stock removal cycle - CYCLE95
)$/;
133
)$/=
Note
If the section is defined by block numbers, it must be noted that, for the NPP section, these
block numbers must be adjusted if the program is modified and subsequently renumbered.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-25
Turning cycles
4.5 Stock removal cycle - CYCLE95
;
[
[
[
Cycles
4-26 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.5 Stock removal cycle - CYCLE95
It is, however, reasonable to decide either on the one or other form of definition of a finishing
allowance.
Roughing is always carried out up to these finishing allowances. After each paraxial roughing
operation, the resulting residual corners are immediately cut parallel to the contour, so that
these do not have to be removed after the roughing operation is completed. If no finishing
allowances are programmed, stock is removed when roughing up to the final contour.
The finishing machining mode does not consider programmed values for the final machining
allowance. Turning always takes place to the finishing dimension.
FF1, FF2 and FF3 (feedrate)
You can define different feedrates for the different machining steps, as shown in the figure
on the right.
***
; *
)) 5RXJKLQJ
))
))
;
)LQLVKLQJ
))
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-27
Turning cycles
4.5 Stock removal cycle - CYCLE95
Cycles
4-28 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.5 Stock removal cycle - CYCLE95
/RQJLWXGLQDORXWVLGH
; 9$5, [[[[[[
/RQJLWXGLQDOLQVLGH
9$5, [[[[[[
=
;
2UDIWHU
UHFKXFNLQJ
/RQJLWXGLQDOLQVLGH
9$5, [[[[[[[[[
)DFHLQVLGH =
9$5, [[[[[[
;
)DFHRXWVLGH
9$5, [[[[[[
=
;
2UDIWHU
UHFKXFNLQJ
)DFHLQVLGH
9$5, [[[[[[
=
Note
In longitudinal machining, the infeed is always carried out along the transversal axis, and in
face machining - along the longitudinal axis.
External machining means that the infeed is carried out in the direction of the negative axis.
With internal machining, the infeed is carried out in the direction of the positive axis.
When roughing in CYCLE95, you can choose between "with rounding" or "without rounding"
at the contour. In order to do so, the HUNDREDS DIGIT is incorporated in the VARI
parameter.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-29
Turning cycles
4.5 Stock removal cycle - CYCLE95
The VARI parameter is subjected to a plausibility check. If you select an invalid value, the
cycle is aborted and alarm 61002 "Incorrect machining type defined" is output.
DT and DAM (dwell time and path length)
With these two parameters, you can program an interruption of the individual roughing cuts
after a defined displacement for the purposes of chip breaking. These parameters are only
relevant for roughing. The parameter DAM is used to define the maximum distance after
which chip breaking is to be carried out. In DT, you can also program a dwell time to be
executed at each of the interruption points. If no distance is specified for the cut interruption
(DAM=0), uninterrupted roughing steps without dwell times are created.
8QLQWHUUXSWHGSDUD[LDOFXW
;
'$0 *
,QIHHGPRWLRQ
* * * *
Note
Contour definition
You program the contour in the form of NC blocks. The contour must contain at least 3
blocks with motions in the two axes of the machining plane.
The machining plane (G17, G18, G19) is set in the main program before the cycle is called
or applied according to the basic setting of this G-group on the machine It cannot be altered
in the contour.
If the contour program is shorter, the cycle is aborted after the alarms 10933 "Number of
contour blocks contained in the contour program not sufficient" and 61606 "Error in contour
preparation" have been output.
Relief cut elements can be connected directly one after the other.
Blocks without motions in the plane can be written without restrictions.
Cycles
4-30 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.5 Stock removal cycle - CYCLE95
In the cycle, all traversing blocks are prepared for the first two axes of the current plane
since only these are involved in the cutting process. The contour may contain motions for
other axes; however, their travel distances do not take effect during execution of the cycle.
Only straight line and circle programming with G0, G1, G2 and G3 are permitted as the
geometry in the contour. Furthermore, it is also possible to program the commands for
rounding and chamfer. If any other motion commands are programmed in the contour, the
cycle is aborted with the alarm 10930 "Illegal type of interpolation in the stock removal
contour".
The first block with a traversing motion in the current machining plane must contain a motion
command G0, G1, G2 or G3; otherwise, the cycle is canceled, and alarm 15800 "Incorrect
prerequisites for CONTPRON" is issued. This alarm is also activated when G41/G42 is
active.
The starting point of the contour is the first position in the machining plane programmed in
the contour.
The maximum number of blocks with movements in the plane permissible in the contour
depends on the type of contour. In principle, there is no limit to the possible number of relief
cuts.
If a contour contains more contour elements than the cycle-internal memory can hold, the
cycle is aborted with alarm 10934 "Contour table overrun".
Machining must then be divided into several machining sections, each of which is
represented by its own contour subroutine and each cycle is called separately.
If the maximum diameter in one contour is not located within the programmed end point or
starting point of the contour, the cycle automatically extends a paraxial straight line
extending up to the maximum point of the contour at the end of the machining operation and
this part of the contour is then removed as a relief cut.
;
$GGHG
VWUDLJKWOLQH
(QGSRLQW
6WDUWLQJ
SRLQW
=
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-31
Turning cycles
4.5 Stock removal cycle - CYCLE95
Contour direction
The direction in which the stock removal contour is programmed can be freely selected. In
the cycle, the machining direction is defined automatically. In complete machining, the
contour is finished in the same direction as machining was carried out when roughing.
If only finishing is selected, the contour is always traversed in the programmed direction.
When deciding on the machining direction, the first and the last programmed contour points
are taken into account. For this reason, both coordinates must always be programmed in the
first block of the contour subroutine.
Contour monitoring
The cycle performs contour monitoring of the following:
• Clearance angle of the active tool
• Circular programming of arcs with an arc angle > 180 degrees
With relief cut elements, the cycle checks whether the machining is possible using the active
tool. If the cycle detects that this machining will result in a contour violation, it will be aborted
after alarm 61604 "Active tool violates programmed contour" has been output.
If the tool clearance angle is specified with zero in the tool compensation, this monitoring will
not be performed.
If too large arcs are found in the compensation, alarm 10931 "Incorrect machining contour"
appears.
Overhanging contours cannot be machined by CYCLE95. Contours of this type are not
monitored by the cycle and consequently there is no alarm.
;
([DPSOHRIDQRYHUKDQJLQJFRQWRXUHOHPHQW
LQWKHUHOLHIFXWWKDWFDQQRWEHPDFKLQHG
0DFKLQLQJGLUHFWLRQ
Cycles
4-32 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.5 Stock removal cycle - CYCLE95
Start point
The cycle determines the starting point for the machining operation automatically. The
starting point is located in the axis in which the depth infeed is carried out, shifted from the
contour by the amount of the finishing allowance + lift-off distance (parameter _VRT). In the
other axis, it is by finishing allowance + _VRT ahead of the contour starting point.
When the starting point is approached, the cutter radius compensation is selected internally
in the cycle. The last point before the cycle is called must therefore be selected such that this
approach is possible without collision and space enough is provided to carry out the
appropriate compensatory motion.
Cycle approach strategy
In roughing, the starting point determined by the cycle is always approached with both axes
simultaneously, and in finishing, axis by axis. In finishing, the infeed axis traverses first.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-33
Turning cycles
4.6 Thread undercut - CYCLE96
Function
This cycle is for machining thread undercuts in accordance with DIN 76 on parts with a
metric ISO thread.
Programming
CYCLE96 (DIATH, SPL, FORM, _VARI)
Parameter
Cycles
4-34 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.6 Thread undercut - CYCLE96
=
Flow
Position reached prior to cycle start:
The starting position can be any position from which each thread undercut can be
approached without collision.
The cycle creates the following sequence of motions:
• Approach of the starting point determined in the cycle by using G0
• Selection of the tool radius compensation according to the active tool point direction.
Traversing along the undercut contour using the feedrate programmed before the cycle
was called
• Retraction to the starting point with G0 and deselection of tool radius compensation with
G40.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-35
Turning cycles
4.6 Thread undercut - CYCLE96
63/
',$7+
Cycles
4-36 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.6 Thread undercut - CYCLE96
FORM (definition)
Thread undercuts of the forms A and B are defined for external threads, form A for standard
run-outs of threads, and form B for short run-outs of threads. Thread undercuts of the forms
C and D are used for internal threads, form C for a standard run-out of the thread, and form
D for a short run-out.
)2506$DQG%
)2506&DQG'
63/
¡
5
63/
5
',$7+
',$7+
5
¡
If the parameter has a value other than A ... D, the cycle aborts and creates alarm 61609
"Form defined incorrectly".
Internally in the cycle, the tool radius compensation is selected automatically.
_VARI (undercut position)
The position of the undercut can be either specified directly or derived from the tool point
direction with the _VARI parameter. See _VARI for CYCLE94.
The cycle will find the starting point determined by the tool point direction of the active tool
and the thread diameter automatically. The position of this starting point referred to the
programmed coordinate values is determined by the tool point direction of the active tool.
For the forms A and B, the undercut angle of the active tool is monitored in the cycle. If it is
detected that the form of the undercut cannot be machined using the selected tool, the
message "Changed form of undercut" is displayed on the control system; the machining,
however, is continued.
Note
Before calling the cycle, a tool compensation must be activated. Otherwise, the cycle is
terminated and the error message 61000 "No tool compensation active" is issued.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-37
Turning cycles
4.7 Thread cutting - CYCLE97
Function
With this thread cutting cycle, you can machine cylindrical and tapered outside and inside
threads with constant pitch in longitudinal or face machining. The thread can be single or
multiple. With multiple threads, the individual thread turns are machined one after the other.
Infeed is automatic. You can select either constant infeed per cut or constant cross-section
of cut.
Right-hand or left hand thread is determined by the direction of rotation of the spindle which
must be programmed prior to the cycle start.
Neither feedrate nor spindle override have any effect in thread travel blocks. The spindle
override must not be changed during thread machining.
Note
To be able to use this cycle, a speed-controlled spindle with position measuring system is
required.
Programming
CYCLE97 (PIT, MPIT, SPL, FPL, DM1, DM2, APP, ROP, TDEP, FAL, IANG,
NSP, NRC, NID, VARI, NUMT, _VRT)
Cycles
4-38 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.7 Thread cutting - CYCLE97
Parameter
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-39
Turning cycles
4.7 Thread cutting - CYCLE97
0[
=
Note
-> means: it must be programmed in a single block.
Cycles
4-40 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.7 Thread cutting - CYCLE97
Flow
Position reached prior to cycle start:
Starting position is any position from which the programmed thread starting point + run-in
path can be approached without collision.
The cycle creates the following sequence of motions:
• Approach of the starting point determined in the cycle at the beginning of the run-in path
for the first thread turn with G0
• Infeed for roughing according to the infeed type defined under VARI.
• Thread cutting is repeated according to the programmed number of roughing cuts.
• The finishing allowance is removed in the following step with G33.
• This step is repeated according to the number of idle passes.
• The whole sequence of motions is repeated for each further thread turn.
523 $33
7'(3
)$/
'0 '0
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-41
Turning cycles
4.7 Thread cutting - CYCLE97
Interrelation SPL, FPL, APP and ROP (starting, end point, run-in and run-out path)
The programmed starting point (SPL) or end point (FPL) constitutes the original starting point
of the thread. The starting point used in the cycle, however, is the starting point brought
forward by the run-in path APP, and, correspondingly, the end point is the programmed end
point brought back by the run-out path ROP. In the transversal axis, the starting point
defined by the cycle is always by 1 mm above the programmed thread diameter. This lift-off
plane is generated automatically within the control system.
Interrelation TDEP, FAL, NRC and NID (thread depth, finishing allowance, number of cuts)
The programmed finishing allowance acts paraxially and is subtracted from the specified
thread depth TDEP; the remainder is divided into roughing cuts.
The cycle will calculate the individual infeed depth automatically, depending on the VARI
parameter.
When the thread depth is divided into infeeds with constant cutting cross-section, the cutting
force will remain constant over all roughing cuts. In this case, the infeed will be performed
using different values for the infeed depth.
A second variant is the distribution of the whole thread depth to constant infeed depths.
When doing so, the cutting cross-section becomes larger from cut to cut, but with smaller
values for the thread depth, this technology can result in better cutting conditions.
The finishing allowance FAL is removed after roughing in one step. Then the idle passes
programmed under parameter NID are executed.
IANG (infeed angle)
You define the infeed angle with the IANG parameter. If you wish to infeed at a right angle to
the cutting direction in the thread, the value of this parameter must be set to zero. In other
words, the parameter can also be omitted from the parameter list, since in this case, it is
automatically loaded with zero by default. If you wish to infeed along the flanks, the absolute
value of this parameter may amount maximally to the half of the flank angle of the tool.
,$1*
ƀ
,$1* ƀ
Cycles
4-42 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.7 Thread cutting - CYCLE97
The execution of the infeed is defined by the sign of this parameter. With a positive value,
infeed is always carried out at the same flank, and with a negative value, at both flanks
alternating. The infeed type with alternating flanks is only possible for cylindrical threads. If
the value of IANG for tapered threads is nonetheless negative, the cycle will carry out a flank
infeed along a flank.
,QIHHGDORQJ ,QIHHGZLWK
DIODQN DOWHUQDWLQJIODQNV
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-43
Turning cycles
4.7 Thread cutting - CYCLE97
,QIHHGZLWKFRQVWDQW
LQIHHGGHSWK
,QIHHGZLWKFRQVWDQWFXWWLQJ
FURVVVHFWLRQ
If a different value is programmed for the VARI parameter, the cycle is aborted after output of
alarm 61002 "Machining type defined incorrectly".
NUMT (number of thread turns)
You specify the number of thread starts for a multiple thread with the NUMT parameter. For
a single-turn thread, the parameter must be assigned zero or can be dropped completely in
the parameter list.
The thread turns are distributed equally over the circumference of the turned part; the first
thread turn is determined by the NSP parameter.
To produce a multiple-turn thread with an asymmetrical arrangement of the thread turns on
the circumference, the cycle for each thread turn must be called when programming the
appropriate starting point offset.
Cycles
4-44 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.7 Thread cutting - CYCLE97
GHJUHHPDUNHU
6WDUWRI 6WDUWRI
VWWKUHDG WKWKUHDG
163
6WDUWRI 6WDUWRI
QGWKUHDG UGWKUHDG
1807+
Note
Differentiation between longitudinal and face thread
The decision whether a longitudinal or face thread is to be machined is made by the cycle
itself. This depends on the angle of the taper at which the threads are cut. If the angle at the
taper ≤45 degrees, the longitudinal axis thread is machined, otherwise it will be the face
thread.
; ;
$QJOH¡ $QJOH!¡
= =
/RQJLWXGLQDOWKUHDG )DFHWKUHDG
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-45
Turning cycles
4.8 Thread chaining - CYCLE98
Function
With this cycle, you can produce several concatenated cylindrical or tapered threads with a
constant pitch in longitudinal or face machining, all of which can have different thread
pitches.
The thread can be single or multiple. With multiple threads, the individual thread turns are
machined one after the other.
Infeed is automatic. You can select either constant infeed per cut or constant cross-section
of cut. Right-hand or left hand thread is determined by the direction of rotation of the spindle
which must be programmed prior to the cycle start.
Neither feedrate nor spindle override have any effect in thread travel blocks. The spindle
override must not be changed during thread machining.
Programming
CYCLE98 (PO1, DM1, PO2, DM2, PO3, DM3, PO4, DM4, APP, ROP, TDEP,
FAL, IANG, NSP, NRC, NID, PP1, PP2, PP3, VARI, NUMT, _VRT)
Cycles
4-46 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.8 Thread chaining - CYCLE98
Parameter
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-47
Turning cycles
4.8 Thread chaining - CYCLE98
;
=
Note
-> means: it must be programmed in a single block.
Cycles
4-48 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.8 Thread chaining - CYCLE98
Flow
Position reached prior to cycle start:
Starting position is any position from which the programmed thread starting point + run-in
path can be approached without collision.
The cycle creates the following sequence of motions:
• Approach of the starting point determined in the cycle at the beginning of the run-in path
for the first thread turn with G0
• Infeed for roughing according to the infeed type defined under VARI.
• Thread cutting is repeated according to the programmed number of roughing cuts.
• The finishing allowance is removed in the following step with G33.
• This step is repeated according to the number of idle passes.
• The whole sequence of motions is repeated for each further thread turn.
Note
With an inside thread, DM1 to DM4 corresponds to the tap hole diameter.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-49
Turning cycles
4.8 Thread chaining - CYCLE98
,$1*
ƀ
,$1* ƀ
Cycles
4-50 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.8 Thread chaining - CYCLE98
The execution of the infeed is defined by the sign of this parameter. With a positive value,
infeed is always carried out at the same flank, and with a negative value, at both flanks
alternating. The infeed type with alternating flanks is only possible for cylindrical threads. If
the value of IANG for tapered threads is nonetheless negative, the cycle will carry out a flank
infeed along a flank.
,QIHHGDORQJ ,QIHHGZLWK
DIODQN DOWHUQDWLQJIODQNV
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-51
Turning cycles
4.8 Thread chaining - CYCLE98
,QIHHGZLWKFRQVWDQW
LQIHHGGHSWK
,QIHHGZLWKFRQVWDQWFXWWLQJ
FURVVVHFWLRQ
If another value is assigned to the VARI parameter, the cycle is aborted and the following
alarm: 61002 "Machining type incorrectly programmed".
NUMT (number of thread turns)
You specify the number of thread starts for a multiple thread with the NUMT parameter. For
a single-turn thread, the parameter must be assigned zero or can be dropped completely in
the parameter list.
The thread turns are distributed equally over the circumference of the turned part; the first
thread turn is determined by the NSP parameter.
To produce a multiple-turn thread with an asymmetrical arrangement of the thread turns on
the circumference, the cycle for each thread turn must be called when programming the
appropriate starting point offset.
Cycles
4-52 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.8 Thread chaining - CYCLE98
GHJUHHPDUNHU
6WDUWRI 6WDUWRI
VWWKUHDG WKWKUHDG
163
6WDUWRI 6WDUWRI
QGWKUHDG UGWKUHDG
1807+
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-53
Turning cycles
4.9 Thread recutting
Function
The angular offset of a thread start resulting from tool breakage or remeasurement is taken
into account and compensated for by the "Thread recut" function. This function can be
executed in JOG mode in the Machine operating area.
The cycles use the data stored in the thread start during synchronization to calculate an
additional offset angle for each thread, which is applied in addition to the programmed
starting point offset.
Note
Thread cutting cycles CYCLE97 and CYCLE98 can be used for thread recutting.
Conditions
The channel in which the thread recutting program is to be executed is selected; the relevant
axes must already be referenced. The channel is in the Reset state, the spindle is stationary.
Flow
• Select JOG in "Machine" operating area.
• Press "Recut thread" soft key -> open screen form for this function.
Cycles
4-54 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.9 Thread recutting
Miscellaneous functions
You can delete values stored earlier by selecting another soft key labeled "Delete".
If several spindles are operating in the channel, another selection box is displayed in the
screen form, in which you can select a spindle to machine the thread.
Start up
Thread recutting requires operation in the JOG basic display. This is activated with the
"Finish thread" HS8 soft key in file MA_JOG.COM.
• Startup of thread recutting for HMI Advanced:
First open the MA_JOG.COM file and then delete the semicolon preceding the following
lines:
– HS8=($80720,,se1)
– ;PRESS(HS8)
– ;LM("GENS","drehen2.com")
– ;END_PRESS
The file is located in the "Standard Cycles" directory. The soft key is then active. The HMI
must then be restarted.
• Startup of thread recutting for HMI Embedded:
First open the COMMON.COM file and then delete ";" in front of SC108. The file is
located in the "User Cycles" directory. The HMI must then be restarted.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-55
Turning cycles
4.10 Extended stock removal cycle - CYCLE950
Function
With the CYCLE950 extended stock removal cycle, you can machine a contour programmed
with paraxial or parallel-contour stock removal. Any blank can be defined and is considered
during stock removal. The finished part contour must be continuous and may contain any
number of relief cut elements. You can specify a blank as a contour or by means of axial
values.
Contours can be machined longitudinally or facing with this cycle. You can freely select a
technology (roughing, finishing, complete machining, machining and infeed directions). It is
possible to update a blank.
For roughing, the programmed infeed depth is observed precisely; the last two roughing
steps are divided equally. Roughing is performed up to the final machining allowance
programmed. Finishing is performed in the same direction as roughing. The tool radius
compensation is selected and deselected by the cycle automatically.
Note
The extended stock removal cycle is an option. It requires SW 6 in both the NCK and HMI
Advanced.
Cycles
4-56 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.10 Extended stock removal cycle - CYCLE950
:LWKRXWEODQN
;
)LQLVKHGSDUWFRQWRXU
=
%ODQNGHILQLWLRQDVFRQWRXU
;
)LQLVKHGSDUWFRQWRXU
%ODQNGHILQLWLRQDVFRQWRXU
=
%ODQNGHILQLWLRQYLDRIIVHWYDOXH
;
)LQLVKHGSDUWFRQWRXU
=
Programming
CYCLE950 (_NP1, _NP2, _NP3, _NP4, _VARI, _MID, _FALZ, _FALX, _FF1,
_FF2, _FF3, _FF4, _VRT, _ANGB, _SDIS, _NP5, _NP6, _NP7, _NP8,
_APZ, _APZA, _APX, _APXA, _TOL1)
Parameter
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-57
Turning cycles
4.10 Extended stock removal cycle - CYCLE950
Cycles
4-58 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.10 Extended stock removal cycle - CYCLE950
Example 1
The contour saved in the PART1.MPF program is to be machined from a preformed blank.
The type of machining for the stock removal process is
• Roughing only,
• Longitudinal,
• External,
• With rounding (so that no corners are left over),
• Relief cuts are to be machined.
The blank contour is specified in the BLANK1.MPF program. A turning tool with tool point
position 3 and a radius of 0.8 mm is used.
;
)LQLVKHGSDUWFRQWRXU
%ODQNGHILQLWLRQDVFRQWRXU
=
Machining program:
%_N_EXAMPLE_1_MPF
;$PATH=/_N_WKS_DIR/_N_STOCK_REMOVAL_NEW_WPD
;Example 1: Stock removal with blank
;Sca, 01.04.99
;
;Tool offset data
N10 $TC_DP1[3,1]=500 $TC_DP2[3,1]=3 $TC_DP6[3,1]=0.8
$TC_DP24[3,1] =60
N15 G18 G0 G90 DIAMON
N20 T3 D1
N25 X300
N30 Z150
N35 G96 S500 M3 F2
N45 CYCLE950("Part1",,,"Machined_Part1", ->
-> 311111,1.25,1,1,0.8,0.7,0.6,0.3,0.5,45,2,"Blank1",,,,,,,,1)
N45 G0 X300
N50 Z150
N60 M2
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-59
Turning cycles
4.10 Extended stock removal cycle - CYCLE950
%_N_PART1_MPF
;$PATH=/_N_WKS_DIR/_N_STOCK_REMOVAL_NEW_WPD
; Finished part contour Example 1
;
N100 G18 DIAMON F1000
N110 G1 X0 Z90
N120 X20 RND=4
N130 X30 Z80
N140 Z72
N150 X34
N160 Z58
N170 X28 Z55 F300
N180 Z50 F1000
N190 X40
N200 X60 Z46
N210 Z30
N220 X76 CHF=3
N230 Z0
N240 M17
Blank contour:
%_N_BLANK1_MPF
;$PATH=/_N_WKS_DIR/_N_STOCK_REMOVAL_NEW_WPD
;Blank contour Example 1
;
N100 G18 DIAMON F1000
N110 G0 X0 Z93
N120 G1 X37
N130 Z55
N140 X66
N150 Z35
N160 X80
N170 Z0
N180 X0
N190 Z93 ;End point=starting point
;Blank contour must be closed
N200 M17
Cycles
4-60 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.10 Extended stock removal cycle - CYCLE950
Example 2
A simple inside contour is to be machined on the same part as in example 1. For this
purpose, a center bore is first made using a diameter 10 drill. The inside contour is then
roughed parallel to the contour since the hole roughly corresponds to the end contour. This
is achieved by again defining a blank contour for inside machining.
The stock removal contour is located in the same program as the cycle call in the blocks
N400 to N420, the blank contour in blocks N430 to N490.
13
B13B13
B13B13
Machining program:
%_N_EXAMPLE_2_MPF
;$PATH=/_N_WKS_DIR/_N_STOCK_REMOVAL_NEW_WPD
;Example 2: Internal stock removal, parallel
;to contour
;Sca, 01.04.99
;
;Tool offset data for turning tool, inside
N100 $TC_DP1[2,1]=500 $TC_DP2[2,1]=6
$TC_DP6[2,1]=0.5 $TC_DP24[2,1]=60
N105 $TC_DP1[1,1]=200 $TC_DP3[1,1]=100
$TC_DP6[1,1]=5
N110 G18 G0 G90 DIAMON
N120 X300
N130 Z150
N140 T1 D1 M6 ;Change drill with diameter 10
N150 X0 ;Center drilling in three steps
N160 Z100
N170 F500 S400 M3
N175 G1 Z75
N180 Z76
N190 Z60
N200 Z61
N210 Z45
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-61
Turning cycles
4.10 Extended stock removal cycle - CYCLE950
N220 G0 Z100
N230 X300 ;Approach tool change point
N240 Z150
N250 T2 D1 M6 ;Insert turning tool for inside
;machining
Example 3
The same part from example 1 is now to be machined in two steps.
In the first machining step (N45), roughing is carried out using a tool with tool point position 9
and a large radius with deep infeed depth and no blank specified. The result to be generated
is an updated blank called BLANK3.MPF.
The type of machining for this step is:
• Roughing only,
• Longitudinal,
• External,
• With rounding,
• Relief cuts are not to be machined.
In the second machining step (N75), the residual material on this blank is machined with a
different tool and then finished.
The type of machining for this step is:
• Complete machining (roughing and finishing)
• Longitudinal,
• External,
• With rounding (so that no corners are left over),
• Relief cuts are to be machined.
Cycles
4-62 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.10 Extended stock removal cycle - CYCLE950
Machining program:
%_N_EXAMPLE_3_MPF
;$PATH=/_N_WKS_DIR/_N_STOCK_REMOVAL_NEW_W
PD
;Example 3: Stock removal in two steps
;with blank updating
; Sca, 09.04.99
;
;Tool offset data
;T3: Roughing steel for rough machining, tool point position 9, radius 5
N05 $TC_DP1[3,1]=500 $TC_DP2[3,1]=9
$TC_DP6[3,1]=5 $TC_DP24[3,1]=80
;T4: Turning tool for residual material
and finishing
;Tool point position 3, radius 0.4
N10 $TC_DP1[4.1]=500 $TC_DP2[4.1]=3
$TC_DP6[4.1]=0.4 $TC_DP24[4.1]=80
N15 G18 G0 G90 DIAMON
N20 T3 D1 ;Tool for roughing
N25 X300
N30 Z150
N35 G96 S500 M3 F2
N45 CYCLE950("Part1",,,"Machined_Part3",
321111,8,1,1,0.8,0.7,0.6,0.5,1,45,6,
"DEFAULT",,,"Blank3",0,91,0,91,1)
N50 G0 X300
N55 Z150
N60 T4 D1 ;Tool for roughing residual material and
;finishing
N65 G96 S500 M3 F2
N75
CYCLE950("Part1",,,"Finishing_Part3",311311,0.5,0.25,0.25,0.8,0.7,0.6,0.5,1,45,6,
"Blank3",,,,,,,,1)
N160 M2
;
)LQLVKHGSDUWFRQWRXU
8SGDWHGEODQNFRQWRXUDIWHU
WKHILUVWPDFKLQLQJVWHS
=
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-63
Turning cycles
4.10 Extended stock removal cycle - CYCLE950
Flow
Position reached prior to cycle start:
The starting position can be any position, from which the blank contour can be approached
without collision. The cycle calculates collision-free approach movements to the starting
point for machining, but does not consider the toolholder data.
Movement for paraxial roughing:
• The starting point for roughing is calculated internally in the cycle and approached with
G0.
• The infeed to the next depth, calculated in accordance with the specifications in the _MID
parameter, is carried out with G0, and paraxial roughing is then performed with G1. The
feedrate during roughing is calculated internally in the cycle according to the path; it is the
feedrate that results from the values specified for longitudinal and face feed (_FF1 and
_FF2).
• For "Rounding along contour", the previous intersection is approached parallel to the
contour.
• When the previous intersection is reached or for "Without rounding along contour"
machining, the tool is lifted off at the angle programmed in _ANGB and then retracted to
the starting point for the next infeed with G0. If the angle is 45 degrees, the programmed
lift-off distance _VRT is also followed precisely; it is not exceeded for other angles.
• This procedure is repeated until the total depth of the machining section has been
reached.
Sequence of motions for roughing in parallel with contour:
• The starting point for roughing and the individual infeed depths are calculated as for
paraxial roughing and approached with G0 or G1.
• Roughing is carried out in contour-parallel paths.
• Lift-off and retraction are carried out as paraxial roughing.
Cycles
4-64 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.10 Extended stock removal cycle - CYCLE950
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-65
Turning cycles
4.10 Extended stock removal cycle - CYCLE950
3DUD[LDOVWRFNUHPRYDO
; :LWKRXWURXQGLQJUHVLGXDOFRUQHUVUHPDLQ
:LWKURXQGLQJDWWKHFRQWRXU ;
)LQLVKHGSDUW
FRQWRXU B0,' )LQLVKHGSDUWFRQWRXU
B)$/;
B6',6
B)$/=
= =
,QIHHG &XWUHVLGXDOFRUQHUV URXQGLQJ /LIWRII
,QIHHG
$SSURDFK /LIWRII
$SSURDFK 5HWUDFWLRQ
5RXJKLQJ 5HWUDFWLRQ
5RXJKLQJ
; &RQWRXUSDUDOOHOVWRFNUHPRYDO
)LQLVKHGSDUWFRQWRXU
=
,QIHHG /LIWRII
$SSURDFK 5HWUDFWLRQ
5RXJKLQJ
When roughing parallel to contour, the infeed depth does not act in relation to the specified
infeed axis, but vertically to the contour. This always results in more cuts than in paraxial
roughing with the same infeed depth value.
Cycles
4-66 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.10 Extended stock removal cycle - CYCLE950
* ***
5RXJKLQJ
;
B)) B))
5HVXOWLQJ
IHHGUDWHIURP
B))DQGB))
=
B)) )LQLVKLQJ
;
B)) FKDPIHU
B))
B))
B)) UDGLXV
=
Separate feedrates apply for longitudinal (_FF1) and face (_FF2) during roughing. If inclined
or circular path sections are traversed when machining the contour, the appropriate feedrate
is calculated automatically inside the cycle.
The feedrates programmed at the contour are active during finishing. If none are
programmed there, the finishing feedrate in _FF3 and the feedrates at radii and chamfers in
_FF4 apply to these contour transition elements. (See example 1 for programming of the part
in the above figure)
_VRT (lift-off distance) and _ANGB (lift-off angle)
Parameter _VRT can be used to program the amount by which the tool is retracted in both
axes when roughing.
If _VRT=0 (parameter not programmed), the tool will retract by 1 mm.
It is also possible to program the angle, at which the axis is retracted from the contour in the
_ANGB parameter. If nothing is programmed, the angle is 45°.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-67
Turning cycles
4.10 Extended stock removal cycle - CYCLE950
; %ODQNGHILQLWLRQYLDRIIVHWYDOXH
)LQLVKHGSDUWFRQWRXU
B$3;
B$3=
=
Cycles
4-68 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.10 Extended stock removal cycle - CYCLE950
; &\OLQGHUZLWKDEVROXWHGLPHQVLRQV ; &\OLQGHUZLWKLQFUHPHQWDOGLPHQVLRQV
B$3=
B$3;
B$3;
13 13 B$3=
= =
Note
Contour definition
Unlike CYCLE95, one block that contains a link to the current plane is sufficient for contour
programming.
For further details of contour definition, see CYCLE95.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-69
Turning cycles
4.10 Extended stock removal cycle - CYCLE950
; %ODQNGHILQLWLRQZLWKFORVHGFRQWRXU
)LQLVKHGSDUWFRQWRXU
%ODQNFRQWRXU
6WDUWSRLQW
(QGSRLQWRIEODQN
=
;%ODQNFRQWRXUDVFRQWRXUVHFWLRQEHWZHHQ
VWDUWDQGHQGSRLQWRIILQLVKHGSDUWFRQWRXU
(QGSRLQWRIEODQN
)LQLVKHGSDUWFRQWRXU
DQGILQLVKHGSDUW
%ODQNFRQWRXU
Blank contours must always be described in such a way that they are not partially identical to
the finished part contours, i.e., the machined materials are not combined.
; %ODQNDQGILQLVKHGSDUWFRQWRXU
SURFHHGLGHQWLFDOO\
=
Cycles
4-70 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.10 Extended stock removal cycle - CYCLE950
Simulation CYCLE950
In the simulation of the CYCLE950 extended stock removal cycle, the generated programs
are saved to the NCU file system. Therefore, only the "NC Active Data" setting is practical,
since tool offset data are included in the program calculation.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-71
Turning cycles
4.10 Extended stock removal cycle - CYCLE950
Blank updating
The CYCLE950 extended stock removal cycle detects residual material during roughing and
is able to generate an updated blank contour outside the machining process, which can be
used in a further machining step.
;
0DFKLQLQJGLUHFWLRQ
)LQLVKHGSDUWFRQWRXU
%ODQNFRQWRXU
˞
˞
5HVLGXDOFRQWRXU =
)LQLVKLQJDOORZDQFH ZKHQUHOLHIFXWWLQJ
˞ &OHDUDQFHDQJOHRIODWKH
To do this, the cycle internally considers the angle at the tool point. The tool clearance angle
must be entered in the tool offset data (parameter 24). The cycle automatically defines the
main cutting angle, according to the tool point position. For tool point positions 1 to 4, the
blank update is calculated with a main cutting angle of 90°. For tool point positions 5 to 9, the
main cutting angle is assumed to be identical to the tool clearance angle.
7RROSRLQWGLUHFWLRQ
0DLQ
FXWWLQJ &OHDUDQFHDQJOH
HGJHDQJOH ¡ ˞
7RROSRLQWGLUHFWLRQ
0DLQ
FXWWLQJ
&OHDUDQFHDQJOH
HGJHDQJOH ˞ ˞
Cycles
4-72 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Turning cycles
4.10 Extended stock removal cycle - CYCLE950
If CYCLE950 is called with blank update in the same program more than once, different
names must be assigned to the generated blank contours; it is not permissible to use the
program name (parameter _NP8) more than once.
Note
Extended stock removal cannot be performed in m:n configurations.
Note
Special information for HMI-Advanced OEM users:
The "Extended Stock Removal Cycle" package occupies Task 26 in the HMI for
communication between the cycle and the HMI.
For this purpose, a file is created in the \ADD_ON direction when the package is installed:
• REGIE.INI
As a result, this task is not available to other OEM applications.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 4-73
Turning cycles
4.10 Extended stock removal cycle - CYCLE950
Cycles
4-74 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Error Messages and Error Handling 5
5.1 5.1 General information
If error conditions are detected in the cycles, an alarm is generated and the execution of the
cycle is aborted.
The cycles continue to output messages in the dialog line of the control. These message will
not interrupt the program execution.
Note
For more information on errors and required responses, as well as messages output in the
control's dialog line, please refer to the diagnostics guide.
References: see /DA/ Diagnostics Guide SINUMERIK 840D/840Di/810D
6 _ X _ _
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 5-1
Error Messages and Error Handling
5.3 Messages in the cycles
Cycles
5-2 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
A List of abbreviations A
A Output
ASCII American Standard Code for Information Interchange American coding standard for
the exchange of information
ASIC Application Specific Integrated Circuit: User switching circuit
ASUB Asynchronous subroutine
AuxF Auxiliary function
AV Job planning
BB Ready to run
BCD Binary Coded Decimals: Decimal numbers encoded In binary code
BCS Basic Coordinate System
BIN Binary files (Binary Files)
BIOS Basic Input Output System
BO Operating mode
BOT Boot files: Boot files for SIMODRIVE 611D
BP Basic program
C1 .. C4 Channel 1 to channel 4
CAD Computer-Aided Design
CAM Computer-Aided Manufacturing
C-bus Communication bus
CNC Computerized Numerical Control Computerized numerical control
COM Communication
COR Coordinate rotation
CP Communications Processor
CPU Central Processing Unit Central processing unit
CR Carriage Return
CRC Cutter radius compensation
CRT Cathode Ray Tube picture tube
CSB Central Service Board: PLC module
CTS Clear To Send: Signal from serial data interfaces
CUTCOM Cutter radius compensation: Tool radius compensation
DAC Digital-to-Analog Converter
DB Data Block in the PLC
DBB Data Block Byte in the PLC
DBW Data Block Word in the PLC
DBX Data block bit in the PLC
DC Direct Control: Movement of the rotary axis via the shortest path to the absolute
position within one revolution
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 A-1
List of abbreviations
Cycles
A-2 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
List of abbreviations
I Input
I/O Input/output
I/R Infeed/regenerative feedback unit (power supply) of the
SIMODRIVE 611(D)
IBN Start up
ICA Interpolatory Compensation Interpolatory compensation
IF Drive module pulse enable
IK (GD) Implicit communication (global data)
IM Interface Module Interface module
IMR Interface Module Receive: Interconnection module for receiving data
IMS Interface Module Send: Interconnection module for sending data
INC Increment Increment
INI INItializing data Initializing data
IPO Interpolator
IS Interface signal
ISA Industry Standard Architecture
ISO International Standard Organization
ISO code Special punched tape code, number of holes per character always even
JOG JOGging: Setup mode
KÜ Speed ratio
Kv Servo gain factor
LAD Ladder diagram (PLC programming method)
LC Line Feed
LCD Liquid crystal display
LEC Leadscrew error compensation
LED Light-emitting diode
LR Position controller
LUD Local User Data
MB Megabyte
MC Measuring circuit
MCP Machine control panel
MCS Machine coordinate system
MD Machine data
MDA Manual Data Input Manual input
MLFB Machine-readable product designation
Mode group Mode group
MPF Main Program File: NC part program (main program)
MPI Multi-Point Interface Multiport Interface
MS Microsoft (software manufacturer)
MSD Main Spindle Drive
NC Numerical Control: Numerical Control
NCK Numerical Control Kernel: NC kernel with block preparation, traversing range, etc.
NCU Numerical Control Unit: NCK hardware unit
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 A-3
List of abbreviations
Cycles
A-4 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
List of abbreviations
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 A-5
List of abbreviations
Cycles
A-6 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
B List of parameters
List of input/output variables for cycles
B
Name Meaning in English Meaning in German
AD Allowance depth Blank pocket depth dimension from reference
plane
AFSL Angle for slot length Angle for slot length
ANG1, ANG2 Flank angle Flank angle
ANGB Liftoff angle for roughing Lift-off angle for roughing
AP1 Unfinished dimension in plane Basic size pocket length/pocket radius
AP2 Unfinished dimension in plane Blank dimension of pocket width
APP Approach path Run-in path
APX Axial value for defining blank for facing Axial value for defining blank for facing axis
axis
APXA Absolute or incremental evaluation of Absolute or incremental evaluation of the _APX
parameter APX parameter
APZ Axial value for defining blank for Axial value for defining blank for longitudinal axis
longitudinal axis
APZA Absolute or incremental evaluation of Absolute or incremental evaluation of the _APZ
parameter APZ parameter
AS1, AS2 Direction of approach/approach travel Specification of approach direction/path
AXN Tool axis Tool axis
BNAME Name for program of drill positions Name for program of drill positions
CDIR Circle direction Direction of rotation, mill direction
CPA Center point, abscissa Center point of hole circle, abscissa (absolute)
CPO Center point, ordinate Center point of hole circle, ordinate (absolute)
CRAD Corner radius Corner radius
DAM Degression value, Path for roughing Degression value/path length
interrupt
DBH Distance between holes Spacing between the holes
DIAG Groove depth Groove depth
DIATH Diameter of thread Nominal diameter, outer diameter of the thread
DIS1 Distance Programmable limit distance
DIS1 Distance between columns Distance between columns
DIS2 Number of lines, Distance between rows Distance between rows
DM1 ... DM4 Diameter Thread diameter at the starting point
DP Depth Depth (absolute)
DP1 First depth Insertion depth
DPR Depth, relative Depth, relative to reference plane
DT Dwell time Dwell time fore chip breaking when roughing
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 B-1
List of parameters
Cycles
B-2 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
List of parameters
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 B-3
List of parameters
Cycles
B-4 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Glossary
Access authorization
The CNC program blocks and data are protected by a 7-level system of access restrictions:
• Three password levels for system manufacturers, machine manufacturers and users and
• Four keylock switch settings, which can be evaluated via the PLC.
Auxiliary functions
Auxiliary functions can be used to transfer -> parameters to the -> PLC in -> parts programs,
where they trigger reactions which are defined by the machine manufacturer.
Backlash compensation
Compensation for a mechanical machine backlash, e.g., backlash on reversal for ball
screws. Backlash compensation can be entered separately for each axis.
Backup battery
The backup battery ensures that the -> user program is reliably backed up in the -> CPU
against mains failure and that fixed data areas and markers, times and counters are kept in
non-volatile memory.
Blank
Workpiece as it is before the part is machined.
Block
"Block" is the term given to any files required for creating and processing programs.
Block search
The block search function allows any point in the part program to be selected, at which
machining must start or be continued. The function is provided for the purpose of testing part
programs or continuing machining after a program abort.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 Glossary-1
Glossary
Booting
Loading the system program after power on.
Channel
A channel is characterized by its ability to execute a -> parts program independently of other
channels. A channel exclusively controls the axes and spindles assigned to it. Parts
programs run on various channels can be coordinated by -> synchronization.
Channel structure
The channel structure enables the -> programs of the individual channels to be executed
simultaneously and asynchronously.
Circular interpolation
The -> tool is required to travel in a circle between defined points on the contour at a
specified feedrate while machining the workpiece.
Clear all
The following -> CPU memories are erased by a general reset operation:
• the -> working memory
• the read/write area of the -> load memory
• the -> system memory
• the -> backup memory
CNC
-> NC
COM
Component of the NC control for the implementation and coordination of communication.
Compensation axis
Axis with a setpoint or actual value modified by the compensation value
Compensation table
Table containing interpolation points. It provides the compensation values of the
compensation axis for selected positions on the basic axis.
Cycles
Glossary-2 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Glossary
Compensation value
Difference between the axis position measured by the encoder and the desired, programmed
axis position.
Connecting cable
Connecting cables are pre-assembled or user-assembled 2-wire cables with a connector at
each end. These interconnecting cables connect the -> CPU via the -> multipoint interface
(MPI) with a -> programming device or other CPUs.
Contour
Outline of a -> workpiece.
Contour monitoring
The following error is monitored within a definable tolerance band as a measure of contour
accuracy. An impermissibly high following error might be caused by a drive overload, for
example. In such cases, an alarm is output and the axes are stopped.
Coordinate system
See -> machine coordinate system, -> workpiece coordinate system.
CPU
Central Processor Unit, -> PLC
Cycle
Protected subroutine for executing a repetitive machining process on the -> workpiece.
Cycle support
The available cycles are listed in the "Cycle support" menu in the "Program" operating area.
Once the desired machining cycle has been selected, the parameters required for assigning
values are displayed in plain text.
Data Block
1. Data unit of the -> PLC, which the -> HIGHSTEP programs can access.
2. Data unit of the -> NC: Data modules contain data definitions for global user data. These
data can be initialized directly when they are defined.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 Glossary-3
Glossary
Data word
A data unit, two bytes in size, within a -> data block.
Diagnostics
1. Operating area of the control.
2. The control has both a self-diagnostics program as well as test functions for servicing
purposes: status, alarm and service displays.
DRF
Differential Resolver Function: NC function which generates an incremental work offset in
Automatic mode in conjunction with an electronic handwheel.
Drift compensation
When the CNC axes are in the constant motion phase, automatic drift compensation is
implemented in the analog speed control (SINUMERIK FM-NC).
Editor
The editor makes it possible to create, edit, extend, join, and import programs/texts/program
blocks.
Electronic handwheel
Electronic handwheels can be used to traverse the selected axes simultaneously in manual
mode. The handwheel clicks are analyzed by the increment analyzer.
Exact stop
With a programmed exact stop instruction, the position stated in a block is approached
precisely and very slowly, if necessary. In order to reduce the approach time, -> exact stop
limits are defined for rapid traverse and feed.
Cycles
Glossary-4 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Glossary
Feedrate override
The current feedrate setting entered via the control panel or by the PLC is overlaid on the
programmed feedrate (0-200 %). The feedrate can also be corrected by a programmable
percentage factor (1-200%) in the machining program.
Finished-part contour
Contour of the finished workpiece. See also -> Blank.
Fixed-point approach
Machine tools can approach fixed points such as a tool change point, loading point, pallet
change point, etc. in a defined way. The coordinates of these points are stored in the control.
Where possible, the control moves these axes in -> rapid traverse.
Frame
A frame is an arithmetic rule that transforms one Cartesian coordinate system into another
Cartesian coordinate system. A frame contains the components -> zero offset, -> rotation, ->
scaling, -> mirroring.
Geometry
Description of a -> workpiece in the -> workpiece coordinate system.
Geometry axis
Geometry axes are used to describe a 2- or 3-dimensional range in the workpiece coordinate
system.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 Glossary-5
Glossary
Ground
Ground is taken as the total of all linked inactive parts of a device which will not become live
with a dangerous contact voltage even in the event of a malfunction.
Helical interpolation
The helical interpolation function is ideal for machining internal and external threads using
form milling cutters and for milling lubrication grooves. The helix comprises two movements:
1. Circular movement in one plane
2. Linear movement perpendicular to this plane.
HIGHSTEP
Summary of the programming options for the -> PLC in the AS300/AS400 system.
I/O module
I/O modules represent the link between the CPU and the process. I/O modules are:
• ->Digital input/output modules
• ->Analog input/output modules
• ->Simulator modules
Identifier
In accordance with DIN 66025, words are supplemented using identifiers (names) for
variables (arithmetic variables, system variables, user variables), subroutines, key words,
and words with multiple address letters. These supplements have the same meaning as the
words with respect to block format. Identifiers must be unique. It is not permissible to use the
same identifier for different objects.
Cycles
Glossary-6 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Glossary
Increment
Travel path length specification based on number of increments. The number of increments
can be stored as a -> setting data or selected with keys labeled with 10, 100, 1000, 10,000.
Incremental dimension
Also incremental dimension: A destination for axis traversal is defined by a distance to be
covered and a direction referenced to a point already reached. See also -> absolute
dimension.
Initialization block
Initialization blocks are special -> program blocks. They contain value assignments that are
performed before program execution.
The primary purpose of initialization blocks is to initialize predefined data or global user data.
Initialization files
It is possible to create an initialization file for each -> workpiece. Various variable
assignments which are intended to apply specifically to one workpiece can be stored in this
file.
Intermediate blocks
Traversing movements with tool offset selected (G41/G42) can be interrupted by a limited
number of intermediate blocks (block without axis movements in the compensation plane)
whereby the tool offset can still be correctly calculated. The permissible number of
intermediate blocks which the control reads ahead can be set in system parameters.
Interpolator
Logical unit of the -> NCK which determines intermediate values for the movements to be
traversed on the individual axes on the basis of destination positions specified in the parts
program.
Interpolatory compensation
Interpolatory compensation can be used to compensate for leadscrew errors and measuring
system errors (LEC, MSEC) caused during production.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 Glossary-7
Glossary
Interrupt routine
Interrupt routines are special -> subroutines which can be started on the basis of events
(external signals) in the machining process. A parts program block which is currently being
worked through is interrupted and the position of the axes at the point of interruption is
automatically saved.
Interrupts
All alarms and -> messages are output on the operator panel in plain text with the date and
time and a symbol indicating the cancel criterion. Alarms and messages are displayed
separately.
1. Alarms and messages in the part program:
Alarms and messages can be displayed in plain text directly from the part program.
2. Alarms and messages from PLC
Alarms and messages for the machine can be displayed in plain text from the PLC
program. No additional function block packages are required for this purpose.
JOG
Control operating mode (setup operation): In JOG mode, the machine can be set up.
Individual axes and spindles can be traversed in JOG mode by means of the direction keys.
Other JOG mode functions are -> reference point approach, -> Repos and -> Preset (set
actual value).
Key switch
• S7-300:The key switch is the operating mode switch of the -> CPU. The keylock switch is
operated by a removable key.
• 840D/FM-NC: The keyswitch on the -> machine control panel has 4 settings, to which
functions are assigned by the operating system of the control. Further, the keylock switch
has three differently colored keys, which can be removed in the specified positions.
Keywords
Words with a specific notation, which have a defined meaning in the programming language
for -> parts programs.
KUE
Speed ratio
Kv
Servo gain factor, a control variable in a control loop.
Cycles
Glossary-8 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Glossary
Languages
The operator-prompt display texts, system messages and system alarms are available (on
diskette) in five system languages: German, English, French, Italian, and Spanish. The user
can select two of the listed languages at a time in the control.
Limit speed
Maximum/minimum (spindle) speed: The maximum speed of a spindle may be limited by
values defined in the machine data, the -> PLC or -> setting data.
Linear axis
The linear axis is an axis, which, in contrast to a rotary axis, describes a straight line.
Linear interpolation
The tool travels along a straight line to the destination point while machining the workpiece.
Load memory
For the CPU 314 of the -> PLC, the load memory is equal to the -> Work memory .
Look ahead
With the look ahead function, a configurable number of traversing blocks is read in advance
in order to calculate the optimum machining velocity.
Machine
Operating area of the control.
Machine axes
Physically existent axes on the machine tool.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 Glossary-9
Glossary
Machine zero
Fixed point of the machine tool to which all (derived) measuring systems can be traced back.
Macro techniques
Grouping of a set of instructions under a single identifier. The identifier represents the set of
consolidated instructions in the program.
Main block
A block prefixed by ":" containing all the parameters required to start execution of a -> parts
program.
Main program
Parts program identified by a number or identifier in which further main programs,
subroutines or -> cycles may be called.
MDA
Control operating mode: Manual Data Input: In the MDI mode, individual program blocks or
block sequences with no reference to a main program or subprogram can be input and
executed immediately afterwards through actuation of the NC start key.
Measuring circuit
• SINUMERIK FM-NC: The requisite control circuits for axes and spindles are integrated in
the control module as standard. A maximum total of 4 axes and spindles can be
implemented, with no more than 2 spindles.
• SINUMERIK 840D The signals from the sensors are analyzed in the SIMODRIVE 611D
drive modules. The maximum configuration is 8 axes and spindles in total, but including
no more than 5 spindles.
Messages
All messages programmed in the parts program and -> alarms recognized by the system are
output on the operator panel in plain text with the date and time and a symbol indicating the
cancel criterion. Alarms and messages are displayed separately.
Metric system
Standardized system of units: For length, e.g., mm (millimeters), m (meters).
Mirroring
Mirroring reverses the signs of the coordinate values of a contour, with respect to an axis. It
is possible to mirror with respect to more than one axis at a time.
Cycles
Glossary-10 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Glossary
Multipoint interface
The multipoint interface (MPI) is a 9-pin sub-D port. A configurable number of devices can be
connected to a multipoint interface and then communicate with each other.
• Programming devices
• Operator control and monitoring equipment
• Further automation systems
The parameter block "Multipoint Interface MPI" of the CPU contains the -> parameters which
define the properties of the multipoint interface.
NC
Numerical Control: Numerical control (NC) includes all components of machine tool control: -
> NCK, -> PLC, -> MMC, -> COM.
Note
CNC (computerized numerical control) would be more appropriate for the SINUMERIK 840D
or FM-NC controls: MARS and Merkur controls.
NCK
Numerical Control Kernel: Component of the NC control which executes -> parts programs
and essentially coordinates the movements on the machine tool.
Network
The term "network" describes the connection of several S7-300 and other terminal devices,
e.g. a programming device, via -> interconnecting cables. A data exchange takes place over
the network between the connected devices.
Node number
The node number represents the "contact address" of a -> CPU or the -> programming
device or any other intelligent periphery module if these are communicating via a -> network
with each other. The node number is assigned to the CPU or the programming device with
the S7 tool -> "S7 configuration".
NRK
Numeric Robotic Kernel (operating system of the -> NCK)
NURBS
Internal motion control and path interpolation are performed using NURBS (non-uniform
rational B-splines). A standard procedure is thus available (SINUMERIK 840D) as an internal
control function for all modes of interpolation.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 Glossary-11
Glossary
OEM
The scope for implementing individual solutions (OEM applications) for the SINUMERIK
840D has been provided for machine manufacturers, who wish to create their own operator
interface or integrate process-oriented functions in the control.
Offset memory
Data range in the control, in which the tool offset data are stored.
Override
Manual or programmable control feature, which enables the user to override programmed
feedrates or speeds in order to adapt them to a specific workpiece or material.
Parameter
• S7-300: a distinction is made between 2 types of parameters:
– Parameters of a STEP 7 instruction
A parameter of a STEP 7 instruction is the address of the operand to be processed or
a constant.
– Parameters of a -> parameter block
A parameter of a parameter block determines the behavior of a module.
• 840D:
– Operating area of the control.
– Arithmetic parameter for which the programmer of the parts program can assign or
request values as required in the program.
Parts program
A sequence of instructions to the NC control which combine to produce a specific ->
workpiece. Likewise, performing a certain machining operation on a specific -> blank.
Cycles
Glossary-12 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Glossary
PG
Programming device
PLC
Programmable Logic Control -> Programmable Logic Controller. Component of the -> NC
control: Programmable controller for processing the control logic of the machine tool.
PLC Programming
The PLC is programmed with STEP 7 software. STEP 7 programming software is based on
the standard WINDOWS operating system and incorporates the functionality of STEP5
programming with innovative expansions and developments.
Polar coordinates
A coordinate system, which defines the position of a point on a plane in terms of its distance
from the origin and the angle formed by the radius vector with a defined axis.
Polynomial interpolation
Polynomial interpolation provides a means of generating a very wide range of curves,
including straight-line, parabolic and exponential functions (SINUMERIK 840D).
Positioning axis
Axis that performs an auxiliary movement on a machine tool (e.g., tool magazine, pallet
transport). Positioning axes are axes that do not interpolate with -> path axes.
Power on
Control is switched off and then switched on again.
Preset
The control zero point can be redefined in the machine coordinate system by means of the
Preset function. Preset does not cause the axes to move; instead, a new position value is
entered for the current axis positions.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 Glossary-13
Glossary
Program
1. Operating area of the control.
2. Sequence of instructions to the control.
Program block
Program blocks contain the main and subroutines of the -> part programs.
Programmable frames
Programmable -> frames can be used to define new coordinate system starting points
dynamically while the parts program is running. A distinction is made between absolute
definition using a new frame and additive definition with reference to an existing starting
point.
Programming key
Characters and character sequences, which have a defined meaning in the programming
language for -> parts programs (see programming guide).
Protection zone
Three-dimensional space within the -> working area which the tool tip is not permitted to
enter.
R parameters
Arithmetic parameter for which the programmer of the -> parts program can freely assign or
request values in the program.
Cycles
Glossary-14 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Glossary
Rapid traverse
The highest traverse rate of an axis. It is used for example to move the tool from rest position
to the -> workpiece contour or retract the tool from the contour.
Reference point
Point on the machine tool used to reference the measuring system of the -> machine axes.
REPOS
1. Repositioning on the contour using operator input
The REPOS function can use the direction keys to reposition at the point of interruption.
2. Repositioning on the contour by program
The program commands provide various approach strategies: Approach point of
interruption, approach start of block, approach end of block, approach a point on the path
between start of block and interruption.
Retentive memory
Data areas in data blocks and times, counters and markers are retentive (non-volatile) if their
contents are not lost when the system is restarted or the mains supply is disconnected.
Rigid tapping
This function allows threads to be tapped without a compensating chuck. By using the
method whereby the spindle, as a rotary axis, and the drilling axis interpolate, threads can be
cut to a precise final drilling depth (e.g. for blind hole threads) (requirement: spindles in axis
operation).
Rotary axis
Rotary axes apply a workpiece or tool rotation to a defined angular position.
Rotation
Component of a -> frame which defines a rotation of the coordinate system through a
specific angle.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 Glossary-15
Glossary
Rounding axis
Rounding axes rotate a workpiece or tool to an angular position corresponding to an
indexing grid. When a grid index is reached, the rounding axis is "in position".
S7-300 bus
The S7-300 bus is a serial data bus by means of which the modules communicate with each
other and are supplied with the required voltage. The connections between the modules are
made with the -> bus connectors.
S7-Configuration
S7 configuration is a tool with the aid of which modules can be parameterized. With S7
configuration, various -> parameter blocks of the -> CPU and the I/O modules are set on the
-> PG. These parameters are transmitted to the CPU.
Scaling
Component of a -> frame, which causes axis-specific scale modifications.
Security functions
The controls contain watchdog monitors which are always active. These monitors detect
problems in the CNC, PLC or machine in time to prevent damage to workpiece, tool or
machine as far as possible. In the event of a fault, the machining operation is interrupted and
the drives stopped. The cause of the malfunction is logged and output as an alarm. At the
same time, the PLC is notified that a CNC alarm has been triggered.
Services
Operating area of the control.
Set
A section of a -> parts program terminated with a line feed. A distinction is made between ->
main blocks and -> subblocks.
Setting data
Data, which communicates the properties of the machine tool to the NC control, as defined
by the system software.
Cycles
Glossary-16 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Glossary
Simulator module
A simulator module is a module
• on which digital input variables can be simulated via control elements and
• Digital output quantities can be displayed
Soft key
A key, whose name appears on an area of the screen. The choice of soft keys displayed is
dynamically adapted to the operating situation. The freely assignable function keys (soft
keys) are assigned defined functions in the software.
Spindles
The spindle functionality is a two-level construct:
1. Spindles: speed or position-controlled spindle drives, analog
digital (SINUMERIK 840D)
2. Auxiliary spindles: speed-controlled spindle drives, "auxiliary spindle" function package,
e.g., for driven tools.
Spline interpolation
Using the spline interpolation function, the control is able to generate a smooth curve from
just a small number of specified interpolation points along a setpoint contour.
SPS
-> Programmable Logic Controller
Standard cycles
Standard cycles are provided for machining operations, which are frequently repeated:
• Cycles for drilling/milling applications
• Cycles for turning applications (SINUMERIK FM-NC)
The available cycles are listed in the "Cycle support" menu in the "Program" operating area.
Once the desired machining cycle has been selected, the parameters required for assigning
values are displayed in plain text.
Standard rail
A mounting rail is used to attach the modules of an S7-300.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 Glossary-17
Glossary
Subblock
Block preceded by "N" containing information for a sequence, e.g., positional data.
Subprogram
A sequence of instructions in a -> parts program, which can be called repeatedly with various
defining parameters. The subroutine is called from a main program. Every subprogram can
be protected against unauthorized read-out and display. -> Cycles are a form of subroutine.
Synchronization
Instructions in -> parts programs for coordination of sequences in different -> channels at
specific machining points.
Synchronized actions
1. Auxiliary function output
During the workpiece machining, technology functions (-> auxiliary functions) can be
issued from the CNC program to the PLC. These auxiliary functions are used for example
to control additional equipment for the machine tool, such as quills, grabbers, clamping
chucks etc.
2. Fast auxiliary function output
For time-critical switching functions, the confirmation times for the -> auxiliary functions
are minimized, and unnecessary stopping points in the machining process can be
avoided.
Synchronized axes
Synchronized axes take the same time to traverse their path as the geometry axes take for
their path.
System memory
The system memory is a memory in the CPU in which the following data are stored:
• Data required by the operating system
• The operands times, counters, markers
System variables
A variable, which exists although it has not been programmed by the -> parts program
programmer. It is defined by a data type and the variable name preceded by the character $.
See also -> User-defined variable.
Teach In
Teach-in is a means of creating or correcting parts programs. The individual program blocks
can be input via the keyboard and executed immediately. Positions approached via the
direction keys or handwheel can also be stored. Additional information such as G functions,
feedrates or M functions can be entered in the same block.
Cycles
Glossary-18 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Glossary
Text editor
-> Editor
Tool
A tool is a software tool for inputting and changing the -> parameters of a parameter block.
Tools include:
• -> S7 configuration
• S7-TOP
• S7-Info
A part used on the machine tool for machining. Examples of tools include lathe tools, milling
cutters, drills, laser beams, etc.
Tool offset
By programming a T function (5 decades, integer) in the block, you can select the tool. Every
T number can be assigned up to nine cutting edges (D addresses). The number of tools to
be managed in the control is set at the configuration stage.
Transformation
Programming in a Cartesian coordinate system, execution in a non-Cartesian coordinate
system (e.g., with machine axes as rotary axes).
Traversing range
The maximum permissible travel range for linear axes is ± 9 decades. The absolute value
depends on the selected input and position control resolution and the unit of measurement
(inch or metric).
User-defined variable
The user can declare user-defined variables for any use in the -> parts program or data
block (global user data). A definition contains a data type specification and the variable
name. See also -> System variable.
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 Glossary-19
Glossary
Variable definition
A variable definition includes the specification of a data type and a variable name. The
variable names can be used to access the value of the variables.
Velocity control
In order to be able to achieve an acceptable traversing velocity on very short traverse
movements within a single block, predictive velocity control can be set over several blocks
(-> look ahead).
Work offset
Specification of a new reference point for a coordinate system through reference to an
existing zero point and a -> frame.
1. settable
SINUMERIK FM-NC: Four independent zero offsets can be selected for each CNC axis.
SINUMERIK 840D A configurable number of settable work offsets are available for each
CNC axis. The offsets - which are selected by means of G functions - take effect
alternately.
2. external
In addition to all offsets that define the position of the workpiece zero, it is possible to
superimpose an external zero offset via one of the following:
– Handwheel (DRF offset)
– PLC
3. Programmable
Zero offsets are programmable for all path and positioning axes with the TRANS
command.
Workpiece
Part to be made/machined by the machine tool.
Workpiece contour
Setpoint contour of the -> workpiece to be made/machined.
Workpiece zero
The workpiece zero is the starting point for the -> workpiece coordinate system. It is defined
by the distance from the machine zero.
Cycles
Glossary-20 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0
Index
A CYCLE81, 2-4
CYCLE82, 2-7
absolutedrillingdepth, 2-6, 3-15, 3-21, 3-36, 3-62, CYCLE83, 2-10
3-105 CYCLE832, 3-160
Axis assignment, 1-3 CYCLE84, 2-18
CYCLE840, 2-25
CYCLE85, 2-32
B CYCLE86, 2-35
Behavior when quantity parameter is zero, 2-51 CYCLE87, 2-39
Blank, 4-56 CYCLE88, 2-42
Boring, 2-1 CYCLE89, 2-45
Boring 1, 2-32 CYCLE90, 3-4
Boring 2, 2-35 CYCLE93, 4-5
Boring 3, 2-39 CYCLE94, 4-14
Boring 4, 2-42 CYCLE95, 4-19
Boring 5, 2-45 CYCLE950, 4-56
CYCLE96, 4-34
CYCLE97, 4-38
C CYCLE98, 4-46
Call, 1-3
Call conditions, 1-3 D
Centering, 2-4
Circle of holes, 2-55 Deep-hole drilling, 2-10
Circular spigot milling - CYCLE77, 3-79 Dot matrix, 2-58
Circumferential slot - SLOT2, 3-25 Drilling, 2-4
Contour definition, 4-69 Drilling cycles, 1-1
Contour definition, 4-30 Drilling pattern cycles, 2-51
Contour monitoring, 4-3, 4-32 Drilling, counterboring, 2-7
Contour programming, 4-64
CONTPRON, 4-31
Cycle alarms, 5-1 E
Cycle call, 1-4 Engraving cycle – CYCLE60, 3-174
Cycle setting data, milling, 3-3 Extended stock removal cycle - CYCLE950, 4-56
Cycle setting data, Turning, 4-3 External thread, 3-6
Cycle support for user cycles), 1-18
Cycle support in the program editor, 1-8
CYCLE60, 3-174 F
CYCLE72, 3-65
CYCLE73, 3-90 Face thread, 4-45
CYCLE75, 3-86 FGROUP, 3-4
CYCLE76, 3-73 Free contour programming, 1-11
CYCLE77, 3-79
CYCLE800, 3-109
CYCLE801, 2-58
Cycles
Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0 Index-1
Index
G R
Geometrical parameters, 2-1 Rectangular spigot milling - CYCLE76, 3-73
Grooving cycle - CYCLE93, 4-5 Reference plane, 3-105
relativedrillingdepth, 2-6, 3-15, 3-21, 3-36, 3-62,
3-105
H residual material, 4-56
Retraction plane, 2-6, 3-105
High speed settings – CYCLE832, 3-160
Return conditions, 1-3
Hole pattern cycles, 1-2
Rigid tapping, 2-18
Hole pattern cycles without drilling cycle call, 2-51
Row of holes, 2-52
HOLES1, 2-52
HOLES2, 2-55
S
L Safety clearance, 2-6, 3-105
SETMS, 3-2
Long holes located on a circle - LONGHOLE, 3-12
Simulation of cycles, 1-7
LONGHOLE, 3-12
Simulation without tool, 1-7
Longitudinal thread, 4-45
SLOT1, 3-18
SLOT2, 3-25
Slots on a circle - SLOT1, 3-18
M Spindle handling, 4-2
Machining parameters, 2-1 SPOS, 2-21, 2-22
Machining plane, 1-3 Start, 2-2
MCALL, 2-48 Start point, 4-33
Messages, 1-4, 5-2 Stock removal cycle - CYCLE95, 4-19
Milling a circular pocket - POCKET4, 3-52 Swiveling – CYCLE800, 3-109
Milling a rectangular pocket - POCKET3, 3-43 Swiveling in JOG (with Cycles SW 6.5 and
Milling circular pockets - POCKET2, 3-38 higher), 3-124
Milling cycles, 1-2
Milling rectangular pockets - POCKET1, 3-32
Modal call, 2-48 T
Tapping with compensating chuck, 2-25
Tapping with compensating chuck with encoder,
O 2-28
Overview of cycle alarms, 5-1 Tapping with compensating chuck without
Overview of cycles, 1-1 encoder, 2-28
Thread chaining - CYCLE98, 4-46
Thread cutting - CYCLE97, 4-38
P Thread milling, 3-4
Thread recutting, 4-54
parallel-contour, 4-56
Thread undercut - CYCLE96, 4-34
Parameter list, 1-4
Transfer island contour - CYCLE75, 3-86
Path milling, 3-65
Turning cycles, 1-2
Plane definition, 1-3
Plausibility checks, 2-51
Pocket milling with islands - CYCLE73, 3-90
POCKET1, 3-32
U
POCKET2, 3-38 Undercut angle, 4-3
POCKET3, 3-43 Undercut cycle - CYCLE94, 4-14
POCKET4, 3-52
Cycles
Index-2 Programming Manual, Release 04/2006, 6FC5398-3BP10-0BA0