0% found this document useful (0 votes)
54 views146 pages

Wop bf1

This document is the user's guide for the Graphic Programming System software version 6. It provides programming examples for drilling, boring, and milling operations in part 1. The guide gives an overview of the software and examples to demonstrate basic graphic programming principles. It is intended to introduce users to the system through practical samples and can also be used later as a reference.

Uploaded by

arash
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views146 pages

Wop bf1

This document is the user's guide for the Graphic Programming System software version 6. It provides programming examples for drilling, boring, and milling operations in part 1. The guide gives an overview of the software and examples to demonstrate basic graphic programming principles. It is intended to introduce users to the system through practical samples and can also be used later as a reference.

Uploaded by

arash
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 146

Graphic Programming System

Drilling/Boring and Milling


Part 1: Programming Examples
Software Version 6
User’s Guide 07.97 Edition

User Documentation
SINUMERIK 840C / OEM Version for Windows

General Documentation User/Manufacturer/Service Docum.

ACR 20/
ACR 20/
840C 840C Accessories
Accessories 805SM/840C
805SM/840C
SINUMERIK
SINUMERIK SINUMERIK SINUMERIK SINUMERIK

Brochure Catalog NC 36 Catalog NC Z Link to SINEC L2-DP with


Module
 IM328-N, Slave
 IM329-N, Master and Slave

User Documentation

SINUMERIK
840/840C/
SINUMERIK 840/840C/850/
840C
840C 840C 880/880 GA2 880/880 GA2 840C
840C 840C
840C
SINUMERIK SINUMERIK
SINUMERIK SINUMERIK SINUMERIK SINUMERIK SINUMERIK SINUMERIK

Operator’s Guide Programming User’s Guide Cycles, Measuring Cycles User’s Guide
 OEM Version for Guide Graphic Programming System Programming Version 20 Simulation Milling
Windows  Drilling/Boring and Milling User’s Guide and Turning
Parts 1+2 Guide
 Standard
 Turning Parts 1+2
Diagnostics Guide  On PC
 Environment Description 840C

Manufacturer Documentation

840/840C/ 840/840C/ 840/840C/


840C 880/880 GA2 880/880 GA2 880/880 GA2
800 840C 840C
840C
SINUMERIK SINUMERIK SINUMERIK SINUMERIK
SINUMERIK SINUMERIK SINUMERIK SINUMERIK SINUMERIK SINUMERIK
840/880
840/880

Interface: Function Block PLC 135 WB/WB2/SD SINUMERIK Planning Guide OEM Version for
 Signals Packages Quick Reference, WS 800A Graphic Windows
 Connection Function Macros Planning  CL800 Cycle Language Programming System  User’s Guide
Conditions S5-HLL  User’s Guide  Alarm Dialog
for PC

Manufacturer Documentation Service Documentation

840/840C/850/
840C/ 840/840C/ 840/840C/ 840/840C/
SINUMERIK 840/840C/
840/840C/850/
880/880
840D/611D
GA2 SINUMERIK 880/880 GA2 880/880GA2
880/880 GA2
880/880 GA2
SINUMERIK 880/880 GA2
SINUMERIK SINUMERIK 840C
SINUMERIK SINUMERIK SINUMERIK SINUMERIK SINUMERIK SINUMERIK

Description of Computer Link Computer Link Installation Guide Measuring Cycles Spare Parts List
Functions  SINT  Message Frame  Instructions Version 20
 SIN PS 231 Description  Lists
Safety Integrated  SIN PS 315 Start-up Guide
 General Description  Difference Description
Windows
Introduction 1

Graphic Programming System


Software Version 6 Help Function 2
Drilling/Boring and Milling
Part 1: Programming Examples

Exercise Objectives 3
User’s Guide
User Documentation

Programming Example 1 4

Programming Example 2 5

Valid for

Control Software Version


SINUMERIK 840C/CE as from SW 4
(Standard/Export Version) Appendix 6

Index 7

07.97 Edition
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.

Status code in the “Remarks” column:

A . . . . New documentation.
B . . . . Unrevised reprint with new Order No.
C . . . . Revised edition with new status.
If factual changes have been made on the page since the last edition,
this is indicated by a new edition coding in the header on that page.

Edition Order No. Remarks


11.95 6FC5198–6AA20–0BP0 A
09.96 6FC5198–6AA20–0BP1 C
07.97 6FC5198–6AA20–0BP2 C

Other functions not described in this documentation might be


executable in the control. This does not, however, represent an
obligation to supply such functions with a new control or when
servicing.

This publication was produced with Interleaf V 5.4 We have checked that the contents of this document correspond to
the hardware and software described. Nonetheless, differences might
The reproduction, transmission or use of this document or its exist and therefore we cannot guarantee that they are completely
contents is not permitted without express written authority. Offenders identical. The information contained in this document is, however,
will be liable for damages. All rights, including rights created by patent reviewed regularly and any necessary changes will be included in the
grant or registration of a utility model or design, are reserved. next edition. We welcome suggestions for improvement.
 Siemens AG 1997. All rights reserved. Subject to change without prior notice.

Order No. 6FC5198–6AA20–0BP2 Siemens–Aktiengesellschaft


Printed in the Federal Republic of Germany
Preliminary Remarks

The documentation for your Graphic Programming System is broken


down into three Guides.
S “Graphic Programming System User’s Guide Part 1: Programming
Examples”
S “Graphic Programming System User’s Guide Part 2: Operating/ Pro-
gramming Functions”
S “Graphic Programming System Environment Description”
This “Graphic Programming System User’s Guide Part 1” descri-
bes
basic graphic programming principles with the help of two sim-
ple practical examples.
These examples are useful not only as an introduction but also for later
reference.
All the keys that you will require for programming the examples are
shown as icons.
Refer to Section 5 when programming multi-plane machining.
When you program the examples, it is very important that you refer to
the notes in Part 2.
Note Before using the functions provided by the Graphic Programming Sy-
stem in practice, you should have worked through the programming ex-
ample and read Part 2 of the User’s Guide carefully.

This User’s Guide does not contain a detailed


description of all functions available in the system
and of all possible operator inputs.
The graphic programming system features a
powerful help function, which is available in almost
any operating state.
This “Part 1: Programming Examples” document is structured as fol-
lows:
Section 1: This section provides you with an overview.
Introduction
Section 2: Help Section 2 describes how to call up directly on the screen descriptions
Functions relating to the functions of the softkey menus and drawings for the va-
rious parameters as an additional information service.

Section 3: Section 3 describes the objectives of the programming examples in


Objective Sections 4 and 5.

Section 4: Section 4 illustrates the procedure applied for graphic programming by


Programming using an example
Example 1
without multi-side machining
Section 5: Section 5 illustrates the procedure applied for graphic programming by
Programming using an example
Example 2
with multi-side machining
Section 6: The appendix contains fold-out worksheets and workpiece sketches for
Appendix the programming examples.

Further notes
Key symbols The operator actions described here always assume that you are using
the keyboard on the operator panel.
The key symbols in the examples correspond to the symbols on
the operator panel.
If you are using the full keyboard for operating the Graphic Program-
ming System, please refer to Part 2 Section “Operation” which explains
the differences between the key symbols.
System texts System texts such as softkey texts, names of interactive screenforms
or parameter names in interactive screen forms are always written in
bold type.
Operator inputs Operator inputs such as parameter inputs in interactive screenforms
are presented in “inverted commas”.
Contents

1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–1

2 Help Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2–1

3 Exercise Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3–1

4 Programming Example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–1

4.1 Graphic programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–2


4.2 Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–4
4.2.1 Creating tools in tool master data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–4
4.2.2 Change tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–12
4.2.3 Save tool master data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–14
4.2.4 Create new – copy user magazine . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–15
4.3 Graphic programming of geometry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–19
4.3.1 Blank contour . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–19
4.3.2 Standard geometry/rectangle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–24
4.3.3 Views – 4 windows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–27
4.3.4 Views – plan view . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–29
4.3.5 Finished part contour . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–29
4.3.6 Standard geometry/rectangle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–31
4.3.7 Screen – select viewport . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–33
4.3.8 Construction geometry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–37
4.3.9 Creating contour construction geometry elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–41
4.3.10 Edit construction geometry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–45
4.3.11 Create contour construction geometry elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–46
4.3.12 Contour definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–55
4.3.13 Element transition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–57
4.3.14 Edit programmed contours . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–61
4.3.15 Oriented geometry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–62
4.3.16 Delete contour . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–63
4.3.17 Create contour using oriented geometry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–64
4.3.18 Holes – hole box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–72
4.3.19 Hole as cutter insert point . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–75
4.4 Graphic programming of drilling and milling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–77
4.4.1 Machining . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–78
4.4.2 Machining, milling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–81
4.4.3 Tool selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–81
4.4.4 Solid milling of an island . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–83
4.4.5 Solid milling of a pocket . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–85
4.4.6 Machining, drilling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–89
4.4.7 Machining simulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–94
4.4.8 Create part program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–96
4.4.9 Exit programm. WOP function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4–101
5 Programming Example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–1

5.1 Geometry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–1


5.1.1 Blank contour . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–2
5.1.2 Hole box at milling level . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–6
5.1.3 Create surface – “front” . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–9
5.1.4 Create surface – “right” . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–13
5.1.5 Machining . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5–17

6 Appendix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–1

6.1 Workpiece sketch example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–1


6.2 Work schedule example 1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–3
6.3 Workpiece sketch example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–5
6.4 Work schedule example 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6–7

7 Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7–1
11.95
09.95

1 Introduction

This User’s Guide describes operator actions and programming func-


tions for the Graphic Programming System.
Starting from the workpiece sketch, you use graphics to define:
S The tools
S The blank contour
S The finished part contour
S Machining
and a part program in DIN code is generated automatically.
You can simulate the programmed traversing movements and display
these on the screen.
The part program can be edited at a later time.
You can program in different planes, which you define as surfaces.
You always program the surfaces
S in the XY plane, and
S the depth in the Z axis
without reference to a machine.
The system calculates the geometry and machining information at the
machining level of the machine only when the Create part program
function is activated.
Axis designation 1) The following axis designations apply to surfaces that are perpendicular
to the design plane:

Z Finished part
Y

ÀÀÀ Back

ÀÀÀ
ÀÀÀ
Y1
Y1

ÀÀÀ Y1 X

ÉÉÉÉÉÉÉÉ
ÀÀÀ
Y1 X1
X1 Surfaces

ÉÉÉÉÉÉÉÉ
ÀÀÀ
X1 perpendicular to
Left the design plane

ÉÉÉÉÉÉÉÉ
ÀÀÀ
X1
Right
X1
Front

Fig. 1.1 Finished part showing surfaces

1) Only if multi-side machining option is available

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 1–1


SINUMERIK 840C (BN)
1 Einführung 11.95

1–2  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
06.95

2 Help Function
The function described below provides you with help in almost every
operating situation.
By pressing the help key, you activate the help system which is stored
in the programming system.

Help in the Graphic


Programming System

s Tools
i Material S Help texts concerning the current horizontal softkey functions are
available if the first softkey of the horizontal softkey menu shows a
green “ i ”.
S You can obtain graphic help for the various input fields in almost all
interactive screenforms. They are not marked specially.
Help texts for the
functions in the
horizontal softkey
menu
If no interactive screen form is displayed, the help system describes
the functions of the horizontal softkeys after this key has been pressed.

Fig. 2.1 Graphic help for a help form

The designations F1 to F7 (see Fig. 2.1) refer to the softkeys of the


horizontal menu, e.g.:
S F1 = Point,
S F7 = Edit.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 2–1


SINUMERIK 840C (BN)
2 Help Function 11.95
07.97

If a black triangle appears next to the help text of a softkey, you can
press this key to open a further explanatory help screen.

Close help screen


Press this key to close the help screen.

Graphic aid for The graphic help for the individual input fields (see Fig. 2.2) is obtained
interactive
screenforms
by pressing the RECALL key.

Press the Help key to display the individual images again.

ÎÎÎ
ÎÎ
ÎÎÎ
ÎÎ
DS1 LS1

ÎÎ ÎÎÎ
ÎÎÎ
ÎÎÎ
ÎÎ
DT5

ÎÎÎ
LS
LT1

ÎÎÎ
LC1
CR

DT1

ÎÎ
ÎÎ
LS LT1
LC1
CR

DT1
# 155

Fig. 2.2 Graphic help

2–2  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95

3 Exercise Objectives

