SIN Ein
SIN Ein
SIN Ein
The ditigital control systems SINUMERIK 810 D, 840d and 840Di are characterized by their large
"openness", i.e. they can be configured by the machine manufacturer and partially also by the user
himself according to their own requirements. They can thus efficiently be used in many fields of
application both in the small-series production and in fully automatic manufacturing lines.
When creating this Manual, it has been the objective to provide the large range of users an easily
understandable access to these powerful control systems.
The control systems 810D, 840D und 840Di can be used to control many different machining
processes. This Manual deals with the two essential technologies turning and milling.
It has been created in cooperation with NC experts and lecturers. We would like to express our
special thanks to Mr. Markus Sartor for his valuable hints and criticism.
The Manual is practice-oriented and action-oriented. The keys and their use are explained step by
step. The comprehensive presentation of screenshots enables you to compare your own inputs at
the control system with the values and specifications given in this Manual.
This Manual can also be used as a preparation or assessment away from the control system with
the control-identical system SinuTrain on the PC.
The examples of this Manual were created using mainly Software Version 5.2.
Further developments of the software and the already described "openness" of the control system do
not exclude that the operation of your control system differs in certain details from the configuration
described. It might also happen that - in dependence on the position of the keyswitch on the
machine - not all described functions are available. In such cases you are kindly asked to refer to the
documents of the machine manufacturer or to company-internal documents.
We wish you much pleasure and success for the work with your SINUMERIK control system.
The authors
1
810D/840D/840Di Beginner’s Manual
Table of Contents
1 Fundamentals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.1 Geometric fundamentals of milling and turning . . . . . . . . . . . 5
1.1.1 Tool axes and working planes . . . . . . . . . . . . . . . . . . . . . . . 5
1.1.2 Absolute and incremental dimensions (milling) . . . . . . . . . . . . . . 8
1.1.3 Cartesian and polar dimensions (milling). . . . . . . . . . . . . . . . . . 9
1.1.4 Circular movements (milling) . . . . . . . . . . . . . . . . . . . . . . . . 10
1.1.5 Absolute and incremental dimensions (turning) . . . . . . . . . . . . . . 11
1.1.6 Cartesian and polar dimensions (turning) . . . . . . . . . . . . . . . . . 12
1.1.7 Circular movements (turning) . . . . . . . . . . . . . . . . . . . . . . . 13
1.2 Technical fundamentals of milling and turning . . . . . . . . . . . . 14
1.2.1 Cutting rate and speeds (milling) . . . . . . . . . . . . . . . . . . . . . . 14
1.2.2 Feedrate per tooth and feedrate (milling) . . . . . . . . . . . . . . . . . 15
1.2.3 Cutting rate and speeds (turning) . . . . . . . . . . . . . . . . . . . . . 16
1.2.4 Feed (turning) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2 Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
2.1 Overview of the control system . . . . . . . . . . . . . . . . . . . . 18
2.1.1 Turning on, area switchover, turning off . . . . . . . . . . . . . . . . . . 19
2.1.2 Keyboard and screen layout . . . . . . . . . . . . . . . . . . . . . . . . 22
2.2 Setting up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
2.2.1 Tool management: Creating a tool and loading it into the magazine. . . . 29
2.2.2 Tool compensation: Creating a tool . . . . . . . . . . . . . . . . . . . . 34
2.2.3 Tools of the sample programs . . . . . . . . . . . . . . . . . . . . . . . 38
2.2.4 Scratching the tool and setting zero . . . . . . . . . . . . . . . . . . . . 40
2.3 Managing and executing programs . . . . . . . . . . . . . . . . . . 43
2.3.1 Saving data to floppy disk and reading them from floppy disk . . . . . . . 43
2.3.2 Enabling, loading, selecting and executing a program . . . . . . . . . . . 47
2
810D/840D/840Di Beginner’s Manual
3 Programming: Milling . . . . . . . . . . . . . . . . . . . . . . . . . 52
3.1 Workpiece "Longitudinal guide" . . . . . . . . . . . . . . . . . . . . 52
3.1.1 Creating workpiece and part program . . . . . . . . . . . . . . . . . . . 53
3.1.2 Tool call and tool change . . . . . . . . . . . . . . . . . . . . . . . . . 56
3.1.3 Fundamental functions . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
3.1.4 Simple traversing paths without cutter radius compensation . . . . . . . 57
3.1.5 Drilling using cycles and subroutine technique . . . . . . . . . . . . . . 59
3.1.6 Creating a subroutine . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
3.1.7 Simulating a program . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
3.2 Workpiece "Injection mold" . . . . . . . . . . . . . . . . . . . . . . 73
3.2.1 Creating workpiece and part program . . . . . . . . . . . . . . . . . . . 73
3.2.2 Straight lines and arcs - path milling with cutter radius compensation . . . 75
3.2.3 Rectangular pocket POCKET3. . . . . . . . . . . . . . . . . . . . . . . 79
3.2.4 Circular pocket POCKET4 . . . . . . . . . . . . . . . . . . . . . . . . . 82
3.2.5 Copying a program part . . . . . . . . . . . . . . . . . . . . . . . . . . 83
4 Programming: Turning . . . . . . . . . . . . . . . . . . . . . . . . 90
4.1 Workpiece "Shaft". . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
4.1.1 Creating workpiece and subroutine . . . . . . . . . . . . . . . . . . . . 91
4.1.2 Tool call, cutting rate and fundamental functions . . . . . . . . . . . . . 98
4.1.3 Face turning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
4.1.4 Cutting cycle CYCLE95 . . . . . . . . . . . . . . . . . . . . . . . . . 101
4.1.5 Finishing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
4.1.6 Error correction - parallel editing of main program and subroutine . . . 104
4.1.7 Thread undercut acc. to DIN76 . . . . . . . . . . . . . . . . . . . . . 105
4.1.8 Thread cutting cycle CYCLE97 . . . . . . . . . . . . . . . . . . . . . 107
4.1.9 Grooving cycle CYCLE93 . . . . . . . . . . . . . . . . . . . . . . . . 109
4.2 Workpiece "Complete" . . . . . . . . . . . . . . . . . . . . . . . . 111
4.2.1 The SINUMERIK contour calculator . . . . . . . . . . . . . . . . . . . 111
4.2.2 Cutting and finishing of the contour with undercut . . . . . . . . . . . . 119
4.2.3 Drilling centrally . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
4.2.4 End face machining with TRANSMIT . . . . . . . . . . . . . . . . . . 121
Appendix
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
Commands and addresses discussed in this Manual . . . . . . . . . . . . . . . . 128
Cycles discussed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
3
810D/840D/840Di Beginner’s Manual
4
810D/840D/840Di Beginner’s Manual
1 Fundamentals
This Chapter provides some general geometric and technological fundamentals for the programming of milling
and turning procedures for CNC beginners.
The geometric fundamentals presented here refer mainly to the graphical SINUMERIK contour calculator.
The screenshots used in this Manual are intended to support the theory.
To understand the theoretical examples provided by the control already in advance:
Operating area "Program" > Create new part program > Horizontal softkey (Contour) in the text editor
> vertical softkey (Generate contour) > ...
You will find a practical example presenting this contour calculator in the Chapter "Programming/Turning".
MILLING
On universal milling machines the tool is installed in most cases parallel to the main axes. These axes right-
angled to each other are aligned according to DIN 66217 or ISO 841 to the main guideways of the machine.
The appropriate working plane results from the mounting position of the tool.
The Z axis is mostly the tool axis for milling.
If the shown coordinate system is turned correspondingly, the axes and their directions in the associated working
plane will change (DIN 66217).
5
1.1 - Geometric fundamentals of milling and turning
TURNING
On universal turning machines the tool is installed in most cases parallel to the main axes. These axes right-
angled to each other are aligned according to DIN 66217 or ISO 841 towards the main guideways of the machine.
The Z axis is mostly the workpiece axis for turning.
To enable a CNC control system, such as the SINUMERIK 840D, to orient itself in the existing working area,
there are some important reference points.
Machine zero M
The machine zero M is defined by the manufacturer and cannot be changed. When milling, it is in
the origin of the machine coordinate system, and when turning, on the contact surface of the spindle
nose.
Workpiece zero W
The workpiece zero W, also referred to as the program zero, is the origin of the workpiece coordinate
system. It can also be freely selected and when milling, it should also be located at a position in the
drawing from which most of the dimensions are measured.
When turning, the workpiece zero is always located on the rotary axis and mostly on the plane surface
Reference point R
The reference point R is approached when setting the measuring system, since in most cases the
machine zero cannot be approached. The control system will thus find its reference point in the
position measuring system.
7
1.1 - Geometric fundamentals of milling and turning
* *
By using the softkey ,
you can switch over at any time.
Current position
Current position
W
W
8
810D/840D/840Di Beginner’s Manual
To define the end point of a straight line, two pieces of data are required, e.g.:
Cartesian: Input of the coordinates X and Y Polar: Input of the length and of an angle
The context-related help screens can be called during the input; they
display the names of the individual input boxes.
9
1.1 - Geometric fundamentals of milling and turning
According to DIN, the end point of the arc (coordinates X and Y in the G17 plane) and the center point (I and
J in the G17 plane) have to be indicated for arcs.
The SINUMERIK contour calculator also allows you in case of circular arcs to accept any dimension from the
drawing without much conversion.
In the following you will find an example with two - at first only partially determined - arcs.
The following values result if you have entered all known dimensions, and if you have pressed the softkey
in the input window of the respective arc.
10
810D/840D/840Di Beginner’s Manual
Current
position
11
1.1 - Geometric fundamentals of milling and turning
To define the end point of a straight line, two pieces of data are required. This data can be as follows:
Cartesian: Input of the coordinates X and Z Polar: Input of the length and of an angle
Note:
All hidden values are
calculated and displayed
automatically.
The context-related help screens can be called during the input; they
display the names of the individual input boxes.
12
810D/840D/840Di Beginner’s Manual
According to DIN, the end point of the arc (coordinates X and Z in the G18 plane) and the center point
(I and K in the G18 plane) have to be specified for arcs.
The SINUMERIK contour computer also allows you in case of arcs to accept any dimension from the drawing
without much conversion.
In the following you will find an example with two - at first only partially determined - circular arcs.
The following values result if you have entered all known dimensions, and if you have pressed the softkey
in the input window of the respective arc.
13
1.2 - Technical fundamentals of milling and turning
The optimum speed of a tool in each individual case depends on the cutting tool material grade, the material
of the workpiece and the tool diameter. In the practice, this speed is also often entered immediately without any
calculations, based on many years of experience. The better way, however, is to calculate the speed from the
cutting rate specified in the appropriate tables.
Determination of the cutting rate:
First, determine the optimum cutting rate on the basis of the manufacturer catalogs or a table book.
.
On the previous page, you have learned how to determine the cutting rate and how to calculate speeds.
To make sure that the tool cuts, a tool feedrate must be assigned to this cutting rate or speed.
The basic value of the feedrate is the characteristic quantity "feed per tooth".
vf = fz ⋅ z ⋅ n
The example below shows how to calculate the feedrate for two tools with a different number of teeth:
d1 = 63mm, z1 = 4 d2 = 63mm, z2 = 9
1 1
v f 1 = 0, 15mm ⋅ 4 ⋅ 580 ---------- v f 2 = 0, 15mm ⋅ 9 ⋅ 580 ----------
min min
mm mm
v f 1 = 348 ---------- v f 2 = 783 ----------
min min
15
1.2 - Technical fundamentals of milling and turning
Unlike milling, turning generally calls for the desired cutting rate to be programmed directly, namely when
roughing, finishing and plunge-cutting.
Only when drilling, and (in most cases) when thread cutting, is the desired speed programmed.
Determining the cutting rate:
First, determine the optimum cutting rate on the basis of the manufacturer catalog or a table book.
.
vc = 180 m/min:
Constant cutting rate vc (G96) when roughing, finishing and plunge-cutting:
To make sure that the selected cutting rate is observed on each workpiece
diameter, the appropriate speed is adapted by the control system using the
command G96 = constant cutting rate. This is carried out using either d.c.
motors or variable-frequency three-phase motors.
With reduced diameter, the speed theoretically increases infinitely. To avoid
hazards from excessive radial forces, a speed limit, e.g. of 3,000 r.p.m. must
be programmed.
In this case, the inputs will be G96 S180 LIMS=3000.
16
810D/840D/840Di Beginner’s Manual
On the previous page, you have learned how to determine the cutting rate and how to calculate speeds.
To make sure that the tool cuts, a tool feedrate must be assigned to this cutting rate or speed. The basic value
of the feedrate is the characteristic quantity "feed per tooth".
1 1
vf = 710 ---------- ⋅ 0, 3mm vf = 2800 ---------- ⋅ 0, 3mm
2 min 1 min
mm mm
v f 2 ≈ 210 ---------- vf = 840 ----------
min 1 min
17
2.1 Operation - Overview of the control system
2 Operation
In this manual for beginners the general term "operation" is used for all operating sequences which take place
in the direct interaction between user and machine. After a fundamental introduction in Section 2.1, the second
subsection deals with setting up tools and workpieces. The third and fourth subsections deal mainly with the
production, i. e. the execution of NC programs.
The control systems 810D/840D/840Di are based on an open control concept which allows the machine
manufacturers (and partially also you as the user) to configure the control system according to individual
requirements. That’s why it is possible that there will be differences in the manual as regards the sequences
of action. Please, follow the instructions of the machine manufacturer if necessary, and carefully check your
inputs before you start the machine.
For further operating components for the control system and training keyboards for SinuTrain,
please refer to the catalog NC60 "Automation systems for machine tools"
(SIEMENS order no. E86060-K4460-A101-A8-7600).
18
810D/840D/840Di Beginner’s Manual
Depending on whether you train yourself directly on the machine or whether you use the control-identical
Sinumerik training system on the PC, you have to start your work in a different way.
Turning on
If... you are working on the If ... you are working on the Windows PC:
machine:
Then, of course, first you will Then you will start the software
have to look for the main switch via the icon on the desktop or via
located either on the side of the the entry in the start menu
machine or on the control (Start > Programs > SinuTrain ...
cubicle. > SinuTrain START).
19
2.1 Operation - Overview of the control system
Area switchover
By using the <Area switchover key> ( on the slimline operator panel or on the PC
keyboard), you can - independent of the operating situation you are currently in - unhide
the main menu with the six opreating areas of the control system.
20
810D/840D/840Di Beginner’s Manual
21
2.1 Operation - Overview of the control system
( ) By pressing the <Area switchover key> ( ) repeatedly, you are able to go back and
forth between the two operating areas last active what is quite useful, e.g. when
programming to see the tool data in parallel.
Just try it with both operating areas "Program" and "Parameters".
Turning off
If ... you work on the machine: If ... you work with SinuTrain on the PC:
During your first contacts with the user interfaces of the control systems, you have already learnt something
about the key <Area switchover> ( ), the <etc.> key ( ) and the horizontal softkeys of the main menu. In
the following, further important keys are introduced to you (using the example of the SinuTrain training
keyboard "QWERTY" and the control system screen.
22
810D/840D/840Di Beginner’s Manual
... By using the horizontal softkeys (numbered from the left to the right), you
change between the operating areas. Within one operating area, you get
into further menu areas and functions which can be called via the vertical
softkeys.
+ * By using the vertical softkeys (numbered from the top to the bottom), you
: activate functions or branch to further subfunctions which are called via
+ * the vertical softkey bar.
By using the <Area switchover> key, the main menu with the operating
areas is displayed.
+ * By using the <etc.> key, you extend the horizontal softkey bar.
+ * By using <Machine area key>, you can go directly to the operating area
"Machine".
The <Recall> key closes the window on top and lets you return to the
higher-level menu. This function is always available if the key symbol
above the first horizontal softkey is displayed.
23
2.1 Operation - Overview of the control system
By pressing the<Shift> key, you can call the upper characters on double-
assigned keys and write capital letters (see above).
By using the <Input> key, you can accept an edited value, open a list or
a file or select the end of a program line in the editor and go with the
cursor to the next, new line.
Practical You want to enter the following NC block in the control system: G0 X40 Z-3.5
example:
The use of capital letters and the clear structure of the inputs by space
characters is common and advisable. But the control system also
"understands" this input: g0x40z-3.5
This key acknowledges and clears the alarm selected by this symbol.
24
810D/840D/840Di Beginner’s Manual
The display of the "i" symbol in the dialog line shows that you can call
further explanations on the current operating status by using this
information key. The "online help", for instance, is especially useful for
certain NC commands. (see page 76).
If several windows are displayed on the screen, only one of them has got
the focus; you can see this by the window frame having a different color.
With the help of this key you can go from one window to the next
(alternative: mouse click into the window). Key inputs always refer only
to the window with focus!
The keys <Page Up> und <Page Down> are used to move the scrollbar
of a window, allowing you to scroll, e.g. through long part programs.
By pressing this key, you move the cursor to the end of the line.
You can move the cursor with the four <arrow keys> .
By pressing the <selection key> or the <toggle key> ( or on the
numeric keygroup with "NUM LOCK" switched off), you activate or
deactivate a field or select in input fields (if you can see the toggle symbol)
one of various options (alternative: mouse click).
By pressing the <Delete> key, you delete the selected character or the
value of an input field.
You delete the character left of the cursor with the <Delete key>
(<Backspace>).
Practical You have entered the NC block G1 X0 F0.2 and completed with <Input>. Now you
example: want to change the feedrate to 0.3. This can be done using various possibilities:
1st possibility:
Since the last character has to be replaced here,
it is useful to go directly to the end of the line with
<END> and to delete the 2 (the character left of
the cursor) with <Backspace>.
25
2.1 Operation - Overview of the control system
In the input fields, you can use the <Edit> or <Undo> key to switch over
to the editing mode (see practical example).
If you want to undo an erroneous entry in the editing mode, then press
again. The overwritten entry will be recovered.
Practical You want to change the value -82.47 to -82.475 in the input field without entering the
example: whole digit once again. The value to be changed is selected ( ).
+ + The key <NC Start> is intended mainly to start the execution of programs.
+ *
+ + By pressing the key <NC Stop>, you stop the execution of the current
+ * program. Then you can continue the execution of the current program in
the current block by pressing <NC Start>.
+ + The key <Single block> allows you to execute a program block by block.
+ * The program execution stops automatically after each block and can be
continued with <NC Start>. Pressing <Single block> again lets you return
to the following block.
+ + The <EXIT> button is only available on the training keyboard. This stops
+ * and exits from the software program (softkey alternative available).
* Always press the keys one after the other as shown here and then hold them down!
26
810D/840D/840Di Beginner’s Manual
Screen layout
2 Channel status (reset, interrupted, active) 12 Only one operating window has got the fo-
cus. It is marked by a different color. In this win-
3 Program status (interrupted, running, stopped)
dow, inputs are possibly active (see also key).
4 Channel name (in SinuTrain, the selected technol-
13 Here you will find instructions for the opera-
ogy is displayed here, e.g. ’SinuTrain_Mill’)
tor (if any).
5 Alarm and messages are displayed in this field, to-
14 The Recall symbol indicates that you are
gether with a number under which further explanations
in a submenu and that can you quit it by pressing
can be read in the documentation.
the key.
27
2.2 Operation - Setting up
2.2 Setting up
In this section, you will learn fundamental sequences
of operations required to set up SINUMERIK control
systems 840D/810D/840Di.
Using a milling machine in the configuration "with tool
management"*, you will learn ...
• how to create a new tool in the tool management
Section 2.2.3 lists all tools which will be used in the following sample programs,
and Section 2.2.4 deals with scratching and zero setting.
* The procedure can be transferred to the correspondingly other technology without any problem.
28
810D/840D/840Di Beginner’s Manual
2.2.1 Tool management: Creating a tool and loading it into the magazine
Supposed you have a machining center with a (chain) magazine. You want to create a 63 milling head in
the tool management and load it into any of the free magazine locations.
First, mount the tool manually in the spindle. When doing so, observe the instructions of the machine
manufacturer. Then turn again to the control system screen.
Creating a tool
29
2.2 Operation - Setting up
30
810D/840D/840Di Beginner’s Manual
31
2.2 Operation - Setting up
Use the softkey [Tool details] to open the input field for the tool data.
Press the softkey [<<] to close the input box and to return to the tool list.
The fields MN (magazine number) und Pl (location) are still free. This means that the
tool is in the tool cabinet and has to be loaded into the magazine....
32
810D/840D/840Di Beginner’s Manual
If ... you want to set down the tool If... you have got e.g. a big "confused"
on a certain magazine place ... magazine ....
... you can enter the data ... it is easier if the control system
manually: proposes an already unused magazine
location:
33
2.2 Operation - Setting up
Now, the way of the easy tool management: Your SINUMERIK control system manages T numbers and
no tool names. Supposed you have a turning machine and you want to set down a 3mm recessing tool on
the turret location 5.
34
810D/840D/840Di Beginner’s Manual
Each type of tool has got a number. The first digit classifies the group of tools:
1xx - milling tools
2xx - drilling tools
4xx - grinding tools
5xx - turning tools
7xx - special tools
The field is assigned the number 220 for the type "center drill" by default.
35
2.2 Operation - Setting up
If you have not yet known the If If you know the type number for the
type number for the "recessing "recessing tool"...
tool"...
... you can select the type from ... you can enter the number directly:
the list:
At the same time, the list box 520 Already when entering the first digit, the
with the tool groups will be list box of the turning tools will be
opened when deleting the opened automatically for orientation.
default number.
Select the group "5xx turning Just try several ways how to enter in
tools" and accept the selection. order to get used to it.
...
36
810D/840D/840Di Beginner’s Manual
Length 1 (D2) as D1
Length 2 (D2) 39
39 Radius of the edge: as D1
Now you can create all tools you need for the sample
programs according to the procedure you did before...
37
2.2 Operation - Setting up
In the previous sections, you created both one milling and one
turning tool as an example. The sample programs of the Chapters
3 and 4 use the following tools. In order to be able to carry out these
programs with the help of the simulation diagrams, you have to
create these tools also in the operating area "Parameters".
(Of course, you can also use your "own" tools of the same type with
different names. When programming remember the changed
names for calling the tools.)
* Depending on the particular software version, the radius of a drill can be entered only by direct editing of the tool
initialization file. If you are not familiar with it, you should create drills for the simulation as end mills!
38
810D/840D/840Di Beginner’s Manual
* Depending on the particular software version, the radius of a drill can only
be entered by direct editing of the tool initialization file. If you are not used
to it you should create the drill for the simulation as an end mill.
** If, when creating a tool, a "clearance angle" or "tool clearance angle" not
equal to 0 is entered this is monitored for collosion when turning undercuts
(see example in Section 4.2).
*** This tool was discussed in Section 2.2.2.
**** If you drill in the G17 plane (recommended), length 1 refers to the Z
axis in the tool compensation, deviating from the compensation values of
the turning tools (see Chapter 5 of the Operator’s Guide)
39
2.2 Operation - Setting up
When scratching you carefully traverse a tool gauged beforehand to the workpiece until this "scratches". The
control system can calculate the zero offset which the coordinates of the NC program are related to on the
basis of the tool compensation data and the current position of the toolholder.
Scratching and setting zero of the workpiece is a direct interaction of control and machine or of tool and
clamped workpiece. The function "Scratching" is therefore not simulated in the training software
SinuTrain.
40
810D/840D/840Di Beginner’s Manual
41
2.2 Operation - Setting up
42
810D/840D/840Di Beginner’s Manual
2.3.1 Saving data to floppy disk and reading them from floppy disk
Your SINUMERIK control system offers you several opportunities to read in and read out data. You can select
them in the operating area "Services" via the vertical softkey bar:
[V24 ] Serial interface [PG] Programming device
[Disk... ] Floppy disk drive [Archive... ]Archive directory on the hard
disk
The data exchange between control system and floppy disk will be discussed in the following. Insert a
formatted, non write-protected floppy disk.
You find a detailed example regarding the creation of workpiece directories and
programs in Section 3.1.
43
2.3 Operation - Managing and executing programs
44
810D/840D/840Di Beginner’s Manual
If ... you want to know before saving which data have already been stored on the floppy
disk .....
45
2.3 Operation - Managing and executing programs
Background:
The extension "ARC" stands for ’archive’. The complete data structure with workpiece
directory, part program and subroutine is kept within the archive file "TEST.ARC.
This structure will be recovered when restoring an ARC file.
46
810D/840D/840Di Beginner’s Manual
If a program is not yet completed or if it has still to be tested, you can withdraw its "release", preventing it
from being loaded, selected and executed.
In order to execute a program, it must be in the NC main memory. If the control system possesses a hard
disk, this is carried out using the "Load" function. Because the memory capacity of the NC main memory is
limited, you should unload programs you temporarily do not need, i.e. to store them back to the hard disk (if
any).
One of the loaded programs can be selected for execution. This is done using the "Select" function. The
name of the selected program is shown in the top right of the head line of the screen.
Before you start a program you should remember the following things:
47
2.3 Operation - Managing and executing programs
48
810D/840D/840Di Beginner’s Manual
Now we come to a concrete example: You have programmed the workpiece "Complete" in the operating area
"Program" or you have loaded the program data in the operating area "Services", e.g. from floppy disk.
49
2.3 Operation - Managing and executing programs
If workpiece list and part program If the part program to be processed has
have got the same name as it a different name than the workpiece
is here the case... directory (e.g. because the part has to
be machined from two sides and you
have therefore created two main
programs called "SIDE_1" and
SIDE_2")...
... the part program having the ... ... select the part program (type "MPF")
same name (type "MPF") will in the workpiece directory and then
be loaded by the "selection" of press [Selection].
the workpiece (type "WPD").
The name of the selected program will now appear in the head line of the screen:
50
810D/840D/840Di Beginner’s Manual
In critical situations:
51
3.1 Programming: Milling - Workpiece "Longitudinal guide"
3 Programming: Milling
In this chapter you will learn how to program the
control systems SINUMERIK 810D/8450D/840Di,
using the example of two simple sample workpieces.
• Fundamental functions
52
810D/840D/840Di Beginner’s Manual
Initial status:
• Any operating area (here
"Machine") and mode (here
"AUTO")
53
3.1 Programming: Milling - Workpiece "Longitudinal guide"
Because you want to create a workpiece (WPD = WorkPieceDirectory), you can accept
the file type without any changes.
54
810D/840D/840Di Beginner’s Manual
An additional space line (by ’Input’) is used for structuring the program.
55
3.1 Programming: Milling - Workpiece "Longitudinal guide"
The tool (T = tool) is selected with its The tool (T = tool) is selected with its T number which
plain-text name which was assigned was assigned in the tool management (operating area
in the tool management (operating ’Parameters’).
area ’Parameters’). Notice: This case differentiation in the tool
management will later not be explained
once more in detail. Then you have to
change tool call yourself!
M6 With machines equipped with a tool changer, M6 will call the tool change.
The functions of a group cancel each other. To see which functions are currently active, press the
softkey in the operating area ’Machine’.
56
810D/840D/840Di Beginner’s Manual
(The key for accepting a program line is not given here in detail because of better legibility.
Accept each line manually by pressing the key!)
G0 Z2 S600 M3 M8 Before the cutter is traversed to the required milling depth, position it on an intermediate
plane (Z2) above the workpiece surface.
This guarantees safety when starting up the program (if the workpiece zero or the tool
compensation were inadvertently set incorrectly). Furthermore, it is possible to
accelerate the spindle in this block and to turn on the coolant.*
S600 speed S = 600 min-1
M3 tool rotates clockwise (CW rotation)
M8 coolant is turned on
* Caution: All technological data used are only example values. Use your own empirical values
on the machine and observe the information provided in the tool catalog.
Note:
For reasons of safety, this traversing
path should be realized as a G1 block
with feedrate:
G1 Z-10 F400
57
3.1 Programming: Milling - Workpiece "Longitudinal guide"
Space line for structuring at the end of the machining with the shell end mill
T="EM16" ; End milling cutter D16mm The two edges of the groove
M6 (61 mm in width rough-milled
with a ø60 shell end mill)
will be milled to dimension using the
16 mm end mill.
G17 G54 G64 G90 G94 The same G functions as we had for the first
machining will also be used as the basis for machining
with the end mill.
G0 Z100 M5 M9 At the end, the workpiece is left at rapid traverse rate, the spindle is stopped and the
coolant is turned off.
58
810D/840D/840Di Beginner’s Manual
If ... you only want to mill (not drill), or if you just want to have a closer look at the simulation
then you can end the progam now:
...
To be able to supplement the program later by the drilling machining operations, select
the workpiece directory "LAENGSFUHERUNG.WPD" in the operating area "Program",
open it with <Input>, select the part program and open this with <Input>.
Please make sure that the following program lines (see below: T="CD12" ...) are
inserted before the command M30.
Centering
T="CD12" ; Center drill 90° D12mm First, all twelve holes are to be centered.
M6
G17 G54 G60 G90 G94 When drilling, G60 (exact stop) is
used in order to ensure a high
degree of dimensional accuracy
for all holes.
59
3.1 Programming: Milling - Workpiece "Longitudinal guide"
G0 X-65 Y40 The first thread hole is approached at rapid ttraverse with a safety clearance (in the top
G0 Z2 S500 M3 M8 left corner of the screen), and the coolant is turned on.
F150 The input of the feedrate is here not in the G1 block because all traversing paths of
machining are realized in one cycle:
60
810D/840D/840Di Beginner’s Manual
According to the drawing, the holes have a diameter of 10 mm and are to have a chamfer
of 1 mm in width. A 90° center drill must therefore be inserted 5.5 mm.
Notice ... This ’final drilling depth’ can be entered in two different ways:
You can also change between ABS and INC with the <Shift> key or with the softkey
[Alternative] if the field ’Final drilling depth’ is selected.
Both input options are correct. The setting INC is, however, recommended for centering
because it is thus possible to center drill holes with one incremental depth on different
reference planes.
61
3.1 Programming: Milling - Workpiece "Longitudinal guide"
’Modal’ means that a command (e.g. a G function, a programmed axis position or, as in this case, a complete
cycle) is effective beyond the block in which it is programmed. In the case of drilling cycles this would mean
that the block would be executed once again after each traversing path programmed after this block.
THREAD ; Subroutine with coordinates You will write the subroutine itself later. At this point it
is just called with its name. At all points approached
in the subroutine, the drilling cycle CYCLE82 is called
because of modal efficiency.
These two softkeys are used to disable the modality of the cycle, and you will quit the
drilling menu.
(Alternatively, you can simply also type MCALL in the text editor. With this procedure, you
will not quit the drill menu. At the end of all drill operations, you will quit it with .)
62
810D/840D/840Di Beginner’s Manual
INTERNAL ; Subroutine with coordinates Same procedure as with the subroutine THREAD
Tap-hole drilling
T="TD8_5" ; Tap hole drill for M10 thread The threaded holes M10 have a
M6 ø8.5 mm tap hole.
G17 G54 G60 G90 G94 A twist drill is used for
G0 X-65 Y40 drilling.
G0 Z2 S1300 M3 M8
F150
63
3.1 Programming: Milling - Workpiece "Longitudinal guide"
THREAD ; s.a. Call of the subroutine with the positions of the four
holes.
Tapping
T="T_M10" ; M10 tap
M6
G17 G54 G60 G90 G94 can be omitted here. The feedrate
G0 X-65 Y40 results from the entered speed and the
G0 Z2 S60 M3 M8 thread pitch which is indicated in the
cycle.
64
810D/840D/840Di Beginner’s Manual
2
0
...
( )
If the entries in the "Table" and
"Selection" fields do not comply
with the given values, you can
switch over with the key .
G0 Z100 M5 M9
65
3.1 Programming: Milling - Workpiece "Longitudinal guide"
66
810D/840D/840Di Beginner’s Manual
67
3.1 Programming: Milling - Workpiece "Longitudinal guide"
Additional information:
68
810D/840D/840Di Beginner’s Manual
69
3.1 Programming: Milling - Workpiece "Longitudinal guide"
70
810D/840D/840Di Beginner’s Manual
then use the softkey [Single Block] to switch to single block simulation.
The simulation will stop after each block; to continue, press [NC Start].
...
Pressing [Single Block] once more lets you return to subsequent block simulation.
You can relocate a certain part with the < Arrow Keys>, and with <+>/<-> you can zoom it.
71
3.1 Programming: Milling - Workpiece "Longitudinal guide"
Section 2.3.2 decribes in detail how you load the program into the NC main memory in
order to be able to start it afterwards in the AUTO mode in the "Machine" operating area
for machining.
72
810D/840D/840Di Beginner’s Manual
• Arcs
(dimensioned using both Cartesian
and polar coordinates)
• Rectangular pocket
(roughing and finishing)
• Circular pocket
( ) Initial status:
( ) • "Program" operating area
( ) • Workpiece management
( )
(same procedure as for the workpiece
"Longitudinal guide" in Section 3.1)
73
3.2 Programming: Milling - Workpiece "Injection mold"
...
; Injection mold with path milling and pockets Comment line as the program header
74
810D/840D/840Di Beginner’s Manual
3.2.2 Straight lines and arcs - path milling with cutter radius compensation
The material is to be shaped by cutting
along the contour marked in blue by
means of a 20mm end mill.
The contour is to be approached at
point A.
Milling is carried out synchronously,
the cutter rotating CW traverses around
the contour in CW direction.
G450 CFTCP G450 defines the approaching behavior at the starting point of the contour and the
behaviour when traversing along contour corners: As far as contour corners are
concerned, the appropriate traversing or approaching movements are carried out along
a circular path.
CFTCP (acronym for "Constant Feed Tool Center Path") defines that the programmed
feedrate refers to the cutter center-point path (not to the contour).
These commands (and of course all the other) are described in detail in the online help,
which you can call - as described in the following - if your control system possesses a
hard disk:
75
3.2 Programming: Milling - Workpiece "Injection mold"
76
810D/840D/840Di Beginner’s Manual
77
3.2 Programming: Milling - Workpiece "Injection mold"
G111 X120 Y75 G111 is used to enter the (absolute!) coordinates of the center point (of the pole).
G2 RP=20 AP=4 The dimensions of the distance RP (radius polar) and the angle AP (angle polar) in the
following G2 block are entered with an equality sign!
(Alternatively, G451 would extend the two straight lines of the cutter center path up to
the intersection point.)
78
810D/840D/840Di Beginner’s Manual
79
3.2 Programming: Milling - Workpiece "Injection mold"
As the drilling cycles for the workpiece "Longitudinal guide", the input screen for the
rectangular pocket cycle is called via softkeys. To open the submenu on the vertical
softkey bar, use the softkey in the main menu.
80
810D/840D/840Di Beginner’s Manual
Press this softkey to accept the finishing cycle into the program.
According to version and screen resolution, differences might occur in the presentation
of the cycles in the editor. It is therefore recommended to use the "Recompile" function
to carry out any changes in the cycle paramaterization.
81
3.2 Programming: Milling - Workpiece "Injection mold"
0 - Machining "Roughing"
- Infeed dimension ... *
1 - No finishing dimension
( ) All inputs can be found in the
illustrations on the left.
-10
( )
15
25
25
...
Press this softkey to accept the cycle for the first circular pocket into the program.
82
810D/840D/840Di Beginner’s Manual
Now it would be possible to call the dialog box for the second circular pocket cycle with
the softkey [Circular pocket]. As already described in the beginning, another procedure
will be exercised here.
83
3.2 Programming: Milling - Workpiece "Injection mold"
84
810D/840D/840Di Beginner’s Manual
85
3.2 Programming: Milling - Workpiece "Injection mold"
120
G0 Z100 M5 M9 The machining operation is finished: Retract from the workpiece; spindle and coolant
OFF!
M30 End of program (if not yet written beforehand).
86
810D/840D/840Di Beginner’s Manual
87
3.2 Programming: Milling - Workpiece "Injection mold"
88
810D/840D/840Di Beginner’s Manual
Notes
89
4.1 Programming: Turning - Workpiece "Shaft"
4 Programming: Turning
In this chapter you will learn how to program the control systems
SINUMERIK 810D/840D/840Di, using the example of two simple
sample turned parts.
What we told already in the "milling chapter" also applies here: The
sample programs are only intended as an entry to give you a first
overview as regards the programming possibilities of the control
system.
90
810D/840D/840Di Beginner’s Manual
Initial status:
• Any operating area (here
"Machine") and mode (here
"AUTO")
91
4.1 Programming: Turning - Workpiece "Shaft"
Because you want to create a workpiece (WPD = WorkPieceDirectory), you can accept
the file type without any changes.
92
810D/840D/840Di Beginner’s Manual
93
4.1 Programming: Turning - Workpiece "Shaft"
G18 G90 DIAMON G18 defines the XZ plane as the machining plane (default for turning). G90 defines that
all coordinates are entered absolutely, i.e. referred to the workpiece zero point.
DIAMON means "Diameter ON", i.e. the X values are entered exclusively with reference
to the diameter (independently of G90/G91).
Alternatives: DIAMOF ..... Reference to radius ...... independently of G90/G91
DIAM90 Reference to diameter... with G90 active (abs. dimens.)
Reference to radius........ with G91 active (incr. dimens.)
The line is closed with <Input>. The cursor goes to the next line. (This key will not be
explained in detail once again).
94
810D/840D/840Di Beginner’s Manual
The G1 command from previous blocks is "modally effective". This means that all
subsequent blocks would traverse as straight lines, also without writing G1. (G1 will only
be canceled by a command for an arc G2/G3 or a rapid traverse movement). But G1 is
here always written because of clarity.
95
4.1 Programming: Turning - Workpiece "Shaft"
G1 Z-44 RND=2.5 Program the other traversing paths along the contour!
CHR=1 generates a chamfer between the straight lines with a width of 1 mm.
G1 X60 CHR=1
(A chamfer whose length has been dimensioned would be programmed with the
G1 Z-70 RND=1
command CHF.)
G1 X66 RND=1
G1 Z-75 RND=1
G1 X76
96
810D/840D/840Di Beginner’s Manual
G0 G18 G40 G500 G90 X400 Z600 T0 D0 G97 S300 M4 M9 Copy these two program lines! At the
M17 end of the first line, press to accept
them. At the same time, the cursor will
go to the next line.
It is traversed...
- at rapid traverse (G0),
- in the XZ plane (G18),
- with the tool radius compensation deselected (G40)
- in the machine coordinate system (G500)
- to the absolute position (G90) X400/Z600.
This position refers to the toolholder (T0 D0). The tool compensations are disabled.
Because the axes of some machines are only traversed when the spindle is rotating,
the speed (G97 S300) and a direction of rotation (M4) have to programmed. The coolant
is turned off (M9).
M17 marks the end of the subroutine.
97
4.1 Programming: Turning - Workpiece "Shaft"
TCP ; Move toolholder to change point Selection of the subroutine for appproaching the tool
change point and optional comment.
Depending on how your control system is configured, there are different ways how to call the tool:
Either you are using a control system or you are using a control system which
which manages tools with manages tools with T numbers
plain-text names (see (see Section 2.2.2) ...
Section 2.2.1)
The tool (T = Tool) is selected The tool (T = tool) is selected with its T number which
with its plain-text name has been assigned in the tool management (operating
"Roughing 1" which has been as- area ’Parameters’). This number corresponds to the
turret location of the tool (here: location 1) .
signed in the tool management
(operating area "Parameters") Notice: This case differentiation in the tool
management will later not be explained
once more in detail. Then you have to
change tool call yourself!
98
810D/840D/840Di Beginner’s Manual
G96 S250 LIMS=3000 M4 M8 G96 enables the constant cutting rate, i.e. the cutting
tool cuts - independent of the diameter on which it is
located - by 250 m/min (see Section 1.2.3). Because
the speed would be infinite, a limit speed is always
programmed together with G96 (LIMS for limit speed),
here 3,000 1/min.
M4 defines the direction of rotation CCW (viewing
direction "back from the chuck") .
M8 turns on the coolant.
G18 G54 G90 These are some further fundamental functions which will be explained more in detail in
the following overview. These functions often apply to a whole program ("modal
efficiency"), and they can be written in the program header once. But it is better to
implement these functions at each tool change.
This is especially true for the complete machining on turning machines where several
technologies (turning, drilling, milling) occur on different machining planes in
combination.
The functions of a group cancel each other. To see which functions are currently active, press
the softkey in the "Machine" operating area.
99
4.1 Programming: Turning - Workpiece "Shaft"
100
810D/840D/840Di Beginner’s Manual
101
4.1 Programming: Turning - Workpiece "Shaft"
4.1.5 Finishing
T="FT1" D1 ; Finishing tool R0.4 Tool call
G96 S320 LIMS=3000 M4 M8 Cutting rate for finishing
320 m/min
G18 G54 G90 Fundamental functions for machining
G0 G42 X22 Z2 Approaching near the starting position for the finishing
traversing paths of the subroutine "CONTOUR".
At the same time, G42 enables the tool radius
compensation right of the contour.
M30 The simulation expects the command M30 for marking the end of the program. The
simulation would take place even without M30, but then an error message would be
provided. It is therefore recommended to write M30 before the simulation is called for
the first time.
102
810D/840D/840Di Beginner’s Manual
103
4.1 Programming: Turning - Workpiece "Shaft"
104
810D/840D/840Di Beginner’s Manual
If there still is an error in the simulation, you should generally use the <Recall> key to
quit the simulation window and not [Program correct.] since the latter function only allows
the editing of the main program.
( ) If, finally, the subroutine is correct, position the focus on the subroutine window and
close it with the softkey.
G90 The traversing path in the last block was programmed incrementally (G91).
Use G90 to switch over to absolute programming!
105
4.1 Programming: Turning - Workpiece "Shaft"
106
810D/840D/840Di Beginner’s Manual
107
4.1 Programming: Turning - Workpiece "Shaft"
108
810D/840D/840Di Beginner’s Manual
109
4.1 Programming: Turning - Workpiece "Shaft"
110
810D/840D/840Di Beginner’s Manual
( )
Create there a subroutine with the
name "CONTOUR".
...
If necessary, see Section 4.1.1.
111
4.2 Programming: Turning - Workpiece "Complete"
112
810D/840D/840Di Beginner’s Manual
( )
The ’transition to the following
4 element’, the arc R23, is rounded with
R4 .
If necessary use the <toggle key> or
the softkey [Alternative] to switch from
’FS’ (chamfer) to ’RD’ (radius) and
enter the value.
113
4.2 Programming: Turning - Workpiece "Complete"
* The meaning of I and K as the center point coordinates in X and Z is illustrated in the
help screen which you can call up with the key if the cursor is positoned on I or K.
Pressing lets you return to the online graphics.
( ) Furthermore, it is to be decided
whether the transition between the
horizontal line and the arc will be at
Z-20 or only at Z-50 (see diagram).
114
810D/840D/840Di Beginner’s Manual
In addition to the coordinates, the angles of the arc are also calculated and displayed:
α1 Starting angle referred to the positive Z axis
α2 Starting angle referred to the previous element (here the horizontal line)
β1 End angle referred to the positive Z axis
β2 Aperture angle of the arc
The starting angle of the arc is important for the subsequent production which (without
taking into account the rounding) decreases towards the X axis by less than 46°.
The exact angle taking into account R4 could also be determined if R4 would not be
entered as a rounding, but as an "independent" contour element with tangential
connections (softkey [Tangent prev.elem.]) to the horizontal line and the arc R 23. This
leads to a starting angle R23 of about 42°.
When selecting the tool in the main program, take into account that the clearance angle
of the tool to the Z axis is greater than this starting angle of the arc (in this regard, see
also Section 2.2 "Setting up", page 39).
115
4.2 Programming: Turning - Workpiece "Complete"
90 "Theoretically", it ends at
-80 X 90.000 abs
Z -80.000 abs
4
and is rounded with ...
RD 4 .000.
116
810D/840D/840Di Beginner’s Manual
117
4.2 Programming: Turning - Workpiece "Complete"
118
810D/840D/840Di Beginner’s Manual
...
119
4.2 Programming: Turning - Workpiece "Complete"
G17 G54 G90 G95 Plane selection G17* for machining on the end face, activation of zero offset G54,
absolute programming G90, feedrate in mm/rev G95
* For drilling centrally, the machining can generally also be programmed in the G18
plane. But when doing so, please note that the length compensation changes:
G17: length1 in Z (as for milling) G18: Length3 in Z !!!
G0 X0 Z2 The workpiece is approached at rapid traverse rate. Later, when executing the program,
make sure that there is no collision with the tailstock!I
Drilling is carried out at feedrate through the workpiece having a length of 100 mm (with
G1 Z-105 F0.1 an allowance of 5 mm).
...
120
810D/840D/840Di Beginner’s Manual
; Hole circle on end face Comment line for better legibility of the program.
TRANSMIT This function (Transform Milling Into Turning) carries out transformation of the axes for
milling and drilling at the end face.
The following traversing movements can be carried out in the Cartesian coordinate
system (X,Y) as generally used for milling. The control system will then convert these
program blocks for the real axes (X,C). The Z axis remains unchanged.
(The appropriate function for peripheral face machining is called TRACYL).
121
4.2 Programming: Turning - Workpiece "Complete"
MCALL The "MCALL" command will cancel the modal efficiency of the drill cycle.
122
810D/840D/840Di Beginner’s Manual
On the following page you can find again an overview of the whole part program.
123
4.2 Programming: Turning - Workpiece "Complete"
124
810D/840D/840Di Beginner’s Manual
Notes
125
Appendix
Index
127
810D/840D/840Di Beginner’s Manual
Behandelte Befehle
Commands and addresses
und Adressen
discussed in this Manual Cycles discussed
A J Drilling cycles
AP= 78 J 10, 77 CYCLE82 61
CYCLE83 121
C K
CFTCP 75 K 13, 114 Milling cycles
CHF= 96 POCKET3 80, 81
CHR= 96 L POCKET4 82
CR= 77
LIMS= 16, 99
Turning cycles
D M CYCLE93 109
D 38, 98 CYCLE94 106
M2= 121
DIAMON 6, 94 CYCLE95 101
M3 57, 107, 120
DIAMOF 6, 94 CYCLE96 106
M4 99
DIAM90 94 CYCLE97 107
M5 58
M6 56
F M8 57, 99 Position cycles
F 15, 17, 58, 100 M9 58, 97 HOLES2 69, 122
M17 68, 69, 96, 97, 118
G M30 59, 86
MCALL 62, 123
G0 57, 100
G1 58, 100
G2 10, 13, 77 R
G3 13 RND= 96, 118
G17 5, 6, 56, 99, 120, 121 RP= 78
G18 6, 56, 99, 120
G19 6, 56, 99 S
G40 78, 102, 119
S 14, 16, 57, 97, 99, 120
G41 76
S2= 121
G42 102, 119
SETMS( ) 121, 123
G53 56, 99
G54 39, 40, 56, 99
G55 56, 99 T
G56 56, 99 T 56, 98
G60 56, 99 T=" " 56, 98
G64 56, 99 TRANSMIT 121
G90 8, 11, 56, 99 TRACYL 121
G91 8, 11, 56, 99 TRAFOOF 123
G94 56, 99
G95 56, 99, 120 X
G96 16, 99 X 5, 57, 94, 121
G97 16, 120
G111 78
G450 75, 76
Y
G451 75, 76 Y 5, 57, 121
For a description of all commands and
cycles of the control system, please refer
I Z to the user documentation
I 10, 13, 77, 114 Z 5, 57, 94 "Programming Guide - Fundamentals".
128
Reference of photos and illustrations
DMG
Europa-Verlag
Iscar
Reckermann
Sandvik
Seco
for making available the photographs on the pages 14, 15, 16, 17, 38 and 39.
http://www.ad.siemens.de/jobshop
http://www.siemens.de/sinutrain
Siemens AG
Automatisierungs- und Antriebstechnik
Motion Control Systems
Postfach 3180, D - 91050 Erlangen