Control
SINUMERIK 840D sl / 840DE sl
SINUMERIK 828D
Software Version
CNC software 4.5 SP2
03/2013
6FC5398-1BP40-3BA1
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
indicates that minor personal injury can result if proper precautions are not taken.
NOTICE
indicates that property damage can result if proper precautions are not taken.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified for the specific
task in accordance with the relevant documentation, in particular its warning notices and safety instructions.
Qualified personnel are those who, based on their training and experience, are capable of identifying risks and
avoiding potential hazards when working with these products/systems.
Proper use of Siemens products
Note the following:
WARNING
Siemens products may only be used for the applications described in the catalog and in the relevant technical
documentation. If products and components from other manufacturers are used, these must be recommended
or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and
maintenance are required to ensure that the products operate safely and without any problems. The permissible
ambient conditions must be complied with. The information in the relevant documentation must be observed.
Trademarks
All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in this publication
may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
Siemens AG
Industry Sector
Postfach 48 48
90026 NÜRNBERG
GERMANY
Order number: 6FC5398-1BP40-3BA1
Ⓟ 04/2013 Technical data subject to change
You can find Frequently Asked Questions in the Service&Support pages under Product
Support. http://support.automation.siemens.com
SINUMERIK
You can find information on SINUMERIK under the following link:
www.siemens.com/sinumerik
Target group
This publication is intended for:
● Programmers
● Project engineers
Benefits
With the programming manual, the target group can develop, write, test, and debug
programs and software user interfaces.
Standard scope
This Programming Manual describes the functionality afforded by standard functions.
Extensions or changes made by the machine tool manufacturer are documented by the
machine tool manufacturer.
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.
Further, for the sake of simplicity, this documentation does not contain all detailed
information about all types of the product and cannot cover every conceivable case of
installation, operation or maintenance.
Technical Support
You will find telephone numbers for other countries for technical support in the Internet under
http://www.siemens.com/automation/service&support
Fundamentals
4Programming Manual, 03/2013, 6FC5398-1BP40-3BA1
Preface
Information on structure and contents
"Fundamentals" and "Job planning" Programming Manual
The description of the NC programming is divided into two manuals:
1. Fundamentals
This "Fundamentals" Programming Manual is intended for use by skilled machine
operators with the appropriate expertise in drilling, milling and turning operations. Simple
programming examples are used to explain the commands and statements which are
also defined according to DIN 66025.
2. Job planning
The "Job planning" Programming Manual is intended for use by technicians with in-depth,
comprehensive programming knowledge. By virtue of a special programming language,
the SINUMERIK control enables the user to program complex workpiece programs (e.g.
for free-form surfaces, channel coordination, ...) and makes programming of complicated
operations easy for technologists.
Availability of the described NC language elements
All NC language elements described in the manual are available for the SINUMERIK
840D sl. The availability regarding SINUMERIK 828D can be found in table "Operations:
Availability for SINUMER
A Appendix................................................................................................................................................ 551
A.1 List of abbreviations .................................................................................................................. 551
sary ................................................................................................................................................ 561
In order that the machine or the controller can work with the positions specified in the NC
program, these specifications have to be made in a reference system that can be transferred
to the directions of motion of the machine axes. A coordinate system with the axes X, Y and
Z is used for this purpose.
DIN 66217 stipulates that machine tools must use clockwise, right-angled (Cartesian)
coordinate systems.
<
=;
r
1
=
;<
r
r
r:
;
<
Workpiece coordinate system for turning
The workpiece zero (W) is the origin of the workpiece coordinate system.
Sometimes it is advisable or even necessary to work with negative position specifications.
For this reason, positions that are to the left of the zero point are assigned a negative sign ("-").
The axes in the coordinate system are assigned dimensions. In this way, it is possible to
clearly describe every point in the coordinate system and therefore every workpiece position
through the direction (X, Y and Z) and three numerical values The workpiece zero always
has the coordinates X0, Y0, and Z0.
Position specifications in the form of Cartesian coordinates
To simplify things, we will only consider one plane of the coordinate system in the following
example, the X/Y plane:
Polar coordinates can be used instead of Cartesian coordinates to describe workpiece
positions. This is useful when a workpiece or part of a workpiece has been dimensioned with
radius and angle. The point from which the dimensioning starts is called the "pole".
Position specifications in the form of polar coordinates
Polar coordinates are made up of the polar radius and the polar angle.
The polar radius is the distance between the pole and the position.
The polar angle is the angle between the polar radius and the horizontal axis of the working
plane. Negative polar angles are in the clockwise direction, positive polar angles in the
counterclockwise direction.
Example
<
3
3
r
3ROH
r
;
Points P1 and P2 can then be described – with reference to the pole – as follows:
In production drawings, the dimensions often do not refer to a zero point, but to another
workpiece point. So that these dimensions do not have to be converted, they can be
specified in incremental dimensions. In this method of dimensional notation, a position
specification refers to the previous point.
Applied to tool movement this means:
The incremental dimensions describe the distance the tool is to travel.
Example: Turning
;
3
33
3
=
In incremental dimensions, the following position specifications result for points P2 to P4:
Position Position specification in incremental dimensions The specification refers to:
P2 X15 Z-7.5 P1
P3 Z-10 P2
P4 X20 Z-10 P3
Note
With
DIAMOF or DIAM90 active, the set distance in incremental dimensions (G91) is
programmed as a radius dimension.
Fundamentals
20Programming Manual, 03/2013, 6FC5398-1BP40-3BA1
Fundamental Geometrical Principles
1.2 Working planes
Example: Milling
The position specifications for points P1 to P3 in incremental dimensions are:
<
3
3
In incremental dimensions, the following position specifications result for points P1 to P3:
Position Position specification in incremental
dimensions
P1 X20 Y35 Zero point
P2 X30 Y20 P1
P3 X20 Y -35 P2
1.2 Working planes
An NC program must contain information about the plane in which the work is to be
performed. Only then can the control unit calculate the correct tool offsets during the
execution of the NC program. The specification of the working plane is also relevant for
certain types of circular-path programming and polar coordinates.
3
;
The specification refers to:
Two coordinate axes define a working plane. The third coordinate axis is perpendicular to
this plane and determines the infeed direction of the tool (e.g. for 2D machining).
A distinction is made between the following coordinate systems:
● Machine coordinate system (MCS) (Page 24) with the machine zero M
● Basic coordinate system (BCS) (Page 27)
● Basic zero system (BZS) (Page 29)
● Settable zero system (SZS) (Page 30)
● Workpiece coordinate system (WCS) (Page 31) with the workpiece zero W
1.4.1 Machine coordinate system (MCS)
The machine coordinate system comprises all the physically existing machine axes.
Reference points and tool and pallet changing points (fixed machine points) are defined in
the machine coordinate system.
=P
0
<P
;P
If programming is performed directly in the machine coordinate system (possible with some
G functions), the physical axes of the machine respond directly. Any workpiece clamping that
is present is not taken into account.
Note
If there are various machine coordinate systems (e.g. 5-axis transformation), then an internal
transformation is used to map the machine kinematics on the coordinate system in which the
programming is performed.
Fundamentals
24Programming Manual, 03/2013, 6FC5398-1BP40-3BA1
Fundamental Geometrical Principles
1.4 Coordinate systems
Three-finger rule
The orientation of the coordinate system relative to the machine depends on the machine
type. The axis directions follow the so-called "three-finger rule" of the right hand (according
to DIN 66217).
Seen from in front of the machine, the middle finger of the right hand points in the opposite
direction to the infeed of the main spindle. Therefore:
● the thumb points in the +X direction
● the index finger points in the +Y direction
● the middle finger points in the +Z direction
=
<
;
Figure 1-1 "Three-finger rule"
Rotary motions around the coordinate axes X, Y and Z are designated A, B and C. If the
rotary motion is in a clockwise direction when looking in the positive direction of the
coordinate axis, the direction of rotation is positive:
Position of the coordinate system in different machine types
The position of the coordinate system resulting from the "three-finger rule" can have a
different orientation for different machine types. Here are a few examples:
=
&
&
%
<
<
;
;
<
=
=
;
%
=
;
%
&
&
<
Fundamentals
26Programming Manual, 03/2013, 6FC5398-1BP40-3BA1
Fundamental Geometrical Principles
1.4 Coordinate systems
1.4.2 Basic coordinate system (BCS)
The basic coordinate system (BCS) consists of three mutually perpendicular axes (geometry
axes) as well as other special axes, which are not interrelated geometrically.
Machine tools without kinematic transformation
BCS and MCS always coincide when the BCS can be mapped onto the MCS without
kinematic transformation (e.g. 5-axis transformation, TRANSMIT/TRACYL/TRAANG).
On such machines, machine axes and geometry axes can have the same names.
<
0DFKLQH
FRRUGLQDWH
V\VWHP %&6
=
Figure 1-2 MCS = BCS without kinematic transformation
0DFKLQH]HURSRLQW
Machine tools with kinematic transformation
BCS and MCS do not coincide when the BCS is mapped onto the MCS with kinematic
transformation (e.g. 5-axis transformation, TRANSMIT/TRACYL/TRAANG).
On such machines the machine axes and geometry axes must have different names.
Figure 1-3 Kinematic transformation between the MCS and BCS
Machine kinematics
The workpiece is always programmed in a two or three dimensional, right-angled coordinate
system (WCS). However, such workpieces are being programmed ever more frequently on
machine tools with rotary axes or linear axes not perpendicular to one another. Kinematic
transformation is used to represent coordinates programmed in the workpiece coordinate
system (rectangular) in real machine movements.
References
Function Manual Expansion Functions; M1: Kinematic transformation
=
%&6
;
0&6
%DVLFFRRUGLQDWHV\VWHP%&6
0DFKLQHFRRUGLQDWHV\VWHP0&6
=
0&6
Function Manual, Special Functions; F2: Multi-axis transformations
Fundamentals
28Programming Manual, 03/2013, 6FC5398-1BP40-3BA1
Fundamental Geometrical Principles
1.4 Coordinate systems
1.4.3 Basic zero system (BZS)
The basic zero system (BZS) is the basic coordinate system with a basic offset.
<
%DVLFRIIVHW
<
;
%DVLF]HURV\VWHP%=6
=
;
%DVLFFRRUGLQDWHV\VWHP%&6
=
Basic offset
References
The basic offset describes the coordinate transformation between BCS and BZS. It can be
used, for example, to define the palette window zero.
The basic offset comprises:
● External zero offset
● DRF offset
● Overlaid movement
● Chained system frames
● Chained basic frames
Function Manual, Basic Functions; Axes, Coordinate Systems, Frames (K2)
The "settable zero system" (SZS) results from the basic zero system (BZS) through the
settable zero offset.
Settable zero offsets are activated in the NC program with the G commands
G505...G599 as follows:
<
**
<
;
=
;
%DVLF]HURV\VWHP%=6
=
6HWWDEOH
]HURV\VWHP6=6
G54...G57 and
If no programmable coordinate transformations (frames) are active, then the "settable zero
system" is the workpiece coordinate system (WCS).
Programmable coordinate transformations (frames)
Sometimes it is useful or necessary within an NC program, to move the originally selected
workpiece coordinate system (or the "settable zero system") to another position and, if
required, to rotate it, mirror it and/or scale it. This is performed using programmable
coordinate transformations (frames).
See Section: "Coordinate transformations (frames)"
Fundamentals
30Programming Manual, 03/2013, 6FC5398-1BP40-3BA1
Note
Programmable coordinate transformations (frames) always refer to the "settable zero
system".
Loading...
+ 560 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.