You will work step by step through sections 4 and 5 to fulfill the exer-
cise objectives of:
S Creating a tool magazine for boring and milling tools
S Entering the workpiece contour on the milling level or surface
“front”1) and “right”1)
S Programming the machining of a workpiece using boring and drilling
technologies and
S Creating a part program.
A fold-out workpiece sketch for this example is contained in the Appen-
dix. This enables you to work through the progamming example page
by page with the workpiece sketch folded out.
Note If you want to stop before the end of the exercise, proceed as follows:
S Make a note of the programming level (e.g.:Geometry/Create_new/
Blank)
S Save the exercise in its present state (vertical softkey Save).
The interrupted programming example can be continued by
S Starting the graphic programming system with the workpiece, for ex-
ample, “PART1”
S Calling the softkey functions at the noted programming level.

1) Only if multi-side machining option is available

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 3–1


SINUMERIK 840C (BN)
3 Übungsziel 11.95

3–2  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95

4 Programming Example 1

This section describes


S How to create a tool and a tool magazine
S How to enter the workpiece geometry (contour)
S How to program machining of the workpiece (technology), and
S The main operating control and display elements.
A fold-out workpiece sketch for this example is contained in the
Appendix. This enables you to work through the programming example
page by page with the workpiece sketch folded out.

The keys correspond to the symbols on the operator


panel.
The Environment Description contains the key
symbols that differ from those shown on the
operator panel.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–1


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.1 Graphic programming

4.1 Graphic programming


Starting point You have created a workpiece directory called “PART1”.
How to do this is explained step be step in the section “Programming
Examples” (e.g. “Graphic Programming System on the PC” ) of the
corresponding Environment Description.
The Graphic Programming System is loaded. You start off from this
operator interface:

Fig. 4.1 Graphic Programming System, basic level

Note You now have seven vertical softkeys in addition to the seven
horizontal softkeys.

Horizontal The horizontal softkeys take you into the programming of your
softkeys workpiece “PART1”.

The vertical softkeys are used for screen and system control and
Vertical
softkeys contain general programming utilities which are available at any time
during graphic programming.
The RECALL key enables you to abort a softkey function and to go
back in the menu.

S Before you activate the Machining softkey, a


geometry must be available.
S If new tools are required, it is recommended to
generate the tools before creating the workpiece
geometry. You will practise this procedure in the
“Programming tools” subsection below.

4–2  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97 4 Programming Example 1
4.1 Graphic programming

Notes regarding the


WOP basic level

Select
surface

Fig. 4.2 Example of Select Surface

Select Milling plane1) is always the default setting in graphic programming


surface (see Fig. 4.2). The current surface can be seen in the top right of the
graphics area.
Use the Select surface1) function to select a particular plane from the
submenu under the Define surface1) function.
This plane can be a surface of the box (see “User’s Guide Part 2:
Operator/Programming Functions”) or any surface in the space.

The string “Milling plane” appears to the right above


the graphics area immediately you select the
Geometry function.

1) Only if multi-side machining option is available

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–3


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.2.1 Creating tools in tool master data

4.2 Tools

Tools exercise (duration approx. 45 mins.)

Tools are organized in a master data catalog or in


user magazines.
See the User’s Guide “Part 2: Operator/
Programming Functions” for programming tips and
definitions for the master data or user magazine.

Now fold out the workplan in the appendix


(see section 6.2).

4.2.1 Creating tools in tool master data


You need tools to machine the workpiece programmed in the following
exercise.
Objective Add a new tool to the tool master data
as described below.
Starting point The Graphic Programming System is loaded

Tools Press the Tools Material softkey in the horizontal softkey menu to start
Material tool programming.
Tool programming is then automatically active and the following display
appears:
Tool programming is then automatically active and the following display
appears:

Fig. 4.3 Tools Material

Note You add new workholders or tools to a master data catalog.


You copy the individual workholders or tools from this catalog into a user
magazine.
To add new tools to the master data, first load the tool master data in
the programming system.

4–4  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97 4 Programming Example 1
4.2.1 Creating tools in tool master data

Press the Masterdata/magazine softkey.


Masterdata/
magazine

Press the Load masterdata softkey.


Load
masterdata

While loading, you will see the following display:

Display line for the


programming level (menu
level)

Information line for operation Bar

Fig. 4.4 Load masterdata

While operating, the programming system provides


you with information.
This information is shown in the line below the
graphics area.
The programming level in which you are currently
working is shown in the line above the graphics
area.

A moving bar shows you that the programming system is active.


Having loaded the tool master data, you can start to add tools.
Press the Tool softkey
Tool

and then the New tool softkey.


New tool
The interactive screenform for Tool input appears (see Fig. 4.5).

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–5


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.2.1 Creating tools in tool master data

Fig. 4.5 Tool input

You require the following tools for machining your workpiece (see
Section 6.2):
S Two end mills (5 mm and 20 mm),
S A twist drill with a diameter of 10 mm and
S A solid drill with a diameter of 10 mm.
Note SIEMENS AG supplies a catalog containing several predefined tools with the
program package “Graphic Programming System Drilling/Boring and Milling”
for SINUMERIK 840C.
The tools have been prepared for this exercise.
An end mill (20 mm), the twist drill and the solid drill are already contai-
ned in the master data catalog.
Create an end mill (5 mm) for the purposes of this exercise.
Select type of machining milling
by pressing the INPUT key.

The cursor bar is now on the tool type end mill.


Now press the INPUT key.

4–6  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95 4 Programming Example 1
4.2.1 Creating tools in tool master data

The General tool data interactive screenform appears for entering the
tool data. Enter as parameters the values that are already given in the
following figure.

Enter these
values

SAF end mill

5/16/R

Clockwise rotation
Insert length
Diameter
HM tool material carbide
P20...P35 Stock removal groups

Fig. 4.6 General tool data

Use the alphanumeric keys and the cursor keys for entering parame-
ters.
The cursor is in one line of the interactive form.
Move this to the Description line

and enter “SAF5/16/RHMP20–P35”.


... ... ...
Move the cursor to the ID number

The ID number is a type designation.


The ID number must be unique.
The user codes for example:
manufacturer code

and enter “7100050”.


... ... ...
7100050
Diameter in 0.1 mm
Shank (= “End” type)
Milling cutter

The T No. for the magazine location and the D No.


for the storage location are not defined in the tool
master data. In this exercise, you determine these
values in the user magazine.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–7


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.2.1 Creating tools in tool master data

Move the cursor to the input field mm/min.

The existence of a continuation screenform is indicated by a black


triangle next to the input field.

Open the continuation screenform and a selection menu appears.

Using the cursor, select mm/tooth and

Confirm the selection with the INPUT key.

Close the interactive form with the INPUT key.

The system now puts the End mill interactive form on the screen.

ÏÏ
ÏÏÏ
ÏÏÏÏ
ÏÏÏ DS1 LS1

ÏÏ
ÏÏÏÏ
ÏÏÏ
ÏÏ
LS
DT5

ÏÏ
ÏÏÏ
LT1
LC1
CR

ÏÏÏ
DT1

ÏÏÏ
LS LT1
LC1
CR

DT1
# 155

Fig. 4.7 End mill

Using the cursor keys and alphanumeric keys enter the values shown
... ... ... in the above End mill figure (Fig. 4.7). You do not have to enter the de-
cimal points or the zeros behind the decimal points. These are genera-
ted automatically by the system.

4–8  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95 4 Programming Example 1
4.2.1 Creating tools in tool master data

Note Some key functions for controlling within an interactive screenform are
explained in the table below.

Operator panel Function when controlling an interactive


840C screenform

With this key, you put the cursor in the first


input field and accept the parameters that
have been input.
With the end key, you go from input field to
input field backwards and accept the
parameters that have been input.
With these keys, you control the cursor when
entering parameters within a field.

With these keys, you move the cursor from


input field to input field and accept the para-
meters that have been input.

The delete key deletes the character to the left


of the cursor.

With this key, you move forwards from input


field to input field and accept the parameters
that have been input.
If a black triangle can be seen to the right of
an input field, open a continuation screenform
with this key.
Use the alphanumeric keys to enter
... ... ... parameters.

The RECALL key interrupts interactive form


input and the system ignores all inputs.

With the INPUT key, you end screenform


inputs and accept all entries.

You can call the calculator function with this


key if you are in an interactive screenform and
the cursor is positioned in a numerical input
field.
If the cursor is positioned on a text selection
field you can insert the texts into this field one
after the other with this key.

With the INPUT key, transfer the parameters that you have entered into
the interactive screenform.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–9


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.2.1 Creating tools in tool master data

The programming system computes the tool geometry and displays it


schematically in the graphics area (see Fig. 4.8).

Fig. 4.8 Graphical representation of end mill

Note If the tool is not quite what you want, page up the previous interactive
screenforms using the Edit softkey and change the parameters once
again for your tool.
When the end mill represents the tool that you require then
press the softkey Accept.
Accept

4–10  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97 4 Programming Example 1
4.2.1 Creating tools in tool master data

Now enter the cutting values in the interactive screenform that now ap-
pears (see Fig. 4.9). The cutting values refer to the material of the
workpiece to be machined with this mill. The material is displayed in the
second column of the screenform.

Fig. 4.9 Cutting values

For details relating to this interactive screenform, please refer to the


User’s Guide “Part 2: Operator/Programming Functions”.
Using the alphanumeric keys, enter the values shown above (Fig. 4.9)
... ... ... into the interactive screenform.
Begin with a cutting velocity V = “90” (m/min) and then enter the feed
values (FT1, FR and FTR).
Place the cursor on Accept, and

You will practice the general principles of working by


creating a tool with the Graphic Programming
System. The User’s Guide does not therefore at
this point go into the technological significance of
the parameters.

accept the cutting values of the end mill for this material.

The Programming System offers the following material (No. 2) with its
cutting values.

1) Derived from cutting velocity, time and cutter diameter.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–11


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
09.96
4.2.1 Creating tools in tool master data

For this exercise, one material is enough.


Put the cursor on OK.

You conclude the whole function with OK.


The function OK does not accept any parameters.

Then conclude parameter input.

You have now created a new tool within the tool master data by means
of the programming system.

4.2.2 Change tools

Objective Before learning in the following exercise (next section)


S How to save the new tool in the tool master data and then
S To copy it into a new user magazine
check whether the tool you have created is actually in the tool master
data.
Procedure
To do this, press the Change tool softkey and then All.
Change
tool

All

The cursor is now on Tool class End mill.

On pressing this key, the selection form Tool description opens for the
tools of the End mill type.

4–12  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97
09.96 4 Programming Example 1
4.2.2 Change tools

New tool

Fig. 4.10 Tool description

In this display you can see the tool that has just been created.
Place the cursor on the tool description
SAF 5/ 16/R HM P20–P35

After pressing the INPUT key, you can select the parameters that are to
be modified using the functions
S All
S T and D number
S Geometry data
S Technology.
No modifications are required for the tool used in this exercise, so you
can now quit this function by pressing the RECALL key.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–13


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.2.3 Save tool master data

4.2.3 Save tool master data

Always save the new data after concluding tool generation.


Objective The following section describes how you
S Save the new tool in the tool master data, and then
S Copy into a new user magazine.
Initial situation You are at the programming level
Tools_Material/MasterdataMagazines/Tools.

If you create a workpiece geometry without then


saving it, this data will be lost.
Do not forget:
1. Load the tool master data or magazine,
2. first program the tool,
3. then save the tool master data or magazine.

Procedure

Press the RECALL key to get into the next higher programming level,

and press the softkey Save masterdata in order to save the tool ma-
Save
masterdata ster data.
In the following section you will create the user magazine for the machi-
ning of the workpiece “PART1”.
You copy the tools from the master data to the user magazine.

4–14  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95 4 Programming Example 1
4.2.4 Create new – copy user magazine

4.2.4 Create new – copy user magazine

Objective You create a user magazine (“Exercise”) with the tools


S End mill (5 mm, 20 mm),
S Twist drill (10 mm diameter),
S Solid drill (10 mm diameter).
You copy these tools from the tool master data.
You are now at this programming level:

Fig. 4.11 Master data magazine

Procedure
Press the New magazine softkey.
New
magazine

The vertical softkey function Program info tells you,


for example, which magazine is active.

At the moment, the current tool data are the master data. You have al-
ready saved these in the exercise.
You answer yes to the question Existing tool data will be overwritten
put by the programming system.
Press the INPUT key.

Note When you Save magazine, you save the new user magazine under a
name (see Fig. 4.12, Page 4–18).

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–15


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
4.2.4 Create new – copy user magazine

You can copy tools from the tool master data to the new user
magazine.
End mill for the stock First you copy the end mill for the area outside of the island.
outside of the island
Position the cursor on End mill and

press the INPUT key.

You are now in the directory End mill


and move the cursor to the
End mill SAF 20/ 32/R HM P20–P35.

