SINUMERIK 802S base line 4
SINUMERIK 802C base line 4
2003.08 Edition
Cycles
9
SINUMERIK
®
Documentation
Key to editions
The editions listed below have been published prior to the current edition.
The column headed “Note” lists the amended sections, with reference to the previous edition.
Marking of edition in the “Note” column:
A ... ...New documentation.
B ... ...Unchanged reprint with new order number.
C ... ...Revised edition of new issue.
EditionOrder No.Note
1999.02 6FC5598-2AA00-0BP1A
2000.04 6FC5598-3AA00-0BP1A
2002.01 6FC5598-3AA00-0BP2C
2003.08 6FC5598-4AA01-0BP0A
Trademarks
SIMATIC
®
, SIMATIC HMI®, SIMATIC NET®, SIMODRIVE®, SINUMERIK®, and SIMOTION® are registered
trademarks of SIEMENS AG.
Other names in this publication might be trademarks whose use by a third party for his own purposes may violate
the registered holder.
Copyright Siemens AG 2003. All right reserved
The reproduction, transmission or use of this document or its contents is not permitted without express written authority. Offenders will
be liable for damages. All rights, including rights created by patent
grant or registration of a utility model, are reserved.
Exclusion of liability
We have checked that the contents of this document correspond to
the hardware and software described. Nonetheless, differences
might exist and we cannot therefore guarantee that they are completely identical. The information contained in this document is reviewed regularly and any necessary changes will be included in the
next edition. We welcome suggestions for improvement.
Siemens-Aktiengesellschaft.SINUMERIK 802S/802C base line
Safety Guidelines
This Manual contains notices intended to ensure your personal safety , as well
as to protect products and connected equipment against damage. Safety
notices are highlighted by a warning triangle and presented in the following
categories depending on the degree of risk involved:
!
Indicates an imminently hazardous situation which, if not avoided, will result in
!
Indicates a potentially hazardous situation which, if not avoided, could result in
!
Used with safety alert symbol indicates a potentially hazardous situation which,
Used without safety alert symbol indicates a potentially hazardous situation
Danger
death or serious injury or in substantial property damage.
Warning
death or serious injury or in substantial property damage.
Caution
if not avoided, may result in minor or moderate injury or in property damage.
Caution
which, if not avoided, may result in property damage.
Indicates important information relating to the product or highlights part of the
Qualified person
Proper use
The unit may be used only for the applications described in the catalog or the
!
This product must be transported, stored and installed as intended, and
Please observe the following:
Notice
documentation for special attention.
The unit may only be started up and operated by qualified person or persons.
Qualified personnel as referred to in the safety notices provided in this
document are those who are authorized to start up, earth and label units,
systems and circuits in accordance with relevant safety standards.
Warning
technical description, and only in combination with the equipment, components
and devices of other manufacturers as far as this is recommended or p ermitted
by Siemens.
maintained and operated with care to ensure that it functions correctly and
safely.
Contents
Contents
SINUMERIK 802S/C base line Operator Panel OP
1.Introduction
1.1Screen Layout 1-1
1.2Operating areas 1-4
1.3O verview of the most important softkey functions 1-5
1.4Pocket calculator 1-6
1.5Coordinate systems 1-10
III
1-1
2.Turning On and Reference Point Approach
2-1
3.Set Up
3.1Entering tools and tool offsets 3-1
3.1.1Creating a new tool 3-3
3.1.2Tool compensation data 3-4
3.1.3Determining the tool offsets 3-5
3.2Entering/modifying the zero offset 3-7
3.2.1Determining the zero offset 3-8
3.3Programming the setting data - “Parameters” operating area 3-10
3.4R parameters – “Parameters” operating area 3-12
3-1
4.Manually Operated Mode
4.1Jog mode – “Machine” operating area 4-1
4.1.1Assigning handwheels 4-4
4.2MDA mode (Manual Data Input) – “Machine” operating area 4-5
5.Automatic Mode
5.1Selecting/starting a part program – “Machine” operating area 5-4
5.2Block search – “Machine” operating area 5-5
5.3Stopping/aborting a part program – “Machine” operating area 5-6
5.4Repositioning after interruption – “Machine” operating area 5-7
5.5Program execution from external (RS232 interface) 5-8
5.6Teach-in 5-9
4-1
5-1
6.Part Programming
6.1Entering a new program – “Program” operating area 6-3
6.2Editing a part program – “Program” operating area 6-4
6.3Programming support 6-7
6.3.1Vertical menu 6-7
6.3.2Cycles 6-8
6.3.3Contour 6-9
6.3.4Free softkey assignment 6-24
6-1
7. Services and Diagnosis
7.1Data transfer via the RS232 Interface 7-1
7.1.1Interface parameters 7-4
7.1.2Special functions 7-5
7.1.3Interface parameterization 7-6
7.2Diagnosis and start-up – ”Diagnostics” operating area 7-8
7-1
8.Programming
8.1Fundamentals of NC programming 8-1
8.1.1Program structure 8-1
8.1.2Word structure and address 8-2
8.1.3Block structure 8-3
8.1.4Character set 8-5
8.1.5Overview of instructions 8-6
8-1
SINUMERIK 802S/C base line
Operation and Programming Turning
8.6.4Selection of tool radius compensation: G41, G42 8-46
8.6.5Behavior at corners: G450, G451 8-48
8.6.6Tool radius compensation OFF: G40 8-49
8.6.7Special cases of tool radius compensation 8-50
8.6.8Example of tool radius compensation 8-52
8.7Miscellaneous function M 8-53
8.8Arithmetic parameters R 8-54
8.9Program branches 8-56
8.9.1Labels - destination for program branches 8-56
8.9.2Unconditional program branches 8-57
8.9.3Conditional branches 8-58
8.9.4Example of program with branches 8-60
8.10Subroutine technique 8-61
9.Cycles
9.1General Information about Standard Cycles 9-1
9.1.1Overview of Cycles 9-1
9.1.2Error messages and error handling in cycles 9-2
9.2Drilling, counter boring - LCYC82 9-4
9.3Deep hole drilling – LCYC83 9-6
9.4Tapping with compensating chuck - LCYC840 9-10
9.5Boring - LCYC85 9-12
9.6Recess cycle – LCYC93 9-14
9.7Undercut cycle – LCYC94 9-18
9.8Stock removal cycle – LCYC95 9-20
9.9Thread cutting – LCYC97 9-25
II
SINUMERIK 802S/C base line
Operation and Programming
9-1
Turning
Contents
SINUMERIK 802S/C base line Operator Panel OP
NC keyboard area (left side):
Softkey
Machine area key
Recall key
ETC key
Area switchover key
Cursor UP
with shift: page up
Cursor LEFT
Delete key (backspace)
Numerical keys shift for
alternative assignment
Vertical menu
Acknowledge alarm
Selection key/toggle key
ENTER / input key
Shift key
Cursor DOWN
with shift: page down
Cursor RIGHT
SPACE (INSERT)
Alphanumeric keys shift for
alternative assignment
SINUMERIK 802S/C base line
Operation and Programming Turning
III
Contents
Machine Control Panel area (right side):
RESET
NC STOP
NC START
User-defined key with LED
…
User-defined key without LED
INCREMENT
JOG
REFERENCE POINT
AUTOMATIC
SINGLE BLOCK
MANUAL DATA
SPINDLE START LEFT
Counterclockwise direction
SPINDLE START RIGHT
Clockwise direction
SPINDLE STOP
RAPID TRAVERSE OVERLAY
X axis
Z axis
Feedrate override plus with LED
Feedrate override 100% without
LED
Feedrate override minus with LED
Spindle speed override plus with
LED
Spindle speed override 100%
without LED
Spindle speed override minus with
LED
IV
SINUMERIK 802S/C base line
Operation and Programming
Turning
Introduction
1.1 Screen layout
1
Fig.1-1 Screen layout
The abbreviations on the screen stand for the following:
Table 1–1 Explanation of display elements
Display ElementAbbreviationMeaning
MAMachine
Active operating area
Program status
Operating mode
PAParameter
PRProgramming
DIServices
DGDiagnosis
STOPProgramm stopped
RUNProgram running
RESETProgram aborted
JogManual traverse
MDAManual input with automatic function
AutoAutomatic
SINUMERIK 802S/C base line
Operation and Programming Turning
1-1
Introduction
Display Element AbbreviationMeaning
SKPSkip block
Program blocks marked by a slash in front of the block number
are ignored during program execution.
DRYDry run feed
Traversing movements are executed at the feed specified in the
Dry Run Feed setting data.
ROVRapid traverse override
The feed override also applies to rapid feed mode.
SBLSingle block with stop after each block
When this function is active, the part program blocks are
processed separately in the following manner:
Each block is decoded separately, the program is stopped at the
end of each block. The only exception are thread blocks without
dry run feed. In this case, the program is stopped only when the
end of the current thread block is reached. SBL can only be
selected in the RESET state.
When this function is active, the program is stopped at each block
in which the miscellaneous function M01 is programmed.
In this case, the message “5 stop M00/M01 active“ appears on
the screen.
Incremental mode
If the control is in the Jog mode, incremental dimension is
displayed instead of the active program control function.
Stop: No NC Ready
Stop: EMERGENCY STOP active
Stop: Alarm active with stop
Stop: M0/M01 sctive
Stop: Block ended in SBL mode
Stop: NC STOP active
Wait: Read-in enable missing
Wait: Feed enable missing
Wait: Dwell time active
Wait: Auxiliary function acknowl. missing
Wait: Axis enable missing
Wait: Exact stop not reached
Wait: For spindle
Wait: Feed override to 0%
Stop: NC block incorrect
Wait: Block search active
Wait: No spindle enable
Wait: Axis feed value 0
Program name
1-2
SINUMERIK 802S/C base line
Operation and Programming
Turning
Introduction
Display Element AbbreviationMeaning
Alarm line
Working window
Recall symbol
Menu extension
The alarm line is only displayed if an NC or PLC alarm is active.
The alarm line contains the alarm number and reset criterion of
the most recent alarm.
Working window and NC display
This symbol is displayed above the softkey bar when the operator
is in a lower-level menu.
When the Recall key is pressed, you can return to the next-higher
menu without saving data.
ETC is possible If this symbol appears above the softkey bar,
further menu functions are provided. These functions can be
activated by the ETC key.
Softkey bar
If this symbol is displayed above the softkey bar, further menu
Vertical menu
functions are provided. When the VM key is pressed, these
functions appear on the screen and can be selected by Cursor
UP and Cursor DOWN.
Here the current actual feedrate override is shown.
Feedrate
override
Gear box
Spindel speed
override
Here the current spindle gear stage 1…5 is shown.
Here the current spindel speed override is shown.
SINUMERIK 802S/C base line
Operation and Programming Turning
1-3
Introduction
1.2 Operating areas
The basic functions are grouped in the CNC into the following operating areas:
Operatin g ar eas
MachineParameters
Executing
part
programs
Manual
control
Editing
program
data
Program
Creating
part
programs
Services
Reading
in / reading
out data
Diagnostics
Alarm
display
Start-up
Fig.1-2 SINUMERIK 802S/C base line operating areas
Switching between the operating
Press the “Machine” area key for direct access to the “Machine” operating
area.
Use the area switching key to return from any operating area to the main
menu.
Press the area switching key twice to return to the previous operating area.
After turning on the control system, the Machine operating area will appear by
default.
Protection levels
Sensible points of the control system are password-protected against entering
and modifying data.
However, the operator can alter the protection levels in the “Machine Data”
display menu in the “Diagnostics” operating area.
Default: Protection level 3.
In the following menus, entering and modifying data depends on the set class
of protection:
tool offsets
z
zero offsets
z
setting data
z
RS232 settings
z
1-4
Operation and Programming
SINUMERIK 802S/C base line
Turning
Introduction
1.3 Overview of the most important softkey functions
MachineParameterProgramServicesDiagnosis
Alarms
Display
bright.
Data In
Start
ProgramsCyclesSelectionOpen
R
Parameter
Data Out
Start
NewCopyDeleteRename
Tool
correction
Service
display
Display
darker
RS232
setting
Execut. f.
ext.
Setting
data
Start-up
Change
lang.
Error logshow
Zero
offset
Machine
data
Memory
info
Program
control
Hand wheelAxis feed.
Zoom blockSearch
Axis feed.
Zoom block
Axis feed.
SINUMERIK 802S/C base line
Operation and Programming Turning
Execut.f.
ext.
Act.val
WCS
Zoom G
funct
Act.val
WCS
Zoom G
funct
Act.val
WCS
Zoom
act.val
Zoom M
funct
Zoom
act.val
Zoom M
funct
Zoom
act.val.
1-5
Introduction
1.4 Pocket calculator
This function can be activated for all input fields intended for entry of numerical
values by means of the “=” character. To calculate the required value, you can
use the four basic arithmetic operations, and the functions sine, cosine,
squaring, as well as the square root function.
If the input field is already loaded with a value, this function writes the value in
the input line of the pocket calculator.
Fig. 1-3 Pocket calculator
Permissible characters
The following characters are permitted for input:
+Value X plus value Y
-Value X minus value Y
*Value X multiplied with value Y
/Value X divided by value Y
The value X in front of the input cursor is replaced by the value cos(X).
QSquare function
The value X in front of the input cursor is replaced by the value X
RSquare root function
The value X in front of the input cursor is replaced by the value √X.
2.
Calculation examples
TaskInput
100 + (67*3)100+67*3
sin(45°)
cos(45°)
2
4
√ 4
45 S -> 0.707107
45 C -> 0.707107
4 Q -> 16
4 R -> 2
The calculation is carried out by pressing the Input key. The softkey function OK
will accept the result into the input field, quitting the calculator automatically .
To calculate auxiliary points on a contour, the calculator provides the following
functions:
calculating the tangential transition between a circle sector and a straight
z
line
moving a point in a plane
z
converting polar coordinates into Cartesian coordinates
z
adding the second end point of a contour section ‘straight line - straight
z
line’ given via angular interrelation.
1-6
Operation and Programming
SINUMERIK 802S/C base line
Turning
Introduction
These functions are directly linked with the input fields of the programming
support. Any values in this input field are written by the pocket calculator into
the input line, and the result is automatically copied into the input fields of the
programming support.
Softkeys
This function is used to calculate a point on a circle. The point results from the
angle of the created tangent and the direction of rotation of the circle.
Fig.1-4 Calculation of a point on a circle
Enter the circle center, the angle of the tangent and the radius of the circle.
The function switches the screen form from diameter programming to radius
programming.
Use softkey G2 / G3 to define the direction of rotation of the circle.
The abscissa and ordinate values are calculated; the abscissa is the first axis
of the plane, and the ordinate is the second axis of the plane.
If plane G18 is active, the abscissa is the Z axis, and the ordinate is the X axis.
The value of the abscissa is copied into that input field from which the pocket
calculator function has been called, and the ordinate value into the next
following input field.
Example
Given:Radius: 10
Calculating the intersection point between the circle sector and the
straight line
Circle center point: Z 147 X103
Ongoing angle of the straight line:-45°
.
SINUMERIK 802S/C base line
Operation and Programming Turning
1-7
Introduction
Result:Z = 154.071
X = 117.142
The function calculates the missing end point of the contour section straight
line - straight line, with the second straight line standing vertically on the first
straight line.
The following values of the straight line are known:
Straight line 1: Start point and rise angle
Straight line 2: Length and one end point in the Cartesian coordinate system
Fig.1-5
The function switches the screenform from diameter programming to radius
programming.
The function chooses the given coordinate of the end point. The value of
ordinate and/or abscissa is given.
The second straight line is rotated in clockwise direction or, with refer to the
first straight line, rotated by 90 degrees in counter-clockwise direction.
The function chooses the appropriate setting.
The missing end point is calculated. The value of the abscissa is copied into
that input field from which the pocket calculator function has been called, and
the ordinate value into the next following input field.
1-8
SINUMERIK 802S/C base line
Operation and Programming
Turning
Introduction
Fig.1-6
The drawing above must be added by the value of the circle center point to be
able to calculate the intersection point between the circle sector of the straight
line. The missing coordinate of the center point is calculated by means of the
pocket calculator function
stands vertical on the straight line.
Calculating M1 in section 1:
In this section, the radius stands on the straight line section rotated in counter-
clockwise direction.
, since the radius in the tangential transition
Use the softkeys
Enter the coordinates, the pole point P1, the rise angle of the straight line, the
given ordinate value and the circle radius as the length.
Fig.1-7
Result:Z = 24.601
X = 60
and to select the given constellation .
SINUMERIK 802S/C base line
Operation and Programming Turning
1-9
Introduction
1.5 Coordinate systems
Right-handed, rectangular coordinate systems are used for machine tools.
Such systems describe the movements on the machine as a relative motion
between tool and workpiece.
Fig.1-8 Specification of the axis directions to one another; coordinate system
when programming for turning
Machine coordinate
system (MCS)
Fig. 1-9 Machine coordinates/axes on a turning machine
The origin of this coordinate system is the machine zero.
All axes are in the zero position at this point. This point is merely a reference
The traversing range of the machine axes can be negative.
The orientation of the coordinate system on the machine depends on the particular
machine type. It can be turned to various positions.
point determined by the machine manufacturer. It does not need to be
approachable.
1-10
SINUMERIK 802S/C base line
Operation and Programming
Turning
Introduction
Workpiece coordinate system (WCS)
The coordinate system described above (see Fig. 1–8) is also used to describe
the geometry of a workpiece in the workpiece program.
The workpiece zero can be freely selected in the Z axis by the programmer. In
the Z axis, the zero point corresponds to the turning center.
Workpiece
X
Workpiece
W
Z
Workpiece
- wo rkpiece z ero
W
Fig.1-10 Workpiece coordinate system
Workpiece clamping
To machine the workpiece, it is clamped in the machine. The workpiece must
be aligned such that the axes of the workpiece coordinate system are in
parallel with the machine axes. Any resultant offset of the machine zero to the
workpiece zero is determined in the Z axis and entered in a specially provided
data area for the settable zero offset. This offset is activated during the NC
program execution by means, for example, of a programmable G54 (see
Section “Workpiece Clamping - Settable Zero Offset ...”).
X
Machine
M
Z
Machine
z.B.
Fig.1-11 Workpiece on the machine
Current workpiece
coordinate system
An offset in relation to the workpiece coordinate system can be generated by
means coordinate system of the programmable zero offset G158. The result is
the current workpiece (see Section “Programmable Zero Offset: G158”).
Workpiece
G54
X
Workpiece
W
Z
Workpiece
SINUMERIK 802S/C base line
Operation and Programming Turning
1-11
Introduction
1-12
SINUMERIK 802S/C base line
Operation and Programming
Turning
Turning On and Reference Point
2
Approach
Notice
Before you switch on the SINUMERIK and the machines, you should also have
read the machine documentation, since turning on and reference point
approach are machine-dependent functions.
Operating sequence
The Reference point approach window is active.
Fig.2-1 Jog Ref basic screen
Reference-point approach can only be executed in the Jog mode.
Activate the “Approach reference point” function by selecting the Ref key on
In the “Reference point approach” window (Fig. NO TAG), it is displayed
First switch on the power supply of the CNC and of the machine. After the
control system has booted, you are in the “Machine” operating area, in the Jog
operating mode.
the machine control panel area.
whether or not the axes have to be referenced.
Axis has to be referenced
SINUMERIK 802S/C base line
Operation and Programming
Axis has reached the reference point
Turning
2-1
Turning On and Reference Point Approach
…Press the direction keys.
The axis does not move if you select the wrong direction.
Approach the reference point in each axis successively.
You can quit the function by selecting another operating mode (MDA,
Automatic or Jog).
2-2
SINUMERIK 802S/C base line
Operation and Programming
Turning
Set Up
3
Preliminary remarks
Before you can use the CNC, set up the machine, tools, etc. on the CNC by:
entering the tools and tool offsets
z
entering/modifying the zero offset
z
entering the setting data
z
3.1 Entering tools and tool offsets
Functionality
Each tool has a defined number of parameters depending on the tool type.
Each tool is identified by its own tool number (T number).
See also Section 8.6 “Tool and Tool Offset“.
Operating sequences
This function opens the Tool Compensation Data window, which contains the
Parameter
The tool offsets consist of several data that describe the geometry, wear and
tool type.
offset values of the currently active tool. If you select another tool using the <<T
or T>> softkeys, the setting remains when you quit the window.
Tool
Corr.
Fig.3-1 Tool com pensation data window
SINUMERIK 802S/C base line
Operation and Programming Turning
3-1
Set Up
Softkeys
Select next lower or next higher edge number.
<< D
D >>
<< T
T >>
Get
Determine length compensation values.
Comp.
Select next lower or next higher tool.
Use the ETC key to extend the softkey functions.
Reset
edge
All edge compensation values are reset to zero.
New
edge
Creates a new edge and loads it with the appropriate parameters.
The new edge is created for the currently displayed tool; it is automatically
Delete
tool
assigned the next higher edge number (D1 – D9).
Max. 30 edges (in total) can be stored in the memory.
Deletes the tool compensation data of all edges of the selected tool.
New
tool
Creates new tool compensation data for a new tool.
Note: Max. 15 tools can be created.
Pressing this softkey opens the dialog box and the overview of the tool
Search
numbers assigned. Enter the tool number you search for in the input window
and start search with OK. If the searched tool exists, the search function opens
the tool offset data box.
3-2
SINUMERIK 802S/C base line
Operation and Programming
Turning
Set Up
3.1.1 Creating a new tool
Operating sequence
Press this softkey to create a new tool.
New
tool
Fig 3-2 New Tool window
Pressing this softkey opens the input window and an overview of the tool
numbers assigned.
…Enter the new T number (maximal only three digits) a nd specify the tool type.
OK
Press OK to confirm your entry; the Tool Compensation Data window is
opened.
SINUMERIK 802S/C base line
Operation and Programming Turning
3-3
Set Up
3.1.2 Tool compensation data
The tool compensation data are divided into length and radius compensation
data.
The list is structured according to the tool type.
Fig.3-3 Tool com pensation data window
Operating sequence
Enter the offsets by
positioning the cursor on the input field to be modified,
…entering value(s)
and confirming your entry by pressing Input or a cursor selection.
3-4
Operation and Programming
SINUMERIK 802S/C base line
Turning
Set Up
?
3.1.3 Determining the tool offsets
Functionality
Prerequisite
This function can be used to determine the unknown geometry of a tool T.
The appropriate tool has been changed. In JOG mode, approach a point on the
machine, from which you know the machine coordinates, with the edge of the
tool.This can be a tool with a known position. The machine coordinate value
can be split into two components: stored zero offset and offset.
Procedure
Enter the offset value into the intended Offset field. Then select the required
zero offset (e.g. G54) or G500 if no zero offset is to be calculated. These
entries must be made for each selected axis (see Fig. 3-6).
Please note the following:
The assignment of length 1 or 2 to the axis
depends on the type of tool (turning tool, drill)..
For the turning tool, the offset value for the X axis is a diameter dimension.
Using the actual position of point F (machine coordinate), the offset entry and
the selected zero offset Gxx (position of the edge), the control system can
calculate the assigned compensation value of length 1 or length 2 for the
preselected axis.
Note
: You can also use a zero offset already determined (e.g. G54 value) as
the known machine coordinate. In this case, approach to workpiece zero with
the edge of the tool. If the edge stands directly at the workpiece zero, the offset
value is zero.
F - tool carrier reference point
M - m a c h in e ze ro
W - workpiece zero
The offset value of the X axis is a
diameter value.
Actual position X
F
Workpiece
X
Machine
M
Gxx
Length 1=
W
Offset
Offset
Actual position Z
Length 2=?
Z
Machine
Fig.3-4 Determination of the length compensation values using the example of
a cutting tool
SINUMERIK 802S/C base line
Operation and Programming Turning
3-5
Set Up
F- workpiece reference point
M-machine zero
W -workpiece zero
X
Machine
Workpiece
Actual position Z
M
Gxx
W
Offset
Length 1=?
F
Z
Machine
Fig.3-5 Determination of length compensation value using the example of a
drill: Length 1/Z axis
Operating sequence
Get
Comp.
Select the softkey Get Comp. The window Compensation values opens.
Fig.3-6 Compensation values window
Enter offset if the tool edge cannot approach the zero point Gxx. If you
z
work without zero offset, select G500 and enter offset.
When the softkey Calculate is pressed, the control system determines the
z
searched geometry length 1 or 2 depending on the preselected axis. This
geometry is calculated on the basis of the approached actual position, the
selected Gxx function and the entered offset value.
The determined compensation value is stored.
3-6
SINUMERIK 802S/C base line
Operation and Programming
Turning
Loading...
+ 164 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.