840D Zyklen 010900 7018088 EN
840D Zyklen 010900 7018088 EN
SINUMERIK 840D/840Di/810D
Cycles
User Documentation
General 1
Appendix A
Valid for
09.2001 Edition
0 0
Contents 09.01
SINUMERIK® Documentation
Printing history
Brief details of this edition and previous editions are listed below.
The status of each edition is shown by the code in the "Remarks" column.
Trademarks
SIMATICâ, SIMATIC HMIâ, SIMATIC NETâ, SIROTECâ, SINUMERIKâ, SIMODRIVEâ and SIMODRIVE
POSMOâ are registered trademarks of Siemens AG. Other names mentioned in this publication might be
trademarks whose use by a third party for his purposes could violate the rights of the holder.
Further information is available on the Internet under: Other functions not described in this documentation might be executable in the
http:/www.ad.siemens.de/sinumerik control. This does not, however, represent an obligation to supply such functions
with a new control or when servicing.
This document was produced with WinWord V8.0
and Designer V7.0. We have checked that the contents of this document correspond to the hardware
The reproduction, transmission or use of this document or its contents is not and software described. Nonetheless, differences might exist and we, therefore,
permitted without express written authority. Offenders will be liable for damages. cannot guarantee that they are completely identical. The information contained in
All rights, including rights created by patent grant or registration of a utility model this document is, however, reviewed regularly and any necessary changes will be
or design, are reserved. included in the next edition. We welcome suggestions for improvement.
© Siemens AG, 1995–2001. All rights reserved Subject to change without prior notice.
Contents
General 1-15
1.1 General information ......................................................................................................... 1-16
1.4 Cycle support in program editor (SW 4.3 and later) ........................................................1-26
1.4.1 Overview of important files...........................................................................................1-27
1.4.2 Configuring cycle selection ..........................................................................................1-28
1.4.3 Configuring input screen forms for parameter assignment..........................................1-30
1.4.4 Configuring help displays .............................................................................................1-33
1.4.5 Configuring tools (MMC 100 only)................................................................................1-34
1.4.6 Loading to the control ..................................................................................................1-35
1.4.7 Independence of language ..........................................................................................1-36
1.4.8 Operating the cycles support function..........................................................................1-37
1.4.9 Integrating user cycles into the MMC 103 simulation function.....................................1-38
1.5 Cycle support in the program editor (SW 5.1 and later)......................................................1-39
1.5.1 Menus, cycle selection .................................................................................................1-39
1.5.2 New functions in input screen forms ............................................................................1-40
3.13 Milling rectangular spigots – CYCLE76 (SW 5.3 and later) .......................................... 3-176
3.14 Milling circular spigots – CYCLE77 (SW 5.3 and later) ................................................ 3-181
3.15 Pocket milling with islands – CYCLE73, CYCLE74, CYCLE75 (SW 5.2 and later) .... 3-185
3.15.1 Transfer pocket edge contour – CYCLE74 ................................................................ 3-186
3.15.2 Transfer island contour – CYCLE75 .......................................................................... 3-188
3.15.3 Contour programming ................................................................................................ 3-189
3.15.4 Pocket milling with islands – CYCLE73...................................................................... 3-192
4.10 Extended stock removal cycle – CYCLE950 (SW 5.3 and later)..................................4-297
Appendix A-329
A Abbreviations ....................................................................................................................... A-330
B Terms................................................................................................................................... A-339
C References .......................................................................................................................... A-347
D Index .................................................................................................................................... A-361
E Identifiers ............................................................................................................................. A-365
Target group
This documentation is intended for users of machine
tools. This publication provides detailed information
that the user requires for operating the SINUMERIK
810D and 840D controls.
Standard scope
This programming guide describes the standard
functions. Differences and additions implemented by
the machine-tool manufacturer are documented by
the machine manufacturer.
Applicability
This Programming Guide applies to: SINUMERIK
810D, 840D, 840Di control systems with MMC 100
and MMC 102/103.
Details of software versions in the Programming Guide
refer to the 840D system, but apply correspondingly to
the 810D, e.g. SW 6 on a SINUMERIK 840D
corresponds to SW 3 on a SINUMERIK 810D.
explanation of the cycles and parameters. RTP real Retraction plane (absolute)
RFP real Reference plane (absolute)
SDIS real Safety clearance (enter without sign)
DP real Final drilling depth (absolute)
the page.
Function Z
Note: X
the programming language. Cycles have been Position reached before the beginning of the
cycle:
The drilling position is the position in the two axes of
What is the cycle used for? retraction plane (RTP) have different values. In the
cycle it is assumed that the retraction plane lies in
front of the reference plane. The distance between RTP
the retraction plane and the final drilling depth is RFP+SDIS
RFP
therefore greater than the distance between the X
reference plane and the final drilling depth.
DP and DPR
The drilling depth can be defined either absolute
(DP) or relative (DPR) to the reference plane.
If it is entered as an absolute value, the value is
Additional notes
If a value is entered both for the DP and the DPR,
What else do you have to look out for? the final drilling depth is derived from the DPR. If the
DPR deviates from the absolute depth programmed
via the DP, the message "Depth: Corresponds to
value for relative depth" is output in the dialog line.
control.
SINUMERIK 840D/810D/FM-NC Programming Guide, Cycles (PGZ) - 08.97 Edition. 2-37
Programming example
Drilling_centering Y Y A-B
You can use this program to make 3 holes using the
A
drilling cycle CYCLE81, whereby this cycle is called
with different parameter settings. The drilling axis is 120
always the Z axis.
30
0
B X Z
40 90 35 100 108
Explanation of symbols
Sequence of operations
Explanation
Function
Parameters
Programming example
Programming
Additional notes
Warning notes
The following warning notes with graded degrees of
importance are used in this documentation.
Danger
This warning appears whenever death, serious
personal injury or substantial material damage will
occur if the appropriate precautions are not taken.
Warning
This warning appears whenever death, serious
personal injury or substantial material damage may
occur if the appropriate precautions are not taken.
Caution
This warning (with warning triangle) appears
whenever slight personal injury may occur if the
appropriate precautions are not taken.
Caution
This warning (with warning triangle) appears
whenever material damage may occur if the
appropriate precautions are not taken.
Notice
This warning appears whenever an undesirable
result or an undesirable state may occur if the
appropriate precautions are not taken.
Principle
Your SIEMENS 810D and 840D have been designed
and constructed to the latest standards of echnology
and recognized safety rules, standards and
regulations.
Additional equipment
The applications of SIEMENS controls can be
expanded by adding special additional devices,
equipment and expansion units supplied by
SIEMENS.
Personnel
Only authorized and reliable personnel who have
been trained in the use of the equipment may be
allowed to handle the control. Nobody without the
necessary training must be allowed to operate the
control, even temporarily.
Behavior
Before the control is started up, the personnel who
are to work on the control must be thoroughly
acquainted with the Operator's Guides. The
operating company is also responsible for
constantly monitoring the overall technical state of
the control (noticeable faults and damage, altered
service performance).
Servicing
Repairs must be carried out by personnel who are
specially trained and qualified in the relevant
technical subject according to the information
supplied in the service and maintenance guide. All
relevant safety regulations must be followed.
Note
The following is deemed to be improper usage and
exempts the manufacturer from any liability:
General
1.4 Cycle support in program editor (SW 4.3 and later) ........................................................1-26
1.4.1 Overview of important files .......................................................................................1-27
1.4.2 Configuring cycle selection.......................................................................................1-28
1.4.3 Configuring input screen forms for parameter assignment ......................................1-30
1.4.4 Configuring help displays .........................................................................................1-33
1.4.5 Configuring tools (MMC 100 only) ............................................................................1-34
1.4.6 Loading to the control...............................................................................................1-35
1.4.7 Independence of language.......................................................................................1-36
1.4.8 Operating the cycles support function ......................................................................1-37
1.4.9 Integrating user cycles into the MMC 103 simulation function .................................1-38
1.5 Cycle support in the program editor (SW 5.1 and later) ..................................................1-39
1.5.1 Menus, cycle selection .............................................................................................1-39
1.5.2 New functions in input screen forms ........................................................................1-40
1.2.1 Drilling cycles, drill pattern cycles, milling cycles and turning cycles
You can perform the following cycles with the
SINUMERIK 810D and 840D controls:
Drilling cycles
CYCLE81 Drilling, centering
CYCLE82 Drilling, counterboring
CYCLE83 Deep hole drilling
CYCLE84 Rigid tapping
CYCLE840 Tapping with compensating chuck
CYCLE85 Boring 1
CYCLE86 Boring 2
CYCLE87 Boring 3
CYCLE88 Boring 4
CYCLE89 Boring 5
Milling cycles
LONGHOLE Milling pattern of elongated holes on a circle
SLOT1 Groove milling pattern arranged on a circle
SLOT2 Circumferential groove milling pattern
POCKET1 Rectangular pocket milling (with face cutter)
POCKET2 Circular pocket milling (with face cutter)
CYCLE90 Thread milling
Turning cycles
CYCLE93 Groove
CYCLE94 Undercut (shape E and F according to DIN)
CYCLE95 Stock removal with relief cut
CYCLE96 Thread undercut (shapes A, B, C and D according to
DIN)
CYCLE97 Thread cutting
CYCLE98 Chaining of threads
a
din
G1
9 Or
Define the machining plane (G17, G18, G19) before
calling the cycle. A cycle operates in the current
plane with
• Abscissa (1st geometry axis)
• Ordinate (2nd geometry axis)
• Applicate (3rd geometry axis of the plane in G1
7
space).
In drilling cycles, the hole is machined in the axis G1
8
that corresponds to the applicate of the current
Ab
plane. The depth infeed is performed in this axis with sc
is sa
milling applications. X
G17 X/Y Z
G18 Z/X Y
G19 Y/Z X
18118 MM_NUM_GUD_MODULES 7
18130 MM_NUM_GUD_NAMES_CHAN 10
18150 MM_GUD_VALUES_MEM 10
18170 MM_NUM_MAX_FUNC_NAMES 40
18180 MM_NUM_MAX_FUNC_PARAM 450
28020 MM_NUM_LUD_NAMES_TOTAL 200
28040 MM_NUM_LUD_VALUES_MEM 25
Cycle call
The various methods for writing a cycle call are shown
in the following example, CYCLE100, which requires the
following input parameters.
Example
FORM Definition of the machined shape
Values: E and F
MID Infeed depth (to be entered without a sign)
FFR Feedrate
VARI Machining type
Values: 0, 1 or 2
FAL Final machining allowance
Example
CYCLE100 ("E", 5, 0.1, 1, 0) Cycle call
Example
DEF CHAR FORM="E" Definition of a parameter, value assignment
DEF REAL MID=5, FFR, FAL Definition of parameters with or without
DEF INT VARI=1 value assignments
N10 FFR=0.1 FAL=0 Value assignments
N20 CYCLE100 (FORM, MID, FFR, -> Cycle call
-> VARI, FAL)
Example
DEF CHAR FORM="E" Definition of a parameter, value
assignment
N10 R1=5 R2=0.1 R3=1 R4=0 Value assignments
N20 CYCLE100 (FORM, R1, -> Cycle call
-> R2, R3, R4)
Example
CYCLE100 ("F", 3, 0.3, , 1) Cycle call,
omit 4th parameter (i.e. zero setting)
CYCLE100 ("F", 3, 0.3) Cycle call
the value zero is assigned to the last two
parameters (i.e. they have been left out)
5. Expressions in the parameter list
Expressions, the result of which is assigned to the
corresponding parameter in the cycle are also
permitted in the parameter list.
Example
DEF REAL MID=7, FFR=200 Definition of the parameters, value
assignments
CYCLE100 ("E", MID*0.5, FFR+100,1) Cycle call
Infeed depth 3.5, feedrate 300
Function
In configurations with an MMC 100.2, the program is
executed normally in the NC and the traversing motion
is recorded on the screen during the simulation run.
Function
The cycle support consists of the three components:
1. Cycle selection
2. Input screen forms for parameter setting
3. Help display per cycle.
Programming
Syntax of the cov.com file (example)
%_N_COV_COM
;$PATH=/_N_CUS_DIR
;V04.03.01/10.09.97
S2.0.0\Turning\
S3.0.0\Drilling\
S4.0.0\Milling\
S5.0.0\Threads\
S6.0.0\Users\
S3.1.0\Deep hole %ndrilling\C3(CYCLE83) Deep hole drilling
S3.2.0\Boring\
S3.2.1\Boring%n1\C6(CYCLE85) Boring 1
...
M17
Explanation of syntax
Sx.y.z Softkey number and level, the decimal point is used to separate the three numbers
x denotes the softkey of the 1st level (2 to 18 are possible)
y denotes the softkey of the 2nd level (1 to 18 are possible).
z denotes the softkey of the 3rd level (1 to 18)
\text\ Softkey text, maximum 2 ⋅ 9 characters
The separator character is "%n"
Cxx Help display name, a "p" is added to the name of the help display file for cycle
support, e.g. Cxxp.bmp
(Name) Cycle name that is written to the program and is present in the input screen form
for parameter setting.
After the cycle name, you can write a comment separated
from the name by at least one blank.
Explanation
The following is an example of the cycle header:
Name of help display
Cycle name
Comments
Cycle parameterization
(R/0 2/1/Return plane, absolute)[return plane/RTP]
Start (
Variable type R REAL
I INTEGER
C CHARACTER
S STRING
Separator /
Value range Lower limit, blank, upper limit (e.g. 0 2)
Separator /
Default value one value (e.g. 1)
Separator /
Long text is output in the dialog line
End )
Start option [
Short text appears in the parameterization screen form
Separator /
Text in bitmap Parameter name
End option ]
Instead of limiting a value range, it is possible to define
individual values by enumeration. These are then
selected for input using the toggle button.
Explanation
If the section in square brackets is missing, proceed
as follows:
Short text= the first 19 characters of the long text but only up to the first blank from the
right or up to the first comma from the left.
Shortened texts are marked with an asterisk " * "
Text in bitmap= is read from the Cxx.awb file
Programming example
Cycle support for the cycle:
corresponds to the COM files SW4 MMC100 and
cycle support ASCII Editor MMC 102/103
//C6(CYCLE85) Boring 1
(R///Retraction plane, absolute)[Retraction plane/RTP]
(R///Reference plane, absolute)[Reference plane/RFP]
(R/0 99999//Safety distance, without sign)
[safety distance/SDIS]
(R///Final drilling depth, absolute)[Final drilling depth/DP]
(R/0 99999/0/Final drilling depth relative to reference plane)[Final
drilling depth rel./,DPR]
(R/0 99999//Dwell at drilling depth)[Dwell BT/DTB]
(R/0.001 999999//Feedrate)[Feedrate/FFR]
(R/0.001 999999//Return feedrate)[Return feedrate/RFF]
makepcx.bat
Sequence of operations
• Change to directory "INSTUTIL" in your
application path and start "APP_INST.EXE". The
selection menu for software installation is
displayed.
• Select menu option "Modify configuration". A
further selection menu appears. In this menu
select the option "Add *.* Files ...". As the file
name enter your graphics file path and file name
"CST.ARJ" in the input screen form.
• Press the Return key to confirm your input.
• Press Esc to return to the main menu where you
can transfer your software to the hardware.
Sequence of operations
The help displays for cycle support are located in the
directory
Interactive programming\DP help.
Example:
//C60 (DRILLING CYCLE)
(R///$85000)[$85001/PAR1]
(R///$85002 $85003)[$85002/PAR2]
...
1.4.9 Integrating user cycles into the MMC 103 simulation function
Explanation
If you wish to simulate user cycles in the MMC 103,
the call line for each cycle must be entered in file
dpcuscyc.com in directory DA\DP.DIR\SIM.DIR. The
call line must be entered there for each cycle.
Programming example
A user cycle named POSITION1 with 3 transfer
parameters is loaded to the control for simulation.
%_N_POSITION1_SPF
;$PATH=/_N_CUS_DIR
PROC POSITION1 (REAL XWERT, REAL YWERT, REAL ZWERT)
...
M17
1.5 Cycle support in the program editor (SW 5.1 and later)
As from SW 5.1, the program editor offers an
extended cycle support for Siemens and user cycles.
Function
The cycle support offers the following functions:
• Cycle selection via softkeys
• Input screen forms for parameter assignment
with help displays
• Online help for each parameter (with MMC 103
only)
• Support of contour input
Retranslatable code is generated from the individual
screen forms.
Blueprint programming
Contour
1st line
Contour
2nd line
Contur
3rd line These softkeys
support blueprints that are
possible with SW 5 or
higher.
It consists of one or several straight lines with contour
transition elements in-between (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
created from the following
input screen form for a 2-
straight-line contour
definition
creates the following DIN
code:
Drilling support
The drilling support includes a selection of drilling
cycles and drilling patterns.
Center
drilling
Deep hole
drilling
Drilling out
Thread
holing
Selection of drilling
patterns
Drilling
pattern pos.
Modal
deselection
Milling support
The milling support includes the following selection possibilities:
Face Thread
milling milling
Path Schwenk-
milling Zyklen
Standard
pockets
Slots
Spigots
>> <<
Turning support
The turning support includes the following selection possibilities:
Cutting
Thread
Groove
Undercut
Retranslation
The retranslation of program codes serves to change
an existing program with the help of the cycle support.
The cursor is set to the line to be changed and the
"Retranslation" softkey is pressed.
2.1.1 Preconditions
Call and return conditions
Drilling cycles are programmed independently of the
actual axis names. The drilling position must be
approached in the higher-level program before the
cycle is called.
The required values for the feedrate, spindle speed
and spindle direction of rotation must be
programmed in the part program if there are no
assignment parameters for these values in the
drilling cycle.
The G function and current frame active before the
cycle was called remain active beyond the cycle.
Plane definition
In the case of drilling cycles, it is generally assumed
that the current workpiece coordinate system in
which the machining operation is to be performed is
compensation
Tool length
Applicate
defined by selecting plane G17, G18 or G19 and
activating a programmable frame. The drilling axis is
always the applicate of this coordinate system.
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 (see also Programming Guide).
Spindle programming
The drilling cycles are written in such a way that the
spindle commands always refer to the master
spindle control. If you want to use a drilling cycle on
a machine with several spindles, you must first
define the spindle that is to be used for the operation
as the master spindle (see also Programming
Guide).
Function Z
Sequence of operations
Position reached prior to cycle start:
The drilling position is the position in the two axes of
the selected plane.
Description of parameters
Z
G1
RFP and RTP (reference plane and retraction plane)
G0
Generally, the reference plane (RFP) and the
retraction plane (RTP) have different values. In the
cycle it is assumed that the retraction plane lies in
front of the reference plane. The distance between RTP
the retraction plane and the final drilling depth is
RFP+SDIS
therefore greater than the distance between the RFP
X
reference plane and the final drilling depth.
Further notes
If a value is entered both for the DP and the DPR,
the final drilling depth is derived from the DPR. If the
DPR deviates from the absolute depth programmed
via the DP, the message "Depth: Corresponds to
value for relative depth" is output in the dialog line.
Programming example
Drilling_centering Y Y A-B
You can use this program to make 3 holes using the
A
drilling cycle CYCLE81, whereby this cycle is called
with different parameter settings. The drilling axis is
120
always the Z axis.
30
0
B X Z
40 90 35 100 108
Parameter
Function
The tool drills at the programmed spindle speed and
feedrate to the programmed final drilling depth. A
dwell time can be allowed to elapse when the final
drilling depth has been reached.
Sequence of operations Z
Description of parameters
Z
G0
See Subsection 2.1.2. (Drilling, Centering – G1
CYCLE81) G4
Programming example
Boring_counterboring Y Y A-B
This program machines a single hole to a depth of
27 mm at position X24, Y15 in the XY plane with
cycle CYCLE82.
The dwell time programmed is 2 s, the safety
distance in the drilling axis Z is 4 mm. A
B
15
24 X 75 Z
102
Parameter
Function
The tool drills at the programmed spindle speed and
feedrate to the programmed 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.
The drill can either be retracted to the reference
plane+safety distance after every infeed depth for swarf
removal or retracted in each case by 1 mm for chip
breaking.
Sequence of operations
Position reached prior to cycle start:
The drilling position is the position in the two axes of
the selected plane.
RTP
RFP+SDIS
RFP
X
FDEP
FDEP
DP = RFP-DPR
Description of parameters
Programming example
Deep hole drilling Y Y A-B
This program executes the cycle CYCLE83 at positions
X80 Y120 and X80 Y60 in the XY plane. The first hole is A
drilled with a dwell time zero and machining type chip
breaking.
The final drilling depth and the first drilling depth are
120
entered as absolute values. In the second cycle call, a B
60
dwell time of 1s is programmed. Machining type swarf
removal is selected, the final drilling depth is relative to
80 X 5 Z
the reference plane. The drilling axis in both cases is
the Z axis. 150
The drilling stroke is calculated on the basis of a
degression factor and must not become shorter than
the minimum drilling depth of 8mm.
Parameter
Function
The tool drills at the programmed spindle speed and
feedrate to the programmed thread depth. With
cycle CYCLE84 you can perform rigid tapping
operations. SW 6.2 or higher onwards, the cycle is
also capable of performing tapping operations in
several stages (deep hole drilling).
Cycle CYCLE84 can be used if the spindle to be used
for the boring operation is technically able to go into
position-controlled spindle operation.
Sequence of operations
Z
Position reached prior to cycle start:
The drilling position is the position in the two axes of
the selected plane.
Description of parameters
SDAC
Z
G0
See Subsection 2.1.2. (Drilling, Centering – G331
CYCLE81) for a description of parameters RTP, G332
RFP, SDIS, DP, DPR G4
SST (speed)
Parameter SST contains the spindle speed for the
tapping block with G331.
Further notes
The direction of rotation is always reversed
automatically for tapping in cycle.
Programming example
Rigid tapping Y Y A-B
A thread is tapped without a compensating chuck at
position X30 and Y35 in the XY plane, the tapping
axis is the Z axis. No dwell time is programmed. The
depth is programmed as a relative value. The A
tapped.
30 X Z
6
36
Parameter
Function
The tool drills at the programmed spindle speed and
feedrate to the programmed thread depth.
With this cycle, tapping with compensating chuck
can be performed
• without encoder and
• with encoder.
.
Sequence of operations
Description of parameters
ENC (tapping)
If tapping is to be performed without encoder although
an encoder exists, parameter ENC must be assigned
the value 1.
However, if no encoder exists and the parameter is
assigned the value 0, it is ignored in the cycle.
• Tapping without encoder with input of the lead (SW 6.2 or higher):
From SW 6.2 you can calculate the correlation
between feed and speed via the programmed lead
within the cycle for tapping without encoder (G63
thread). The speed must be programmed before the
cycle is called.
Further notes
Depending on the setting in machine data
NUM_ENCS, the cycle selects whether tapping is to
performed with or without encoder.
Programming example
Thread without encoder Y Y A-B
In this program a thread is tapped without encoder at
position X35 Y35 in the XY plane, the drilling axis is
the Z axis. Parameters SDR and SDAC for the
direction of rotation must be assigned, parameter A
35 X 15 Z
56
35
35 X 15 Z
56
Parameter
Function
The tool drills at the programmed spindle speed and
feedrate to the programmed final drilling depth.
The inward and outward movement is performed at the
feedrate that is assigned to FFR and RFF respectively.
Sequence of operations
Z
Position reached prior to cycle start:
The drilling position is the position in the two axes of
the selected plane.
Description of parameters Z
G0
G1
See Subsection 2.1.2. (Drilling, Centering –
G4
CYCLE81) for a description of parameters RTP,
RFP, SDIS, DP, DPR
RTP
DTB (dwell time)
RFP+SDIS
Parameter DTB is the dwell time at the final drilling RFP
X
depth (chip breaking) in seconds.
FFR (feedrate)
The feedrate value assigned to FFR is active for
DP=RFP-DPR
boring.
Programming example
First boring pass X X A-B
Cycle CYCLE85 is called at position Z70 X50 in the
ZX plane. The boring axis is the Y axis. The value
for the final drilling depth in the cycle call is
programmed as a relative value, no dwell time is
programmed. The top edge of the workpiece is A
positioned at Y102.
B
50
70 Z 77 Y
102
DEF REAL FFR, RFF, RFP=102, DPR=25, Definition of parameters with value
SDIS=2 assignments
N10 FFR=300 RFF=1.5*FFR S500 M4 Specification of technology values
N20 G18 Z70 X50 Y105 Traverse to drilling position
N30 CYCLE85 (RFP+3, RFP, SDIS, , DPR, ,-> Cycle call, no dwell time programmed
-> FFR, RFF)
N40 M30 End of program
Parameter
Function
The tool drills at the programmed spindle speed and
feedrate to the programmed final 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.
Sequence of operations
Z
Position reached prior to cycle start:
The drilling position is the position in the two axes of the
selected plane.
Description of parameters
Z
G0
See Subsection 2.1.2. (Drilling, Centering –
G1
CYCLE81) for a description of parameters RTP, G4
RFP, SDIS, DP, DPR SPOS
Further notes
With the SPOS command you can perform an oriented
spindle stop of the active master spindle. The angular
value is programmed with a transfer parameter.
Programming example
Second boring pass Y Y A-B
Cycle CYCLE86 is called at position X70 Y50 in the
ZX plane. The boring axis is the Z axis. The final
drilling depth is programmed as an absolute value, a
safety distance is not defined. The dwell time at the
final drilling depth is 2 s. The top edge of the A
workpiece is positioned at Z110. In the cycle, the
spindle is turned with M3 and stops at 45 degrees. B
50
70 X 77 Z
110
Parameter
Function
The tool drills at the programmed spindle speed and
feedrate to the programmed final drilling depth.
With Boring 3, a spindle stop without orientation M5 and
then a programmed stop M0 are generated when the
final drilling depth is reached. The NC START key is
pressed to continue the retraction movement in rapid
traverse mode until the retraction plane is reached.
Sequence of operations
Z
Position reached prior to cycle start:
The drilling position is the position in the two axes of
the selected plane.
Description of parameters
Z
G0
See Subsection 2.1.2. (Drilling, Centering – G1
CYCLE81) M5/M0
for a description of parameters RTP, RFP, SDIS,
DP, DPR
RTP
SDIR (direction of rotation) RFP+SDIS
RFP
With this parameter you determine the direction of X
rotation with which boring is performed in the cycle.
If values other than 3 or 4 (M3/M4) are generated, DP=RFP-DPR
alarm 61102 "No spindle direction programmed" is
output and the cycle is aborted.
Programming example
Third boring pass Y Y A-B
Cycle CYCLE87 is called at position X70 Y50 in the ZX
plane. The boring axis is the Z axis. The final drilling
depth is programmed as an absolute value. The safety
distance is 2mm.
A
50
70 X 77 Z
110
Parameter
Function
The tool drills at the programmed spindle speed and
feedrate to the programmed final drilling depth. With
Boring 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 continues the retraction movement in rapid traverse
mode until the retraction plane is reached.
Sequence of operations
Z
Position reached prior to cycle start:
The drilling position is the position in the two axes of
the selected plane.
The cycle implements the following motion
sequence:
• Approach of the reference plane brought forward
by the safety distance with G0 X
• Traverse to final drilling depth with G1 and the
feedrate programmed before the program 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).
Press the NC START key
after program stop.
• Retraction to retraction plane with G0
Description of parameters
Z
G0
See Subsection 2.1.2. (Drilling, Centering – G1
CYCLE81) for a description of parameters RTP, G4
RFP, SDIS, DP, DPR Cycle setting data _ZSD[5] M5/M0
Programming example
Fourth boring pass Y Y A-B
Cycle CYCLE88 is called at position X80 Y90 in the
ZX plane. The boring axis is the Z axis. The safety
distance is programmed as 3mm. The final drilling
depth is defined as a value relative to the reference A
plane.
B
M4 is active in the cycle.
90
80 X Z
30
102
Parameter
Function
The tool drills at the programmed spindle speed and
feedrate to the programmed final drilling depth. Once
the final drilling depth has been reached a dwell time
can be programmed.
Sequence of operations
Z
Position reached prior to cycle start:
The drilling position is the position in the two axes of
the selected plane.
Description of parameters
Z
G0
See Subsection 2.1.2. (Drilling, Centering – G1
CYCLE81) for a description of parameters RTP, G4
RFP, SDIS, DP, DPR
DP=RFP-DPR
Programming example
Fifth boring pass Y Y A-B
Boring cycle CYCLE89 is called at position X80 Y90
in the XY plane with a safety distance of 5mm and
the final drilling depth specified as an absolute value.
A
The boring axis is the Z axis.
B
90
80 X 72 Z
102
Programming
Modal call of a subroutine
MCALL
Function
In NC programming, subroutines and cycles can be
called modally, also i.e. maintaining the parameters
MCALL MCALL MCALL
previous values.
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 subroutine name or by a new modal call of
another subroutine.
Programming example
Z Z
Row of holes_5 A A-B
20
The distance between each of the holes is 20 mm. The
20
row of holes starts at Z20 and X30, the first hole in the
20
row being 10 mm from this point. In this example, the
20
geometry of the row of holes has been programmed
10
without using a cycle. First of all, drilling is performed
with cycle CYCLE81 and then with CYCLE84 tapping
20
B
(rigid). The holes are 80 mm deep. This is the 30 X Y
22
difference between the reference plane and the final 102
drilling depth.
Further notes
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.
2.3.1 Preconditions
Drilling pattern cycles without drilling cycle call
Drilling pattern cycles can also be used for other
applications without the drilling cycle first being called
modally because the drilling pattern cycles can be
parameterized without reference to the drilling cycle
used.
If there was no modal call of the subroutine prior to
calling the drilling pattern cycle, error message 62100
"No drilling cycle active" appears.
You can acknowledge this error message with the error
acknowledgment key and continue program processing
by pressing the NC Start key. The drilling pattern cycle
then approaches each of the positions calculated from
the input data one after the other without calling a
subroutine at these points.
Parameter
Function
With this cycle you can program a row of holes, i.e. a
number of holes that lie along a straight line or a grid
of holes. The type of hole is determined by the
drilling cycle that has already been called modally.
Sequence of operations
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 in rapid traverse.
Description of parameters
Y
SPCA and SPCO (reference point abscissa and
ordinate)
One point along the straight line of the row of holes SPCA
STA1 (angle) IS
FD
The straight line can be in any position on the plane. STA1
It is specified both by the point defined by SPCA and
SPCO
SPCO and by the angle contained by the straight line
and the abscissa of the workpiece coordinate X
system that is active when the cycle is called. The
angle is entered under STA1 in degrees.
NUM (number)
You determine the number of holes with the
parameter NUM.
Programming example
Row of holes Z Z
A A-B
With this program you can machine a row of holes of
5 tapped holes positioned in parallel to the Z axis
20
on the ZX plane, with a distance between each hole of
20 20
20mm. The row of holes starts at Z20 and X30, the first
hole in the row being 10mm from this point. The
geometry of the row of holes is described by the cycle
20
HOLES1. First of all, drilling is performed with cycle
10
CYCLE81 and then with CYCLE84 tapping (rigid). The
20
B
holes are 80mm deep. This is the difference between
30 X Y
the reference plane and the final drilling depth. 22
102
Programming example
Grid of holes Y
10
20
10 10 X
30
Parameter
Function
A circle of holes can be machined with this cycle.
The machining plane must be defined before the
cycle is called.
The type of hole is determined by the drilling cycle
that has already been called modally.
Sequence of operations
In the cycle, the drilling positions are approached
one after the other on the plane with G0.
Description of parameters
CPA, CPO and RAD (center point and radius Y CPA
abscissa, ordinate)
The position of the circle of holes in the machining INDA
plane is defined by the center point (parameters
CPA and CPO) and the radius (parameter RAD). STA1
Only positive values are permissible for the radius.
RA
CPO
STA1 and INDA (start angle and indexing angle)
D
NUM (number)
You determine the number of holes with the parameter
NUM.
Programming example
Hole circle
Y Y
The program uses CYCLE82 4 to produce holes with
a depth of 30mm. The final drilling depth is defined
as a value relative to the reference plane. The circle A
is defined by the center point X70 Y60 and the
radius 42mm in the XY plane. The initial angle is 45
45°
degrees. 42
The safety distance in the drilling axis Z is 2mm.
60
B
70 X 30 Z
Parameter
_SPCA real Reference point for grid of holes in the 1st axis, abscissa (absolute)
_SPCO real Reference point for grid of holes in the 2nd axis, abscissa (absolute)
_STA real Angle to abscissa
_DIS1 real Distance between columns (without sign)
_DIS2 real Distance between rows (without sign)
_NUM1 int Number of columns
_NUM2 int Number of rows
Function
Cycle CYCLE801 can be used to machine a "grid of
holes". The type of hole is determined by the drilling
cycle that has already been called modally.
Sequence of operations
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.
Starting positions are one of the four possible corner
positions in each case.
Description of parameters
Y
_SPCA and _SPCO (reference point abscissa and
ordinate)
These two parameters determine the first point of the
hole grid. The row and column distances are specified
in relation to this point.
IS1
_D
_STA (angle)
The grid of holes can positioned at any angle in the
_DIS2
plane. This angle is programmed in degrees in _STA _STA
_SPCO
and refers to the abscissa of the workpiece coordinate
system active as the cycle is called.
_SPCA X
Programming example Y
30 10
X
Notes
Milling Cycles
3.14 Milling circular spigots – CYCLE77 (SW 5.3 and later) .................................................3-181
3.15 Pocket milling with islands – CYCLE73, CYCLE74, CYCLE75 (SW 5.2 and later).....3-185
3.15.1 Transfer pocket edge contour – CYCLE74 .............................................................3-186
3.15.2 Transfer island contour – CYCLE75........................................................................3-188
3.15.3 Contour programming .............................................................................................3-189
3.15.4 Pocket milling with islands – CYCLE73...................................................................3-192
3.2 Preconditions
Programs required in the control
The milling cycles call the programs
• MESSAGE.SPF and
• PITCH.SPF
internally as subroutines. Moreover, you need the
data block GUD7.DEF and the macro definition file
SMAC.DEF.
Load them in the part program memory of the
control unit before executing the milling cycles.
Plane definition
Z
In milling cycles, it is generally assumed that the
Applicate
ate Y
current workpiece coordinate system is defined by rdin
G1
9 O
selecting plane G17, G18 or G19 and activating a
programmable frame (if necessary). The infeed axis
is always the 3rd axis of the coordinate system
(see also Programming Guide).
G1
7
G 18
Ab
sci
ssa
Spindle programming
The spindle commands in the cycles always refer to the
active master spindle of the control.
If you want to use a cycle on a machine with several
spindles, you must first define the spindle that is to be
used as the master spindle with the command SETMS
(see also Programming Guide).
Parameters
Function
You can produce inside and outside threads with
cycle CYCLE90. The path in thread milling is based
on helical interpolation. All three geometrical axes of
the current plane which you define before calling the
cycle are involved in this movement.
Sequence of operations
Outside threads
Inside threads
Programming example
(thread from bottom to top)
p 2 *WR + RDIFF
∆z = *
4 DIATH
∆z Overshoot, internal
p Thread pitch
WR Tool radius
DIATH Outside diameter of the thread
RDIFF Radius difference for travel-out
Description of parameters
DPR
DPR
diameter and thread pitch)
DP
With these parameters you define the thread data
X X
such as, nominal diameter, core diameter and pitch.
Y Y
Parameter DIATH is the outside diameter and CPA CPA
KDIAM the inside diameter of the thread. The travel- CDIR CDIR
TH
TH
in and travel-out movements are generated by the
IA
IA
CPO
CPO
D
D
cycle based on these parameters.
X X
FFR (feedrate)
The value of parameter FFR is defined as the current
feedrate value for thread milling. In thread milling it is
active for the movement along the helical path.
This value is reduced in the cycle for the travel-in
and travel-out movements. Retraction is performed
outside the helical path with G0.
Further notes
The milling cutter radius is taken into account by the
cycle. A tool offset must therefore be programmed
before the cycle is called. Otherwise alarm
61000 "No tool offset active" is output
and the cycle is aborted.
When the tool radius equals zero or a negative
value, the cycle is also aborted with this alarm.
With inside threads, the tool radius is monitored and
alarm 61105 "Cutter radius too large"
is output and the cycle is aborted.
Programming example
Y Y
Inside thread
With this program you can machine an inside thread A-B
A
at position X60 Y50 on the G17 plane.
50
B
60 X 40 Z
DEF REAL RTP=48, RFP=40, SDIS=5, -> Definition of variables with value assignment
-> DPR=40, DIATH=60, KDIAM=50
DEF REAL PIT=2, FFR=500, CPA=60,CPO=50
DEF INT CDIR=2, TYPTH=0
N10 G90 G0 G17 X0 Y0 Z80 S200 M3 Approach starting position
N20 T5 D1 Specification of technology values
N30 CYCLE90 (RTP, RFP, SDIS, DP, -> Cycle call
-> DPR, DIATH, KDIAM, PIT, FFR, CDIR,
TYPTH, CPA CPO)
N40 G0 G90 Z100 Approach position after cycle
N50 M02 End of program
-> Must be programmed in a single block
Parameters
Function
Elongated holes arranged on a circle can be
machined with this cycle. The longitudinal axis of the
elongated holes is arranged radially.
Unlike the slot, the width of the elongated hole is
determined by the diameter of the tool.
To avoid unnecessary travel, the cycle calculates the
most optimum path. If several depth infeed
movements are required to machine an elongated
hole, the infeed is performed at alternate end points.
The path to be traversed in the plane along the
longitudinal axis of the elongated hole changes
direction after every infeed. The cycle automatically
looks for the shortest path when changing to the
next elongated hole.
Sequence of operations
Position reached prior to cycle start:
The starting position can be any position from which
each of the elongated holes can be approached
without collision.
Description of parameters
Y
CPA
See Subsection 2.1.2. (Drilling, Centering –
CYCLE81) for a description of parameters RTP, INDA
RFP, SDIS.
LE
See Section 3.2 for cycle setting data _ZSD[1].
N
STA1
G
DP and DPR (elongated hole depth)
The elongated hole depth can be defined as either
RA
D
absolute (DP) or relative (DPR) to the reference plane.
CPO
If it is entered as a relative value, the cycle automati-
cally calculates the correct depth on the basis of the
positions of the reference and retraction planes. X
NUM (number)
The number of elongated holes us determined with
the parameter NUM.
Further notes
A tool offset must be activated before the cycle is
called. Otherwise the cycle is aborted and alarm
61000 "No tool offset active" is output.
Programming example
Machining elongated holes
Z Z
With this program you can machine 4 elongated A A-B
90°
holes 30mm in length and with a relative depth of
23mm (difference between the reference plane and
45°
the base of the elongated hole) that lie in a circle
with the center point Z45 Y40 and a radius of 20mm 20
in the YZ plane. The initial angle is 45 degrees, the
indexing angle is 90 degrees. The maximum infeed
45
depth is 6mm, the safety distance is 1mm.
30
B Y 23 X
40
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)
Parameters
Function
Cycle SLOT1 is a combined roughing-finishing cycle.
Sequence of operations
Position reached before the beginning of the cycle:
The starting position can be any position from which
each of the slots can be approached without G0 G0
collision.
G0
G0
Description of parameters
Y
CPA
RFP, SDIS.
LE
See Section 3.2 for cycle setting data _ZSD[1]. STA1
NG
WID
DP and DPR (slot depth)
The slot depth can be defined as either absolute (DP) or
RA
D
CPO
relative (DPR) to the reference plane. If it is entered as
a relative value, the cycle automatically calculates the
correct depth on the basis of the positions of the
reference and retraction planes. X
NUM (number)
The number of slots is determined with the parameter
NUM.
Further notes
Contour violation
A tool offset must be activated before the cycle is
called. Otherwise the cycle is aborted with Alarm 61000
"No tool offset active".
Programming example
Slots
Z Z
A A-B
90°
This program produces the same arrangement of 4
slots on a circle as the program for elongated hole
machining (see Section 3.4). 45°
insertion motion.
SLOT2 (RTP, RFP, SDIS, DP, DPR, NUM, AFSL, WID, CPA, CPO, RAD, STA1, INDA,
FFD, FFP1, MID, CDIR, FAL, VARI, MIDF, FFP2, SSF)
Parameters
Function
Cycle SLOT2 is a combined roughing-finishing cycle.
With this cycle you can machine circumferential slots
arranged on a circle.
Sequence of operations
Position reached prior to cycle start:
The starting position can be any position from which G0
each of the slots can be approached without
collision.
Description of parameters
Y
CPA
See Subsection 2.1.2. (Drilling, Centering –
CYCLE81) for a description of parameters RTP,
INDA AFSL
RFP, SDIS.
STA1
See Section 3.5 (SLOT1) for a description of
parameters DP, DPR, FFD, FFP1, MID, CDIR, FAL,
VARI, MIDF, FFP2, SSF.
See Section 3.2 for cycle setting data _ZSD[1].
CPO
WID
NUM (number)
The number of slots is determined with the X
parameter NUM.
Further notes
A tool offset must be activated before the cycle is
called. Otherwise the cycle is aborted and alarm
61000 "No tool offset active" is output. Contour violation
Programming example
Y Y
Slots2
With this program you can machine 3 circumferential A-B
slots arranged on a circle whose center point is X60
A
Y60 and radius 42mm in the XY plane. The
70°
circumferential slots have the following dimensions:
15
Width 15mm, angle for slot length 70 degrees, depth 120°
23mm. The initial angle is 0 degrees, the indexing
angle is 120 degrees. The slot contours are
42
60
machined to a final machining allowance of 0.5mm,
the safety distance in infeed axis Z is 2mm, the B
maximum depth infeed is 6mm. The slots are to be X
60 Z
completely machined. The same speed and feedrate 23
POCKET1 (RTP, RFP, SDIS, DP, DPR, LENG, WID, CRAD, CPA, CPD, STA1, FFD,
FFP1, MID, CDIR, FAL, VARI, MIDF, FFP2, SSF)
Parameters
Function
The cycle is a combined roughing-finishing cycle.
With this cycle you can machine rectangular pockets
in any position in the machining plane.
Sequence of operations
Y
Position reached prior to cycle start:
This can be any position from which the starting
position on the center point of the pocket at the
retraction plane level can be approached without
collision.
G2
The cycle implements the following motion
sequence:
G3
• With G0, the pocket center point is approached
at the retraction plane level and then, from this
position, with G0 the reference plane brought
X
forward by the safety distance is approached.
Complete machining of the pocket is performed
in the following stages:
- Infeed to the next machining depth with G1
and feedrate FFD.
- Pocket milling up to the final machining
allowance with feedrate FFP1 and the spindle
speed that was active before the cycle was
called.
• After roughing is completed:
- Infeed to the machining depth defined by MIDF
- Final machining allowance along the contour
at feedrate FFP2 and speed SSF.
- The machining direction is defined by CDIR.
Description of parameters
Y
NG
W
LE
ID
MIDF, FFP2, SSF. See Section 3.2 for cycle setting
CPO
G3
data _ZSD[1].
STA1 (angle)
STA1 defines the angle between the positive abscissa
and the longitudinal axis of the pocket.
Further notes
Programming example
Pocket Y Y
Parameters
Function
The cycle is a combined roughing-finishing cycle.
With this cycle you can machine circular pockets in
the machining plane.
Sequence of operations
Position reached prior to cycle start:
This can be any position from which the starting
position on the center point of the pocket at the
retraction plane level can be approached without
collision.
The cycle implements the following motion
sequence:
• With G0, the pocket center point is approached
at the retraction plane level and then, from this
position, with G0 the reference plane brought
forward by the safety distance is approached.
Complete machining of the pocket is performed
in the following stages:
- Infeed perpendicular to the pocket center
to the next machining depth with feedrate FFD.
- Pocket milling up to the final machining
allowance with feedrate FFP1 and the spindle
speed that was active before the cycle was
called.
• After roughing is completed:
- Infeed to the next machining depth defined by
MIDF.
- Final machining along the contour with
feedrate FFP2 and speed SSF.
- The machining direction is defined by CDIR.
• When machining is completed the tool is traversed
to the pocket center point in the retraction plane and
the cycle is terminated.
Description of parameters
Y
PR
parameters FFD, FFP1, MID, CDIR, FAL, VARI,
AD
CPO
MIDF, FFP2, SSF. See Section 3.2 for cycle setting
data _ZSD[1].
X
PRAD (pocket radius)
The shape of the circular pocket is determined by
the radius only.
If the radius is less than the tool radius of the active
tool, the cycle is aborted after alarm
61105 "Milling cutter radius too large" is output.
Further notes
Programming example
Z Z
Circular pocket
With this program you can machine a circular pocket A A-B
in the YZ plane. The center point is defined by Y50
Z50. The infeed axis for the depth infeed is the
X axis, the pocket depth is entered as an absolute
value. Neither a final machining allowance nor a
50
safety distance is defined.
50
B
Y X
50
20
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)
Parameters
The following input parameters are always required:
_RTP real Retraction plane (absolute)
_RFP real Reference plane (absolute)
_SDIS real Safety distance (to be added to the reference plane, enter without sign)
_DP real Pocket depth (absolute)
_LENG real Pocket length for dimensioning from the corner with sign
_WID real Pocket width for dimensioning from the corner with sign
_CRAD real Pocket corner radius (enter without sign)
_PA real Pocket reference point, abscissa (absolute)
_PO real Pocket reference point, ordinate (absolute)
_STA real Angle between the pocket longitudinal axis and the first axis of the plane
(abscissa, enter without sign);
Value range: 0° ≤ _STA < 180°
_MID real Maximum infeed depth (enter without sign)
_FAL real Final machining allowance on pocket edge (enter without sign)
_FALD real Final allowance at base (enter without sign)
_FFP1 real Feedrate for surface machining
_FFD real Feedrate for depth infeed
_CDIR int Milling direction: (enter without sign)
Value: 0...Down-cut milling (as spindle rotation)
1...Up-cut milling
2...with G2 (independent of spindle direction)
3...with G3
_VARI int Type of machining: (enter without sign)
UNITS DIGIT:
Value: 1...Roughing
2...Finishing
TENS DIGIT:
Value: 0...Perpendicular to pocket center with G0
1...Perpendicular to pocket center with G1
2...Along a helix
3...Oscillating along the pocket longitudinal axis
The other parameters can be selected as options. They define the insertion strategy and
overlapping for solid machining: (enter without sign)
_MIDA real Maximum infeed width during solid machining in the plane
_AP1 real Basic size pocket length
_AP2 real Basic size pocket width
_AD real Basic pocket depth from reference plane
_RAD1 real Radius of the helical path on insertion (relative to the tool center point
path) or maximum insertion angle for oscillating motion
_DP1 real Insertion depth per 360° revolution on insertion along helical path
Function
The cycle can be applied to roughing and finishing.
For finishing, a face cutter is needed.
The depth infeed will always start at the pocket
center point and be performed vertically from there;
thus predrill can be suitably performed in this
position.
Sequence of operations
Y
Position reached prior to cycle start:
This can be any position from which the starting
position on the center point of the pocket at the
retraction plane level can be approached without
collision.
Insertion strategies:
• Vertical insertion to pocket center (VARI=0X,
VARI=1X) means that the current infeed depth
internally calculated in the cycle (≤ programmed
maximum infeed depth through _MID) is executed
in one block with G0 or G1.
• Insertion along helical path (VARI=2X)
means that the milling center point travels on the
helical path determined by radius _RAD1 and depth
per revolution _DP1. The feedrate is always
programmed through _FFD. The sense of rotation
of this helical path corresponds to the direction to
be used for machining the pocket.
The depth programmed under _DP1 on insertion is
calculated as the maximum depth and is always
calculated as a whole number of revolutions of the
helical path.
When the current depth for the infeed (these may be
several revolutions on the helical path) has been
calculated, a full circle is made to remove the slope
on insertion.
Then pocket solid machining starts in this plane and
continues until reaching the finishing allowance.
The starting point of the helical path described is on
the pocket longitudinal axis in the "plus direction"
and reached with G1.
Description of parameters
Pocket dimensioned from the center
Y
G
_W
EN
ID
_L
G
G3
_PO
_LENG, _WID and _CRAD (pocket length, pocket
width and corner radius)
The shape of a pocket in the plane is determined
X
with parameters _LENG, _WID and _CRAD.
The pocket can be dimensioned from the center or
from one corner point. When dimensioning from a Pocket dimensioned from one corner point
Y
corner point, use _LENG and _WID with sign.
If it is not possible to traverse to the programmed
corner radius with the active tool because its radius
is larger, the corner radius of the completed pocket
corresponds to the tool radius.
G
NE
If the milling cutter radius is greater than half the _L
G2
length or width of the pocket, the cycle is aborted
_W
IG
and alarm
G3
61105 "Cutter radius too large" is output.
_PO
_PA, _PO (reference point)
_PA X
The center point of the pocket in the abscissa and
ordinate is defined with parameters _PA and _PO.
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 must be entered with
sign (_LENG, _WID), thus completely 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.
Further notes
Applies if the width infeed determined from edge
machining is recalculated on reaching the full pocket
depth; otherwise, the width infeed calculated at the
start is retained for the full cycle.
_RAD1 (radius)
With the parameter _RAD1 you define the radius of
the helical path (i.e. the tool center point path) or the
maximum insertion angle for oscillation.
Further notes
Programming example
Pocket Y Y
R8
40
the pocket lies at X60 and Y40, the maximum depth
B
infeed is 4mm.
60 X Z
Up-cut milling uses the spindle rotation direction as 17,5
direction of machining.
Only roughing is to be performed.
Programming
POCKET4 (_RTP, _RFP, _SDIS, _DP, _PRAD, _PA, _PO, _MID, _FAL, _FALD, _FFP1, _FFD,
_CDIR, _VARI, _MIDA, _AP1, _AD, _RAD1, _DP1)
Parameters
The following input parameters are always required:
_RTP real Retraction plane (absolute)
_RFP real Reference plane (absolute)
_SDIS real Safety distance (to be added to the reference plane, enter without sign)
_DP real Pocket depth (absolute)
_PRAD real Pocket radius
_PA real Pocket center point, abscissa (absolute)
_PO real Pocket center point, ordinate (absolute)
_MID real Maximum infeed depth (enter without sign)
_FAL real Final machining allowance on pocket edge (enter without sign)
_FALD real Final allowance at base (enter without sign)
_FFP1 real Feedrate for surface machining
_FFD real Feedrate for depth infeed
_CDIR int Milling direction: (enter without sign)
Value: 0...Up-cut milling (in spindle rotation direction)
1...Down-cut milling
2...with G2 (independent of spindle direction)
3...with G3
_VARI int Type of machining: (enter without sign)
UNITS DIGIT:
Value: 1...Roughing
2...Finishing
TENS DIGIT:
Value: 0...Perpendicular to the pocket center with G0
1...Perpendicular to the pocket center with G1
2...Along a helix
The other parameters can be selected as options. They define the insertion strategy and
overlapping for solid machining: (enter without sign)
_MIDA real Maximum infeed width during solid machining in the plane
_AP1 real Basic size pocket radius
_AD real Basic pocket depth from reference plane
_RAD1 real Radius of the helical path during insertion related to the tool center point
path)
_DP1 real Insertion depth per 360° revolution on insertion along helical path
Function
With this cycle you can machine circular pockets in
the machining plane.
For finishing, a face cutter is needed.
The depth infeed will always start at the pocket
center point and be performed vertically from there;
thus predrill can be suitably performed in this
position.
Sequence of operations
Y
Position reached prior to cycle start:
_PA
This can be any position from which the starting
position on the center point of the pocket at the
retraction plane level can be approached without
collision.
G3 G2
Motion sequence when roughing (VARI=X1):
_P
RA
With G0, the pocket center point is approached at the
_PO
retraction plane level and then, from this position, with
G0 the reference plane brought forward by the safety
distance is approached. Pocket machining is then
X
performed according to the selected insertion strategy
and considering the programmed base size.
Insertion strategies:
see Section 3.9 (POCKET3).
Description of parameters
Y
See Subsection 2.1.2. (Drilling, Centering –
_PA
CYCLE81) for a description of parameters _RTP,
_RFP, _SDIS
See Section 3.7 (POCKET1) for a description of
parameter _DP.
G3 G2
See Section 3.9 (POCKET3) for a description of
_P
RA
_PO
X
_PRAD (pocket radius)
The shape of the circular pocket is determined by
the radius only.
Example:
Condition: depth calculation without including safety
distance (_ZSD[1]=1)
_RTP=0 reference plane
_SDIS=2 safety distance
_DP=-21 pocket depth
_FALD=1.25 depth allowance
à_AD≥19.75 rough dimension for depth must be
greater or equal to pocket depth
incremental minus depth allowance,
i.e. 21-1.25=19.75
Further notes
Programming example
Z Z
Circular pocket
With this program you can machine a circular pocket A A-B
in the YZ plane. The center point is defined by Y50
Z50. The infeed axis for the depth infeed is the
X axis. Neither a final machining allowance nor a
safety distance is defined. The pocket will be
50
B
Y X
50
20
Programming
CYCLE71 (_RTP, _RFP, _SDIS, _DP, _PA, _PO, _LENG, _WID, _STA,_MID, _MIDA, _FDP,
_FALD, _FFP1, _VARI, _FDP1)
Parameters
The following input parameters are always required:
_RTP real Retraction plane (absolute)
_RFP real Reference plane (absolute)
_SDIS real Safety distance (to be added to the reference plane, enter without sign)
_DP real Depth (absolute)
_PA real Starting point, abscissa (absolute)
_PO real Starting point, ordinate (absolute)
_LENG real Rectangle length along the 1st axis, incremental.
The corner from which dimensions are measured is given by the plus/minus
sign.
_WID real Rectangle length along the 2nd axis, incremental.
The corner from which dimensions are measured is given by the plus/minus
sign.
_STA real Angle between the longitudinal axis of the rectangle and the first axis of the
plane (abscissa, enter without sign);
Value range: 0° ≤ _STA < 180°
_MID real Maximum infeed depth (enter without sign)
_MIDA real Maximum infeed width value for solid machining in the plane (enter without sign)
_FDP real Retraction travel in cutting direction (incremental, enter without sign)
_FALD real Final machining allowance in depth (incremental, enter without sign) In the
roughing mode, _FALD refers to the remaining material on the surface.
_FFP1 real Feedrate for surface machining
_VARI int Type of machining: (enter without sign)
UNITS DIGIT:
Value: 1...Roughing
2...Finishing
TENS DIGIT:
Value: 1...Parallel to the abscissa, in one direction
2...Parallel to the ordinate, in one direction
3...Parallel to the abscissa, with changing direction
4...Parallel to the ordinate, with changing direction
_FDP1 real Overrun travel in direction of plane infeed (incr., enter without sign)
Function
Y Y
With cycle CYCLE71, you can face mill any
_LENG _LENG
rectangular surface. The cycle differentiates
between roughing (machining the surface in several
_WID
_WID
steps until reaching the finishing allowance) and
finishing (end milling the surface in one step).
Maximum infeed can be defined in width and depth. X X
The cycle operates without cutter radius Y _LENG Y _LENG
_WID
_WID
X X
Sequence of operations
Position reached prior to cycle start:
This can be any position from which the starting
position on the infeed point at the retraction plane
level can be reached without collision.
as for roughing.
After finishing has been completed, the tool retracts
from the last position reached to the retraction
plane _RTP.
Description of parameters
_LENG
Y
See Subsection 2.1.2. (Drilling, Centering – _MIDA
CYCLE81) for a description of parameters _RTP,
_MIDA
_RFP, _SDIS
See Section 3.9 (POCKET3) for a description of
parameters _STA, _MID, _FFP1.
_WID
See Section 3.2 for cycle setting data _ZSD[1].
_DP (depth)
The depth can be defined as an absolute value
_FDP
(_DP) in relation to the reference plane. Infeed point
X
Roughing with _MIDA larger than mill radius
_PA, _PO (starting point) (Type of machining 41)
With parameters _PA and _PO you define the starting
point of the surface in the abscissa and ordinate.
Further notes
A tool offset must be activated before the cycle is
called. Otherwise the cycle is aborted and alarm
61000 "No tool offset active" is output.
Programming example
Face milling
Parameters for cycle call:
• Retraction plane: 10mm
• Reference plane: 0mm
• Safety distance: 2mm
• Milling depth: -11mm
• Max. infeed depth 6mm
• No final machining allowance
• Starting point of the rectangle X = 100mm
Y = 100mm
• Rectangle dimensions X = +60mm
Y = +40mm
• Angle of rotation in the plane 10 degrees
• Max. infeed width 10mm
• Retraction travel at the end of the
milling path: 5mm
• Feedrate for surface machining 4000mm/min
• Type of machining: roughing parallel
to the X axis with changing direction
• Overrun on last cut as determined by
the cutting edge geometry 2mm
%_N_TSTCYC71_MPF Program for face milling with CYCLE71
;$PATH=/_N_MPF_DIR
;*
$TC_DP1[1,1]=120 Tool type
$TC_DP6[1,1]=10 Tool radius
N100 T1
N102 M06
N110 G17 G0 G90 G54 G94 F2000 X0 Y0 Approach starting position
Z20
;
CYCLE71( 10, 0, 2,-11, 100, 100, -> Cycle call
-> 60, 40, 10, 6, 10, 5, 0, 4000, 31, 2)
N125 G0 G90 X0 Y0
N130 M30 End of program
-> Must be programmed in a single block
Programming
CYCLE72 (_KNAME, _RTP, _RFP, _SDIS, _DP, _MID, _FAL, _FALD, _FFP1, _FFD, _VARI, _RL,
_AS1, _LP1, _FF3, _AS2, _LP2)
Parameters
The following input parameters are always required:
_KNAME string Name of the contour subroutine
_RTP real Retraction plane (absolute)
_RFP real Reference plane (absolute)
_SDIS real Safety distance (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 Final machining allowance at the edge contour (enter without sign)
_FALD real Final machining allowance at the base (incremental, enter without sign)
_FFP1 real Feedrate for surface machining
_FFD real Feedrate for depth infeed (enter without sign)
_VARI int Type of machining: (enter without sign)
UNITS DIGIT:
Value: 1...Roughing
2...Finishing
TENS DIGIT:
Value: 0...Intermediate paths with G0
1...Intermediate paths with G1
HUNDREDS DIGIT:
Value: 0...Return at end of contour to _RTP
1...Return at end of contour to _RFP + _SDIS
2...Return at end of contour to _SDIS
3...No return to end of contour
_RL int Contouring is centric, on right or left (with G40, G41 or G42, enter
without sign)
Value: 40...G40 (approach and return, straight line only)
41...G41
42...G42
Function
Y
With the cycle CYCLE72 it is possible to mill along
any contour defined in a subroutine. The cycle
operates with or without cutter radius compensation.
The contour does not need to be closed; internal or Contour starting point
external machining is defined by the position of the
cutter radius compensation (center, on left or right of
contour).
The contour must be programmed in the
direction of milling and must be in the same
plane. In addition, its must consist of at least 2
contour blocks (start and end points) since the X
contour subroutine is invoked within the cycle.
Cycle functions:
• Selection of roughing (single-pass parallel to the
contour considering a finishing allowance if
necessary at several depths until reaching the final
machining allowance) and finishing (single-pass of
final contour, if necessary at several depths)
• Flexible approach and retraction to/from the contour
either tangentially or radially (quadrant or
semicircle)
• Programmable depth infeed
• Intermediate motions either with rapid traverse
or at feedrate
Sequence of operations
Position reached prior to cycle start:
The starting position can be any position from which
the start of the contour at the retraction plane level
can be reached without collision.
Contour programming
For programming the contour, please note the
following:
• In the subroutine no programmable frame
(TRANS, ROT, SCALE, MIRROR) may be
selected before the first programmed position.
• The first block of the contour subroutine is a
straight line block containing G90, G0 and
defines the contour start.
• The cutter radius compensation is selected and
deselected from the upper level cycle; then the
contour subroutine has no G40, G41, G42
programmed.
Description of parameters
Z
Examples:
_KNAME=“CONTOUR_1“ The milling contour is the complete program
"Contour_1".
_KNAME=“START:END“ The milling contour is defined as the section
starting from the block labeled START to the
block labeled END in the calling routine.
_KNAME= The milling contour is defined in blocks N130
"/_N_SPF_DIR/_N_CONTOUR_1_SPF:N130:N210" to N210 in program CONTOUR_1. The
program name must be entered complete
with path and extension, see description of
call in References: /PGA/ Programming
Guide Advanced.
If the section is defined by block numbers, it must be
noted that these block numbers for the section in
_KNAME must be adjusted if the program is modified
and subsequently renumbered.
Approach/retraction from
the contour in quadrant
_RL (travel around the contour)
Parameter _RL is set to define how the tool must
_AS1/_AS2
travel around the contour, i.e. along the center path
or on the left or right-hand side with G40, G41 or
G42. See "Parameter CYCLE72" for possible Approach/retraction
settings. to/from the contour in
semi-circle
Further notes
Parameters
The following input parameters are always required:
_RTP real Retraction plane (absolute)
_RFP real Reference plane (absolute)
_SDIS real Safety distance (to be added to the reference plane, enter without sign)
_DP real Depth (absolute)
_DPR real Depth relative to the reference plane (enter without sign)
_LENG real Spigot length, for dimensioning from corner with sign
_WID real Spigot width, for dimensioning from corner with sign
_CRAD real Spigot corner radius (enter without sign)
_PA real Spigot reference point, abscissa (absolute)
_PO real Spigot reference point, ordinate (absolute)
_STA real Angle between longitudinal axis and 1st axis of plane
_MID real Maximum depth infeed (incremental, enter without sign)
_FAL real Final machining allowance on edge contour (incremental)
_FALD real Final machining allowance at the base (incremental, enter without sign)
_FFP1 real Feedrate on contour
_FFD real Feedrate for depth infeed
_CDIR int Milling direction: (enter without sign)
Value: 0...Upcut milling
1...Downcut milling
2 with G2 (irrespective of spindle direction)
3...with G3
_VARI int Type of machining:
Value: 1...Roughing to final machining allowance
2...Finishing (allowance X/Y/Z=0)
_AP1 real Length of blank spigot
_AP2 real Width of blank spigot
Function
With this cycle you can machine rectangular spigots
in the machining plane. For finishing, a face cutter is
needed. Depth infeed is always performed in the
position reached prior to semicircular positioning on
the contour.
Sequence of operations
Position reached prior to cycle start:
The starting point is a position in the positive range of
the abscissa with integrated approach semicircle and
allowance for programmed, abscissa-related blank
dimension.
Depth infeed:
• Infeed to safety distance
• Insertion to machining depth
The first machining depth is the product of:
• the total depth,
• the final machining allowance and
• the maximum possible depth infeed.
ID
_PO
width and corner radius)
The shape of a spigot in the plane is determined with
parameters _LENG, _WID and _CRAD. X
The spigot can be dimensioned from the center or
from one corner point. When dimensioning from a Spigot dimensioned from corner point
Y
corner point, use _LENG and _WID with sign.
The absolute length value (_LENG) always refers to
the abscissa (with a plane angle of zero degrees).
_STA (angle)
_STA specifies the angle between the 1st axis of the
plane (abscissa) and the longitudinal axis of the spigot.
Further notes
A tool offset must be activated before the cycle is
called. The cycle is otherwise aborted with alarm 61009
"Active tool number=0".
A new workpiece coordinate system that influences the
actual value display is used in the cycle. The zero point
of this coordinate system lies on the pocket center
point.
The original coordinate system becomes active
again after the end of the cycle.
Programming example
Spigots Y Y
N10 G90 Go G17 X100 Y100 T20 D1 S3000 M3 Specification of technology values
N20 _ZSD[2]=1 Dimensioning of spigot referred 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 End of program
Parameters
The following input parameters are always required:
_RTP Real Retraction plane (absolute)
_RFP Real Reference plane (absolute)
_SDIS Real Safety distance (to be added to the reference plane, enter without sign)
_DP Real Depth (absolute)
_DPR Real Depth relative to the reference plane (enter without sign)
_PRAD Real Diameter of spigot (enter without sign)
_PA Real Spigot center point, abscissa (absolute)
_PO Real Spigot center point, ordinate (absolute)
_MID Real Maximum depth infeed (incremental, enter without sign)
_FAL Real Final machining allowance on edge contour (incremental)
_FALD Real Final machining allowance at the base (incremental, enter without sign)
_FFP1 Real Feedrate on contour
_FFD Real Feedrate for depth infeed (or spatial infeed)
_CDIR Int Milling direction: (enter without sign)
Value: 0...Upcut milling
1...Downcut milling
2 with G2 (irrespective of spindle direction)
3...with G3
_VARI Int Type of machining
Value: 1...Roughing to final machining allowance
2...Finishing (allowance X/Y/Z=0)
_AP1 Real Diameter of blank spigot
Function
With this cycle you can machine circular spigots in
the machining plane. For finishing, a face cutter is
needed. Depth infeed is always performed in the
position reached prior to semicircular positioning on
the contour.
Sequence of operations
Position reached prior to cycle start:
The starting point is a position in the positive range of the
abscissa with integrated approach semicircle and
allowance for programmed blank dimension.
blank spigot.
The milling direction can be defined as up-cut or down-cut
milling in relation to the spindle direction.
If the spigot has been circumnavigated once, the tool lifts
off the contour in the plane along a semicircular path and is
then fed in to the next machining depth.
The contour is then approached again along a semicircle
and the spigot circumnavigated once. This process is
repeated until the programmed spigot depth is reached.
The tool then approaches the retraction plane (_RTP) in
rapid traverse.
Depth infeed:
• Infeed to safety distance
• Insertion to machining depth
The first machining depth is the product of:
• the total depth,
• the final machining allowance and
• the maximum possible depth infeed.
Sequence of motions for finishing (_VARI=2)
Depending on the setting of parameters _FAL and _FALD,
a finishing operation is performed on the spigot surface or
base or both. The approach strategy matches the motions
in the plane executed for roughing operations.
Description of parameters
See Subsection 2.1.2. (Drilling, Centering – CYCLE81)
for a description of parameters RTP, RFP, SDIS, DP,
DPR.
See Section 3.9 for a description of parameters _MID,
_FAL, _FALD, _FFP1, _FFD.
_PRAD (diameter of spigot)
The diameter must be entered without a sign.
Further notes
A tool offset must be activated before the cycle is called.
The cycle is otherwise aborted with alarm 61009 "Active
tool number=0".
A new workpiece coordinate system that influences the
actual value display is used in the cycle. The zero point of
this coordinate system lies on the pocket center point.
The original coordinate system becomes active again after
the end of the cycle.
Programming example
Circular spigot Y Y
Ø55
Ø50
70
60 B X Z
20
Precondition
To use the pocket milling cycle with islands, the
machine data below must be set as follows
(minimum requirement):
• MD 18120: MM_NUM_GUD_NAMES_NC 20
• MD 18150: MM_GUD_VALUES_MEM 80
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, the actual
pocket milling cycle.
CYCLE73 uses a geometry processor to create a
machining program which it then executes. To ensure
correct program processing, it is important to program
cycle calls in the proper sequence.
• CYCLE74( ) ;Transfer edge contour
• CYCLE75( ) ;Transfer island contour 1
• CYCLE75( ) ;Transfer island contour 2
• ...
• CYCLE73( ) ;Machine pocket
Programming
CYCLE74 (_KNAME, _LSANF, _LSEND)
Parameters
Function
Cycle CYCLE74 transfers the pocket edge contour to
pocket milling cycle CYCLE73. This is done by creating
a temporary internal file in the standard cycles directory
and storing the transferred parameter values in it.
Explanation of parameters
The edge contour can be programmed either in a
separate program or in the main program that calls the
routine. The contour is transferred to the cycle by
parameter _KNAME, name of program or _LSANF,
_LSEND and the program section from ... to identified
by block numbers or labels.
Programming
CYCLE75 (_KNAME, _LSANF, _LSEND)
Parameters
Function
Cycle CYCLE75 transfers island contours to the pocket
milling cycle CYCLE73. The cycle is called once for
each island contour. It need not be called if no island
contours are programmed.
Description of parameters
The number and meaning of parameters are the
same as for CYCLE74.
(see CYCLE74)
Programming example
Sample program 1.mpf (pocket with islands) Y Y
98
A A-A
73
10
R
66
58
15
R
R5
30
%_N_SAMPLE1_MPF
;$PATH=/_N_MPF_DIR A X Z
34
; Example_1: Pocket with islands 20 79 17.5
; All radii on R5 corners
Programming
CYCLE73 (_VARI, _BNAME, _PNAME, _TN, _RTP,
_RFP, _SDIS, _DP, _DPR, _MID, _MIDA, _FAL, _FALD,
_FFP1, _FFD, _CDIR, _PA, _PO, _RAD, _DP1)
Parameters
Function
Cycle CYCLE73 enables you to machine pockets with
or without islands. It supports complete machining of
this type of pocket and offers the following machining
operations:
• Rough drill
• 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.
Edge/base finishing
Another function of the cycle is to finish the pocket base
or circumnavigate the pocket and individual islands in a
finish operation.
Rough drill
Depending on the milling tool used, it may be necessary
to drill before solid machining the workpiece. The cycle
automatically calculates the rough drilling positions as a
function of the solid machining operation to be
performed afterwards. The drilling cycle called modally
beforehand is executed at each of these positions.
Rough drilling can be executed in a number of
technological machining operations (e.g. 1. centering, 2.
Drilling).
Example
Rough drill, with solid machining
ACCEPTANCE4_CONT: ;Marker with name for beginning of pocket
;contour
CYCLE74("EDGEA01", ,) ;Definition of contour for pocket edge
CYCLE75("ISL11A01", ,) ;Definition of contour for 1st island
CYCLE75("ISL1A01", ,)
CYCLE75("ISL2A01", ,)
CYCLE75("ISL3A01", ,)
ENDLABEL: ;Marker for end of a pocket contour
T4 M6
D1 M3 F1000 S4000
MCALL CYCLE81(10,0,1,-3) ;Modal call of drilling cycle
REPEAT ACCEPTANCE4_MACH ;Execute drilling position program
ACCEPTANCE4_MACH_END
MCALL ;Deselect drilling cycle modally
Description of parameters
_VARI (machining mode)
You can define the type of machining with parameter
_VARI. Possible values are:
Units digit:
• 1=Rough cut (solid machine) from solid material
• 2=Rough cut residual material
• 3=Finish edge
• 4=Finish base
• 5=Rough drill
When "Rough cut from solid material" is set, the
machining program solid machines the pocket
completely down to the final machining allowance.
If it is not possible to machine areas of the edge
surfaces with the selected mill diameter, then setting "2"
can be selected to machine them afterwards with a
smaller milling tool. To do this, cycle CYCLE73 must be
called again.
Tens digit:
• 1=Vertical with G1
• 2=Along a helical path
• 3=Oscillation
Further notes
Name for pocket machining (NAME)
Pockets are generally machined in several
technological machining steps. However, the contours
defining the pocket geometries are defined only once.
To ensure that contours can be automatically assigned
to the appropriate machining step in the program, the
contour definition is marked with labels and this
program section then repeated later with the REPEAT
instruction.
When programs are written using the cycles support
function, a name for the pocket machining program is
therefore entered in the respective screen forms. The
name length is restricted to 8 characters.
In sample program 2, this is, for example
"ACCEPTANCE4“.
The T number contains the milling tool for all machining
technologies. When residual material is machined more
than once, the tool used beforehand must always be
entered in the T number.
Note on 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 flow into the program calculation.
Programming example 1
The machining task involves machining a pocket with 2 Y Y
73
10
R
66
58
15
%_N_SAMPLE1_MPF
R
;$PATH=/_N_WKS_DIR/_N_CC73BEI1_WPD R5
30
; Example_1: Pocket with islands
;Solid machine and finish 34 A X Z
20 79 17.5
All radii on R5 corners
;Programming contours
_MACHINE:
SAMPLE1_CONT:
CYCLE74 ("","_EDGE","_ENDEDGE")
CYCLE75 ("","_ISL1","_ENDISL1")
CYCLE75 ("","_ISL2","_ENDISL2")
ENDLABEL:
T2 D1 M6
S3000 M3
;Programming Finish Pocket
CYCLE73 (1113,"","SAMPLE1_MILL3","5",10,0,1,
-17.5,0,,2,,,8000,1000,0,,,4,2)
M30
Programming example 2
Machining task:
Before the pocket is milled, the workpiece must be
rough drilled to ensure optimum insertion of the milling
tool.
• Center for rough drilling
• Rough drill
• Solid machine pocket with islands, mill radius 12mm
• Solid machine residual material, mill radius 6mm
• Finish pocket, mill radius 5mm
Sketch of machining
operation
Y
Pocket depth 12 mm
INS11A01 INS3A01
INS2A01
45
35
120
85
∅ 30
INS1A01 20
40
50
50
30
R
10
30 20 5 X
10 70
200 60
Machining program:
%_N_SAMPLE2_MPF
;$PATH=/_N_WKS_DIR/_N_CC73BEI2_WPD
; Example_2: Pocket with islands
; 2*rough drill, machine, machine resid. mat. ,
finish
;
; Tool offset data
$TC_DP1[2,1]=220 $TC_DP6[2,1]=10
$TC_DP1[3,1]=120 $TC_DP6[3,1]=12
$TC_DP1[4,1]=220 $TC_DP6[4,1]=3
$TC_DP1[5,1]=120 $TC_DP6[5,1]=5
$TC_DP1[6,1]=120 $TC_DP6[6,1]=6
TRANS X10 Y10
;Program centering
T4 M6
D1 M3 F1000 S4000
MCALL CYCLE81 (10,0,1,-3,)
REPEAT ACCEPTANCE4_MACH ACCEPTANCE4_MACH_END
MCALL
;Program drilling
T2 M6
D1 M3 F2222 S3000
MCALL CYCLE81(10,0,1,-12,)
REPEAT ACCEPTANCE4_MACH ACCEPTANCE4_MACH_END
MCALL
GOTOF ACCEPTANCE4_MACH_END
ACCEPTANCE4_MACH:
REPEAT ACCEPTANCE4_CONT ENDLABEL
CYCLE73(1015,"ACCEPTANCE4_DRILL","ACCEPTANCE4_MILL1",
"3",10,0,1,-12,0,,2,0.5,,2000,400,0,,,,)
ACCEPTANCE4_MACH_END
;Program finishing
T5 M6
D1 M3 S4500
REPEAT ACCEPTANCE4_CONT ENDLABEL
CYCLE73(1013,"","ACCEPTANCE4_MILL3","3",10,0,1,
-12,0,,2,,,3000,700,0,,,,)
M30
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_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
%_N_ISL3A01_MPF
;$PATH=/_N_WKS_DIR/_N_CC73BEI2_WPD
;Ste 18.06.99
;Island contour sample program 2
Programming example 3
Machining task:
Shows 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 performed complete on both
pockets before the next tool is used.
• Rough drill
• 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
M6
D1 M3 F2000 S500 M8
N30 G0 Z20
;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
;Removing pocket 1
T3 M6
G54 D1 M3 S3300
GOTOF POCKET1_MACH_END
POCKET1_MACH:
REPEAT POCKET1_CONT ENDLABEL
CYCLE73(1025,"POCKET1_DRILL","POCKET1_MILL1","3",10,0,1,-8,0,0,2,0,0,2000,400,0,0,0,3,4)
POCKET1_MACH_END:
REPEAT POCKET1_CONT ENDLABEL
CYCLE73(1021,"POCKET1_DRILL","POCKET1_MILL1","3",10,0,1,-8,0,0,2,0,0,2000,400,0,0,0,3,4)
;Removing pocket 2
G55
GOTOF SAMPLE2_MACH_END
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,3,4)
SAMPLE2_MACH_END:
REPEAT SAMPLE2_CONT ENDLABEL
CYCLE73(1011,"SAMPLE2_DRILL","SAMPLE2_MILL1","3",10,0,1,-8,0,0,2,0,0,2000,400,0,0,0,3,4)
G55
REPEAT EXAMPLE2_CONT ENDLABEL
CYCLE73(1012,"","SAMPLE2_3_MILL2","3",10,0,1,-8,0,,2,,,2500,800,0,,,,)
G0 Z100
M30
N1 G0 X0 Y0 G90
N3 G1 X200 Y0
N5 X200 Y100
N10 X0 Y100
N20 X0 Y0
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
Explanation
Alarms source CYCLE73...CYCLE75
Alarm number Alarm text Explanation, remedy
61703 “Internal cycle error while deleting file“
61704 “Internal cycle error while writing file“
61705 “Internal cycle error while reading file“
61706 “Internal cycle error during checksum formation“
61707 “Error in ACTIVATE on MMC“
61708 “Error in READYPROG on MMC“
61900 "No contour"
61901 "Contour is not closed"
61902 "No more free memory"
61903 "Too many contour elements"
61904 "Too many intersections"
61905 "Cutter radius too small"
61906 "Too many contours"
61907 "Circle without center point measurement"
61908 "No starting point specified"
61909 "Helical radius too small"
61910 "Helix violates contour"
61911 "Several insertion points required"
61912 "No path generated"
61913 "No residual material generated"
61914 "Programmed helix violates contour"
61915 "Approach/liftoff motion violates contour"
61916 "Ramp path too short"
61917 "Residual corners might be left
with less than 50 per cent overlap"
61918 "Cutter radius too large for residual material"
61980 “Error in island contour“
61981 “Error in edge contour“
61982 “Infeed width in plane too large“
61983 "Pocket edge contour missing"
61984 “Tool parameter _TN not defined“
61985 “Name of drilling position program missing"
61986 “Machine pocket program missing"
61987 "Drilling position program missing"
61988 "Name of program for machining pocket missing"
61989 "Not D1 programmed as active tool cutting edge"
Precondition
To use the swiveling cycle, the machine data below must be set as
follows (minimum requirement):
• MD 10602: FRAME_GEOAX_CHANGE_MODE=1
(only when the tool is corrected using TRAORI)
• MD 18088: MM_NUM_TOOL_CARRIER
à Number of swivel data records
• MD 20126: TOOL_CARRIER_RESET_VALUE
à described in CYCLE800
• MD 20180: TOCARR_ROT_ANGLE_INCR[0]=0
• MD 20180: TOCARR_ROT_ANGLE_INCR[1]=0
• MD 20182:TOCARR_ROT_ANGLE_OFFSET[0]=0
• MD 20182: TOCARR_ROT_ANGLE_OFFSET[1]=0
• MD 20184: TOCARR_BASE_FRAME_NUMBER=-1
• MD 22530: TOCARR_CHANGE_M_CODE
à M code on swivel data changeover
• MD 24008: CHSFRAME_POWERON_MASK
bits 4, 3, 2=1 if system frames PAROT, TOROT, WPFRAME are
to be deleted on Power ON
• MD 28082:MM_SYSTEM_FRAME_MASK
bits 4, 3, 2=1
Function
The cycle is used during milling 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.
Machine kinematics
1. Swivel-mounted toolholder (swivel head) --> type T
2. Swivel-mounted workholder (swivel table) --> type P
Mixed kinematics from 1. and 2. --> type M
Important
The zero offset with which the workpiece was scratched must
Description of parameters
Interactive screen form CYCLE800 on standard
interface
Reference point
Bezugspunkt
before
vor rotation
der Drehung
Drehung
Rotation
Nullpunkt nach
Zero after rotation
der Drehung
_FR (retraction)
The retraction positions are approached absolutely. If a
different retraction sequence or incremental positioning is
desired, the process can be modified accordingly in user
cycle TOOLCARR during start-up.
• Do not retract
• Retract axis Z
• Retract axis Z, XY
The retraction positions can be entered in the start-up
menu display.
_DIR (direction)
• Minus/plus
Reference to rotary axis 1 or 2 when direction of travel is
selected in swivel cycle interactive screen form. Due to the
large angular range of the rotary axes of the machine
kinematics, the NCU calculates two possible solutions. One
of these solutions is normally appropriate technologically.
The selection as to which rotary axis the two solutions must
refer is made in the start-up menu. The selection of the
solution to be applied is made in the interactive screen form
for the swivel cycle.
• None
The "None" selection applies if the rotary axes must not be
moved when the swivel cycle is activated.
Application: Auxiliary swivel levels according to workpiece
drawing
Correction
• Yes / No
Display can be concealed via swivel start-up
setting.
• Yes: When swiveling onto a machining plane, the
rotary axes can be corrected to prevent risk of
collision.
Preconditions:
1. TRAORI option is required.
2. The machine manufacturer has adapted user
cycle TOOLCARR.spf appropriately.
Approach TILT
• Yes / No
Display can be concealed via swivel start-up
setting.
• Yes: The tool orientation after swiveling is always LEAD
Programming
CYCLE800(_FR, _TC, _ST, _MODE, _XO, _YO, _ZO, _A, _B, _C, _X1, _Y1, _Z1, _DIR)
Parameters
Programming example 1
Set swivel plane ZERO
%_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
Programming example 2
Scratching point G57 25
Face milling and milling a circular pocket on Swivel edge 15 grd
a machining plane swiveled through 15 degrees 30 40
Y
X
%_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,0,1)
N20 M3 S5000
N22 CYCLE71(50,2,2,0,0,0,80,60,0,4,15,5,0,2000,31,5) ;Face mill
N24 CYCLE800(1,"",0,57,0,25,0,-15,0,0,0,0,0,-1,1)
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
Programming example 3
Face milling with approached tool
Create an end face (see programming example 2) with approached tool.
Tool is approached by 10deg. in X.Y.
%_N_SWIVEL_APPROACH_SPF
;$PATH=/_N_WCS_DIR/_N_HAA_SWIVEL_WPD
N12 T="RADMILL_10mm"
N14 M6
N16 G56
N18 CYCLE800(1,"",0,57,0,25,0,-60,0,180,0,0,0,0,1)
N20 CYCLE800(1,"",101,57,0,0,0,10,10,0,0,0,0,-1)
N22 CYCLE71(50,2,0,0,-56,0,-28,60,0,2,2,5,0,2000,41,5)
N40 M2
Retraction/retraction position
The start-up engineer determines whether the options
'Retract axis Z' and 'Retract axes Z,X,Y' are possible in
the input menu for the swivel cycle.
The mode of retraction can be modified in user cycle
TOOLCARR.spf (marker M41, M40) if necessary. If
user cycle TOOLCARR.spf is not modified, the
retraction position is approached as an absolute
machine position.
Swivel head (type T) Swivel table (type P) Swivel head + swivel table (type M)
Offset vector I1 Offset vector I2 Offset vector I1
Rotary axis vector V1 Rotary axis vector V1 Rotary axis vector V1
Offset vector I2 Offset vector I3 Offset vector I2
Rotary axis vector V2 Rotary axis vector V2 Offset vector I3
Offset vector I3 Offset vector I4 Rotary axis vector V2
Offset vector I4
• Direction
à rotary axis 1
à rotary axis 2
Reference to rotary axis 1 or 2 when direction of
travel is selected in swivel cycle interactive
screen form.
Due to the large angular range of the rotary axes
of the machine kinematics, the NCU calculates
two possible solutions. One of these solutions is
normally appropriate technologically. The
selection as to which rotary axis the two
solutions must refer is made in the start-up
menu. The selection of the solution to be applied
is made in the interactive screen form for the
swivel cycle.
• Correct tool
à yes
à no
"Correct tool" display in the swivel cycle interactive
screen form. Since the "Correct tool" function
requires the 5-axis transformation function, the
display should be no for machines with SIN810D.
• Approach tool
à yes
à no
"Approach tool" display in the swivel cycle
interactive screen form.
Identifier
Axis identifiers of rotary axes. The following identifiers
should be chosen where possible:
Axis rotates about axis of coordinate X --> A
Axis rotates about axis of coordinate Y --> B
Axis rotates about axis of coordinate Z --> C
If the axes are registered with the NCU, then the same
axis identifiers must be selected (see Mode).
Mode
• Automatic
Rotary axes are automatically moved to the
appropriate swivel angle
• Manual
Rotary axes are moved manually by the operator
to the appropriate position (see MMC Box
Swiveling). On the "plainest machines" with
manually adjustable rotary axes (measuring
system: Steel gauge), the axis identifier need not
be registered with the NCU.
Angular range
(Accept key for software end positions optional)
$TC_CARR30[n] .. $TC_CARR33[n]
A valid angular range must be assigned to each rotary
axis. This must not be the software end position area.
The traversing range for modulo axes is between 0 and
360 degrees.
Reference point
of tool carrier
172 250 125
I1
V2 150
I2 V1
45 ?
Rotary axis 1
I3
280
Rotary axis 2 Z
V2
V1
45 ?
172 I2
I1 Rotary axis 1
93,8
I3 Point on rotary
axis 1 Z
Point on rotary
axis 2 Y
Reference point of X
tool
Example 3: Table 2
In this example, the offset vectors are not defined as described for
example 3, but as a closed system as defined below:
Offset vector I2: Distance between machine reference point
and point on rotary axis 1
Offset vector I3: Distance between point on rotary axis 1 and
point on rotary axis 2
Offset vector I4: Distance between point on rotary axis 2 and
machine reference point
The advantage of this method is that the position values do
not changed in the unswiveled state, regardless of whether or not the
swivel table is selected.
V2
160 I3
V1
45 ?
I4
190
I2
Z 380 95
Reference point of
machine
Y
X
Example 4: MIXED 1
208 188
Z
Reference point of
tool carrier
Y
X I1
148
V1
I2
250
Rotary axis of
swivel head
Reference point
of table Rotary axis of table
76 I4
V2
160
I3 Reference point
of machine
380
Example 5: MIXED 2
In this example, the reference points of the toolholder and the
tool are identical, as well as the reference points of the table
and the machine.
Thus: I1 = -I2 and I3 = -I4
resulting in each case in a closed system.
The advantage of this method is that the position values do not
change in the unswiveled state, regardless of whether the swivel
head or table is selected.
Z
V1
Y
X Rotary axis of
swivel head
Point on rotary
100 I2 I1 axis of swivel
head
Y V2
I3
200 I4 Rotary axis of
table
Table
Y
X
300
Programming
All axis positions during swiveling are traversed by
means of user cycle TOOLCARR.spf. This cycle is
called from swivel cycle CYCLE800. It can be modified
by the user (machine manufacturer during start-up) in
order to cater to the properties of specific machines.
%_N_TOOLCARR_SPF
;$PATH=/_N_CUS_DIR
N10 PROC TOOLCARR(INT _MODE,INT _TC1,REAL _A1,REAL _A2,INT _TC2) SAVE
;V06.02.03 29.02.2001-floppy disks
only
;C06.02.03 27.06.2001
;Swiveling user cycle
;20 = Swivel swivel head/table rotary axes 1,2 automatically
;21 = Swivel swivel head/table rotary axis 2 automatically, rotary axis 1
manually
;30 = Swivel swivel head/table rotary axis 1 automatically, rotary axis
2 manually
;31 = Swivel swivel head/table rotary axis 1,2 manually
;40 = User Init
;41 = Retract axis Z
;42 = Retract axis Z,XY
;_TC1 : Number of swivel head/table
;_A1 : Angle of 1st rotary axis
;_A2 : Angle of 2nd rotary axis
N16 CASE _MODE OF 20 GOTOF _M20 21 GOTOF _M21 30 GOTOF _M30 31 GOTOF
_M31 40 GOTOF _M40 41 GOTOF _M41 42 GOTOF _M42 DEFAULT GOTOF _MEND
N18 _M20:
N20 G0 G90 AX[AXNAME(_TC_AX1[_TC_NUM-1])]=_A1
AX[AXNAME(_TC_AX2[_TC_NUM-1])]=DC(_A2)
N22 GOTOF _MEND
N24 _M21: G0 G90 AX[AXNAME(_TC_AX2[_TC_NUM-1])]=_A2
N26 M5
N28 M0
N30 M=_M345
N32 GOTOF _MEND
N34 _M30: G0 G90 AX[AXNAME(_TC_AX1[_TC_NUM-1])]=_A1
N36 M5
N38 M0
N40 M=_M345
N42 GOTOF _MEND
N44 _M31: M5
N46 M0
N48 M=_M345
N50 GOTOF _MEND
N52 _M40:
N54 GOTOF _MEND
N56 _M41:
N58 _DD=$P_TOOL
N60 SUPA D0 G0 G90 G40 G60 Z=_TC_FR_POS[_TC1,0]
N62 D=_DD
N64 GOTOF _MEND
N66 _M42:
N68 _DD=$P_TOOL
N70 SUPA D0 G0 G90 G40 G60 Z=_TC_FR_POS[_TC1,0]
N72 SUPA X=_TC_FR_POS[_TC1,1] Y=_TC_FR_POS[_TC1,2]
N74 D=_DD
N76 GOTOF _MEND
N78 _MEND:
N80 RET
Notes
Turning cycles
4.10 Extended stock removal cycle – CYCLE950 (SW 5.3 and later)...................................4-297
4.2 Preconditions
Data block for turning cycles
The turning cycles require module GUD7.DEF. It is
supplied on diskette together with the cycles.
Plane definition
The machining plane must be defined before the X
Programming Guide).
Spindle handling
The turning cycles are written in such a way that the Z
Longitudinal axis
spindle commands 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 (see Programming Guide).
Parameters
SPD real Starting point in the facing axis (enter without sign)
SPL real Starting point in the longitudinal axis
WIDG real Width of groove (enter without sign)
DIAG real Depth of groove (enter without sign)
STA1 real Angle between contour and longitudinal axis
Value range: 0<=STA1<=180 degrees
ANG1 real Flank angle 1: on the side of the groove defined by the starting point
(enter without sign)
Value range: 0<=ANG1<89.999 degrees
ANG2 real Flank angle 2: on the other side (enter without sign)
Value range: 0<=ANG2<89.999
RCO1 real Radius/chamfer 1, outside: on the side defined by the starting point
RCO2 real Radius/chamfer 2, outside
RCI1 real Radius/chamfer 1, inside: on the starting point side
RCI2 real Radius/chamfer 2, inside
FAL1 real Final machining allowance on the base of the groove
FAL2 real Final machining allowance on the flanks
IDEP real Infeed depth (enter without sign)
DTB real Dwell time at base of groove
VARI int Type of machining
Value range 1...8 and 11...18
_VRT real Variable retraction distance from contour, incremental
from SW (enter without sign)
6.2 or
higher
Function
With the grooving cycle you can make symmetrical
and asymmetrical grooves for longitudinal and
traverse machining on straight contour elements.
You can machine both external and internal grooves.
Sequence of operations
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. The safety distance to
the contour is calculated in the cycle.
1st step
Paraxial roughing to the base of the groove in single
infeed steps. After each infeed, the tool is retracted
for chip breaking.
2nd step
The groove is machined perpendicular to the infeed
direction in one or more cuts. Each cut is again
divided up according to the infeed depth. From the
second cut along the groove width the tool is
withdrawn by 1mm before it is fully retracted.
3rd step
Cutting of the flanks in one step, if angles are
programmed under ANG1 or ANG2. The infeed
along the groove width is performed in several steps
if the flank width is larger.
4th step
Cutting of final machining allowance parallel to the
contour from the edge to the center of the groove.
The tool radius compensation is automatically
selected and deselected by the cycle.
Description of parameters X
where the cycle calculates the shape with these IDEP STA1
R
C
01
point to be approached at the beginning. In the case
DIAG
02
of an external groove, the longitudinal axis direction I2
RC
R
C ANG1
C
R
I1
ANG2
is first traversed and in the case of an internal
SPD
groove, the facing axis direction is first traversed. WIDG
DIAG
The shape of the groove is defined with the
parameters groove width (WIDG) and groove depth ANG1
(DIAG). The cycle always starts its calculation from SPL
STA1
the point programmed with SPD and SPL.
SPD
If the groove is wider than the active tool, the groove
is machined in several steps. The total width is
divided into equal sections in the cycle. The Z
R
entered for the tool nose width.
C
01
DIAG
02
RC
I2
R
ANG1
STA1 (angle)
C
C
I1
R
ANG2
The angle of the oblique surface on which the
SPD
WIDG
groove is to be machined is programmed with
parameter STA1. The angle can have any value
between 0 and 180 degrees and always refers to the
longitudinal axis.
Z
ANG2
RCO1, RCO2 and RCI1, RCI2 (radius/chamfer)
The shape of the groove can be modified by entering
IDEP
WIDG
milling.
• With VARI<10 (tens=0) the absolute value of this
Z
parameter is regarded as chamfer length
(chamfering with CHF programming).
• With VARI>10, it is regarded as path length
(chamfering with CHR programming).
Further notes
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 determines itself which of the two
tool offsets it requires for which machining step and
activates them automatically. After the cycle is
completed, the offset number programmed before the
cycle call becomes active again. If no D number has
been programmed for a tool offset when the cycle is
called, the cycle is aborted with alarm
61000 "No tool offset active"
and the cycle is aborted.
Programming example X
Grooving
This program machines a groove on an oblique
surface (longitudinal, outside).
The starting point is at X35 Z60.
The cycle uses tool offsets D1 and D2 of tool T1. 5°
The grooving tool must be defined correspondingly.
10°
25
20°
Chamfers 2mm
30
10
60 Z
DEF REAL SPD=35, SPL=60, WIDG=30, -> Definition of parameters with value
-> DIAG=25, STA1=5, ANG1=10, ANG2=20, -> assignments
-> RCO1=0, RCI1=-2, RCI2=-2, RCO2=0, ->
-> FAL1=1, FAL2=1, IDEP=10, DTB=1
DEF INT VARI=5
N10 G0 G90 Z65 X50 T1 D1 S400 M3 Starting point before the beginning of the
cycle
N20 G95 F0.2 Specification of technology values
N30 CYCLE93 (SPD, SPL, WIDG, DIAG, -> Cycle call
-> STA1, ANG1, ANG2, RCO1, RCO2, ->
-> RCI1, RCI2, FAL1, FAL2, IDEP, ->
-> DTB, VARI)
N40 G0 G90 X50 Z65 Next position
N50 M02 End of program
Parameters
SPD real Starting point in the facing axis (enter without sign)
SPL real Starting point of the contour in the longitudinal axis
(enter without sign)
FORM char Definition of the form
Values: E (for form E)
F (for form F)
_VARI int Specification of undercut position
(from SW Values: 0 according to tool point direction
6.2 or 1...4 Define position
higher)
Function
With this cycle you can machine undercuts of form E Form F
and F in accordance with DIN509 with the usual load on
a finished part diameter of >3mm.
Form E
Sequence of operations
Position reached prior to cycle start:
The starting position can be any position from which
the undercut can be approached without collision.
Description of parameters
X
SPD and SPL (starting point)
The finished part diameter for the undercut is SPL
FORM (definition) +X
FORM E
Form E and Form F are defined in DIN509 and
determined by this parameter.
SL3
If the parameter is assigned a value other than E or For workpieces with
F, the cycle is aborted and alarm one machined surface
FORM F +Z
Further notes
You must activate a tool offset before you call the
cycles. Otherwise alarm
61000 "No tool offset active"
is output and the cycle is aborted.
Programming example
X
Undercut_form_E
You can machine an undercut of form E with this
program.
FORM E
20
60 Z
Parameters
Function
With this stock removal cycle you can machine a
contour programmed in a subroutine from a blank with
paraxial stock removal. Relief cut elements can be
included in the contour. With this cycle, contours can be
machined in the longitudinal and facing directions,
inside and outside. The technology is freely selectable
(roughing, finishing, complete machining). During
roughing, paraxial cuts are generated from the
maximum programmed infeed depth and when a point
of intersection with the contour is reached, the residual
corners are immediately removed cutting parallel to the
contour. Roughing is performed to the programmed
final machining allowance.
Finishing is performed in the same direction as
roughing. The tool radius compensation is automatically
selected and deselected by the cycle.
Sequence of operations
Position reached prior to cycle start:
The starting position can be any position from which
the starting point of the contour can be approached
without collision.
Finishing:
• The calculated cycle starting point is approached in both
axes simultaneously with G0 and tool nose radius
compensation is selected.
• Both axes then continue to move; with G0 up to an amount
final machining allowance + tool nose radius +
1mm safety distance 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.
Description of parameters
X
NPP (name)
Enter the name of the contour subroutine under this FALX
NPP
parameter. This contour subroutine must not be a
subroutine with a parameter list.
Please use the name conventions described in the
Programming Guide when naming the contour
subroutine.
FALZ
In SW 5.2 and later, the machining contour can also be
a section of the calling routine or from any other
program. The section is identified by start or end labels
or by block numbers. In this case, the program name
and labels/block number are identified by an ":". Z
Examples:
NPP="CONTOUR_1" The machining contour is the complete
program "Contour_1".
NPP="START:END" The machining contour is defined as the
section starting from the block labeled
START to the block labeled END in the
calling routine.
NPP="/_N_SPF_DIR/_N_CONTOUR_1_SPF:N130:N2 The machining contour is defined in blocks
10" N130 to N210 in program CONTOUR_1.
Write the full program name together with
path and extension, refer to CALL
description in the References: /PGA/
Programming Guide Advanced.
If the section is defined by block numbers, it must be
noted that these block numbers for the section in NPP
must be correspondingly adjusted if the program is
modified and subsequently renumbered.
difference 36mm).
36
8x4,5mm
7
2x3,5mm
right.
FF2
FF1
X
Finishing
FF3
_VRT (lift)
With SW 4.4. or higher, the amount by which the tool
is lifted off the contour in both axes during roughing
operations can be programmed in parameter _VRT.
If _VRT=0 (parameter not programmed), liftoff is 1mm.
The retraction distance is always measured in inches or
metric depending on the programmed system, i.e.
_VRT=1 for inch àprogramming produces a tool retract
of 1 inch.
Further notes
Contour definition
The contour is programmed in a subroutine whose
name is defined as a parameter.
The contour subroutine must contain at least 3 blocks
with movements in both 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 subroutine.
If the contour subroutine is shorter, alarms 10933 "The
contour subroutine contains too few contour blocks" and
61606 "Error in preprocessing contour"
and the cycle is aborted.
All the traversing blocks for the first two axes in the
current plane are preprocessed in the cycle as only
these axes are involved in the machining operation.
Movements for other axes can be included in the
contour subroutine but their travel paths are
suppressed during the cycle run.
Contour direction
With SW 4.4 and later, the direction in which the
stock removal contour can be programmed is freely
selectable. The machining direction is automatically
defined in the cycle. With complete machining
operations, the contour is finished in the same
direction in which rough cutting took place.
If only finishing is selected, the contour is always
traversed in the programmed direction.
The first and last programmed contour points are the
criteria for selecting the machining direction. 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 angles of the active tool
• Programming of arcs with an aperture angle of >
180 degrees
In the case of relief cut elements, the cycle checks
whether machining is possible with the active tool. If
the cycle detects that this machining operation will
lead to a contour violation, it is aborted after alarm
61604 "Active program violates programmed
contour" is output.
Starting point
The cycle determines the starting point of the X
machining operation automatically. The starting point
is positioned on the axis in which infeed is performed
Sum of the final machining
at a distance from the contour corresponding to final allowance in X+_VRT START POINT
machining allowance + liftoff distance (parameter of the cycle
Programming example 1
Stock removal cycle X
The contour illustrated in the figure explaining the
assignment parameters must be machined
completely (longitudinal, outside). Axis-specific final P6 (35,76)
machining allowances have been defined. No P2 (87,65)
interruption between cuts has been programmed.
The maximum infeed is 5mm. P4 (52,44)
R5
The contour is stored in a separate program. P1 (120,37)
P5 (41,37)
P3 (77,29)
Programming example 2
Stock removal cycle X
The machining contour is defined in the calling
program and traversed directly after the finishing
cycle call. P5 (50,50)
P4 (50,41.547)
P3 (70,21.547)
P2 (90,10)
P1 (100,10)
Parameters
Function
This cycle is for machining thread undercuts in
accordance with DIN 76 on parts with a metric ISO
thread.
Sequence of operations
Position reached prior to cycle start:
The starting position can be any position from which
any thread undercut can be approached without
collision.
Description of parameters
X
DIATH (nominal diameter)
With this cycle you can machine thread undercuts
SPL
for metrical ISO threads from M3 to M68.
If the value programmed in DIATH results in a final
diameter of <3mm, the cycle is aborted and alarm
DIATH
61601 "Finished part diameter too small" is output.
If the parameter is assigned a value other than that
defined by DIN76 Part 1, again the cycle is aborted Z
and the alarm
61001 "Thread pitch incorrectly defined" is output.
FORM (definition)
Thread undercuts of forms A and B are defined for FORM A and B
R
form B for short thread run-outs.
R
DIATH
Thread undercuts of forms C and D for used for
internal threads, form C for normal thread runouts,
form D for short thread run-outs.
If the parameter is assigned a value other than
A ... D, the cycle is aborted and alarm
61609 "Form incorrectly defined" is output.
The tool radius compensation is automatically
selected by the cycle.
Further notes
You must activate a tool offset before the cycle is
called. Otherwise error message
61000 "No tool offset active"
is output and the cycle is aborted.
Programming example
Thread undercut_Form_A
You can machine a thread undercut of form A with X
this program.
60
40
Z
Parameters
Function
With this cycle you can machine cylindrical and
tapered outside and inside threads with constant
lead in longitudinal or face machining. Both single
threads and multiple threads can be cut. In multiple
thread cutting, the threads are cut one after the
other.
Infeed is automatic. You can select either constant
infeed per cut or constant cross-section of cut.
A right-hand or left-hand thread is determined by the
direction of rotation of the spindle programmed
before the cycle call.
Feedrate and spindle override both have no effect in
thread travel blocks.
Sequence of operations
Position reached prior to cycle start:
The starting position is any position from which the
programmed thread starting point + arc-in section
can be approached without collision.
Description of parameters
X
PIT and MPIT (value and thread size)
FPL PIT SPL
The thread pitch is a paraxial value and entered
ROP APP
without a sign. If metric cylindrical threads are being
TDEP
machined it is also possible to define the thread FAL
Further notes
Difference between a longitudinal thread and a
X X
face thread
The cycle automatically calculates whether a
longitudinal or face thread is to be machined. This
depends on the angle of the taper on which the Angle < 45° Angle > 45°
Z Z
Longitudinal thread Transverse thread
Programming example
X
Thread cutting
With this program you can cut a metric outside
thread M42x2 with flank infeed. The infeed is
performed with a constant cross-section of cut.
5 roughing cuts are made to a thread depth of
1.23mm without final machining allowance. After
machining has been completed, 2 noncuts are
performed. M42x2
35 Z
Parameters
Function
With this cycle you can produce several
concatenated cylindrical or tapered threads with a
constant lead in longitudinal or face machining, all of
which can have different thread leads.
Sequence of operations
Position reached prior to cycle start:
The starting position is any position from which the
programmed thread starting point + arc-in section
can be approached without collision.
Description of parameters
X
PO1 and DM1 (starting point and diameter)
With these parameters you define the original starting P04 P03 P02 P01
point of the thread chain. The starting point calculated ROP
PP3 PP2 PP1
DM3=DM4
by the cycle that is approached at the beginning with G0
DM2
is the length of the arc-in section in front of the DM1
programmed starting point (starting point A). APP
Programming example
Thread chain X
0/
With this program you can produce a chain of
threads starting with a cylindrical thread. Infeed is
perpendicular to the thread. Neither a final
machining allowance nor a starting point offset have
been programmed. 5 roughing cuts and one noncut
are performed. 50
The machining type defined is longitudinal, outside, 36
with constant cross-section of cut. 30
Z
-80 -60 -30
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.
Preconditions
The channel in which the thread recutting program must
be executed is already selected; the relevant axes must
already be referenced. The channel is in the Reset
state, the spindle is stationary.
Sequence of operations
• Select JOG in "Machine" operating area.
• Press softkey "Finish thread"
è Open screen form for this function.
Special functions
You can delete values stored earlier by selecting
another softkey labeled "Delete".
4.10 Extended stock removal cycle – CYCLE950 (SW 5.3 and later)
The extended stock removal cycle is an option.
It requires SW 5.3 in the NCK and MMC.
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)
Parameters
_NP1 String Name of the contour subroutine for the finished part contour
_NP2 String Label / block number start of finished part contour, optional
(this can be used to define contour sections)
_NP3 String Label / block number end of finished part contour, optional
(this can be used to define contour sections)
_NP4 String Name of the stock removal program to be generated
_VARI Int Type of machining : (enter without sign)
ONES DIGIT:
Values: 1...Longitudinal
2...Face
3...Parallel to contour
TENS DIGIT:
Values: 1...Programmed infeed direction X-
2...Programmed infeed direction X+
3...Programmed infeed direction Z-
4...Programmed infeed direction Z+
HUNDREDS DIGIT:
Values: 1...Roughing
2...Finishing
3...Complete
THOUSANDS DIGIT:
Values: 1...With rounding
2...Without rounding (liftoff)
TEN THOUSANDS DIGIT:
Values: 1...Machine relief cuts
2...Do not machine relief cuts
HUNDRED THOUSANDS DIGIT:
Values: 1...Programmed machining direction X-
2...Programmed machining direction X+
3...Programmed machining direction Z-
4...Programmed machining direction Z+
_MID Real Infeed depth (enter without sign)
_FALZ Real Final machining allowance in the longitudinal axis (enter without sign)
_FALX Real Final machining allowance in the facing axis (enter without sign)
_FF1 Real Feedrate for longitudinal roughing
Function
With the extended stock removal cycle CYCLE950 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.
machining along the contour so that no corners blank definition via offset value
X
are left over, or removing stock immediately at
finished part contour
the roughing intersection.
• The angle for stock removal at the contour during
roughing is programmable.
• Optionally, relief cuts can be machined or
skipped during roughing.
Z
Sequence of operations
Position reached prior to cycle start:
The initial position can be any position from which the
blank contour can be approached collision-free. The
cycle calculates collision-free approach movements to
the starting point for machining but does not consider
the tool holder data.
Description of parameters
_NP1, _NP2, _NP3 (contour programming finished part)
The finished part contour can be programmed optionally in a
separate program or in the current main program that calls
the routine. The data are transferred to the cycle via
parameters _NP1 – Name of the program or _NP2, _NP3 –
ID of program section from ... to using block numbers or
labels.
Example:
_VARI=312311 means machining:
longitudinal,
infeed direction X- (i.e. external),
complete;
the workpiece is not rounded along the contour,
Z
relief cuts are machined,
1 Infeed 4 Retraction
machining direction Z-.
2 Approach 5 Returning
3 Roughing
_FF3
_FF4 (radius)
_APZ
_APX
NP1
_APX
NP1 _APZ
(starting point=end point) which encompasses the X Blank contour as contour section between
finished-part contour either partially or fully, or a starting and end point of fin. part contour
contour section between the starting and end points Blank and fin.
Finished part contour
part end point
of the finished-part contour. The programmed Blank contour
direction is irrelevant.
Blank contours always must be described in a way X Blank contour and finished
that they are not partly identical with the finished-part part contour are identical
Note on simulation
In the simulation of the extended stock removal cycle
CYCLE950, 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
program calculation.
Blank updating
The extended stock removal cycle CYCLE950 X
detects residual material during roughing and is able
to generate an updated blank contour outside the Machining direction
machining process, which can be used in a further
machining step. Finished-part contour
Blank contour
α
Residual contour Z
Finishing allowance for relief cutting
α = Relief cut angle of turning tool
Programming example 1 X
• only roughing,
• longitudinal,
• outside,
• with rounding (so that no corners are left over),
• relief cuts are to be machined.
The blank contour is specified in program
BLANK1.MPF.
A turning steel with tool point position 3 and a radius of Z
0.8mm is used.
Machining program:
%_N_EXAMPLE_1_MPF
;$PATH=/_N_WKS_DIR/_N_STOCK_REMOVAL_NEW_W
PD
; 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",,,"Machine_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
Blank contour:
%_N_BLANK1_MPF
;$PATH=/_N_WKS_DIR/_N_STOCK_REMOVAL_NEW_W
PD
; 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
After machining, a new program called
MACHINING_PART1.MPF is present in the workpiece
STOCK_REMOVAL_NEW.WPD.
BEARBEITE_TEIL1.MPF. This program is created
during the first program call and contains the traversing
motions for machining the contour in accordance with
the blank.
Programming example 2 X
Machining program:
%_N_EXAMPLE_2_MPF
;$PATH=/_N_WKS_DIR/_N_STOCK_REMOVAL_NEW_W
PD
; Example 1: inside 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 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
N220 G0 Z100
N230 X300 Approach tool change point
N240 Z150
N250 T2 D1 Insert turning tool for inside machining
N260 G96 F0.5 S500 M3
N275 CYCLE950("","N400","N420",
"Machine_Part1_Inside",311123,1.25,0,0,
0.8,0.5,0.4,0.3,0.5,45,1,"","N430","N490"
,,,,,,,,1)
N280 G0 X300
N290 Z150
N300 GOTOF _END Skip contour definition
N400 G0 X14 Z90 N400 to N420 finished part contour
N410 G1 Z52
N420 X0 Z45
N430 G0 X10 Z9 N430 to N490 blank contour
N440 X16
N450 Z40
N460 X0
N470 Z47
N480 X10 Z59
N490 Z90
N500 _END:M2
Programming example 3
The same part as in sample program 1 should now be
machined in two steps.
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 update
; 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 steel for residual material
and finishing
; Tool point position 3, radius 0.4
Explanation
Alarm source CYCLE950
61701 "Error in contour description of finished Either none of parameters _NP1, _NP2 or
part" _NP3 is assigned or error in programming
of finished-part contour
61702 "Error in contour description of blank" Either none of parameters _NP5, _NP6
or _NP7 is assigned or error in
programming of blank contour
61703 "Internal cycle error while deleting file"
61704 "Internal cycle error while writing file"
61705 "Internal cycle error while reading file"
61706 "Internal cycle error during checksum
formation"
61707 "Internal cycle error during ACTIVATE
at MMC"
61708 "Internal cycle error during
READYPROG at MMC"
61709 "Timeout for contour calculation"
61720 "Illegal input"
61721 "Error: unable to determine contour
direction"
61722 "System error"
61723 "Unable to perform machining" Use a tool with a larger clearance angle
61724 "No material available"
61725 "Out of memory, error in contour
generation"
61726 "Internal error: Out of memory
_FILECTRL_INTERNAL_ERROR"
61727 "Internal error: Out of memory
_FILECTRL_EXTERNAL_ERROR"
61728 "Internal error: Out of memory
_ALLOC_P_INTERNAL_ERROR"
6 _ X _ _
61000 "No tool offset LONGHOLE D offset must be programmed before the
active" SLOT1 cycle is called
SLOT2
POCKET1 to
POCKET4
CYCLE71
CYCLE72
CYCLE90
CYCLE93
to
CYCLE96
61001 "Thread lead CYCLE84 Check parameters for thread size and
incorrect" CYCLE840 check pitch information (contradict each
CYCLE96 other)
CYCLE97
61002 "Machining type SLOT1 The value assigned to parameter VARI
incorrectly defined" SLOT2 for the machining type is incorrect and
POCKET1 must be altered
to POCKET4
CYCLE71
CYCLE72
CYCLE76
CYCLE77
CYCLE93
CYCLE95
CYCLE97
CYCLE98
61003 "No feedrate CYCLE71 The parameter for feedrate has been
programmed in the CYCLE72 incorrectly set and must be altered.
cycle"
61005 "3rd geometry axis not CYCLE86 When used on turning machines
available" without Y axis in G18 plane.
61009 "Active tool number CYCLE71 No tool (T) is programmed prior to the
= 0" CYCLE72 cycle call.
61010 "Final machining CYCLE72 The final machining allowance on the
allowance too great" base is greater than the total depth and
must be reduced.
61011 "Scaling not CYCLE71 A scale factor is currently active that is
allowed" CYCLE72 not permissible for this cycle.
61012 "Scaling in the plane CYCLE76
different" CYCLE77
61101 "Reference plane CYCLE71 Either different values must be entered
incorrectly defined" CYCLE72 for the reference plane and the
CYCLE81 retraction plane if they are relative
to values or an absolute value must be
CYCLE90 entered for the depth
CYCLE840
SLOT1
SLOT2
POCKET1 to
POCKET4
LONGHOLE
61102 "No spindle direction CYCLE86 Parameter SDIR (or SDR in
programmed" CYCLE87 CYCLE840) must be programmed
CYCLE88
CYCLE840
POCKET3
POCKET4
61103 "Number of holes HOLES1 No value has been programmed for the
equals zero" HOLES2 number of holes
61104 "Contour violation of the SLOT1 Incorrect parameterization of the milling
slots/elongated holes" SLOT2 pattern in the parameters that define the
LONGHOLE position of the slots/elongated holes in the
cycle and their shape
61105 "Cutter radius too large"SLOT1 The diameter of the milling cutter being
SLOT2 used is too large for the figure that is to
POCKET1 be machined; either a tool with a
to smaller radius must be used or the
POCKET4 contour must be changed
LONGHOLE
CYCLE90
61106 "Number of or distance HOLES2 Incorrect parameterization of NUM or
between circular LONGHOLE INDA, the circular elements cannot be
elements" SLOT1 arranged in a full circle
SLOT2
61107 "First drilling depth CYCLE83 First drilling depth is incompatible with
incorrectly defined" final drilling depth
61108 "No admissible POCKET3 Parameters _RAD1 and _DP which
values for POCKET4 define the path for depth infeed have
parameters _RAD1 been incorrectly set.
and _DP1"
61109 "Parameter _CDIR POCKET3 The value of the parameter for milling
incorrectly defined" POCKET4 direction _CDIR has been incorrectly
set and must be altered.
61110 "Final machining POCKET3 The final machining allowance on the
allowance on the base POCKET4 base has been set to a higher value
> depth infeed" than the maximum depth infeed; either
reduce final machining allowance or
increase depth infeed.
61111 "Infeed width > tool CYCLE71 The programmed infeed width is
diameter" POCKET3 greater than the diameter of the active
POCKET4 tool and must be reduced.
61112 "Negative tool CYCLE72 The radius of the active tool is negative,
radius" CYCLE76 the setting must be changed to a
CYCLE77 positive value.
CYCLE90
61113 "Parameter _CRAD POCKET3 The parameter for corner radius
for corner radius too _CRAD has been set too high and must
high" be reduced.
61114 "Machining direction CYCLE72 The machining direction of the cutter
G41/G42 incorrectly radius compensation G41/G42 has
defined" been incorrectly set.
61604 "Active tool violates CYCLE95 Contour violation in relief cut elements as a
programmed contour" result of the clearance angle of the tool
being used, i.e. use a different tool or
check the contour subroutine
61605 "Contour incorrectly CYCLE76 Illegal relief cut element detected
programmed" CYCLE77
CYCLE95
61606 "Error on contour CYCLE95 An error was detected during contour
preparation" preparation, this alarm is always output
with NCK alarm 10930 ... 10934, 15800 or
15810
61607 "Starting point CYCLE95 The starting point reached before the cycle
incorrectly was called does not lie outside the
programmed" rectangle described by the contour
subroutine
61608 "Wrong tool point CYCLE94 A tool point direction between 1 ... 4
direction CYCLE96 that matches the undercut form must
programmed" be programmed
61609 "Form incorrectly CYCLE94 Check parameters for the undercut
programmed" CYCLE96 form
61610 "No infeed depth CYCLE76
programmed" CYCLE77
CYCLE96
61611 "No intersection CYCLE95 The system cannot calculate an
found" intersection with the contour.
Check contour programming or change
infeed depth
61612 "Thread cannot be recut" CYCLE97
CYCLE98
61613 "Undercut position CYCLE94 Check value in parameter _VARI
incorrectly defined" CYCLE96
61807 "Incorrect spindle CYCLE840 Check parameters SDR and SDAC
direction programmed
(active)"
62100 "No drilling cycle HOLES1 No drilling cycle was called modally
active" HOLES2 before the drilling pattern cycle was
called
62105 "Number of columns CYCLE801
or rows is zero"
"Depth: According to value for relative depth" CYCLE81 ... CYCLE89, CYCLE840
"Machining elongated hole" LONGHOLE
"Machining slot" SLOT1
"Machining circumferential slot" SLOT2
"Wrong milling direction, G3 will be generated" SLOT1, SLOT2, POCKET1, POCKET2,
CYCLE90
"Changed form of the undercut" CYCLE94, CYCLE96
"First drilling depth according to FDPR" CYCLE83
"Caution final machining allowance ≥ tool diameter" POCKET1, POCKET2
"Thread start <Nr.> - longitudinal thread machining" CYCLE97, CYCLE98
"Thread start <Nr.> - face thread machining" CYCLE97, CYCLE98
"Simulation active, no tool programmed, final POCKET1...POCKET4,
contour being traversed" SLOT1, SLOT2, CYCLE93,
CYCLE72
"Simulation active, no tool programmed, final CYCLE72, POCKET1, ... POCKET4,
contour being traversed" SLOT1, SLOT2, CYCLE93
"Simulation active, no tool programmed" CYCLE71, CYCLE90, CYCLE94, CYCLE96
Notes
Appendix
A Abbreviations
AS Automation system
AV Production planning
BA Operating mode
BB Ready
C1 .. C4 Channel 1 to channel 4
COM Communication
CP Communication processor
CR Carriage Return
DIR Directory
DW Data word
EIA Code Special punch tape code: number of punched holes per character
is always odd
ENC Encoder
FB Function block
FIFO First in first out: Memory that operates without addresses where the
data are always read out in the same order in which they were
stored.
FM Function module
GP Basic program
HD Hard Disk
HW Hardware
I Input
I/O Input/output
IM Interface module
IPO Interpolator
IS Interface signal
ISO Code Special punch tape code: number of punched holes per character
is always even
KD Coordinate rotation
KÜ Transmission ratio
LF Line Feed
LR Position controller
MB Megabyte(s)
MD Machine data
MK Measuring circuit
NC Numerical control
O Output
OI Operator interface
OP Operator panel
OPT Options
PC Personal Computer
PG Programming device
POS Positioning
RAM Random access memory: in which data can be read and written
SD Setting data
SEA Setting data active: Identifier (file type) for setting data
SK Softkey
SM Stepper motor
SR Subroutine
SW Software
T Tool
TC Tool change
TO Tool offset
TOA Tool offset active: identifier (file type) for tool offsets
ZO Zero offset
ZOA Zero offset active: identifier (file type) for zero offset data
µC Microcontroller
B Terms
B
Blank The part used to start machining a workpiece.
Block A section of a -> part program terminated with a line feed. A distinction
is made between -> main blocks and -> subblocks.
Block search The block search function allows selection of any point in the part
program at which machining must start or be continued. The function
is provided for the purpose of testing part programs or continuing
machining after an interruption.
C
CNC è NC
CNC high-level language The high-level language offers: -> User variables, -> Predefined user
variables, -> System variables, -> Indirect programming,
-> arithmetic and trigonometric functions, -> Comparison operations
and logic operations, -> Program branches and jumps,
-> Program coordination (SINUMERIK 840D), -> Macros.
Coordinate system See -> machine coordinate system, -> workpiece coordinate system
Cycle setting data Using these special setting data the cycle parameter calculation can
be varied.
Cycle support The available cycles are listed in menu "Cycle support" in the
"Program" operating area. Once the desired machining cycle has been
selected, the parameters required for assigning values are displayed
in plain text.
D
Data module A data unit on the -> PLC which can be accessed by -> HIGHSTEP
programs.
A data unit on the -> NC: Data modules contain data definitions for
global user data. These data can be initialized directly when they are
defined.
Data transfer program PCIN is an auxiliary program for transmitting and receiving CNC user
PCIN data, e.g. part programs, tool offsets, etc. via the serial interface. The
PCIN program can run under MS-DOS on standard industrial PCs.
E
Editor The editor makes it possible to create, modify, extend, join and import
programs/texts/program blocks.
F
Finished-part contour Contour of the finished workpiece. See also -> Blank.
G
Geometry axis Geometry axes are used to describe a 2 or 3-dimensional area in the
workpiece coordinate system.
Global main Each global main program/subroutine may appear only once under its
program/subroutine name in the directory. It is not possible to use the same program
name in different directories with different contents as a global
program.
I
Identifier Words in compliance with DIN 66025 are supplemented by identifiers
(names) for variables (arithmetic variables, system variables, user
variables), for subroutines, for keywords and for words with several
address letters. These supplements have the same meaning as the
words with respect to block format. Identifiers must be unambiguous.
It is not permissible to use the same identifier for different objects.
J
Jog Control operating mode (setup operation): The machine can be set up
in the Jog mode. Individual axes and spindle can be traversed in jog
mode by means of the direction keys. Other functions which are
executed in jog mode are
-> reference point approach, -> repos and -> preset (set actual value).
L
Languages The operator-prompt display texts, system messages and system
alarms are available (on diskette) in five system languages:
English, French, German, Italian and Spanish.
The user can select two of the listed languages at a time in the
control.
M
Macros A collections of instructions under a common identifier. The identifier
in the program refers to the collected sequence of instructions.
Machine coordinate A coordinate system which is related to the axes of the machine tool.
system
Machine origin A fixed point on the machine tool which can be referenced by all
(derived) measurements systems.
Main program -> Part program identified by a number or name in which further main
programs, subroutines or -> cycles may be called.
MDA A mode in the control: Manual Data Automatic: In the MDA mode,
individual program blocks or block sequences with no reference to a
main program or subroutine can be input and executed immediately
afterwards through actuation of the NC start key.
Messages All messages programmed in the part program and -> alarms detected
by the system are displayed on the operator panel in plain text with
date and time as well as the appropriate symbol for the reset criterion.
Alarms and messages are displayed separately.
Module "Module" is the term given to any files required for creating and
processing programs.
N
NC Numerical control It incorporates all the components of the of the
machine tool control system: -> NCK, -> PLC, -> MMC, -> COM.
Note CNC (computerized numerical control) would be a more
appropriate description for the SINUMERIK 810D or 840D.
O
Oriented spindle stop Stops the workpiece spindle with a specified orientation angle, e.g. to
perform an additional machining operation at a specific position.
This function is used in several drilling cycles.
P
Parameter 840D/FM-NC:
- Operating area of the control unit
- Computation parameter, can be set or scanned in the
program at the discretion of the programmer for any
purposes he may deem meaningful.
Part program The part program management function can be organized according
management to -> workpieces. The number of programs and data to be managed
determine the size of the user memory. Each file (programs and data)
can be given a name consisting of a maximum of 24 alphanumeric
characters.
PG Programming device
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.
R
Rapid traverse The highest traversing speed of an axis. It is used to move the tool
from rest to the -> workpiece contour or retract the tool from the
contour.
Rigid tapping Rigid tapping can be drilled with the help of this function. When the
rigid tapping function is used, interpolation of the spindle acting as a
rotary axis and the drilling axis ensures that threads are cut exactly to
the end of the drilling depth, e.g. tapped blind hole (precondition:
spindle is operating in axis mode). -> CYCLE84
R-Parameter Calculation parameter. The programmer of the -> part program can
assign or request the values of the R parameter as required.
S
Scaling Component of a -> frame which causes axis-specific alterations in the
scale.
Serial RS-232 interface For the purpose of data input and output,
one serial RS-232 interface (similar to European Standard V.24)
(RS232) is provided on the MMC module MMC 100 and two RS-232
interfaces on the MMC modules MMC 101 and MMC 102. It is
possible to load and save machining programs, cycles as well as
manufacturer and user data via these interfaces.
Setting data Data which provide the NC control with information on properties of
the machine tool in a way defined by the system software.
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 menu "Cycle support" in the
"Program" operating area. Once the desired machining cycle has been
selected, the parameters required for assigning values are displayed
in plain text.
T
Tapping with Tapping is carried out without spindle encoder (G33 or G63) ->
compensating chuck CYCLE840
Tool A part used on the machine tool for machining. Examples of tools
include cutting tools, mills, drills, laser beams, etc.
Tool edge radius When a contour is programmed, it is assumed that a pointed tool is
compensation used. Since this is not always possible, the control makes allowance
for the curvature radius of the tool being used. The curvature centre
point displaced by the curvature radius is guided equidistantly to the
contour.
Turning and milling cycles select and deselect the cutting radius offset
internally.
Tool radius In order to program a desired -> workpiece contour directly, the control
compensation must traverse a path equidistant to the programmed contour with
allowance for the radius (G41/G42).
U
User-defined variables Users can define variables in the -> part program or data block (global
user data) for their own use. A definition contains a data type
specification and the variable name. See also -> System variable.
Cycles work internally with user-defined variables.
V
Variable definition A variable definition includes the specification of a data type and a
variable name. The variable name can be used to address the value of
the variable.
W
Workpiece Part to be created/machined by the machine tool.
Workpiece coordinate The starting position of the workpiece coordinate system is the ->
system workpiece origin. When programming in the workpiece coordinate
system, the dimensions and directions refer to this system.
Workpiece origin The workpiece origin is the starting point for the -> workpiece
coordinate system. It is defined by the distance to the machine origin.
Z
Zero offset Specification of a new reference point for a coordinate system through
reference to an existing origin and a -> frame settable.
SINUMERIK FM-NC: Four independent zero offsets can be selected
for each CNC axis.
SINUMERIK 840D: A configurable number of settable zero offsets are
available for each CNC axis. The offsets - which are selected by
means of G functions - take effect alternately.
External
In addition to all the offsets which define the position of the workpiece
zero, it is possible to superimpose an external zero offset
- by means of a handwheel (DRF offset) or
- from the PLC.
Programmable
It is possible to program zero offsets for all path and positioning axes
by means of the TRANS statement.
C References
General Documentation
/ST7/ SIMATIC
SIMATIC S7 PLC
Catalog ST 70
Order number: E86060-K4670-A111-A3
Electronic documentation
User Documentation
Manufacturer/Service Documentation
a) Lists
/LIS/ SINUMERIK 840D/840Di/810D/
SIMODRIVE 611D
Lists (09.01 Edition)
Order No.: 6FC5 297-6AB70-0BP1
b) Hardware
/BH/ SINUMERIK 840D840Di//810D
Operator Components Manual (HW) (09.01 Edition)
Order number: 6FC5 297-6AA50-0BP1
c) Software
/FB1/ SINUMERIK 840D/840Di/810D
Description of Functions Basic Machine (Part 1) (09.01 Edition)
(the individual sections are listed below)
Order number: 6FC5 297-6AC20-0BP1
DI1 Start-Up
DI2 Scan with Tactile Sensor (scancad scan)
DI3 Scan with Laser (scancad laser)
DI4 Writing Milling Programs (scancad mill)
BA Operator's Guide
EU Development Environment (Configuring Package)
PSE Introduction to Configuring of User Interface
IK Screen Kit: Software Update and Configuration
/FBST/ SIMATIC
FM STEPDRIVE/SIMOSTEP
Description of Functions (11.98 Edition)
Order number: 6SN1 197-0AA70-0YP3
/PJFE/ SIMODRIVE
Planning Guide (08.01 Edition)
Built-In Synchronous Motors 1FE1
Three-Phase AC Motors for Main Spindle Drives
Order No.: 6SN1 197-0AC00-0BP1
/PJLM/ SIMODRIVE
Planning Guide Linear Motors (06.01 Edition)
(on request)
ALL General Information about Linear Motors
1FN1 1FN1 Three-Phase AC Linear Motor
1FN3 1FN3 Three-Phase AC Linear Motor
CON Connections
Order number: 6SN1 197-0AB70-0BP2
/PJM/ SIMODRIVE
Planning Guide Motors (09.00 Edition)
Three-Phase AC Motors for Feed and
Main Spindle Drives
Order number: 6SN1 197-0AA20-0BP4
d) Installation and
Start-up
AE1 Updates/Options
BE1 Extend the Operator Interface
HE1 Online Help
IM2 Start-Up HMI Embedded
IM4 Start-Up HMI Advanced (PCU 50)
TX1 Creating Texts in Foreign Languages
D Index
Cycle parameterization 1-30
Cycle setting data, milling 3-110
A Cycle setting data, Turning 4-246
Absolute drilling depth 2-53, 3-120, 3-126, 3-138, Cycle support in program editor 1-26
3-163, 3-201 CYCLE71 3-160
Axis assignment 1-19 CYCLE72 3-166
CYCLE73 3-185, 3-192
CYCLE74 3-185, 3-186
B CYCLE75 3-185, 3-188
Behavior when quantity parameter is zero 2-96 CYCLE76 3-176
Blank 4-300 CYCLE77 3-181
Blank updating 4-309 CYCLE800 3-215
Blueprint programming 1-42 CYCLE801 2-104
Boring 2-49 CYCLE81 2-52
Boring 1 2-79 CYCLE82 2-55
Boring 2 2-82 CYCLE83 2-57
Boring 3 2-86 CYCLE84 2-65
Boring 4 2-89 CYCLE840 2-71
Boring 5 2-91 CYCLE85 2-79
Boring cycle 2-49 CYCLE86 2-82
CYCLE87 2-86
CYCLE88 2-89
C
CYCLE89 2-91
Call 1-19, 2-50
CYCLE90 3-111
Call conditions 1-19
CYCLE93 4-249
Centering 2-52
CYCLE94 4-259
Circumferential slot – SLOT2 3-131
CYCLE95 4-263
Configuring cycle selection 1-28
CYCLE950 4-297
Configuring help displays 1-33
CYCLE96 4-276
Configuring input screen forms 1-30
CYCLE97 4-280
Configuring tools 1-34
CYCLE98 4-288
Contour 1-line 1-42
Contour 2-line 1-42
Contour 3-line 1-42 D
Contour definition 4-270, 4-307 Deep hole drilling with chip breaking 2-60
Contour monitoring 4-247, 4-273 Deep hole drilling with swarf removal 2-59
Contour programming 4-302 Deep-hole drilling 2-57
CONTPRON 4-271 Dot matrix 2-104
Cycle alarms 5-321 Drill pattern cycles 1-17, 2-96
Cycle auxiliary subroutines 1-18 Drilling 2-52
Cycle call 1-22 Drilling cycles 1-17, 2-48
E Identifiers
SIEMENS AG
Corrections
A&D MC BMS for Publication/Manual:
Phone: /
Fax: /
SINUMERIK
SIROTEC
SINUMERIK SINUMERIK SIMODRIVE SINUMERIK SINUMERIK SINUMERIK SINUMERIK
840D/810D 840D/840Di/ Accessories 840D/810D/ 840D/810D 840D/840Di/ 840D/840Di/
810D FM-NC 810D 810D
Program. Guide Operator’s Guide System Overview Description of Description of Descr. of Functions Configuring
-- Short Guide -- ManualTurn Functions Functions -- Computer Link (HW) *)
-- Fundamentals *) -- Short Guide ManualTurn -- ManualTurn Synchronized -- Tool Data -- FM-NC
-- Advanced *) -- ShopMill -- ShopMill Actions Information -- 810D
-- Cycles -- Short Guide ShopMill System -- 840D
-- Measuring Cycles
-- ISO Turning/Milling
Manufacturer/Service Documentation
SINUMERIK
SINUMERIK SIMODRIVE SINUMERIK SINUMERIK SINUMERIK SINUMERIK SINUMERIK
840D/840Di/ 611D 840D/840Di/ 840D/810D 840D/810D 840D/840Di/ 840D/810D
810D 840D/810D 810D 810D
Manufacturer/Service Documentation
SINUMERIK
SINUMERIK SINUMERIK SINUMERIK SINUMERIK SINUMERIK SIMODRIVE
SIMODRIVE SINUMERIK SIMODRIVE SIMODRIVE SIMODRIVE SIMODRIVE SIROTEC
840D 840D/840Di/ 840D 840D
810D 611D 611D
611D
SINUMERIK
SIMODRIVE
SINUMERIK SINUMERIK SINUMERIK SINUMERIK
840D/840Di/
810D/ 840D/840Di/ 840Di 840D/810D
611, Motors 810D
DOC ON CD *)
The SINUMERIK System
Descr. of Functions Descr. of Functions Manual Descr. of Functions
ISO Dialects for CAM Integration (HW + Installation Remote Diagnosis
SINUMERIK DNC NT-2000 and Start-up)
*) These documents are a minimum requirement for the control