Confirm the selection.


Check the values for the General tool data and change them if neces-
sary (e.g.: T No. or D No.).
Copy the end mill (20 mm) to the magazine.

End mill for the Now copy the end mill for the pocket.
pocket

Position the cursor on End mill and

Press the INPUT key.

Move the cursor to the


End mill SAF 5/ 16/R HM P20–P35 and

confirm the selection.


Check the values for the General tool data and
for the purposes of this exercise change the
... ... ... T No. and D No. to “20”.

Then copy the end mill (5 mm) to the magazine.

4–16  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95 4 Programming Example 1
4.2.4 Create new – copy user magazine

Twist drill for the For the four holes, you need a drill with a diameter of 10 mm.
holes
Position the cursor on Twist drill.

Press the INPUT key.

Select the drill with diameter 10 mm.


The name of the drill in the Tool description is
SPB 10.0/31/118/R HSS.
With the INPUT key, select the drill with diameter 10 mm, enter a T No.
or a D No. if needed and

conclude the copying function for the twist drill.

Solid drill for the relief You need a solid drill which puts a relief hole in a pocket for the milling
hole when pocket cutter.
milling
Position the cursor on Solid drill.

Press the INPUT key.

Position the cursor on the tool description VOB 10/42/R VHM.

With the INPUT key select the solid drill with diameter 10 mm, enter a T
No. or a D No. if needed and

conclude the copy function for the solid drill.

You exit the function New magazine with the RECALL key.

and then press the Save magazine softkey.


Save
magazine

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–17


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.2.4 Create new – copy user magazine

The program displays the interactive screenform Data access.

Fig. 4.12 Data access

Type in the name “Exercise” on the alphanumeric keyboard.


... ... ...
Save the new tool user magazine under the name “Exercise” by pres-
sing the INPUT key.

You have now created the user magazine.


Now press the RECALL key twice to start generating the geometry.

4–18  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95 4 Programming Example 1
4.3.1 Blank contour

4.3 Graphic programming of geometry

Steps involved in the exercise “Create blank and finished part geometry” (duration approx.
120 min.)
Objective The following sections describe how you
graphically program the finished part contours.
Initial situation You have created a user magazine and now wish to define the geome-
try.
S You are in workpiece directory “PART 1”.
S The graphic programming system is active.

4.3.1 Blank contour

When programming, we advise you to start with the blank contour.


The programming system guides you in your workpiece programming
through a menu until NC blocks have been generated.
Objective
This section describes how you graphically program the blank contour of the
workpiece “PART 1” as a standard contour.
Initial situation
S You are in workpiece directory “PART 1”.
S The graphic programming system is active.

Now unfold the workpiece sketch in the Appendix


(see Section 6.1).

Procedure
Begin your graphic programming of the blank contour by pressing the
Geometry Geometry softkey in the horizontal softkey menu.

Create Then press the softkey Create new. The following display appears.
new

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–19


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.3.1 Blank contour

Fig. 4.13 Create new geometry

In the first exercise, you will program the blank contour shown in the
dotted background in the sketch (Fig. 4.14).

Fig. 4.14 Blank contour

Press the Blank softkey and enter in the interactive screenform Blank
Blank the parameters described below.

4–20  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97 4 Programming Example 1
4.3.1 Blank contour

TW=50
ZM=50

ZM=0 TW=50

Fig. 4.15 Data for the blank

The name of the blank is to be “Blank1”.


... ... ...
Confirm the name entered and move the cursor to the input field
Select material.

Open the continuation form in the input field.


The Material list selection form appears.

Fig. 4.16 Material List

The material of the blank could be ST 50–2.


Confirm the material group for this material.

Move the cursor to the input field Workpiece ref. plane.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–21


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.3.1 Blank contour

Note The Workpiece ref. plane has a sign whereas the Material thickness
as depth does not.
The workpiece reference point (see sketch in the Appendix or Fig. 4.17)
is at the top edge of the workpiece. Since the top edge is zero, accept
the default value Workpiece ref. plane ZM = 0.0.

The programming system programs the geometry in


the
S X and Y axes (XY plane) and
S The depth in the Z axis.

Workpiece reference plane

35 Material thickness

Fig. 4.17 Workpiece reference plane and material thickness

Enter the value “35” (mm) as the Material thickness.


... ... ... Your interactive screenform should now look like this:

Fig. 4.18 Parameters for the blank

Set the cursor to the input field global contour transitions.


This field is initialized with ”no”, which corresponds to the majority of
cases.
If you want to define geometries with global contour transitions for
oriented and construction geometries, you must select ”yes”.

Proceed in the same way when editing contours.

Conclude input in the interactive screenform for the first blank parame-
ters.
The Graphic Programming System inserts a new menu in the horizontal
softkey row.

4–22  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97 4 Programming Example 1
4.3.1 Blank contour

Display line for the


menu level
(programming level)

Fig. 4.19 Programming level

Note The current programming level is displayed in the line above the gra-
phic area.

You will now define the rectangular blank contour using the Standard
geometry/rectangle.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–23


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.3.2 Standard geometry/rectangle

4.3.2 Standard geometry/rectangle

In the Graphic Programming System there are three functions for defi-
ning a blank:
S Oriented geometry
S Construction geometry
S Standard geometry
In the following section you will define a rectangle with the function
Standard geometry.
Objective Enter all parameters of the standard geometry rectangle.
Initial situation You are in programming level Geometry/New_Create/Blank.
Procedure
Press the Standard geometry softkey and then
Standard
geometry

press the Rectangle softkey to define the blank contour.


Rectangle
The interactive screenform Rectangle is offered by the Graphic Pro-
gramming System.

Fig. 4.20 Rectangle data for the blank

The parameters Workpiece reference plane and Material thickness


have been stored by the system.
If these values are to be changed again,
go into the higher-level menu and call up the blank data once again.

4–24  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97 4 Programming Example 1
4.3.2 Standard geometry/rectangle

Have a look at your sketch and then you can enter all parameters
needed for your rectangle.

100 (mm) in Y

150 (mm) in X

Reference point, bottom left

Fig. 4.21 Reference point, bottom left

The cursor is located at the input field Reference point.


Open the continuation screenform and a selection menu appears for
the reference point of the rectangular contour to be programmed.

Using the cursor control, select the reference point Bottom left (2),

Fig. 4.22 Selection form, reference point

and accept this.


The reference point is entered.

If you are not familiar with some of these


parameters, call up a graphic help screen by
pressing the help key.
This form describes the parameters by
means of a sketch.

Place the cursor on Length in X.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–25


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.3.2 Standard geometry/rectangle

Using the cursor keys and the numeric keys, enter the parameters for
... ... ... Length in X = “150” (mm) and
Length in Y = “100” (mm), as shown in the next figure.

Fig. 4.23 Blank/rectangle parameters

Conclude entry in the interactive screenform for the rectangle parame-


ters.

Fig. 4.24 Blank contour rectangle

You have now programmed the blank contour.

4–26  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97 4 Programming Example 1
4.3.3 Views – 4 windows

4.3.3 Views – 4 windows


Objective While programming, you can display at any time several views of the
contour on the screen.
In this example, select the representation of the four standard views on
the screen.
Procedure
Press the softkey Views
Views

Fig. 4.25 Blank, views

and select a view.


Activate
4 views Press the softkey Activate 4 views.
You now see your blank on the screen in four different views:
S Plan view
S Two side views and
S Isometric perspective.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–27


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.3.3 Views – 4 windows

Fig. 4.26 Blank, 4-window view

The vertical softkey menu has returned to its initial level. Every function
offered in the horizontal and vertical softkey menus can be activated.

4–28  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97 4 Programming Example 1
4.3.5 Finished part contour

4.3.4 Views – plan view


Objective For your example, again select plan view.
Procedure
Press the Views softkey
Views

then the Plan view softkey,


Plan view
and the following display appears:

Fig. 4.27 Blank, plan view

4.3.5 Finished part contour


Objective This section describes how you
S Generate a rectangular pocket with the standard geometry, and
S Zoom a viewport.
The blank contour has been defined. Now program the rectangular pok-
ket indicated by the dotted area in the sketch below.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–29


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.3.5 Finished part contour

Fig. 4.28 Rectangular contour

Initial situation You are at the programming level Geometry/New_Create.

Procedure
Press the Finished part softkey.
Finished
part An interactive screenform appears in which you must define the loca-
tion of the contour in the view that you have selected, i.e. in the Z
plane.

Fig. 4.29 Contour data

Start plane
End plane

Fig. 4.30 Parameters “Start plane”, “End plane” (pocket)

First give the contour the name


... ... ... “Contour1”.

Then enter for the


... ... ... Start plane the Z value = “–15” (mm) and for the
End plane the Z value = “–25” (mm).

End interactive screenform input for the contour parameters.

4–30  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97 4 Programming Example 1
4.3.6 Standard geometry/rectangle

4.3.6 Standard geometry/rectangle

Objective You will program a rectangular contour (pocket).


Procedure
Press the Standard geometry softkey.
Standard
geometry

Now program the rectangular pocket.


Press the Rectangle softkey.
Rectangle

Fig. 4.31 Contour rectangle data

Angle to X axis

Length in X

Length in Y
Y(ABS)

Reference point
Centre point

Rounding radius
X(ABS)

Fig. 4.32 Parameters, contour rectangle

Consider your sketch and enter all necessary parameters for your rec-
... ... ... tangle.
Fig. 4.31 already contains the values to be entered.
Note The angle to the X axis is “150°” or “–30°”. Please enter “–30°” for the
angle.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–31


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.3.6 Standard geometry/rectangle

End interactive screenform input for the rectangle parameters.


You have now programmed your rectangular pocket.

Fig. 4.33 Contour rectangular pocket

Now operate the function Save to avoid losing (e.g. in the event of a
Save power failure) the last contour that you have programmed.

Note The graphic programming system saves the geometry you enter at re-
gular intervals.
The maximum amount of dat a that will be lost is that which was ent-
ered over the previous 3–5 minutes.
If you want to open the file following a loss of data (e.g.: power failure),
operate the function Read followed by
Read

Read the function Read Auto.


Auto

The Oriented Geometry function does not have the


automatic save feature.

The next section describes how to zoom in on a part of the screen.

4–32  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97 4 Programming Example 1
4.3.7 Screen – select viewport

4.3.7 Screen – select viewport

Objective An interesting function in the vertical softkey menu is the Set and zoom
or reduce viewport function.
Initial situation You are at the programming level Geometry/New_Create.
Procedure
Press the Zoom softkey.
Zoom

Fig. 4.34 Softkey function: Zoom

Then select the Select viewport softkey.


Select
viewport

Fig. 4.35 Select viewport

The cursor is automatically positioned on Zoom.


Note If you want to reduce the size of the viewport, put the cursor on Enter
reduction factor (2–9) and enter a factor. In this example, you will
practice zooming.
Leave the cursor on Zoom and press the INPUT key.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–33


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.3.7 Screen – select viewport

A crosshair appears. You can control this crosshair with the cursor
keys.
When zooming, you call up a rectangle with the crosshair. The contents
of this rectangle is then the zoom. Begin with the first corner point.

Crosshair

Information line for


operator guidance

Fig. 4.36 Zoom viewport 1

Move the crosshair to the first corner of your zoom

Crosshair

Fig. 4.37 Zoom viewport 2

4–34  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97 4 Programming Example 1
4.3.7 Screen – select viewport

and confirm.
The information line guides you when operating.
It requests you to specify the second corner of your zoom.
Move the crosshair to the second corner (see next figure)

Crosshair

1st corner

2nd corner

Fig. 4.38 Zoom viewport 3

and confirm by pressing the INPUT key.


You now have a new viewport.

Fig. 4.39 Viewport zoomed

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–35


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
4.3.7 Screen – select viewport

Note The zoom is retained only if you press the Set viewport softkey under
the Screen softkey.
For the next exercise, generation of a user-defined geometry, you need
the plan view of the complete workpiece.
Procedure
Change the zoomed display back to its initial state in the way that you
View practised in View/Plan view.

Set the plan view back to the usual size.


Plan view

4–36  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95 4 Programming Example 1
4.3.8 Construction geometry

4.3.8 Construction geometry

Objective Using the construction geometry function, you will


S Create the construction elements point, line and circle
S Edit these elements
S Place a contour on them, and
S Generate the element transitions rounding and chamfer.
You will be working under the menu path Contour/Construction geo-
metry.
You will have been able to program the blank contour and rectangular
pocket with standardized contours.
Initial situation You are at the programming level Geometry/New_Create.

Fig. 4.40 Contour – geometry, any (island)

Next, you will program the contour indicated by dots in the sketch
above.
This is a user-defined contour.
Create this contour by means of generated construction geometry ele-
ments.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–37


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.3.8 Construction geometry

You start the exercise from this representation.

Fig. 4.41 Geometry, any

Procedure
Press the Finished part softkey.
Finished
part Now refer to your sketch with the dimensions.

Start plane
End plane

Fig. 4.42 Parameters “Start plane”, “End plane” (island)

The island of the user-defined contour is given the name “Contour2”.


Enter the name and then enter the position of “Contour2” in the Z plane.
The figure below shows the values that are to be entered as well as the
name.

4–38  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97 4 Programming Example 1
4.3.8 Construction geometry

milling plane

Fig. 4.43 Parameters, user-defined contour

Accept the parameters and conclude the interactive screen form.

You must now define your user-defined contour.


You can create your contour with the functions
S Oriented geometry (s. Section 4.3.15, Page 4–62) or
S Construction geometry.
Now you can practice creating construction geometry.
Please press the Construction geometry softkey.
Construct.
geometry

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–39


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.3.8 Construction geometry

Fig. 4.44 Programming level: Construction geometry

Note In the line above the graphics area you see in which programing level
you are now working. You cannot exit this programming level with the
RECALL key.
You exit this programming level with the Abort and OK softkeys.
Abort

OK

The RECALL key has no effect here.

For this contour, you first define the construction geometry elements.

4–40  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
09.96 4 Programming Example 1
4.3.9 Creating contour construction geometry elements

4.3.9 Creating contour construction geometry elements

Objective You will create the construction geometry elements


S Point
S Line
S Circle.
Initial situation You are at the programming level Geometry/New_Create/Finished part/
Construction geometry.
Procedure
Press the Const. geo. elements softkey.
Const. geo.
elements

Construction The programming system offers various construction geometry ele-


geometry elements ments, e.g.:
S Point
S Line
S Circle.
For these elements, there are various design possibilities, and these
are described in detail in the User’s Guide “Part 2: Operator/Program-
ming Functions”.
Notes
S The workpiece contour is created by means of the construction geo-
metry elements listed above. You must join these to define a con-
tour.
S Lines are always infinite lines. They have no end limit. Circles are
always full circles.
S The sequence in which the construction geometry elements are pro-
grammed does not have to be the same as the contour sequence.
S You define the direction of the contour later with Contour definition.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–41


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.3.9 Creating contour construction geometry elements

The elements drawn with dotted lines in the following figure are required
as construction geometries in order to program your user-defined con-
tour in accordance with the workpiece sketch.

Line 4 Point 1

Line 3
Line 5

Circle 1 Line 6
Line 2

Line 1

Fig. 4.45 Construction geometry elements

Procedure
Line 1 Start off with Line 1.
Press the Line softkey.
Line
A crosshair appears. You are requested to select the first reference ele-
ments.
You control the movement of the crosshair with the cursor keys.

At the beginning of every construction geometry de-


sign, the X and Y axes are available to you in the
coordinate system as well as the zero point as refe-
rence point.

Line 1 is parallel to the X axis at a distance of 20 mm. Thus, you need


the X axis as reference element for the design.
Move the crosshair to the X axis reference element as shown in the fi-
gure below.

4–42  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97 4 Programming Example 1
4.3.9 Creating contour construction geometry elements

Crosshair

X axis

Fig. 4.46 Select reference element

You do not have to accurately position the crosshair


in order to select lines and circles. The programming
system automatically finds the element which is clo-
sest to the crosshair.
The coordinates of the crosshair can be seen above
the vertical softkey bar.

Confirm selection of the reference element by pressing the INPUT key.

You enter the distance by pressing the softkey Numeric input.


Numeric
input Enter the
distance “20” (mm)
in the interactive screenform which now appears on the screen, accept
the value and close the interactive screenform.
The programming system calculates two solutions (green), a line above
and a line below (which cannot be seen in the viewport) the X axis. You
need the line above and therefore you should now select it.
Move the crosshair to the upper line

and confirm the selection.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–43


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.3.9 Creating contour construction geometry elements

Line 1 has now been designed.

Fig. 4.47 Construction geometry line 1

4–44  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97 4 Programming Example 1
4.3.10 Edit construction geometry

4.3.10 Edit construction geometry

Objective If you have entered an incorrect parameter for the distance of construc-
tion line 1,
you can change the value with the function Edit const. geo.
Initial situation You are at the programming level Geometry/New_Create/Construc-
tion geometry/Const. geo. elements.
Procedure
Press the softkey Edit.
Edit

Programming level

Fig. 4.48 Edit programming level

For this exercise, press the softkey Edit parameter.


Edit
parameter
With the softkey function Edit parameter only the
construction geometry elements can be changed
that you have designed with a numerical value (e.g.
distance, radius).

The system automatically detects that you have only constructed one
element and displays the interactive screenform Distance.

Fig. 4.49 “Distance” interactive screenform

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–45


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
4.3.11 Create contour construction geometry elements

The value “20” (mm) can now be changed.


For your example, however, this is the correct value and therefore you
will accept it and continue with your design.

Press the RECALL key to return to the .../construction geo. elements


programming level.

Note If you have designed several elements,


Use the cursor keys to select the line you have just constructed,

and confirm your selection.

4.3.11 Create contour construction geometry elements

Initial situation
S You are at the programming level Geometry/New_Create/Finished
part/Construction geometry/Construction geo. elements.
S Continue programming (see Page 4–44) by designing the remaining
construction geometry elements.
Procedure
To design Circle 1 you need Line 1 and Line 2.
Lines 1 and 2 are tangential to circle 1.

Line 4 Point 1

Line 3
Line 5

Circle 1
Line 6
Line 2

Line 1

Fig. 4.50 Construction geometry elements

The parallel reference line for Line 2 this time is the Y axis.
You have now had some practise in operating the graphic programming
system. You know the key symbols. Now proceed in the operating se-
quence described below.

4–46  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97 4 Programming Example 1
4.3.11 Create contour construction geometry elements

Line 2

Press the Line softkey.


Line

Select the Y axis as reference element using the crosshair.

Press the INPUT key.

Press the Numeric input softkey.


Numeric
input

Enter Distance “85” (mm) as parameter.


... ... ...
Press the INPUT key.

Select the required Line 2 with the crosshair. This is the line to the right
of the Y axis in the sketch to the left of the circle.

Press the INPUT key.


You have now designed the second construction line.

Fig. 4.51 Construction geometry line 2

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–47


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
4.3.11 Create contour construction geometry elements

If you have not designed the line properly, delete it


by means of the softkey Edit const. geo. Then
program the line once again.

Now design Circle 1 with Construction lines 1 and 2.


From the workpiece sketch you can see that
S Lines 1 and 2 are tangential to circle 1
S The radius is 15 mm.

Line 4 Point 1

Line 3
Line 5

Circle 1
Line 6
Line 2

Line 1

Fig. 4.52 Construction geometry elements

Now proceed in the sequence described below.


Circle 1
Press the Circle softkey.
Circle

Use the crosshair to select Line 1 as first reference element.

Press the INPUT key.

Use the crosshair to select Line 2 as second reference element.

Press the INPUT key.

4–48  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97 4 Programming Example 1
4.3.11 Create contour construction geometry elements

Press the Numeric input softkey.


Numeric
input

Fig. 4.53 Interactive screenform: Radius

The programming system displays the interactive screenform Radius.


In the line above the graphics display you can see that you are in the
programming level Geometry/Create_new...Circle.
Enter the radius value
... ... ... Radius “15” (mm),

and press the INPUT key.


There are now four different possibilities for constructing the circle.
You need the circle on the right above the reference line point of inter-
section.

Crosshair

Fig. 4.54 Select element

Move the crosshair into the proximity of the circle that you require for
your construction geometry

and select it with the INPUT key.


Your Graphic Programming System has constructed the circle.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–49


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.3.11 Create contour construction geometry elements

Line 4 Point 1

Line 3
Line 5

Circle 1
Line 6
Line 2

Line 1

Fig. 4.55 Construction geometry elements

You now construct Line 3 on Circle 1.


From the workpiece sketch you can see that
S Line 3 is tangential to Circle 1
S The angle is 45_.
Line 3
Press the Line softkey.
Line

Using the crosshair select Circle 1 as first reference element,

press the INPUT key.

Press the Numeric input softkey.


Numeric
input
The system recognizes that
line 3 is tangential to circle 1 under a specific angle.
The interactive screenform Angle appears.
Key in
... ... ... Angle “45” (_).
as a parameter for the angle (see workpiece sketch).

Fig. 4.56 Interactive screenform: Angle

4–50  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97 4 Programming Example 1
4.3.11 Create contour construction geometry elements

Press the INPUT key.

Using the crosshair select Line 3 above the circle.

Press the INPUT key.

Fig. 4.57 Construction geometry, line 3

Line 3 has been constructed.


Next, you will construct Lines 4, 5 and 6 and also Point 1.

Line 4 Point 1

Line 3
Line 5

Circle 1
Line 6
Line 2

Line 1

Fig. 4.58 Construction geometry elements

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–51


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
4.3.11 Create contour construction geometry elements

Please continue in the following order:


Line 4 You will now construct line 4 parallel to line 1.

Press the Line softkey.


Line

Using the crosshair select Line 1 as reference element.

Press the INPUT key.

Press the Numeric input softkey.


Numeric
input

Enter Distance “45” (mm) as parameter.


... ... ...

Press the INPUT key.

Select the required Line 4 above using the crosshair.

Press the INPUT key.

Point 1 You will use Point 1


S As reference point for Line 5 and
S As initial and end point for the contour.
Press the Point softkey.
Point

Select Line 4 as first reference element using the crosshair.

Press the INPUT key.

4–52  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95 4 Programming Example 1
4.3.11 Create contour construction geometry elements

Select Line 3 as second reference element using the crosshair.

Press the INPUT key.

Line 5 You will construct line 5 in point 1 as line 3 at a specific angle of 90_.
Press the Line softkey,
Line

Select Point 1 as first reference element using the crosshair. You have
to locate exactly on the point with the crosshair.

Press the INPUT key.

Select Line 3 as second reference element using the crosshair.

Press the INPUT key.

Enter Angle “90” (_) as parameter.


... ... ...
Press the INPUT key.

Line 6 Construct line 6 parallel to line 3.


Press the Line softkey,
Line

Select Line 3 as first reference element using the crosshair.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–53


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.3.11 Create contour construction geometry elements

Press the INPUT key.

Press the Numeric input softkey.


Numeric
input

Enter Distance “40” (mm) as parameter.


... ... ...
Press the INPUT key.

Select the required Line 6 below using the crosshair.

Press the INPUT key.

Line 4 Point 1

Line 3 Line 5

Circle 1 Line 6
Line 2

Line 1

Fig. 4.59 Construction geometry element

All construction geometry elements have been constructed for the user-
defined contour.
In the next programming step, you will define the contour based on
these elements.
Press the RECALL key to get to the next-higher programming level.

4–54  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97 4 Programming Example 1
4.3.12 Contour definition

4.3.12 Contour definition

Objective You will define the contour for the island based on the generated con-
struction geometry elements.
Initial situation
S You are at the programming level Geometry/New_Create/Finished
part/Construction geometry.
S You have defined the construction geometry elements for the island (see
Fig. 4.59, Page 4–54).

Procedure
Press the Contour definition softkey.
Contour
definition

Note You will program the transitions in the section Element transition be-
low (see Section 4.3.13, Page 4–57).

Crosshair

Fig. 4.60 Contour definition


Note
At this programming level, using the cursor keys to control the cross-
hair, you will

define your contour with the help of the contruction elements by pres-
sing the INPUT key.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–55


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
4.3.12 Contour definition

S Every contour begins with an initial point and


finishes with an end point.
S In the case of closed contours, the initial point
must always be identical with the end point.
S In the case of open contours, the initial point is
not the same as the end point.
S You must locate the crosshair exactly on the
desired point.
S If you select a circle on a line, the circle
element closest to the line will be allocated to
it.

Your contour is a closed contour (from Point 1 to Point 1). The direc-
tion in which you allow your contour to develop is optional. In our exer-
cise, the contour follows the elements
Point 1 – Line 5 – Line 6 – Line 1 – Circle 1 – Line 3 – Point 1.
If you have selected an incorrect element, the contour element last se-
lected can be deleted by means of the CLEAR key.

When contour definition has been completed, leave this level with the
OK OK softkey

or abort the function by pressing Abort.


Abort Follow the instructions for crosshair control given in the information line
below the graphics area.

Line 4 Point 1

Line 3
Line 5

Circle 1
Line 6
Line 2

Line 1

Fig. 4.61 Construction geometry elements


Procedure Proceed as follows:
1. Select Point 1 as initial point of the contour
2. Select Line 5 as contour
3. Select Line 6 as contou
4. Select Line 1 as contour
5. Select Circle 1 as contour
6. Select Line 3 as contour
7. Select Point 1 as end point of the contour

4–56  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97 4 Programming Example 1
4.3.13 Element transition

Conclude contour definition by pressing the OK softkey.


OK


  

Fig. 4.62 User-defined contour (island)

The contour has now been defined.

4.3.13 Element transition

Take a look at your workpiece sketch. Two roundings and one chamfer
are still missing in the contour.
Initial situation You are at the programming level Geometry/New_Create/Finished
part/Construction geometry.
Procedure

Element Press the Element transition softkey.


transition

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–57


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.3.13 Element transition

 

Corner
chamfer

Corner
2nd rounding

Corner
1st rounding

Fig. 4.63 Element transition

1st rounding (20 mm)

Rounding Press the Rounding softkey.

Select corner for the first rounding using the crosshair,

and confirm.

Enter “20” (mm) as transition radius,


... ... ...
and confirm.

4–58  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95 4 Programming Example 1
4.3.13 Element transition

2nd rounding (5 mm)

Select corner for the second rounding,

and confirm.

Enter “5” (mm),


... ... ...
and confirm.

You have programmed the roundings,


now press the RECALL softkey.

Chamfer (5 * 45°)

Press the Chamfer softkey.


Chamfer

Select chamfer corner,

and confirm.

Enter “5” (mm),


... ... ...
and confirm.

Note
You can delete the parameters for the transition elements using the
Delete
transition Delete transition softkey.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–59


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
4.3.13 Element transition

Exercise
Change from the Element transition programming level to the next-
higher level.

Press the RECALL key twice.


You have completed your user-defined contour.
Press the OK softkey.
OK

On quitting the construction geometry, the graphic


programming system saves the created geometry
as Auto Save.

The programming system clears the construction geometry elements


from the screen.
If you want to add to the contour or modify it, call up the function Geo-
metry/Edit.
An exercise now follows.
Press the RECALL key to get into the programming level Geometry.

4–60  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97 4 Programming Example 1
4.3.14 Edit programmed contours

4.3.14 Edit programmed contours

Objective The next section describes how you can, for example,
modify a contour that you have created under the function Construc-
tion geometry.
Initial situation You are at the programming level Geometry.

Fig. 4.64 Edit contours

Procedure
Press the Edit softkey.
Edit

All geometry elements that you define with


parameters in an interactive screeform can be
redefined under the function Edit.

Select the programmed user-defined contour.

Accept this contour to change its parameters.


The interactive screenform Contour appears. You have access to the
parameters.
Conclude the interactive screenform Contour by confirming the para-
meters.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–61


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.3.15 Oriented geometry

Now you are back at this programming level:

 

Fig. 4.65 Edit contours

You do not wish to change anything. Press the OK softkey to return to


OK the Geometry programming level.

You will now practise generating this user-defined contour (island) with
the function Oriented geometry.

4.3.15 Oriented geometry

Objective The user-defined geometry constructed in the Construction geometry


section will now be programmed in this section with the Oriented geo-
metry function.
This section describes how you
S Delete the user-defined geometry programmed under the Construc-
tion geometry function, and
S Regenerate it with the Oriented geometry function.
Initial situation You are at the programming level Geometry.

4–62  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97 4 Programming Example 1
4.3.16 Delete contour

4.3.16 Delete contour


You are now at the next programming level as shown below.

Fig. 4.66 Delete geometry

Procedure
Press the Delete softkey.
Delete

Select the user-defined contour which is represented by the shaded


figure in the sketch (Fig. 4.67).

Fig. 4.67 Contour – user-defined geometry (island)

Confirm the selection and delete the geometry.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–63


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.3.17 Create contour using oriented geometry

4.3.17 Create contour using oriented geometry

Objective In the following, you will again create the user-defined geometry with
the function Oriented geometry.
Initial situation You are at the programming level Geometry.
You start off at this programming level.

Fig. 4.68 Programming level Geometry

Procedure
Create Press the softkey Create new and
new

Machined then press the softkey Machined part.


part

Call the new contour, for example, “Oriented contour”.


... ... ... Enter the parameters for the start and end planes as shown in the illu-
stration below.

Fig. 4.69 Parameters, user-defined contour

Press the INPUT key.

4–64  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97 4 Programming Example 1
4.3.17 Create contour using oriented geometry

Press the softkey Oriented geometry.


Oriented
geometry
You will program the transitions later.

85

R15 Initial point

20

Fig. 4.70 Parameters, initial point

Take a look at your workpiece sketch and you will be able to calculate
from the dimensions the initial point for creating the geometry.
Enter the values
... ... ... X = “100” (mm)
Y = “ 20” (mm)

in the interactive screenform Initial point cartesian that appears on the


screen,

When defining an element, you choose whether you


wish to enter a contour element in Cartesian or polar
coordinates in an interactive screen form.
Only when you delete the contour element or all the
parameters of the coordinate system you have cho-
sen, can you enter a different coordinate system.

and confirm the input.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–65


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.3.17 Create contour using oriented geometry

 

Initial point

Fig. 4.71 Initial point

You see the initial point.


The programming system logs your inputs for the element in the infor-
mation line beneath the graphics area.
Sketch Take a look at your workpiece sketch.
You begin to program the user-defined contour in clockwise direction.

Arc The first element is the arc in the clockwise direction (given in the
cw sketch with a radius of 15 mm).
Press this softkey function Arc cw (cw – clockwise, ccw – counter-
clockwise).
Note Enter known values into this screenform. The other fields remain blank.
EX means end point X absolute.
You can get explanations for these values by pressing the Help key.
The entries in the interactive screenform Arc of circle Cartesian are
as shown in the figure below.

Fig. 4.72 Interactive screenform: Circular arc

4–66  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95 4 Programming Example 1
4.3.17 Create contour using oriented geometry

Enter in the input fields for the centre point of the arc to be constructed
(circle)

for the radius


... ... ... RD = “15” (mm)
and for the coordinates
CX = “100” (mm)
CY = “35” (mm).
Confirm the parameter inputs.

Sketch As the next contour element on your workpiece sketch you can see the
user-defined line which is tangential at 45° to the Arc right and an end
point
E_Y = “65” (mm).

Line Press the softkey Line any and enter the known parameters
any

for the end point of the element in the Y axis


... ... ... E_Y = “65” (mm),
for the inclined line (tangential to the circle)
AS = “45” (°) and,
for the transition arc-line
AT = “0” (°)
in the interactive screenform Line Cartesian.
When you have put the cursor in an input field for the end point, you will
see the following display.



Fig. 4.73 Help, Line Cartesian

Confirm the entries.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–67


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.3.17 Create contour using oriented geometry

CR LI

Fig. 4.74 Geometry element

You can see the constructed geometry elements.


S Initial point
S Arc cw
S Line any

Line For the next contour element (see sketch), again press the softkey Line
any any and enter the known parameters

for the length of the lines


... ... ... L = “40” (mm),
or the transition line-line
AT = “–90” (°) und
for the element transition as chamfer
B = “5” (mm),
in the interactive screenform Line Cartesian.

Note The rounding and the chamfer refer to the transition to the last element.

Confirm the entry.

4–68  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97 4 Programming Example 1
4.3.17 Create contour using oriented geometry

The figure below shows the design that should also be displayed in the
graphics area.

GE
IP CR LI LI

Fig. 4.75 Part geometry, user-defined contour

For the next user-defined line, you know three parameters:


Element transition AT = “–90” (°),
Rounding R = “5” (mm) and
End point E_Y = “20” (mm).
For the purpose of this exercise, however, you should enter only two
parameters in order to see how the programming system behaves for
partially defined elements.

Line Press the softkey Line any


any

and enter the known parameters


... ... ... for the transition line-line
AT = “–90” (°) and
for the element transition as rounding
R = “5” (mm),
in the interactive screenform Line Cartesian.
Press the INPUT key.
The programming system can not yet offer a solution as the length of
the line has not yet been entered.
With the next element, the programming system computes the contour
details from this.
The number of programmed elements can be read off in the information
line below the graphics area.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–69


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
4.3.17 Create contour using oriented geometry

Press the softkey Line left ← for the last geometry element.
Line
left ← The programming system already enters some parameters.

Note Parameters calculated by the system are identified in the input fields.
They have the following meaning:
S “ = ” direct calculated value
S “ + ” value added to another
S “ – ” rounded down value
These marked fields cannot be overwritten.
The input fields can be defined only when you delete the parameter
from which the system has calculated these resulting values.
Now add the known parameters for the end point of the last element
and the element transition (rounding).
The graphic programming system allows you to enter the geometry ele-
ments from a simple parameter set.
If, however, you need still more parameters in order to define the geo-
metry element, then use this key
to open the interactive screenform containing all the parameters from
the full parameter set list box.

Enter the end point


... ... ... E_X = “100” (mm)
E_Y = “20” (mm)

and the rounding

R = “20” (mm)

into the interactive screenform Line Cartesian,


and confirm the entries.
The programming system computes the contour details. In the figure
below you can see the constructed user-defined contour.

4–70  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97 4 Programming Example 1
4.3.17 Create contour using oriented geometry

IP CR LI LI LI LIGE

Fig. 4.76 Complete user-defined contour

When the cursor is positioned on a geometry


element, you can:

Use the INPUT key to call up the


relevant interactive screenform for
the element and edit its
parameters.

Delete the element using the


Delete key.

End graphic programming of the geometry elements and exit this level
with this key.

The island is programmed and therefore you exit this programming with
OK the softkey OK.

On quitting the input of oriented geometry, the


graphic programming system saves the defined
geometry as Auto Save.

Exercise Next, you will practise how to graphically program holes.

The programming system defines the holes as


geometry definition.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–71


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
4.3.18 Holes – hole box

4.3.18 Holes – hole box

Objective The section below describes how you create


S Holes as a hole box and
S A single hole.
You will program the four holes shown in the sketch with a diameter of
10 mm.

Fig. 4.77 Holes

Initial situation You are at the programming level Geometry/New_Create.


Procedure
Press the softkey Holes.
Holes

Enter the parameters which have already been entered in the illustra-
... ... ... tion below.

Fig. 4.78 Parameters, holes

Confirm your entries.

Press the softkey Hole box to define the location of the four holes that
Hole box you want.

4–72  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97 4 Programming Example 1
4.3.18 Holes – hole box

The interactive screenform Hole box appears. With the help of the dra-
wing below, enter the various parameters from your workpiece sketch
into the interactive screenform.

2nd side N2

Initial point
90°
1st side N1

Fig. 4.79 Parameters, start point, 1st side, 2nd side

The figure below already includes the parameters that are to be


entered.

Fig. 4.80 Selection of start points, 1st side, 2nd side

After pressing the INPUT key, the hole box has been constructed.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–73


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.3.18 Holes – hole box

Fig. 4.81 Holes

You have now constructed the geometry of your workpiece.

4–74  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95 4 Programming Example 1
4.3.19 Hole as cutter insert point

4.3.19 Hole as cutter insert point

Objective This section describes


how you generate a single hole.
Initial situation You are at the programming level Geometry/New_Create.

15

Insert point

60

Fig. 4.82 Parameters, insert point 1

In this exercise, you will program an insert point (relief hole) for the rec-
tangular pockets (shown by the dotted area in the sketch).
This hole is provided to relieve the face end of the cutter when machi-
ning in solid material.
This hole can be created immediately before programming the milling
operation.

Insert points for the solid milling operation should


be set close to the start point of the contour.

Procedure
Press the Holes softkey.
Holes

Enter the parameters in the interactive screenform Holes.


... ... ... The next figure already contains the parameters that are to be entered.

Fig. 4.83 Parameter, insert point 2

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–75


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.3.19 Hole as cutter insert point

Confirm the entry.

Single Press the Single hole softkey.


hole In the “Parameters, insert point 1” drawing
(see Fig. 4.82) you will find the values
X = “15” (mm) and Y = “60” (mm).
Enter the values that you can already see in the following figure
... ... ... (Fig. 4.84).

Fig. 4.84 Parameters, insert point 3

Confirm the parameters by pressing the INPUT key.

Fig. 4.85 Single hole

The single hole has been programmed.


In the next steps of the exercise you will learn how to program the ma-
chining functions drilling and milling.
First go into the programming level shown in the next figure.

4–76  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95 4 Programming Example 1
4.4 Graphic programming of drilling and milling

4.4 Graphic programming of drilling and milling

Steps involved in the exercise, Create user magazine (duration approx. 25 min.)

Now unfold the work schedule in the Appendix (see


Section 6.2).

Objective You will machine the programmed geometry by drilling and milling.
The following section describes how you
S Mill an island
S Select a tool to do this
S Set a construction hole for the pocket
S Mill a pocket
S Machine holes
S Generate part programs, and
S Simulate machining.
Initial situation
S You have created the tools (see work schedule Section 6.2) in user maga-
zine Exercise
S You have designed workpiece “PART 1” (see workpiece sketch
Section 6.1)
S You are at the basic level of the Graphic Programming System.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–77


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.4.1 Machining

4.4.1 Machining

For the next exercise, you start off with this display:

Fig. 4.86 Basic level

Program the functions drilling and milling under the function machi-
ning.

Machining Press the softkey Machining.


You always need tools for machining.

You load one magazine for each machining


operation.
You can always extend or alter the loaded magazine
under the function Tools Material (see User’s Guide
“Part 2: Operating/Programming Functions”).
The vertical function Program steps has a subme-
nu called edit that enables you to load a different
user magazine or tool master data (file “WKZ”).

In the interactive screenform Magazine that appears on the screen you


decide whether you want to load tool master data or a user magazine.

In the exercise “Tools” (see Section 4.2, Page 4–4) you created a ma-
gazine called Exercise. First load this tool magazine.

Move the cursor to the input field Load magazine.

4–78  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97 4 Programming Example 1
4.4.1 Machining

Open a selection screenform with the INPUT key.

Select the magazine Exercise from the list of tool magazines offered,

and load the magazine for the machining operation with this key.

The interactive screenforms with parameters offered


in this exercise mostly have default values. An
empirical value file exists for this purpose. This
makes it easier to enter parameters when
programming.

The Beginning of program interactive screenform that comes onto the


screen (see Fig. 4.87 on the following page) requests you to enter the
program type and program No.
These two items of information lead to the program name of the part
program.

Main program
MPF3
Program No. 3
Subprogram
Program No. 100 SPF100

This and other information appears as commentary in your Part pro-


gram.

The entries put into the interactive screenform Beginning of program


are default values for the calculation which follows in the Create part
prog. function.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–79


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
09.96
4.4.1 Machining

The entries in the interactive screenform could look like this:

Fig. 4.87 Parameters: Beginning of program

Enter the required parameters in the usual way.


Accept these parameters.

4–80  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97 4 Programming Example 1
4.4.3 Tool selection

4.4.2 Machining, milling

Objective The following exercise steps describe how you


S Initially mill the island from the blank,
S Select a milling cutter for this, and
S Start milling with the function Solid milling.
You require the following milling tools
S For the island, the 20 mm end mill,
S For the pocket as a relief hole, the 10 mm solid drill and the 5 mm
end mill.

4.4.3 Tool selection

Your workpiece contains drilling and milling operations. Programming


can always be done in any sequence. Start with the milling.
Press the Milling softkey.
Milling

Fig. 4.88 Milling programming level

Tool Press the Tool selection softkey.


selection The programming system offers you the choice of tools that you crea-
ted in the tool magazine Exercise.
You want to be able to choose from all the existing milling tools. Select
All the All function.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–81


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.4.3 Tool selection

There are two tools:

Fig. 4.89 Tool class

To mill the island, select the SAF 20/ 32/R HM P20–P35 end mill.
In the interactive screenform that is now on the screen, you will see the
tool description that you have programmed.

Fig. 4.90 Tool description

Note At this point you can again check the values for the tool and offset me-
mory number and alter these to suit the machine.
Accept the end mill.

4–82  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95 4 Programming Example 1
4.4.4 Solid milling of an island

4.4.4 Solid milling of an island

The solid milling function machines islands and pockets. The un-
machined contours can be entered in any sequence.
You will first machine the area indicated by dots in the sketch.

Island

Fig. 4.91 Blank contour and island

Press the Solid milling softkey.


Solid
milling

Note The programming system guides you in the information line while you
are programming.
Now select the blank contour

and accept it.

Select the island (any contour)

When selecting contours, you must always include


the island(s) that must be considered.

and accept it.


End selection for the area by pressing the INPUT key.
Confirm.
You do not have to modify the parameters in the interactive screenform
Solid milling that is shown on the screen. The default values in the in-
put fields are contained in an empirical values file.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–83


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.4.4 Solid milling of an island

Fig. 4.92 Solid milling interactive screenform

The start and end plane of this area have been determined from the
geometry and entered by the system.
Confirm.
The programming system now automatically calculates the cutter path
and the cut segmentation for the programmed geometry definition.

Fig. 4.93 Machining: Mill blank with island


Note The programming system always recognizes that the tool has freedom
to move outside of the area to be milled.
The milling cutter infeeds outside of the blank contour.

4–84  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
09.96 4 Programming Example 1
4.4.5 Solid milling of a pocket

4.4.5 Solid milling of a pocket

Objective The section below describes how you


S Place a relief hole for the end mill, and
S Machine a rectangular pocket with solid milling.
In the “Geometry” section you programmed a relief hole for the milling
tool.
Before executing the function “Solid milling”, you will first drill this cutter
insert hole.
Press the RECALL key to go to programming level Machining,

Relief hole
Press one after the other the softkeys Drill,
Drill

Centre drill and


Centre
drill

Tool Tool selection.


selection

Select the All function.


All

Select the solid drill VOB 10/42/R VHM.

Open the tool description for the solid drill.

If you have no changes to make, confirm this tool.

Value To execute the drill function, press the softkey Value input.
input

Select the single hole in the rectangular pocket.

End selection.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–85


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.4.5 Solid milling of a pocket

The interactive screenform Drilling/centering L81 that then appears on


the screen contains parameters taken from the empirical values file.
Move the cursor to the input field Include tip length in calcul. and

open a selection form.

Choose No (1) and

confirm the selection.

“0” has been entered for the programmed depth. This means that the
system determines the depth of the hole from the geometry (the default
depth of the hole is 10 mm).
Confirm the screenform parameters.
The system works out the drill path.

Solid milling of a
pocket
To execute the function “Solid milling”, go into the programming level
Machining

and press the softkey Milling.


Milling

Tool Change the tool.


selection

Select the All function.


All

For this pocket, select the end mill


SAF 5/ 16/R HM P20–P35.

Confirm the screenform parameters.

4–86  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95 4 Programming Example 1
4.4.5 Solid milling of a pocket

The next contour is the rectangular pocket of your workpiece (indicated


by dots in the sketch).

Insert hole for


the miller

Fig. 4.94 Pocket and insert hole

Press the softkey Solid milling once again.


Solid
milling

Select the rectangular pocket

and accept it.

Select the insert hole for the milling cutter

and confirm it.


As there is no other contour to machine,

end the selection.


You do not need to change the parameters (from the empirical values
file) in the interactive screenform Solid milling that appears on the
screen.
The programming system obtains the start and end planes from the
geometry parameters.
Confirm this.
The programming system now automatically calculates for the program-
med geometry definition the cutter path and the cut segmentation for
this pocket.
You machine the contour start from the insert point.
When calculation has been completed, take a look at your workpiece in
the 4-window view (see Section 4.3.3, Page 4–27) and continue pro-
gramming in this view.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–87


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.4.5 Solid milling of a pocket

milling plane

Fig. 4.95 4-window view milling

You have now programmed machining by solid milling for your exercise.

4–88  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97 4 Programming Example 1
4.4.6 Machining, drilling

4.4.6 Machining, drilling

Objective Finally, you will program machining of the holes indicated by dots in the
sketch.

Fig. 4.96 Holes

When creating the geometry, the holes are stored in the form of a point
box. The programming system identifies this relationship and machines
the holes in one operation.
Press the RECALL key to get into programming level Machining

and press the softkey Drill.


Drill
The following display appears.

milling plane

Fig. 4.97 Machining, drilling

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–89


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
09.96
4.4.6 Machining, drilling

Process the drilling matrix with “Drilling cycle, drilling”.

Centre Press the softkey Centre drill,


drill

and select via the Tool selection softkey.


Tool
selection

Select the All function.


All
The programming system accesses the tool magazine Exercise and
displays the programmed tool.
The holes have a diameter of 10 mm. The drill offered with its descrip-
tion:
“SPB 10.0/31/118/R HSS” is correct.

Select the twist drill and


confirm the choice of tool and then

the tool description.

To select the holes to be machined, press the softkey Value input.


Value
input

The information line requests you to select the contour, i.e. the holes.
Select the four holes that have been programmed together and
end selection.

4–90  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
09.96 4 Programming Example 1
4.4.6 Machining, drilling

Fig. 4.98 Input drill depth

Note The island has a height of 15 mm. The drill path passes close to the
island.
To prevent a the drill colliding with the island, you must adjust the with-
drawal distance of the drill to suit the given conditions.
Place the cursor on the input field Approach distance DS,

and open a selection form.

Select Withdrawal distance CR,

and end selection.

Input fields containing “####.####” are not


evaluated by the system.

Put the cursor on the input field Withdrawal


distance CR and,

enter “18” (mm).


... ... ...

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–91


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
4.4.6 Machining, drilling

Fig. 4.99

For the drilling depth, it is advisable to program a depth allowance (AD).


Place the cursor on the input field
Input drill depth direct (1)

and open a selection form.

Select Depth allowance (2)

and confirm the selection.

AD

Fig. 4.100 Allowance AD

You can see that the line Prog. depth L1+ now includes the additional
comment allowance AD.
Move the cursor to this input field
Prog. depth L1 + allowance AD,

and enter “1” (mm) for the allowance.


... ... ...
Move the cursor to Include tip length and toggle “Yes (2)”.

4–92  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97 4 Programming Example 1
4.4.6 Machining, drilling

Confirm this entry.

The programming system works out the travel movements and displays
them in the graphics area.
You see construction lines.
Note You see the paths in the front view very clearly.

Fig. 4.101 Travel paths, front view

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–93


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.4.7 Machining simulation

4.4.7 Machining simulation

Objective The following section describes how you graphically simulate the pro-
grammed machining operations.
Initial situation
S You are in workpiece directory “PART 1” (see workpiece sketch
Section 6.1).
S You have completed programming of the workpiece (Geometry and
Machining).
Press the RECALL key twice to get into programming level Machining.

Select Top view for this function.


Views

Top view

For simulation, press the softkey


Machining
simulation Machining simulation.

Fig. 4.102 Simulation mode

Complete the interactive screenform that appears on the screen as


shown in Fig. 4.102.
Accept the parameters.

4–94  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95 4 Programming Example 1
4.4.7 Machining simulation

Fig. 4.103 Simulation

The functions on the horizontal softkey menu affect the display on the
screen during simulation (see Fig. 4.103).
Abort simulation by pressing the RECALL key.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–95


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
07.97
4.4.8 Create part program

4.4.8 Create part program

Objective This section describes how you


S Create a part program with the graphic programming system, and
S Edit a part program.
Initial situation
S You are in workpiece directory “PART 1” (see workpiece sketch Section
6.1).
S You have completed programming of the workpiece (Geometry and Ma-
chining).
S You are at the basic level.
To obtain an executable DIN program, press the softkey Create part
Create
part prog. prog.

Accept the parameters in the screenform Main program end that ap-
pears on the screen.

The programming system creates the part program for your example.
Note During graphic programming, you have programmed in the XY plane
and the depth in the Z axis.

4–96  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95 4 Programming Example 1
4.4.8 Create part program

Part program The part program that has been created has the following contents:
( MPF1 )
( Drawing No.: 5700801302.00 )
( Create date: 28. Sept.1995 )
( Machine: WOP )
( Programmer: Anne Cetieh )
( Exercise program )
N10 G26 S6000
( Approach reference point )
N15 G00 G53 X250
N20 G53 Y250
N25 G53 Z250
N30 G54 G90
N35 G00 B0
(Machining, top)
N40 G59 X0 Z0 Y0
( Station no. 23 )
N45 ( SAF 20/ 32/R HM P20–P35 )
N50 D0 M05 M09
N55 G53 Z200
N60 G53 X140 Y110
:65 T23 M06
N70 G54 D23
N75 T30
( Solid milling blank 1 oriented contour )
N80 G58 X0 Z0
N85 G94 F214.859 S1432 M03 M08
N90 G00 X–19 Y0
N95 Z10
N100 G64 Z5
N105 G01 Z–15 F214.8
N110 X0 F429.6
N115 Y100
N120 X150
N125 Y0
N130 X0
N135 X14 Y14
N140 Y86
N145 X136
N150 Y71.728
N155 X140 Y62.071
N160 X136 Y71.728
N165 X129.293 Y78.435
N170 G03 X112.322 Y85.464 I–16.971 J–16.971
N175 G01 X105.251
N180 G03 X88.281 Y78.435 I0 J–24
N185 G01 X72.423 Y62.577
N190 G03 X67.137 Y14 I27.577 J–27.577
N195 G01 X75.505 Y10
N200 X67.137 Y14
N205 X14
N210 X27.6 Y27.6
N215 Y72.4
N220 X63.012
N225 X71.703 Y76
N230 X63.012 Y72.4
N235 X62.806 Y72.194
N240 G03 X47.923 Y27.6 I37.194 J–37.194

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–97


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
4.4.8 Create part program

N245 G01 X27.6


N250 X39.6 Y57.913
N255 Y60.4
N260 X40.603
N265 G03 X39.6 Y57.913 I59.397 J–25.4
N270 G01 X37.6 Y40.001
N275 X39.6 Y57.913
N280 G00 Z8
N285 X150 Y20
N290 Z5
N295 G01 Z–15 F214.8
N300 X139.567 Y10.4 F429.6
N305 G03 X139.6 Y10.431 I–27.495 J29.6
N310 G01 Y10.4
N315 X139.567
N320 G00 Z8
N325 X112.5 Y0
N330 Z5
N335 G01 Z–15 F214.8
N340 X100 Y10 F429.6
N345 G02 X82.322 Y52.678 I0 J25
N350 G01 X98.18 Y68.536
N355 G02 X105.251 Y71.464 I7.071 J–7.071
N360 G01 X112.322
N365 G02 X119.393 Y68.536 I0 J–10
N370 G01 X140.607 Y47.322
N375 G02 X140.607 Y26.109 I–10.607 J–10.607
N380 G01 X133.284 Y18.787
N385 G02 X112.071 Y10 I–21.213 J21.213
N390 G01 X100
N395 Z8 F214.8
N400 G00 Z10
N405 G60
( Station no. 30 )
N410 ( VOB 10/42/R VHM )
N415 D0 M05 M09
N420 G53 Z200
N425 G53 X140 Y110
:430 T30 M06
N435 G54 D30
N440 T20
(Centre/drill insert hole )
N445 G58 X0 Z0
N450 G95 F0.09 S3183 M03 M08
N455 G00 X15 Y60
N460 Z–5
N465 G81 R2=–10 R3=–25 R10=–7
N470 G80
N475 Z–5
( Station no. 20 )
N480 ( SAF 5/ 16/R HM P20–P35 )
N485 D0 M05 M09
N490 G53 Z200
N495 G53 X140 Y110
:500 T20 M06
N505 G54 D20
N510 T13
( Solid milling contour1 insert hole )

4–98  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95 4 Programming Example 1
4.4.8 Create part program

N515 G58 X0 Z0
N520 G94 F515.662 S5729 M04 M08
N525 G00 X15 Y60
N530 Z–5
N535 G64 Z–10
N540 G01 Z–25 F515.61
N545 X9.599 Y57.345 F1031.22
N550 G02 X8.684 Y60.76 I1.25 J2.165
N555 G01 X23.684 Y86.74
N560 G02 X27.099 Y87.655 I2.165 J–1.25
N565 G01 X70.401 Y62.655
N570 G02 X71.316 Y59.24 I–1.25 J–2.165
N575 G01 X56.316 Y33.26
N580 G02 X52.901 Y32.345 I–2.165 J1.25
N585 G01 X9.599 Y57.345
N590 X12.215 Y59.876
N595 X26.215 Y84.124
N600 X67.785 Y60.124
N605 X53.785 Y35.876
N610 X12.215 Y59.876
N615 X16.996 Y61.157
N620 X27.496 Y79.343
N625 X63.004 Y58.843
N630 X52.504 Y40.657
N635 X16.996 Y61.157
N640 X21.778 Y62.438
N645 X28.778 Y74.562
N650 X58.222 Y57.562
N655 X51.222 Y45.438
N660 X21.778 Y62.438
N665 X26.559 Y63.719
N670 X30.059 Y69.781
N675 X53.441 Y56.281
N680 X49.941 Y50.219
N685 X26.559 Y63.719
N690 X31.34 Y65
N695 X48.66 Y55
N700 X31.34 Y65
N705 Z–7 F515.61
N710 G00 Z–5
N715 G60
( Station no. 13 )
N720 ( SPB 10.0/31/118/R HSS )
N725 D0 M05 M09
N730 G53 Z200
N735 G53 X140 Y110
:740 T13 M06
N745 G54 D13
( Centre/drill hole 1 )
N750 G58 X0 Z0
N755 G95 F0.16 S954 M03 M08
N760 G00 X15 Y10
N765 Z–10
N770 G81 R3=–39.004 R10=3
N775 X135
N780 Y90
N785 X15
N790 G80

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–99


SINUMERIK 840C (BN)
4 Programming Example 1 11.95
4.4.8 Create part program

N795 D0 M05 M09


N800 G53 Z200
N805 G53 X140 Y110
N810 M30 ( End of program )

4–100  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95 4 Programming Example 1
4.4.9 Exit WOP

4.4.9 Exit programm. WOP function


Objective You will be provided with information for saving the files which you ge-
nerated with the Graphic Programming System.
The operations for exiting the Graphic Programming System are
described step by step in the section “Programming Examples” of the
corresponding Environment Description (e.g.: “Graphic Programming
System on PC”).
Workpiece geometry
and machining If you change to a new workpiece, the programming system enquires
whether you wish to save the workpiece geometry and machining that
you have created.
Apart from that, with the vertical softkey Save you can save your work-
Save piece geometry and machining at the time of Graphic Programming.

The Graphic Programming System stores the workpiece geometry file


in the workpiece directory where you cannot see it.
Note In the Graphic Programming System, you are always working under
workpiece names (e.g. “PART1”)

Part program After ending the function Create part prog., the Graphic Programming
System stores the part program in your workpiece directory (e.g.
“PART1”) it is not necessary to save the program separately.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 4–101


SINUMERIK 840C (BN)
4 Programming Example 1 11.95

4–102  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95 5 Programming Example 2
5.1 Grafisch Programmieren

5 Programming Example 21)


Programming Example 2 is an example (see sketch in section 6.3) in-
volving the definition of surfaces and multi-side machining.
5.1 Geometry
Steps involved in the exercise create blank geometry and surfaces (duration approx. 45 mins.)
Objective The following sections describe how to
S program the blank contour graphically and
S then create holes and surfaces.
Initial situation You have created a new workpiece directory called “PART2”. The
Graphic Programming System is loaded. You start from this user
interface:

Fig. 5.1 Basic level WOP programming

S Some geometry must be present before you select


the Machining softkey.
S If you need some new tools, we recommend you
create the tools before creating your workpiece
geometry. You learned how to do this in the first
programming example.
You can use the existing master data magazine as
the tool magazine.

1) Only if multi-side machining option is available

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 5–1


SINUMERIK 840C (BN)
5 Programming Example 2 11.95
07.97
5.1.1 Blank contour

First create the workpiece geometry.

5.1.1 Blank contour

Objective
This section describes how you graphically program the blank contour of the
workpiece “PART 2” as a standard contour.
Initial situation
S You are in workpiece directory “PART2”.
S The graphic programming system is active.

Now unfold the workpiece sketch in the Appendix


(see Section 6.3).

Begin your graphic programming of the blank contour by pressing the


Geometry Geometry softkey in the horizontal softkey menu.

Create Then press the softkey Create new. The following display appears.
new

WOP default

Fig. 5.2 Create new geometry

The plane that is to be programmed with WOP is the default milling


plane used by the system.
This can be seen in the top right of the graphics area in Fig. 5.2.

5–2  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97 5 Programming Example 2
5.1.1 Blank contour

Press the Blank softkey and enter the parameters described below in
Blank the interactive screenform Blank.
In Fig. 5.3, the data for the blank has already been entered.

Fig. 5.3 Data for the blank

The name of the blank is to be “Dice”.


... ... ...
Confirm the name entered and move the cursor to the input field
Select material.

Open the continuation form in the input field.


The Material list selection form appears.

Fig. 5.4 Material list

The material of the blank could be ST 50–2.


Confirm the material group for this material.
Move the cursor to the input field
Workpiece ref. plane.

The workpiece reference point (see sketch in the Appendix or Fig. 5.5)
is at the top edge of the workpiece. Since the top edge is zero, accept
the default value Workpiece ref. plane ZM = 0.0.

The programming system programs the geometry in


the
S X and Y axes (XY plane) and
S the depth in the Z axis.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 5–3


SINUMERIK 840C (BN)
5 Programming Example 2 11.95
07.97
5.1.1 Blank contour

+Z Workpiece reference plane

+X

40
Material
thickness

Fig. 5.5 Workpiece reference plane and material thickness

Enter the value “40” (mm) as the Material thickness.


... ... ...
Conclude input in the interactive screenform for the first blank parame-
ters.
The Graphic Programming System inserts a new menu in the horizontal
softkey row.

Display line for the


menu level
(programming level)

Fig. 5.6 Programming level

Note The current programming level is displayed in the line above the gra-
phic area.
You will now define the rectangular blank contour using the Standard
Standard
Geometry geometry softkey.

5–4  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97 5 Programming Example 2
5.1.1 Blank contour

Press the Rectangle softkey.


Rectangle The interactive screenform Rectangle is offered by the Graphic Pro-
gramming System.
Sketch Have a look at your sketch and then you can enter all parameters
needed for your rectangle.
The Reference point for the blank is at the bottom left (2).
Use this key to select Reference point bottom left (2) from the list
box.
Using the cursor keys and the numeric keys, enter the parameters for
... ... ... our example
Length in X (INC) DX = “40” (mm) and
Length in Y (INC) DY = “40” (mm).
In the following interactive screenform, the parameters are entered in
the individual input fields.

Fig. 5.7 Rectangle interactive screenform

Once you have entered parameters in the input fields, terminate the
input of the interactive screenform for the rectangle parameters using
the INPUT key.

Fig. 5.8 Blank contour


You have now programmed the blank contour.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 5–5


SINUMERIK 840C (BN)
5 Programming Example 2 11.95
5.1.2 Hole box at milling level

5.1.2 Hole box at milling level

Objective This section describes how you create


a hole box at the milling level,
Initial situation
S You are at the programming level Geometry/New_Create.
S The blank contour is created (see Fig. 5.8).
Now program the hole box shown in grey in the following sketch.

+Y

+X

Fig. 5.9 Hole box

Press the softkey Holes.


Holes

First, give the holes the name “Hole box”.


... ... ...

5–6  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95 5 Programming Example 2
5.1.2 Hole box at milling level

Use the cursor keys and the numeric keys to enter the parameters for
... ... ... the first hole box.

Starting level PS = 0
+Z ∅ 5 Radius D1
+X

20
Depth L1

Fig. 5.10

The figure below already includes the parameters that are to be ent-
ered.

Fig. 5.11 Parameters, holes

Confirm by pressing the INPUT key.

Press the softkey Hole box to define the location of the four holes that
Hole box you want.
+Y 2nd side N2

Initial point 90°


30 1st side N1

10

10 +X
30

Fig. 5.12 Parameters, start point, 1st side, 2nd side

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 5–7


SINUMERIK 840C (BN)
5 Programming Example 2 11.95
07.97
5.1.2 Hole box at milling level

The figure below already includes the parameters that are to be ent-
ered.

Fig. 5.13 Selection of start point, 1st side, 2nd side

Use the cursor keys and the numeric keys to enter the hole box para-
... ... ... meters.

After pressing the INPUT key, the hole box has been constructed.

Fig. 5.14 Hole box

“Hole” exercise
finished
Note
Select the function Save to prevent any possible loss of the most re-
Save cently programmed contour (e.g.: as the result of a power failure).

Go to the Geometry programming level to define the plane “front” with


a single hole in the next section.

5–8  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97 5 Programming Example 2
5.1.3 Create surface “front”

5.1.3 Create surface – “front”

Objective The following section describes how


S To create a side as a “front” surface and
S Make individual holes on the “front” surface.
Initial situation
S You are at the programming level Geometry.
S The milling level is activated.

Surfaces on the blank or finished part that are


perpendicular to the design plane (see Fig. 5.15)
can always be created with ”Surface” from
Geometry.

Z Finished part
Y

ÀÀÀ Rear

ÀÀÀ
ÀÀÀ
Y1
Y1

ÀÀÀ
ÉÉÉÉÉÉÉÉ
Y1 X

ÀÀÀ
Y1 X1
X1 Surfaces

ÉÉÉÉÉÉÉÉ
ÀÀÀ
Left X1 perpendicular to

ÉÉÉÉÉÉÉÉ
ÀÀÀ
X1 the design plane
Right
X1
Front

Fig. 5.15 Finished part with surfaces

Create To define the surface “front”, press the softkey Create surface.
surface

Note The Graphic Programming System provides three ways of creating a


surface:
S Surface from geometry and
S Lateral surface and
S Free definition
If the surface is to be a circle, you must define it again under lateral
surface.
As the surface corresponds to a straight geometry element, create the
surface from the geometry.
With free definition, a surface can be defined in the space as desired.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 5–9


SINUMERIK 840C (BN)
5 Programming Example 2 11.95
5.1.3 Create surface “front”

Surface from Select the surface to be machined from the blank geometry.
geometry
Select Surface from Geometry
Surface from
Geometry
+Y

This side corresponds to


Surface “front” in the
example
+X

Fig. 5.16 “Front”

Use these cursor keys to select the side (surface) of the blank geome-
try indicated in the sketch (Fig. 5.16).
Make a single hole on this side.
The contour of the selected surface is shown in red.
Confirm your selection by pressing the INPUT key.

Fig. 5.17 Plane definition

Enter the name “Front” in the input fields of the interactive screenform
... ... ... Plane Definition.

After entering the name, close the interactive screenform by pressing


the INPUT key.

5–10  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97 5 Programming Example 2
5.1.3 Create surface “front”

Fig. 5.18 “Front” side as a created surface

The Graphic Programming System shows a top view of the surface


created on the front side.
Note

If you are not programming at the milling level, the


Graphic Programming System creates a new
coordinate system for this surface.

In the following exercise steps you will create a single hole.


Single hole
Objective This section describes how to make a single hole (shown in grey in
Fig. 5.19).

+ Y1
6
8

+ X1
20

Fig. 5.19 Single hole “front”

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 5–11


SINUMERIK 840C (BN)
5 Programming Example 2 11.95
07.97
5.1.3 Create surface “front”

Create Continue graphic programming using the function Create New.


New

Press the softkey Holes.


Holes

Enter the parameters (see sketch in Appendix) in the interactive


... ... ... screenform Holes.
The figure below already includes the parameters that are to be ent-
ered.

Fig. 5.20 Parameters for single hole

Confirm by pressing the INPUT key.

Single Press the softkey single hole.


hole
The input parameters are (see Fig. 5.19):
... ... ... X = “20” (mm)
Y = “8” (mm) (own coordinate system)
Confirm the parameters by pressing the INPUT key.

Fig. 5.21 Single hole

5–12  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95 5 Programming Example 2
5.1.4 Create surface “right”

The single hole is programmed.


Next, you will make another single hole in the surface “Right”.
To do this, first enter the programming level Geometry.

5.1.4 Create surface – “right”


Objective The steps in the exercise in the following section describe how to
S Create a side as surface “right” and
S Make a single hole in this surface.
Initial situation
S You are at the programming level Geometry.
S The blank contour for the milling part is created.
Select the function Select surface and
Select
surface

Select the Milling level.

Create To create the surface “right”, press the softkey Create surface.
surface

Surface from Select Surface from Geometry.


geometry
+Y

Surface “right”

+X

Fig. 5.22 Milling level “Top view”

Use these cursor keys to select the surface “right” indicated in the
sketch (Fig. 5.16).
The contour of the selected surface is shown in red.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 5–13


SINUMERIK 840C (BN)
5 Programming Example 2 11.95
07.97
5.1.4 Create surface – “right”

Confirm your selection by pressing the INPUT key.

Enter the name “Right” in the input fields of the interactive screenform
... ... ... Plane Definition.

After entering the name, close the interactive screenform by pressing


the INPUT key.

Fig. 5.23 “Right” side as a created surface

The Graphic Programming System shows a top view of the surface


created on the right.

5–14  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95 5 Programming Example 2
5.1.4 Create surface – “right”

Single hole
Objective This section describes how to make a single hole on the surface “right”
(shown in grey in Fig. 5.24).

+ Y1

Single hole
∅6
15

+ X1
20

Fig. 5.24 Single hole “right”

Create Continue graphic programming using the function Create New.


New

Press the softkey Holes.


Holes

Enter the parameters (see sketch in Appendix) in the interactive


... ... ... screenform Holes.
The figure below already includes the parameters that are to be ent-
ered.

Fig. 5.25 Parameters for single hole “right”

Confirm the inputs.

Single Press the softkey Single hole.


hole

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 5–15


SINUMERIK 840C (BN)
5 Programming Example 2 11.95
07.97
5.1.4 Create surface – “right”

The input parameters are


... ... ... XP = “20” (mm) and
YP = “15” (mm).
Confirm the parameters by pressing the INPUT key.

Fig. 5.26 Single hole

The single hole is programmed.


Exercise finished
Use this key to end graphic programming and quit this level.

Note
Now select the function Save.
Save
The surfaces created do not relate to the finished
part and must be redefined if the finished part is
modified.

The next section covers how to program the machining of Program-


ming Example 2.
Enter the programming level Geometry of the Graphic Programming
Systems by pressing the RECALL key.

5–16  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95
07.97 5 Programming Example 2
5.1.5 Machining

5.1.5 Machining

In the following section you will program the machining of the milling
part “Programming Example 2”.
Objective In accordance with the work schedule in section 6.4, page 6–7, you will
program
S The hole matrix (“milling plane”),
S The single hole “front” and
S The single hole “right”
in the above sequence.
Initial situation You have defined the milling level, the surfaces “front” and “right” and
created the geometry for Programming Example 2 (see sketches in
section page ).
S The milling level is selected
S You are at the basic level of the Graphic Programming System and
S The Graphic Programming System is displaying a top view of the
workpiece (see Fig. 5.14, page 5–8).
Note The individual key functions are not shown in this section.
The work steps are shown in tabular form (see work schedule).
The operations for the Drilling and Milling function and illustrations of
the keys are described in Programming Example 1.

Select After selecting the Select Surface function,


Surface S Load the tool master data,
S Fill in the interactive screenform Program start,
S Enter the coordinates for the point the tool is to approach before the
level change in the interactive screenform Change of Level and
S Select the Milling level from the menu.

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 5–17


SINUMERIK 840C (BN)
5 Programming Example 2 11.95
07.97
5.1.5 Machining

After pressing the softkey Display and reducing the view, the Graphic
Display Programming System displays the workpiece in the graphics area as
follows.

All levels
on/off

Views

DIN
Isometrics

Fig. 5.27 Programming Example 2 All levels on

5–18  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95 5 Programming Example 2
5.1.5 Machining

Work
Key Function Instructions
Step

Hole ma- Machining


Press the softkey Machining.
trix (1)

Select the Twist Drill SPB 5.0/20/118R HSS tool and


then execute the Enter Values function:
Programming level
Machining/Drilling/ S Select the hole matrix
Centre drilling
The Graphic Programming System calculates the clam-
ping method.
At the basic level Select created surface “front” from the menu.
Surface Note:
Select
“front” (2) The interactive screenform Change of level describes the
surface
tool change point for this level.
Select the Twist Drill SPB 5.0/20/118R HSS tool and
Programming level then execute the Enter Values function:
Machining/Drilling/
Centre drilling S Select the single hole.
The Graphic Programming System calculates the path.
At the basic level
Surface
Select Select created surface “right” from the menu.
“right” (3)
surface

You have already selected the tool in work step 2.


Programming level Execute the Enter Values function
Machining/Drilling/
Centre drilling S Select the individual hole.
The Graphic Programming System calculates the path.

Machi- At the basic level


For the machining simulation, select milling level from
ning si- Select
the menu.
mulation surface

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 5–19


SINUMERIK 840C (BN)
5 Programming Example 2 11.95
5.1.5 Machining

Work
Key Function Instructions
Step
At the basic level

Show
If you want to simulate all the programmed machining
steps, press the vertical softkeys
Show/All Levels On/Off followed by
Machi- Views/DIN Isometrics.
ning si- DIN
mulation Isometrics in sequence.

The Machining Simulation function enables you to fol-


low all the work steps on screen.
Machining
simulation

Create At the basic level


To create an executable DIN program, press the softkey
part pro- Create part Create Part Program
gram program

The exercise for Programming Example 2 is now complete.

Press the softkey Save to prevent loss of


Save data (e.g.: in the event of a power failure).

5–20  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95 6 Appendix
6.1 Werkstückskizze Beispiel 1

6 Appendix
6.1 Workpiece sketch example 1

35
10
20

Front view

85
40 10

30

80 100
R5 R15 R5
45
60 R20
45

20

120
150

Top view

+Z
+Y

+X

Isometric view

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 6–1


SINUMERIK 840C (BN)
6 Appendix 11.95

6–2  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95 6 Appendix
6.2 Work schedule example 1

6.2 Work schedule example 1

+Z
+Y

ÉÉ 3

+X
ÉÉÉÉ
ÉÉÉÉ
1

1 Solid milling of 2 Relief drilling 3 Solid milling of 4 Drilling the


an island a pocket hole matrix

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 6–3


SINUMERIK 840C (BN)
6 Appendix 11.95

6–4  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95 6 Appendix
6.3 Workpiece sketch example 2

6.3 Workpiece sketch example 2

30
10 ∅5
20
25
32

40
∅6
6

20
40
40

+Z

+Y

+X

+ Y1 + Y1

+ X1
+ X1

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 6–5


SINUMERIK 840C (BN)
6 Appendix 11.95
6.3 Workpiece sketch example 2

6–6  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95 6 Appendix
6.4 Work schedule example 2

6.4 Work schedule example 2

+Z

1 +Y

+X

+ Y1 + Y1

+ X1
+ X1

1 Drill 2 Drill 3 Drill


hole rmatrix single hole single hole
milling level surface “front” surface “right”

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 6–7


SINUMERIK 840C (BN)
6 Appendix 11.95
6.4 Work schedule example 2

6–8  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)
11.95 7 Index

7 Index
B H
Blank, 4–19, 5–2 Help function, 2–1
Hole box, 4–72, 4–73
Hole box at milling level, 5–6
Holes, 4–72
C hole box, 4–72, 4–73
single point, 4–75
Centre drill, 4–90
Chamfer, 4–59
Change of level, 5–19 L
Circle, 4–48 Line, 4–42
Construction geometry, 4–37
contour definition, 4–55
edit, 4–45 M
elements point, line, circle, 4–41 Machining, 4–2, 4–78, 5–1
Contour simulation, 4–94
delete, 4–63 Magazine
edit, 4–61 tool master data, 4–78
Contour definition, 4–55 user magazine, 4–78
Create part prog., 4–79 WKZ, 4–78
Create plane, 5–13 Master data, 4–4
Create surface, 5–9 copy, 4–15
save, 4–14
Masterdata, load, 4–5
D Masterdata/magazine, 4–5
Material list, 4–21, 5–3
Drilling, 4–77, 4–89 Material thickness, 4–22, 5–4
Milling, 4–77, 4–81

E O
Edit Oriented geometry, 4–62
construction geometry, 4–45 create, 4–64
contour, 4–61 input fields, 4–70
Element transition, 4–57
End plane, 4–30 P
Exercise Objectives, 3–1
Part program, create, 4–96
Plan view, 4–29
Point, 4–52
F Program, info, 4–15
Programming Example 1, 4–1
Finished part contour, 4–29 Programming Example 2, 5–1
Programming Example 2 (with C axis),
machining, 5–17
G Programming WOP function, exit, 4–101

Geometry, 4–19, 5–1


Geometry, from, 5–10 R
Graphic programming, 4–2 Rectangle, 4–31

 Siemens AG 1997 All Rights Reserved 6FC5198–VAA20 7–1


SINUMERIK 840C (BN)
7 Index 11.95
09.96

S U
Screen, 4–33 User magazine, 4–78
select viewport, 4–33 create new, 4–15
Simulation, 4–94
Single hole, 5–11, 5–15
Solid milling
island, 4–83 V
pocket, 4–85 Value input, 4–90
Standard geometry, 4–23, 5–4 Viewport, select, 4–33
rectangle, 4–24 Views, 4–27, 4–29
Start plane, 4–30 activate 4 views, 4–27
plan view, 4–29

T
Tool, 4–5 W
change, 4–12
Tool data, 4–7 Work schedule, 6–3, 6–7
Tool master data, 4–78 Workpiece sketch, 6–1, 6–5
Tool selection, 4–81
Tools, 4–4
change, 4–12 Z
create, 4–4
Tools material, 4–4 Zoom, 4–33

7–2  Siemens AG 1997 All Rights Reserved 6FC5198–VAA20


SINUMERIK 840C (BN)

You might also like