802D SL Surface Grinding Programming Operating Manual
802D SL Surface Grinding Programming Operating Manual
1
SINUMERIK SINUMERIK 802D sl Surface grinding
Description
Manual mode 5
Programming and Operating Manual
Automatic mode 6
Part programming 7
System 8
Cycles 9
Programming 10
Network operation 11
Data Backup 12
PLC diagnostics 13
Appendix A
Valid for controller Software version
SINUMERIK 802D sl G/N 1.4
07/2009
6FC5398-5CP10-1BA0
Legal information
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
with a safety alert symbol, indicates that minor personal injury can result if proper precautions are not taken.
CAUTION
without a safety alert symbol, indicates that property damage can result if proper precautions are not taken.
NOTICE
indicates that an unintended result or situation can occur if the corresponding information is not taken into
account.
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 for the specific task, 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 adhered to. The information in the relevant documentation must be observed.
Trademarks
All names identified by ® are registered trademarks of the 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.
Target group
This publication is intended for programmers, planning engineers, machine operators and
system operators.
Benefits
With the Programming and Operating Manual, the target group can develop, write, test and
debug programs and software user interfaces.
In addition, it enables the target group to operate the hardware and software of a machine.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 3
Preface
Standard scope
This documentation only describes the functionality of the standard version. 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.
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
If you have any technical questions, please contact our hotline:
Europe / Africa
Phone +49 180 5050 222
Fax +49 180 5050 223
€ 0.14/min. from German landlines, mobile phone prices may differ.
Internet http://www.siemens.com/automation/support-request
America
Phone +1 423 262 2522
Fax +1 423 262 2200
E-mail mailto:[email protected]
Asia/Pacific
Phone +86 1064 757575
Fax +86 1064 747474
E-mail mailto:[email protected]
Note
Country telephone numbers for technical support are provided under the following Internet
address:
http://www.automation.siemens.com/partner
Surface grinding
4 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Preface
EC Declaration of Conformity
The EC Declaration of Conformity for the EMC Directive can be found/obtained
● on the internet:
http://support.automation.siemens.com
under the product/order No. 15263595
● at the relevant regional office of the I DT MC Business Unit of Siemens AG.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 5
Preface
Surface grinding
6 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Table of contents
Preface ...................................................................................................................................................... 3
1 Description............................................................................................................................................... 13
1.1 Control and display elements.......................................................................................................13
1.2 Error and status displays .............................................................................................................14
1.3 Key definition of the full CNC keyboard (vertical format).............................................................15
1.4 Key definition of the machine control panel .................................................................................17
1.5 Coordinate systems .....................................................................................................................19
2 Software user interface............................................................................................................................ 23
2.1 Screen layout ...............................................................................................................................23
2.2 Operating areas ...........................................................................................................................27
2.3 The help system...........................................................................................................................29
3 Turning on, reference point approach ...................................................................................................... 31
4 Setup ....................................................................................................................................................... 33
4.1 Entering tools and tool offsets......................................................................................................33
4.2 Create new tool ............................................................................................................................35
4.3 Register dresser...........................................................................................................................44
4.4 Sense workpiece..........................................................................................................................46
4.5 Shaping/dressing .........................................................................................................................48
4.6 Manual grinding ...........................................................................................................................50
4.7 Program setting data....................................................................................................................54
4.8 Arithmetic parameter R ................................................................................................................58
4.9 User data......................................................................................................................................59
5 Manual mode........................................................................................................................................... 61
5.1 Manual mode ...............................................................................................................................61
5.2 JOG mode - "Position" operating area.........................................................................................62
5.2.1 JOG mode....................................................................................................................................62
5.2.2 Assigning handwheels .................................................................................................................65
5.3 MDA mode (manual input) "Position" operating area .................................................................66
5.3.1 Teach In .......................................................................................................................................69
6 Automatic mode....................................................................................................................................... 73
6.1 Automatic mode ...........................................................................................................................73
6.2 Machining offset...........................................................................................................................78
6.3 Selection and start of a part program ..........................................................................................79
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 7
Table of contents
Surface grinding
8 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Table of contents
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 9
Table of contents
Surface grinding
10 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Table of contents
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 11
Table of contents
Surface grinding
12 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Description 1
1.1 Control and display elements
9HUWLFDOVRIWNH\V
+RUL]RQWDOVRIWNH\V
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 13
Description
1.2 Error and status displays
The individual LEDs and their functions are described in the table below.
LED Significance
ERR (red) Serious error, remedy through power OFF/ON
RDY (green) Ready for operation
NC (yellow) Signoflife monitoring
CF (yellow) Reading from/writing to CF card
References
You can find information on error description in the SINUMERIK 802D sl Diagnostics Manual
Surface grinding
14 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Description
1.3 Key definition of the full CNC keyboard (vertical format)
'HOHWHNH\
Q
$/$50
&$1&(/ &+$11(/ +(/3 ,QVHUWNH\
( ?
2 1 * 3
8 9 : 4 7DEXODWRU
; < = &
$ ಱ @ #
, - . 5
!
(17(5,QSXWNH\
0 6 7 /
> _ "
) ' + % 326,7,21RSHUDWLQJDUHDNH\3RVLWLRQ
326,7,21 RSHUDWLQJDUHD
675* $/7
%$&.63$&(
'(/
6+,)7 ,16(57
352*5$0RSHUDWLQJDUHDNH\
7$% ,1387
3URJUDPRSHUDWLQJDUHD
1(;7 3$*(
:,1'2: 83
0 2))6(7
326,7,21
2))6(7
3$5$0
3$5$0
2))6(73$5$0RSHUDWLQJDUHDNH\
352*5$0
6<67(0 3DUDPHWHURSHUDWLQJDUHD
3URJUDP
(1' 3$*( 0DQDJHU &86720
'2:1 $/$50
352*5$00$1$*(5RSHUDWLQJDUHDNH\
3URJUDP0DQDJHURSHUDWLQJDUHD
6<67(0
6<67(0$/$50RSHUDWLQJDUHDNH\
$/$50
6\VWHP$ODUPRSHUDWLQJDUHD
&86720RSHUDWLQJDUHD
8VHURSHUDWLQJDUHD
$FNQRZOHGJHDODUPNH\ 6FUROONH\V
1RIXQFWLRQ
,QIRNH\
$ :
&RQWURONH\ 6SDFH - = $OSKDQXPHULFNH\V
'RXEOHDVVLJQPHQWDWWKH6KLIWOHYHO
$/7NH\ 'HOHWHNH\EDFNVSDFH 1XPHULFNH\V
'RXEOHDVVLJQPHQWDWWKH6KLIWOHYHO
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 15
Description
1.3 Key definition of the full CNC keyboard (vertical format)
Hot keys
In the part program editor and in the input fields of the HMI, the following functions can be
carried out with certain key combinations on the full CNC keyboard:
Surface grinding
16 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Description
1.4 Key definition of the machine control panel
8VHUGHILQHGNH\ZLWK/('
8VHUGHILQHGNH\ZLWKRXW/('
,1&5(0(17
,QFUHPHQW
-2*
5()(5(1&(32,17
5HIHUHQFHSRLQW
$8720$7,&
6,1*/(%/2&.
6LQJOHEORFN
= <
0$18$/'$7$
; ;
0DQXDOLQSXW
< =
63,1'/(67$57&&:
&RXQWHUFORFNZLVH
63,1'/(6723
63,1'/(67$57&:
&ORFNZLVH
5$3,'75$9(56(29(5/$<
5DSLGWUDYHUVHRYHUULGH
5(6(7
; ; ;D[LV
&<&/(6723
1&6723
< < <D[LV
&<&/(67$57
1&67$57
= = =D[LV
(0(5*(1&<6723
)HHGUDWHRYHUULGH
)HHGUDWHFRQWURO
6SLQGOH6SHHG2YHUULGH
6SLQGOHRYHUULGH
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 17
Description
1.4 Key definition of the machine control panel
Note
This documentation assumes an 802D standard machine control panel (MCP). Should you
use a different MCP, the operation may be other than described herein.
Surface grinding
18 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Description
1.5 Coordinate systems
=
<
<
90° 90°
90°
;
;
=
Figure 1-2 Determination of the axis directions to one another; coordinate system for programming
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 19
Description
1.5 Coordinate systems
Figure 1-3 MCS for grinding (cylindrical grinding machine, surface grinding machine)
<
= =
;
<
Surface grinding
20 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Description
1.5 Coordinate systems
<
;
: =
: ZRUNSLHFH]HUR
Note
The actual value in the associated coordinate system can be activated and displayed in the
"Position" operating area using the "MKS/WKS REL" vertical softkey.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 21
Description
1.5 Coordinate systems
<PDFKLQH : ZRUNSLHFH]HUR
0 PDFKLQH]HUR
<ZRUNSLHFH
HJ* ;PDFKLQH
=PDFKLQH
0
3URJUDPPDEOHRIIVHW
75$16
< &XUUHQW
<
;
;
: =
: ZRUNSLHFH]HUR
Surface grinding
22 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Software user interface 2
2.1 Screen layout
6WDWXVDUHD
$SSOLFDWLRQDUHD
7LS
DQGVRIWNH\DUHD
Status area
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 23
Software user interface
2.1 Screen layout
JOG
MDA
Surface grinding
24 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Software user interface
2.1 Screen layout
Table 2- 2 Explanation of the screen controls in the note and softkey area
② Information line
Displays notes and information for the operator and fault states
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 25
Software user interface
2.1 Screen layout
ಯ/ಯ
Horizontal softkey
Vertical softkey
Surface grinding
26 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Software user interface
2.2 Operating areas
To change to another operating area, press the relevant key on the CNC full keyboard (hard
key).
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 27
Software user interface
2.2 Operating areas
Protection levels
The SINUMERIK 802D sl provides a concept of protection levels for enabling data areas.
The control system is delivered with default passwords for the protection levels 1 to 3.
Surface grinding
28 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Software user interface
2.3 The help system
Operating sequence
You can call the help system from any operating area either by pressing the Info key or by
using the key combination <ALT+H>.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 29
Software user interface
2.3 The help system
Softkeys
*RWR
7RSLF
Use this function to select cross references. A cross reference is marked by the characters
">>....<<". This softkey is only displayed if a cross reference is displayed in the application
area.
%DFNWR
7RSLF
If you select a cross-reference, the "Back to topic" softkey will also be displayed. Select this
function to go back to the previous screen.
)LQG Use this function to search for a term in the table of contents. Type the term you are looking
for and start the search process.
Surface grinding
30 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Turning on, reference point approach 3
Note
When you turn on the SINUMERIK 802D sl and the machine, please also observe the
machine documentation, since turning on and reference point approach are machine-
dependent functions.
Operating sequence
First, switch on the power supply for the CNC and the machine.
After the control system has booted, you are in the "Position" operating area, in the
"Reference point approach" mode.
The "Reference point" window is active.
The "Reference point" window displays whether the axes are referenced.
$[LVPXVWEHUHIHUHQFHG
$[LVLVUHIHUHQFHGV\QFKURQL]HG
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 31
Turning on, reference point approach
<
Surface grinding
32 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Setup 4
4.1 Entering tools and tool offsets
Functionality
The "OFFSET PARAM" operating area allows you to store the parameters required for
machine operation.
Operating sequences
2))6(7
3$5$0
7RROOLVW
This function opens the "Tool offset data" window which contains a list of the tools created.
Use the cursor keys and the <Page Up>/<Page Down> keys to navigate in this list.
To input the offsets, position the cursor bar on the tool to be changed and press the <Tool
data> softkey.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 33
Setup
4.1 Entering tools and tool offsets
Softkeys
'HOHWH
GUDP Clearing the calculated dresser data.
7RRO
'HOHWH
Use this softkey to delete the tool.
7RRO
GDWD
Opens a lower-level menu bar offering all functions required to create and display further
tolol data.
1RPLQDO
GLPHQVLRQ
PRQLWRULQJ
This function is used to enter - guided by the menu - the nomiinal dimensions and monitoring
data of the grinding wheel.
*HRPHWU\
GDWD This function is used the enter the wheel geometry for the wheel type selected.
7HFKQR This function is used the enter the dressing technology for dressing the wheel type selected.
ORJ\GDWD
VW
GUHVVHU
This function is used to enter/verify the dresser data of the first dresser.
For dressers 2 and 3, it is selected through the respective softkeys.
([WHQGHG This function is used to enter/verify all tool data (D1 through D9).
7RRO
FRS\LQJ
Use this function to copy an already existing tool.
/DWHVW
7RRO
Use this softkey to create tool compensation data for a new tool.
5SDUD
PHWHUV
This function is used to list and, if necessary, modify any R parameters that exist in the
control system.
6HWWLQJ
GDWD
Input of the setting data.
8VHUGDWD
This function is used to list and, if necessary, modify any user grinding data that exists in the
controller.
Surface grinding
34 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Setup
4.2 Create new tool
Functionality
The tool offsets consist of various data describing the geometry, the wear and the tool type.
Each tool contains a defined number of parameters, depending on the tool type. Tools are
identified by a number (T number).
2))6(7
3$5$0
Press the <OFFSET PARAM> key.
7RRO
OLVW
This function opens the "Tool list" window which contains a list of the tools created. Use the
cursor keys and the <Page Up>/<Page Down> keys to navigate in this list.
7RRO The offsets are entered by placing the cursor bar on the tool to be modified and pressing the
GDWD <Tool data> softkey.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 35
Setup
4.2 Create new tool
/DWHVW
7RRO
This function opens an input screen in which the tool number, tool type, and grinding wheel
shape are to be entered or selected.
2.
Confirm your input using <OK>.
A data record loaded with zero will be included in the tool list. This data block consists of 9
cutting edges (D fields). The first 6 cutting edges have a cutting edge type and are used as
cutting edge geometry points.
The tool is assigned to a grinding spindle by an entry in the "S No" field. For values ≤0, an
externally controlled grinding spindle is used, for values >0, the grinding spindles of the
control system are known.
Surface grinding
36 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Setup
4.2 Create new tool
Note:
Cylindrical grinding begins with S2.
Flat grinding begins with S1.
The conversion is done internally, for an entered value of 1.
For standard wheels (vertical and inclined), the D numbers are assigned a fixed meaning
(refer to the "Offset values" figure below). Based on the geometry data, this allocation is
always set by default for setting up and dressing.
For wheel having a free contour, the user is always responsible for the cutting edges. Only
when a wheel is newly created or for deleted wear values, the cutting edge values are set by
default once, depending on the dressing angle. The default setting is made for angle = 0, as
in the case of a simple vertical wheel, i.e. the odd cutting edges (D1, D3, D5) are on the left-
hand side and the even cutting edges (D2, D4, D6) on the right-hand side, taking into
account the entire wheel width.
The default setting for inclined wheels is arranged so that always all reference points are
identical. There is no distinction between left-hand and right-hand sides. The user has the
option of redefining the cutting edges in a dressing subroutine. For this, the NC syntax must
be followed. Any changes will be accepted only after the first complete dressing stroke and
not while shaping. Reference points are compensated as it is done for standard wheels.
Diameter and width monitoring will also be active only after both diameter and wear are
included in the particular D number. Thus the user can modify additional reference point in
the free contour. However, the left-hand and right-hand cutting edges regime must be
maintained since the compensations are always taken into account (left-hand side negative,
right-hand side positive) as they are for standard wheels.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 37
Setup
4.2 Create new tool
,QFOLQHGZKHHO
$QJOH $QJOH
: K
LGW
K LGW
:
/H
=
QJ
'
' K
WK
WK
5DGLXV 5DGLXV W
QJ
QJ
/H
/H
;
' ' ' ' ' ' ' ' ' '
/H
QJ
WK
=
=
5DGLXV
' '
' ' ' '
/HQJWK=
Cutting edges 7-9 are the three available dressing tools have a fixed allocation to the
standard contour cutting edge.
Surface grinding
38 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Setup
4.2 Create new tool
1RPLQDO
GLPHQVLRQ
PRQLWRULQJ
This function opens in input screen into which grinding wheel nominal dimensions and
monitoring data are entered.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 39
Setup
4.2 Create new tool
Geometry data
*HRPHWU\
GDWD
This function is used the enter the wheel geometry for the wheel type selected.
Figure 4-7 Geometry example data for a vertical wheel with back-slope
Note
A red dot shown in the diagrammatic sketch indicates the geometry value just being entered.
Surface grinding
40 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Setup
4.2 Create new tool
Technological data
7HFKQR By means of the technological data, the wheel type dependent dressing technology is
ORJ\GDWD
defined.
Figure 4-8 Technology example data for a vertical wheel with back-slope
Dresser
VW
GUHVVHU
Use the "1st dresser", "2nd dresser" or "3rd dresser" softkeys to access the dialog box for
entering or verifying the dresser data.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 41
Setup
4.2 Create new tool
Surface grinding
42 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Setup
4.2 Create new tool
Parameter tables
Figure 4-12 The following table contains all cutting edge data.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 43
Setup
4.3 Register dresser
Functionality
This function is used to determine the dresser positions in the machine for dressers that are
used by means of the geometry axes. The axis values are determinded in machine
coordinates by the HMI and transmitted to the cycle.
Operation
6HQVH
GUHVVHU
The input screen is opened.
Use the "Dresser no.:" toggle field to select the dresser whose position you wish to register
(e.g. "1"). The order is irrelevant.
Each axis can be registered independently of the others.
The steps required are shown in a text line.
The axis line to be processed is indicated by an arrow.
Note
For swiveling wheels, the wheel must already be set to its dressing angle.
Surface grinding
44 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Setup
4.3 Register dresser
&DOFXODWH Following scratching of the selected axis, select "Calculate position" to read the axis actual
SRVLWLRQ value and calculate it with the active tool.
The green check mark at the end of the line indicates this action.
For standard grinding wheels, the D number of the wheel is automatically selected in
accordance with the choice of dresser for dressers 1 and 2.
For the 3rd dresser, select the D number or approach the edge of the active wheel as it is
not automatically recognized.
%DFN Exit the "Register dresser" function.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 45
Setup
4.4 Sense workpiece
Functionality
This function is used to detect the workpiece position in the machine with respect to the
particular axis. The HMI transmits both axis name and setpoint to the cycle.
Operation
6HQVH
ZRUNSLHFH
The input screen is opened.
Use the "Axis name" toggle field to select the desired axis and enter the workpiece setpoint
measured in the input field.
&DOFXODWH
SRVLWLRQ Press the <Calculate position> softkey to calculate the setpoint.
Note
This procedure must be done for each axis separately.
%DFN Exit the "Register workpiece" function.
Surface grinding
46 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Setup
4.4 Sense workpiece
Measuring is possible only for the infeed axis from manual grinding and only once directly
after manual grinding. If "Measure workpiece" is aborted or another axis is set as the last
infeed axis, then every axis with any axis positions must be calibrated again.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 47
Setup
4.5 Shaping/dressing
4.5 Shaping/dressing
Functionality
This function is used to shape a "raw" grinding wheel without generating an NC program.
The procedure always refers to the currently active tool.
Operation
The required shaper values that are machined in dressing strokes are entered using the
input fields
For a new wheel (no wear), the shaper allowance is suggested by the control system. The
number of dressing strokes can be freely selected.
6WDUW
SURI When you press the <Start prof.> softkey, the following prompt will appear:
Surface grinding
48 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Setup
4.5 Shaping/dressing
6WDUW
SURI To restart it, press the <Start prof.> softkey. Values can be modified.
%DFN Exit the "Profiling" function.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 49
Setup
4.6 Manual grinding
Functionality
This function is for grinding (precision grinding) with the handwheel. This function does not
require a workpiece program.
Operation
0DQXDO
JULQG
The input screen is opened.
Entry of parameters into the input screen for manual grinding (see figure below):
● T or D number
● Select oscillating motion via toggle field.
The following oscillating motions are possible:
– No function
– Infeed Y axis no oscillation
– Infeed Z axis no oscillation
– Infeed Y axis oscillation X axis
– Infeed Z axis oscillation X axis
– Infeed Y axis oscillation X/Z axis
● Peripheral speed of tool (m/s)
● Workpiece speed (rpm)
Surface grinding
50 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Setup
4.6 Manual grinding
6WDUW This function starts manual grinding with the handwheel. A prompt appears.
JULQG
%DFN Exit manual grinding.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 51
Setup
4.6 Manual grinding
2VFLOODWLRQ If you have selected oscillation, then you should use this function to enter the oscillation data
GDWD (see figure below):
Surface grinding
52 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Setup
4.6 Manual grinding
● Feedrate Z (mm/stroke)
● Dwell time at reversal point position 2 (in seconds if there is a tool spindle present;
otherwise, in revolutions)
This function starts manual grinding with the handwheel. The following prompt is displayed:
"The selected program starts a traversing motion of the axes! Do you wish to continue with
machining?"
Execution of manual grinding with handwheel (oscillation)
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 53
Setup
4.7 Program setting data
Functionality
The setting data are used to define the settings for the operating states. These can be
changed as necessary.
Operating sequence
2))6(7
3$5$0
These can be found in the <OFFSET PARAM> operating area.
6HWWLQJ
GDWD
Press the "Setting data" softkey. The start screen "Setting data" is opened. Other softkey
functions are available here with which you can set various control system options.
● JOG feedrate
Feedrate value in JOG mode
If the feedrate value is zero, the control system will use the value stored in the machine
data.
● Spindle
Spindle speed
● Minimum / maximum
A limitation of the spindle speed in the "Max." (G26) / "Min." (G25) fields can only be
performed within the limit values defined in the machine data.
● Limitation using G96
Programmable upper speed limitation (LIMS) at constant cutting rate (G96).
Surface grinding
54 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Setup
4.7 Program setting data
Softkeys
/LPLW
ZRUNLQJDUHD The working area limitation is active with geometry and additional axes. If you want to use a
working area limitation, its values can be entered in this dialog box. Selecting the "Set active"
softkey enables/disables the values for the axis highlighted by the cursor.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 55
Setup
4.7 Program setting data
Meaning:
● Total parts: Total number of workpieces produced (total actual)
● Parts requested: Number of workpieces required (workpiece setpoint)
● Number of parts: This counter registers the number of all workpieces produced since the
starting time.
Note
The counter functionality is set using the following channel-specific machine data:
• MD27880 $MC_PART_COUNTER, the workpiece counter is activated
• MD27882 $MC_PART_COUNTER_MCODE[0-2], workpiece counting with user
defined M command
Surface grinding
56 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Setup
4.7 Program setting data
0LVF
Use this function to display all setting data for the control system in the form of a list. The
setting data are divided up into general, axis-specific and channel-specific data.
They can be selected using the following softkey functions:
● "General"
● "Axis-spec."
● "Channel-spec."
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 57
Setup
4.8 Arithmetic parameter R
Functionality
In the "R parameters" start screen, any R parameters that exist within the control system are
listed. These global parameters can be set or queried by the programmer of the part
program for any purpose in the program and can be changed as required.
Operating sequence
2))6(7
3$5$0
These can be found in the <OFFSET PARAM> operating area.
5SDUD
PHWHUV
Press the <R variable> softkey. The "R variables" start screen appears.
Place the cursor bar on the input field to be modified and enter the values.
Either press the <Input> key or move the cursor to confirm the entry.
Surface grinding
58 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Setup
4.9 User data
Functionality
The user data is internally processed in the cycles. This data can be changed as necessary.
Operating sequences
2))6(7
3$5$0
These can be found in the <OFFSET PARAM> operating area.
8VHUGDWD
Press the <User data> softkey. This will open the "User data" start screen for the cycles.
Place the cursor bar on the input field to be modified and enter the values.
Either press the <Input> key or move the cursor to confirm the entry.
)LQG
&RQWLQXH
ILQG
Use this function to search for the user data.
See also
User data (Page 335)
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 59
Setup
4.9 User data
Surface grinding
60 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Manual mode 5
5.1 Manual mode
Manual mode is supported by the JOG and MDA operating modes.
;
<
=
6ZLWFK
PP!LQFK
6WDUW &DOFXODWH &DOFXODWH 6WDUW
JULQGLQJ SRVLWLRQ SRVLWLRQ SURI
%DFN %DFN %DFN %DFN %DFN
7HDFK,Q 6HWW
LQJV
7HFKQROR
GDWD
5DSLG
WUDYHUVH
/LQHDU
&LUFXODU
(QG 6ZLWFK
EORFN PP!LQFK
([LW
7HDFK,Q %DFN
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 61
Manual mode
5.2 JOG mode - "Position" operating area
Operating sequences
Use the <JOG> key on the machine control panel to select the Jog mode.
; To traverse the axes, press the appropriate key for the X, Y, or Z axis.
<
= The axes will traverse continuously at the velocity stored in the setting data until the key is
released. If the value of the setting data is zero, the value stored in the machine data is
used.
If necessary ,set the velocity using the override switch.
If you press the <Rapid traverse override> key at the same time, the selected axis will be
traversed at rapid traverse speed while both keys are being held down.
In the "Increment" mode, you can traverse by adjustable increments using the same
operating sequence. The set number of increments is displayed in the status area. To
deselect, press <JOG> again.
Surface grinding
62 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Manual mode
5.2 JOG mode - "Position" operating area
The JOG start screen displays the position, feedrate and spindle values, as well as the
current tool.
Parameter
Parameter Explanation
MCS Displays the axes existing in the machine coordinate system (MCS) or in the workpiece
X coordinate system (WCS)
Y
Z
+X If you traverse an axis in the positive (+) or negative () direction, a plus or minus sign
+Y will appear in the relevant field.
-Z If the axis is already in the required position, no sign is displayed.
Position These fields display the current position of the axes in the MCS or WCS.
mm
Repos. If the axes are traversed in the "Program interrupted" condition in the Jog mode, the
offset distance traversed by each axis is displayed referred to the interruption point.
G function Displays important G functions
Spindle S Displays the actual value and the setpoint of the spindle speed.
r.p.m.
Feed F Displays the path feedrate actual value and setpoint.
mm/min
Tool Displays the currently active tool with the current edge number
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 63
Manual mode
5.2 JOG mode - "Position" operating area
Note
If a second spindle is integrated into the system, the workspindle will be displayed using a
smaller font. The window will always display the data of only one spindle.
The control system displays the spindle data according to the following aspects:
The master spindle (large display) is displayed:
- Idle,
- at spindle start
- with both spindles active
The workspindle (small display) is displayed:
- when starting the workspindle
The power bar applies to the spindle currently active. With both master spindle and
workspindle active, the master spindle performance bar is displayed.
Softkeys
Note
The vertical softkeys are explained in the the section titled MDA mode (Page 66).
0DQXDO
JULQG
This function is for grinding (precision grinding) with the handwheel. This function does not
require a workpiece program.
6HQVH
GUHVVHU
This function is used to determine the dresser positions in the machine for dressers that are
used by means of the geometry axes.
6HQVH
ZRUNSLHFH
This function is used to detect the workpiece position in the machine with respect to the
particular axis.
6KDSLQJ This function is used to shape a "raw" grinding wheel without generating an NC program.
6HWWLQJV
Note
The parameters within the "Settings" function do not affect grinding.
6ZLWFK
PP!LQFK Use this softkey to switch between the metric and the inch dimension systems
Surface grinding
64 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Manual mode
5.2 JOG mode - "Position" operating area
Operating sequence
+DQGZKHHO Press the <Handwheel> softkey. The "Handwheel" window appears on the screen.
After the window has been opened, all axis identifiers are displayed in the "Axis" column,
which simultaneously appear in the softkey bar.
Select the desired handwheel using the cursor. Following this, assign or deselect as
appropriate by pressing the relevant axis softkey for the desired axis.
The ☑ symbol appears in the window.
0&6 Use the <MCS> softkey to select the axes from the machine or workpiece coordinate system
for hand wheel assignment.
The current setting is displayed in the window.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 65
Manual mode
5.3 MDA mode (manual input) "Position" operating area
Functionality
In the MDA mode, you can create or execute a part program.
CAUTION
The Manual mode is subject to the same safety interlocks as the fully automatic mode.
Furthermore, the same prerequisites are required as in the fully automatic mode.
Operating sequences
Use the machine control panel to select "MDA" mode.
By pressing <NC START> machining is started. During machining, editing of the blocks is no
longer possible.
After machining, the contents are preserved so that the machining can be repeated by
pressing <NC START> once more.
Surface grinding
66 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Manual mode
5.3 MDA mode (manual input) "Position" operating area
Parameter
Parameter Explanation
MCS Displays the existing axes in the MCS or WCS
X
Z
+X If you traverse an axis in the positive (+) or negative () direction, a plus or minus sign
-Z will appear in the relevant field.
If the axis is already in the required position, no sign is displayed.
Position These fields display the current position of the axes in the MCS or WCS.
mm
Distance-to- This field displays the distance to go of the axes in the MCS or WCS.
go
G function Displays important G functions
Spindle S Displays the actual value and the setpoint of the spindle speed.
r.p.m.
Feedrate F Displays the path feedrate actual value and setpoint in mm/min or mm/rev.
Tool Displays the currently active tool with the current edge number (T..., D...).
Editing In the "Stop" or "Reset" program state, an editing window serves to input a part
window program block.
Note
If a second spindle is integrated into the system, the workspindle will be displayed using a
smaller font. The window will always display the data of only one spindle.
The control system displays the spindle data according to the following aspects:
The master spindle is displayed:
- Idle,
- at spindle start
- with both spindles active
The workspindle is displayed:
- when starting the workspindle
The power bar applies to the spindle currently active.
Softkeys
The horizontal softkeys are explained in the section titled "JOG mode - 'Position' operating
area" (Page 62).
*
IXQFWLRQ
The G function window displays G functions whereby each G function is assigned to a group
and has a fixed position in the window.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 67
Manual mode
5.3 MDA mode (manual input) "Position" operating area
Use the <PageUp> or <PageDown> keys to display additional G functions. Selecting the
softkey repeatedly will close the window.
$X[LOLDU\
IXQFWLRQ
This window displays the auxiliary and M functions currently active. Selecting the softkey
repeatedly will close the window.
$OO*
IXQFWLRQV
All the G functions are displayed.
$[LV
IHHGUDWH
Use this softkey to display the "Axis feedrate" window.
Pressing the softkey repeatedly will close the window.
'HOHWH
0'$SURJU
Use this function to delete blocks from the program window.
6DYH
0'$SURJ
Enter a name in the input field for saving the MDA program in the program directory.
Alternatively, you may select an existing program from the list.
Use the Tab key to toggle between the input field and program list.
0.6:.6
5(/
The actual values for the MDA mode are displayed depending on the selected coordinate
system. Use this softkey to switch between the two coordinate systems.
See also
JOG mode (Page 62)
Surface grinding
68 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Manual mode
5.3 MDA mode (manual input) "Position" operating area
5.3.1 Teach In
Functionality
You can use the "Teach In" function to create and change simple traversing blocks. You can
transfer axis position values directly into a newly generated or changed part program record.
The axis positions are reached by traversing with the axis direction keys and transferred into
the part program.
Operating sequence
In the <POSITION> operating area, use the machine control panel to select <MDA> mode.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 69
Manual mode
5.3 MDA mode (manual input) "Position" operating area
General sequence
1. Use the arrow keys to select the program block that you want to edit or that is to have the
new traversing block inserted in front of it.
2. Select the appropriate softkey.
7HFKQRO
GDWD
– "Technological data"
%DFN Use "<<Back" to return to the "Teach In" start screen.
Surface grinding
70 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Manual mode
5.3 MDA mode (manual input) "Position" operating area
You traverse the axes and teach-in a rapid traverse block with the approached
positions.
/LQHDU – "Linear"
You traverse the axes and teach in a linear block with the approached positions.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 71
Manual mode
5.3 MDA mode (manual input) "Position" operating area
&LUFXODU
– "Circular"
;
< 1. Use the axis keys to traverse the axes to the required position that you want to
add/change in the part program.
,QVHUW 2. Click "Insert transfer" to add a new part program block. The new part program block will
WUDQVIHU be added in front of the block selected with the cursor.
&KDQJH 3. Click "Change transfer" to change the selected part program block.
WUDQVIHU
Use "<<Back" to return to the "Teach In" start screen.
%DFN
([LW
7HDFK,Q Use "Exit Teach In" (see "Start screen") to leave the "Teach In" submode.
Surface grinding
72 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Automatic mode 6
6.1 Automatic mode
Menu tree
3URJUDP 8S =RRP
7HVW &RQWRXU $XWR
7ULDOUXQ 8S =RRP
)HHGUDWH (QGSRLQW
&RQGLWLRQDO 1RQH =RRP
6WRS &DOF
6NLS ,QWHU 6KRZ
SLQJ UXSW
6LQJOH 'LVSOD\
6HDUFKLQJ
EORFNILQH DUHDV
529 5H 'HOHWLQJ
HIIHFWLYH JULQGLQJ DVFUHHQ
&XUVRU
%DFN %DFN %DFN %DFN %DFN
Preconditions
The machine is set up for the AUTOMATIC mode according to the specifications of the
machine manufacturer.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 73
Automatic mode
6.1 Automatic mode
Operating sequence
Select Automatic mode by pressing the <Automatic> key on the machine control panel.
The Automatic start screen appears, displaying the position, feedrate, spindle, and tool
values, as well as the currently active block.
Parameter
Parameter Explanation
MCS Displays the existing axes in the MCS or WCS
X
Z
+X If you traverse an axis in the positive (+) or negative () direction, a plus or minus sign
-Z will appear in the relevant field.
If the axis is already in the required position, no sign is displayed.
Position These fields display the current position of the axes in the MCS or WCS.
mm
Distance-to- These fields display the current position of the axes in the MCS or WCS.
go
G function Displays important G functions
Spindle S Displays the actual value and the setpoint of the spindle speed.
r.p.m.
Feed F Displays the path feedrate actual value and setpoint.
mm/min or
mm/rev
Surface grinding
74 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Automatic mode
6.1 Automatic mode
Parameter Explanation
Tool Displays the currently active tool with the current edge number (T..., D...).
Current The block display displays seven subsequent blocks of the currently active part
block program. The display of one block is limited to the width of the window. If several
blocks are to be executed in quick succession, you are recommended to switch to the
"Program progress" window. To switch back to the seven-block display, use the
<Program sequence> softkey.
Note
If a second spindle is integrated into the system, the workspindle will be displayed using a
smaller font. The window will always display the data of only one spindle.
The control system displays the spindle data according to the following aspects:
The master spindle is displayed:
- Idle,
- at spindle start
- with both spindles active
The workspindle is displayed:
- when starting the workspindle
The power bar applies to the spindle currently active. With both master spindle and
workspindle active, the master spindle performance bar is displayed.
Softkeys
*
IXQFWLRQ
Opens the G functions window to display all G functions currently active.
The G functions window displays all the G functions that are currently active, with each G
function assigned to a group and having a fixed position in the window.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 75
Automatic mode
6.1 Automatic mode
$X[LOLDU\
IXQFWLRQ
This window displays the auxiliary and M functions currently active.
Selecting the softkey repeatedly will close the window.
$OO*
IXQFWLRQV All the G functions are displayed.
$[LV
IHHGUDWH
Use this softkey to display the "Axis feedrate" window.
Pressing the softkey repeatedly will close the window.
3URJUDP
VHTXHQFH
Use this softkey to switch from the seven-block to the three-block display.
0.6:.6
5(/
Switches the axis value display between the machine, workpiece and relative coordinate
systems.
0DFKLQLQJ
RIIVHW
Use this softkey to display the "Machining offset" window.
Fine offsets can be entered in Y and Z, globally for each seat or individually for a specific
seat.
From then on, these offsets will always be used for the grinding work (seat).
%DFN Use this softkey to close the screen. Your offsets are saved.
3URJUDP
FRQWURO
The program control softkeys are displayed (e.g. "Skip block", "Program test").
● "Program test":
If "Program test" is selected, the output of setpoints to axes and spindles is disabled. The
set point display "simulates" the traverse movements.
● "Dry run feedrate":
If you select this softkey, all traversing motions will be performed with the feedrate
setpoint specified via the "Dry run feed" setting data. The dry run feedrate function
replaces the programmed travel commands.
● "Conditional stop":
When this function is active, processing of the program is stopped at every block in which
miscellaneous function M01 is programmed.
● "Skipping":
Program blocks, the block number of which is preceded by a slash, are skipped during
program execution (e.g. "/N100").
Surface grinding
76 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Automatic mode
6.1 Automatic mode
%ORFN
VHDUFK
Use the block search function to go to the desired program location.
7R
FRQWRXU
Forward block search with calculation
During the block search, the same calculations are carried out as during normal program
operation, but the axes do not move.
7R
HQGSRLQW
Forward block search with calculation to the block end point
During the block search, the same calculations are carried out as during normal program
operation, but the axes do not move.
:LWKRXW
FDOFXODW
Block search without calculation
During the block search, no calculation is carried out.
,QWHUU
SRLQW
The cursor is placed on the main program block of the interrupt point.
)LQG The "Find" softkey provides the functions "Find line", "Find text" etc.
5H
JULQG Use this softkey to display the "Regrinding" window.
Enter the offset values for regrinding. When you select <OK>, the parameters will be
inserted in the program after the selected block.
6LPXOWDQHRXV
UHFRUGLQJ It is possible to simultaneously record when the part program is being executed (see Chapter
"Simultaneous recording (Page 84)").
&RUUHFW
SURJUDP
Use this softkey to correct a fault program passage. Any changes will be stored immediately.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 77
Automatic mode
6.2 Machining offset
Functionality
Fine offsets can be entered in Y and Z, globally for each seat or individually for a specific
seat.
From then on, these offsets will always be used for the grinding work (seat).
Operating sequence
0DFKLQLQJ
RIIVHW
The "Automatic" start screen will display a window for the machining offsets.
Surface grinding
78 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Automatic mode
6.3 Selection and start of a part program
Functionality
Before starting the program, make sure that both the control system and the machine are set
up. Observe the relevant safety notes of the machine manufacturer.
Operating sequence
Select Automatic mode by pressing the <Automatic> key on the machine control panel.
The Program Manager is opened. Use the <NC directory> (default selection) or <Customer
CF card> softkeys to enter the appropriate directories.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 79
Automatic mode
6.3 Selection and start of a part program
3URJUDP If desired, here you can specify how you want the program to be executed.
FRQWURO
Surface grinding
80 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Automatic mode
6.4 Block search
Operating sequence
Prerequisite:The desired program has already been selected, and the control system is in
the RESET state.
%ORFN
VHDUFK The block search function provides advance of the program to the required block in the part
program. The search target is set by positioning the cursor bar directly on the required part
program block in the part program.
7R
FRQWRXU
Block search to block start
7R
HQGSRLQW
Block search to block end
:LWKRXW
FDOFXODW
Block search without calculation
,QWHUU
SRLQW
The interruption location is loaded.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 81
Automatic mode
6.4 Block search
Use this softkey to perform the block search by entering a term you are looking for.
)LQG
You can use the toggle field to define the starting position for the search.
Search result
The required part program block is displayed in the "Current block" window.
Note
For "Execute externally", no block search is possible.
Surface grinding
82 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Automatic mode
6.4 Block search
Regrinding
"Regrinding" enables you to remachine the "seat" of a workpiece that has already been
machined, either with or without an offset, but always with the same technological values.
5H
JULQG Use this softkey to display the "Regrinding" window.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 83
Automatic mode
6.5 Simultaneous recording
Operating sequence
You have selected a part program to be executed and have pressed <NC START>.
6LPXOWDQHRXV
UHFRUGLQJ Execution of the part program is simultaneously recorded on the HMI using the
"Simultaneous recording" function.
You can influence how the simultaneous recording function is displayed on the HMI using
the following vertical softkeys:
● "Zoom Auto"
● "Zoom +"
● "Zoom -"
● "Show ..."
– "All G17 blocks"
– "All G18 blocks"
– "All G19 blocks"
● "Display areas"
See the following page for a description.
Surface grinding
84 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Automatic mode
6.5 Simultaneous recording
● "Delete window"
● "Cursor"
– "Set cursor"
– "Cursor fine", "Cursor coarse", "Cursor very coarse"
When the cursor keys are pressed, the cross hair moves in small, average or large
steps.
%DFN Exit the "Simultaneous recording" function.
"Display areas"
'LVSOD\
DUHD Using the "Display areas" function, you have the possibility of saving a previously selected
area from the simulation display.
:LQGRZ
PLQPD[ The menu for the display area can be selected using the "Window min/max" function.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 85
Automatic mode
6.5 Simultaneous recording
:LQGRZ
PLQPD[ 3. Press the "Window min/max" so that a maximum display can be see according to the
screen "Display areas "Window max".
4. In the "Comment field", you can assign a name to the area.
5. Complete the entry with <Input>.
6DYHDUHD
6. Press "Save area".
'LVSOD\
DUHD You have selected a display area.
Using the cursor keys, select the area that you wish to either activate or delete.
$FWLYDWH
DUHD Press "Activate area" or "Delete area".
'HOHWH
DUHD
Surface grinding
86 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Automatic mode
6.6 Stop / cancel a part program
Operating sequence
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 87
Automatic mode
6.7 Reapproach after cancellation
Operating sequence
%ORFN
VHDUFK
Opening the "Block search" window for loading the interruption point.
,QWHUU
SRLQW
The interruption point is loaded.
7R
FRQWRXU
The block search to the interruption point will start. An adjustment to the start position of the
interrupted block will be carried out.
Surface grinding
88 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Automatic mode
6.8 Repositioning after interruption
Operating sequence
CAUTION
When reapproaching the interruption point, all axes will traverse at the same time. Make
sure that the traversing area is not obstructed.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 89
Automatic mode
6.9 Execute from external
Functionality
&XVWRPHU
&)FDUG Customer CompactFlash card
5&6
FRQQHFW RCS connection for external execution via network (only for SINUMERIK 802D sl pro)
0DQXIDF
WXUHUGULYH Manufacturer's drive
86%
GULYH
USB FlashDrive
Use vertical softkey "Ext. execution" to transmit the selected external program to the control
system; to execute this program, press <NC START>.
While the contents of the buffer memory are being processed, the blocks are reloaded
automatically.
Surface grinding
90 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Automatic mode
6.9 Execute from external
&XVWRPHU
&)FDUG
86%
GULYH
Press the "Customer CF card" or "USB drive".
You can thus access the directories of the "Customer CF Card / USB FlashDrive".
Place the cursor bar on the desired program.
([W
H[HFXWLRQ
Press "Ext. execution".
The program is transferred into the buffer memory and selected and displayed in the
program selection automatically.
Press the <NC START> key.
Machining starts. The program is reloaded continuously.
At the end of the program or in case of <RESET>, the program is automatically removed
from the control system.
Note
For "Execute externally", no block search is possible.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 91
Automatic mode
6.9 Execute from external
4. Programming device/PC:
– Activate the drive/directory for network operation.
5. Programming device/PC:
– Establish an Ethernet connection to the control.
6. Control: (see "Connecting / disconnecting a network drive")
– Connect to the directory activated on the programming device/PC using the following
dialog:
Operating area <SYSTEM> > "Service Display" > "Service Control" > "Service
Network" > > "Connect" > "RCS Network" (Select a free drive of the control > Enter
the server name and and activated directory of the programming device/PC, for
example: "\\123.456.789.0\External Program")
5&6
FRQQHFW Press "RCS connect."".
You go to the directories of the PG/PC.
Place the cursor bar on the desired program.
([W
H[HFXWLRQ
Press "Ext. execution".
The program is transferred into the buffer memory and selected and displayed in the
program selection automatically.
Press the <NC START> key.
Machining starts. The program is reloaded continuously.
At the end of the program or in case of <RESET>, the program is automatically removed
from the control system.
Note
The program can only be executed. Program correction is not possible at the control.
Surface grinding
92 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Part programming 7
7.1 Part programming overview
Menu tree
2QO\6,180(
5,.'VOSUR
(UURU
'HOHWH 'HOHWH 'HOHWH 'HOHWH 'HOHWH
ORJ
Functionality
The PROGRAM MANAGER operating area is the management area for workpiece programs
in the control system. In this area, programs can be created, opened for modification,
selected for execution, copied, and inserted.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 93
Part programming
7.1 Part programming overview
Operating sequence
Use the cursor keys to navigate in the program directory. To find program names quickly,
simply type the initial letter of the program name. The control system will automatically
position the cursor on a program with matching characters.
Softkeys
1&
GLUHFWRULHV Use this softkey to display the directories of the NC.
([H
FXWH
Use this softkey to select the program on which the cursor is placed for execution. The
control system will switch to the position display. Use <NC START> to start this program.
2SHQ Use the "Open" softkey to open the file highlighted by the cursor for processing.
0DUN
DOO
Use this softkey to select all files for the subsequent operations. The selection can be
canceled by pressing the softkey once more.
Surface grinding
94 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Part programming
7.1 Part programming overview
Note
Selecting individual files:
Position the cursor on the corresponding file and press the <Select> key. The selected line
will change its color. If you press the <Select> key once more, the selection is canceled.
&RS\ This function will enter one or several files in a list of files (called 'clipboard') to be copied.
3DVWH This function will paste files or directories from the clipboard to the current directory.
'HOHWH When selecting the "Delete" softkey, the file selected by the cursor is deleted after a
confirmation warning. If several files have been selected, all these files will be deleted after a
confirmation warning.
Use the "OK" softkey to execute the deletion request and "Abort" to discard.
0RUH
Use this softkey to branch to further functions.
5HQDPLQJ A window opens where you can rename the program you have selected beforehand using
the cursor.
After you have entered the new name, either press "OK" to confirm or "Abort" to cancel.
3UHYLHZ
ZLQGRZ
This function opens a window displaying the first seven lines of a file if the cursor has been
positioned on the program name for a certain time.
)LQG A window opens up where you can enter a file name you are looking for.
After you have entered the name, either press "OK" to confirm or "Abort" to cancel.
(QDEOHV A selected directory can be released for network operation.
6SOLW
ZLQGRZ
The function splits the window on the HMI. You can use the <Tab> key to switch over
between windows.
3URSHU
WLHV
The function gives information on the properties of the memory of the selected directory and
of the selected file.
(UURU
ORJ
The function gives information in a logfile on the executed functions (e.g. copying a file) as
well as on wrongly executed functions of the PROGRAM MANAGER. The logfile will be
deleted after cold restart of the control.
&XVWRPHU
&)FDUG Selecting this softkey provides the functions required to read out / read in files via the
customer CompactFlash card and the function "Program execution from external". When the
function is selected, the directories of the customer CompactFlash card are displayed.
([W
H[HFXWLRQ
Use this softkey to select the program on which the cursor is placed for execution. If the CF
card is selected, the program is executed by the NC as an external program. This program
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 95
Part programming
7.1 Part programming overview
must not contain any program calls of part programs which are not stored in the directory of
the NC.
5&6
FRQQHFW This softkey is needed in connection with the work in the network. Additional information is
provided in Chapter, network operation (only for SINUMERIK 802D sl pro).
56 The functions required for reading out/reading in files are provided via the RS232 interface.
6HQG Use this function to transmit files from the clipboard to a PC connected to the RS232.
(UURU
ORJ
Error log
0DQXIDF
WXUHUGULYH Selecting this softkey provides the functions required to read out / read in files via the
manufacturer drive and the function "Program execution from external". When the function is
selected, the directories of the manufacturer's drive are displayed.
86%
GULYH Selecting this softkey provides the functions required to read out / read in files via USB
FlashDrive and the function "Program execution from external". When the function is
selected, the directories of the USB FlashDrive are displayed.
Surface grinding
96 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Part programming
7.2 Enter new program
Operating sequences
1&
GLUHFWRULHV Use the "NC directory" softkeys to select the storage location for the new program.
1HZ Press "New". You have the choice of the following options:
1HZ After presssing the softkey "New directory" a dialog window will open up for setting up a new
GLUHFWRU\ file.
Enter a name and confirm with "OK."
1HZ
ILOH
After presssing the softkey "New file" a dialog window will open up for setting up a new
program file. in which you can enter the names of the new main programs and subprograms.
The .MPF extension for main programs is entered automatically. The .SPF extension for
subprograms must be entered along with the program name.
Conclude your entry with "OK". The new part program file will be created, and the editor
window is opened automatically.
;
$ERUW Use "Cancel" to cancel the creation of the program. the window is closed.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 97
Part programming
7.3 Editing the part program
Functionality
A part program can only be edited if it is currently not being executed.
Any modifications to the part program are stored immediately.
Menu tree
*ULQGLQJ 5HFRP
0DFKLQLQJ
F\FOHV SLOH
([H *:36WRRO
FXWH
0DUNEORFN 6DIHW\
KHLJKW
&RS\ =SRV
EORFN ZLWKZKHHO
3DVWH 'UHVVLQJ
EORFN
'HOHWH
EORFN *ULQGLQJ
)LQG
5HQXPEHU
6HHVHFWLRQWLWOHG&\FOHV
Surface grinding
98 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Part programming
7.3 Editing the part program
Operating sequence
In the PROGRAM MANAGER operating area, select the program to be edited.
2SHQ Press the <Open> softkey. The selected program will open.
Softkeys
0DFKLQLQJ
Use this softkey to edit a file.
([W
H[HFXWLRQ
Use this softkey to execute the selected file.
0DUN
EORFN
Use this softkey to select a text segment up to the current cursor position (alternatively:
<CTRL+B>)
&RS\
EORFN
Use this softkey to copy a selected block to the clipboard (alternatively: <CTRL+C>)
,QVHUW
EORFN
Use this softkey to paste a text from the clipboard at the current cursor position (alternatively:
<CTRL+V>)
'HOHWH
EORFN
Use this softkey to delete a selected text (alternatively: <XTRL+X>)
)LQG Use the <Find> softkey to search for a string in the program file displayed.
Type the term you are looking for in the input line and use the <OK> softkey to start the
search. Use <Abort> to close the dialog box without starting the search process.
5HQXPEHU Use this softkey to replace the block numbers from the current cursor position up to the
program end.
*ULQGLQJ
F\FOHV
See section titled "Cycles" (Page 156)
5HFRPS
For recompilation, position the cursor on the cycle calling line in the program. This function
decodes the cycle name and prepares the screenform with the relevant parameters. If there
are any parameters beyond the range of validity, the function will automatically use the
default values. After closing the screenform, the original parameter block is replaced by the
corrected block.
Note
Only automatically generated blocks can be recompiled.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 99
Part programming
7.3 Editing the part program
Surface grinding
100 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
System 8
8.1 "System" operating area
Functionality
The SYSTEM operating area includes functions required for parameterizing and analyzing
the NCK, the PLC and the drive.
Depending on the functions selected, the horizontal and the vertical softkey bars change.
The menu tree shown below only includes the horizontal softkeys.
Menu tree
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 101
System
8.1 "System" operating area
Operating sequence
6<67(0
The full CNC keyboard is used to change to the <SHIFT> and <SYSTEM> operating areas
$/$50 and the start screen is displayed.
Softkeys
The start screen vertical softkeys are described below.
6HW
SDVVZRUG
"Set password"
Three password levels are distinguished in the control system, which provide different
access rights:
● System password
● Manufacturer password
● User password
It is possible to change certain data corresponding to the access levels. If you do not know
the password, access will be denied.
Note
Also see SINUMERIK 802D sl "Lists".
Surface grinding
102 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
System
8.1 "System" operating area
&KDQJH
SDVVZRUG "Change Password"
Depending on the access right, various possibilities are offered in the softkey bar to change
the password.
Select the password level using the appropriate softkeys. Enter the new password and press
"Accept" to complete your input. You will be prompted to enter the new password once more
for confirmation.
Press "Accept" to complete the password change.
Use "Abort" to return without any action to the start screen.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 103
System
8.1 "System" operating area
5&6
ORJLQ
User network log-in
&KDQJH
ODQJXDJH
Use "Change language" to select the user interface language.
Use the cursor keys to select the language and confirm it by pressing "OK".
Note
The HMI is automatically restarted when a new language is selected.
6HUYLFH
ODQJXDJH
Use "Service language" to always select "English" as the user interface language.
Press the "Service language" softkey again to restore the previously active language (e. g.
"Simpl. Chinese").
Note
An asterisk "*" marks the languages you have used.
Surface grinding
104 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
System
8.1 "System" operating area
Note
Saved data can be called via the following operator action:
• Press the <SELECT> key while the control system is booting.
• In the setup menu, select "Reload saved user data".
• Press the <Input> key
Note
Data that have been backed up can be called again from the operating area <SYSTEM> >
"Start-up" > "Power up with backed up data"!
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 105
System
8.2 SYSTEM - "Start-up" softkeys
6WDUWXS Commissioning
3/&
The PLC can be started in the following modes:
● Restart
● Memory reset
Furthermore, it is possible to link the start with a subsequent debugging mode.
Surface grinding
106 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
System
8.3 SYSTEM - "Machine data" softkeys
References
You will find a description of the machine data in the following manufacturers´ documents:
SINUMERIK 802D sl List Manual
SINUMERIK 802D sl Function Manual for turning, milling, nibbling
Machine data
0DFKLQH
GDWD
Any changes in the machine data have a substantial influence on the machine.
Table 8- 1 Legend
No. Significance
1 MD number
2 Name
3 Value
4 Unit
5 Effective so immediately effective
cf with confirmation
re Reset
po Power on
CAUTION
Incorrect parameterization may result in destruction of the machine!
The machine data are divided into the groups described in the following.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 107
System
8.3 SYSTEM - "Machine data" softkeys
*HQHUDO
0'
Open the "General machine data" window. Use the Page Up / Page Down keys to browse
forward / backward.
)LQG "Find"
Type the number or the name (or a part of the name) of the machine data you are looking for
and press "OK".
The cursor will jump to the data searched.
&RQWLQXH
ILQG
Use this softkey to continue searching for the next match.
Surface grinding
108 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
System
8.3 SYSTEM - "Machine data" softkeys
6HOHFW This function provides various display filters for the active machine data group. Further
JURXS softkeys are provided:
● "Expert": Use this softkey to select all data groups of the expert mode for display.
● "Filter active": Use this softkey to activate all data groups selected. After you have quit the
window, you will only see the selected data on the machine data display.
● "Select all": Use this softkey to select all data groups of the Expert mode for display.
● "Deselect all": Selecting this softkey deselects all data groups.
D[LV
0'
Open the "Axis-specific machine data" window. The softkey bar will be supplemented by the
softkeys "Axis +" and "Axis ".
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 109
System
8.3 SYSTEM - "Machine data" softkeys
Use "Axis +" or "Axis " to switch to the machine area of the next or previous axis.
$[LV
8SGDWH
The contents of the machine data are updated.
FKDQ
0'
Open the "Channel-specific machine data" window. Use the PageUp / PageDown keys to
browse forward / backward.
Surface grinding
110 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
System
8.3 SYSTEM - "Machine data" softkeys
'ULYH
0'
Open the "Drive machine data" dialog box.
The first dialog box displays the current configuration, as well as the states of the control,
power supply and drive units.
'LVSOD\ To display the parameters, position the cursor on the appropriate unit and press the
SDUDPHWHU "Parameter display" softkey. For a description of the parameters, please refer to the
documentation of SINAMICS drives.
'ULYH
REMHFW
Switch to the respective drive objects.
'ULYH
REMHFW
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 111
System
8.3 SYSTEM - "Machine data" softkeys
9DOXHLQ
KH[ELQ In the note line, the selected value is displayed in hexadecimal and binary values.
)LQG Use these functions to search in the parameter list for the term you are looking for.
&RQWLQXH
ILQG
'LVSOD\
0'
Open the "Display machine data" window. Use the PageUp / PageDown keys to browse
forward / backward.
&RORU Use the "Softkey color" and "Window color" softkeys to specify user-defined color settings.
FKDQJLQJ The displayed color consists of the components red, green and blue.
The "Change color" window displays the values currently set in the input fields. The desired
color can be produced by changing these values. In addition, the brightness can be
changed.
The next mixing ratio is displayed temporarily upon completion of an input. Use the cursor
keys to switch between the input fields.
With "OK", the settings are accepted and the dialog box is closed. Selecting the "Abort"
softkey will close the dialog box without accepting your changes.
Surface grinding
112 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
System
8.3 SYSTEM - "Machine data" softkeys
&RORU Use this function to change the colors of the tip and softkey area.
6RIWNH\
&RORU Use this softkey to change the color of the border of dialog boxes.
:LQGRZ The "Active window" softkey function will assign your settings to the focus window, and the
"Inactive window" function to the non-active window.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 113
System
8.4 SYSTEM - "Service display"
6HUYLFH
GULYHV
This window displays information in respect of the digital drive.
6HUYLFH
H[W%XV
The window displays information on external bus settings.
6HUYLFH
FRQWURO
Use this softkey function to activate the window for the following functions:
● "Service network" (see chapter "Network operation")
● "Action log" (see chapter "Action log")
● "Service Firewall" (see chapter "Network operation")
● "Direct connect." (see chapter "Network operation")
● "Service MSG" (see chapter "Service MSG")
6HUYLFH This window contains information about
2YHUYLHZ
● Assignment, Machine axis <=> Channel axis <=> Drive number
● The enable status of the NC and drive
● Drive state regarding ready, faults and alarms
6HUYR An oscilloscope function is available in this window to optimize the drives (see chapter
WUDFH "Servo trace").
Surface grinding
114 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
System
8.4 SYSTEM - "Service display"
9HUVLRQ
This window displays the version numbers and the date of creation of the individual CNC
components.
The following functions can be selected from this window (also see chapter "Versions"):
● "HMI details"
● "License key"
● "Options"
● "Save as"
The displayed versions can be saved in a text file
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 115
System
8.4 SYSTEM - "Service display"
6DYH Irrespective of the system password, it is possible to output the file using softkey "Save
XQGHU under..." on a CF card or on the USB FlashDrive.
In case of difficulties, please contact the hotline (see the "Technical Support" Section in the
preface for contacting the hotline).
Surface grinding
116 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
System
8.4 SYSTEM - "Service display"
The header of the diagram contains the current scaling of the abscissa and the difference
value of the markers.
The diagram shown above can be moved within the visible screen area using the cursor
keys.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 117
System
8.4 SYSTEM - "Service display"
1 Time Base
2 Marker position time
3 Difference in time between marker 1 and current marker position.
Figure 8-19 Meaning of the fields
6HOHFW
VLJQDO Use this menu to parameterize the measuring channel.
● Selecting the axis: To select the axis, use the "Axis" toggle field.
● "Signal type":
Following error
Controller difference
Contour deviation
Position actual value
Speed actual value
Speed setpoint
Compensation value
Parameter block
Position setpoint controller input
Speed setpoint controller input
Acceleration setpoint controller input
Speed feedforward control value
Exact stop fine signal
Exact stop coarse signal
● "Status":
On: Tracing is performed in this channel
Off: Channel inactive
Surface grinding
118 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
System
8.4 SYSTEM - "Service display"
The parameters for the measuring time and for the trigger type for channel 1 can be set in
the lower screen half. The remaining channels will accept this setting.
● Determining the measuring period: The measuring period in ms is entered directly into
the "Measuring period" input field (6,133 ms max.).
● Selecting the trigger condition: Position the cursor on the "Trigger condition" field and
select the relevant condition using the toggle key.
– No trigger, i.e. the measurement starts directly after selecting the "Start" softkey;
– Positive edge;
– Negative edge
– Exact stop fine reached;
– Exact stop coarse reached
9PDUNRII The "V mark ON" / "V mark OFF"softkeys are used to hide/show the vertical gridlines. Using
the "Select signal" function you can determine the signal to be displayed in the vertical axis.
7PDUNRII
The "T mark ON" / "T mark OFF"softkeys are used to hide/show the horizontal gridlines of
the time axis.
)L[9PDUN
Use the markers to determine the differences in the horizontal or vertical directions. To do
this, place the marker on the start point and press "Fix V mark" or "Fix T mark". The
difference between the starting point and the current marker position is now displayed in the
status bar. The softkey labels will change to "Free V mark" or "Free T mark".
7UDFH
GLVSOD\ This function opens another menu level offering softkeys for hiding / displaying the diagrams.
If a softkey is displayed on a black background, the diagrams are displayed for the selected
trace channel.
7LPH
VFDOH Use this function to zoom in / zoom out the time basis.
9HUWLFDO
VFDOH
Use this function to increase / reduce the resolution (amplitude).
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 119
System
8.4 SYSTEM - "Service display"
0DUNHU Use these softkeys to define the step sizes of the markers.
VWHSV
The markers are moved using the cursor keys at a step size of one increment. larger step
sizes can be set using the input fields. The value specifies how many grid units the marker
must be moved per "SHIFT" + cursor movement. When a marker reaches the margin of the
diagram, the grid automatically appears in the horizontal or vertical direction.
)LOH
VHUYLFH
Use this softkey to save or load trace data.
Type the desired file name without extension in the "File name" field.
Use the "Save" softkey to save the data with the specified name in the part program
directory. Thereafter, the file can be exported, and the data can be processed in MS Excel.
"Load" loads the specified file and graphically displays the data.
Surface grinding
120 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
System
8.4 SYSTEM - "Service display"
Note
The version releases shown in the version screen shot are for example only.
6DYH
XQGHU Saves the contents of the "Version" window in a text file. The target (e.g. "customer CF
card") can be selected.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 121
System
8.4 SYSTEM - "Service display"
+0, The "HMI details" menu is intended for servicing and can only be accessed via the user
'HWDLOV password level. All programs provided by the operator unit are displayed with their version
numbers. By reloading software components, the version numbers can be differ from each
other.
5HJLVWU\
'HWDLOV This "Registry details" function displays the assignment of the hard keys (operating area
keys POSITION (machine), OFFSET PARAM (parameter), PROGRAM (program),
PROGRAM MANAGER (progman), ...) for the programs to be started in the form of a list. For
the meanings of the individual columns, please refer to the table below.
Surface grinding
122 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
System
8.4 SYSTEM - "Service display"
Note
After the system has booted, the control system automatically starts the <POSITION>
operating area. If a start behavior is required, the "Change ready to start" function allows
defining another starting program.
The starting operating area is then displayed above the table in the "Registry Details"
window.
)RQW
'HWDLOV
The "Font details" function displays the data of the loaded character sets in the form of a list.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 123
System
8.4 SYSTEM - "Service display"
References
SINUMERIK 802D sl Operating Instructions for Turning, Milling, Grinding, Nibbling; Licensing
in SINUMERIK 802D sl
2SWLRQV Setting the licensed options.
References
SINUMERIK 802D sl Operating Instructions for Turning, Milling, Grinding, Nibbling; Licensing
in SINUMERIK 802D sl
1&.UHVHW
SR
Executes a warm restart at the control.
Surface grinding
124 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
System
8.4 SYSTEM - "Service display"
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 125
System
8.4 SYSTEM - "Service display"
6HWWLQJ
56
Settings of the RS232 output interface.
"Sending messages via this interface can be activated or deactivated using the "Send via
RS232" checkbox. Incoming messages are ignored when the interface is deactivated!
Note
When transferring a file via a serial interface (RS232), please note the end of transmission
character for RS232 communication (analog to the communication setting, RS232 on HMI).
Further, when sending via RS232, it can be defined as to which messages are sent for which
events:
● Programmed messages from the part program
● An alarm has occurred
The settings are saved and the dialog box exited by pressing the "OK" softkey.
The dialog box is exited without saving by pressing "Cancel".
Surface grinding
126 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
System
8.4 SYSTEM - "Service display"
To transfer messages via the RS232 interface, the communication settings from the
operating area <SYSTEM> > "Start-up files" > "RS232" > "Settings" are used.
Note
When using the MSG service via RS232, the RS232 interface must not be active for another
application.
The means, e.g. the RS232 interface must not be active from the operating area <SYSTEM>
"PLC" > "Step7 connect."
6HWWLQJ
)LOH
Settings for the file storage location.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 127
System
8.4 SYSTEM - "Service display"
Sending messages to the selected file is activated or deactivated using the "Send to file"
checkbox. When the interface is deactivated, messages are not output and the information
line "Processing error MSG command occurred".
A path, the file name and the max. size of the file can be selected.
Drive D (customer CF card), F: (USB drive) and the drive connected per RCS connection
can be selected in the "Path" input field.
10kByte, 100kByte and 1MByte can be selected as max. file size. When the max. size is
reached, the file is written as ring buffer, i.e. at the beginning, as many lines are deleted line-
by-line as is required by the new message at the end of the file.
Here, when sending to a file, it can be defined as to which messages are sent for which
events:
● Programmed messages from the part program
● An alarm has occurred
The settings are saved and the dialog box exited by pressing the "OK" softkey.
The dialog box is exited without saving by pressing "Cancel".
Error log
(UURU
ORJ
Error log display.
All messages with the associated error information, where an error occurred when
processing them, are saved in the error log.
The error log can be deleted using the "reset" softkey.
Surface grinding
128 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
System
8.4 SYSTEM - "Service display"
Note
The error log can be used for analysis when the information line "Processing error MSG
command occurred" is output.
N10 MSG ("Roughing the contour") ; The text "Roughing the contour"
is displayed in the alarm display
N20 X… Y… N …
N…
N90 MSG () ; Delete message from the alarm
display
N20 MSG ("V24: Roughing the contour") ; The text "Roughing the contour" is
sent in the ASCII format via the
RS232 interface
N20 MSG ("FILE: Roughing the contour") ; The text "Roughing the contour" is
sent to the selected file
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 129
System
8.4 SYSTEM - "Service display"
Note
If, in the part program, the text for the messages is repeated unchanged, then after each
output, a command for an empty text must be entered.
e.g.
...
MSG("<interface>: Sample text")
MSG("<interface>:")
...
...
MSG("<interface>: Sample text")
MSG("<interface>:")
...
...
MSG("<interface>: Sample text")
MSG("<interface>:")
Surface grinding
130 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
System
8.5 SYSTEM - "PLC" softkeys
3/& This softkey provides further functions for diagnostics and commissioning of the PLC.
&RQQHFWWR
67(3 This softkey opens the configuration dialog for the interface parameters of the STEP 7
connection using the RS232 interface of the control system.
If the RS232 interface is already occupied by the data transfer, you can connect the control
system to the PLC802 programming tool on the programming device/PC only if the
transmission is completed.
The RS232 interface is initialized with activation of the connection.
The baud rate is set using the toggle field. The following values are possible: 9600 / 19200 /
38400 / 57600 / 115200.
Note
The appropriate connection symbol is displayed at the bottom right after the connection has
been established. The communication setting can then no longer be changed.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 131
System
8.5 SYSTEM - "PLC" softkeys
Modem
If the data transfer is performed on the RS232 interface via modem, start with the following
initialization option:
Surface grinding
132 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
System
8.5 SYSTEM - "PLC" softkeys
You can select the following modem types via toggle field:
● Analog modem
● ISDN box
● Mobile phone
Note
The types of both communication partners must match with each other.
When you want to enter several AT command sets, you have to start with AT only once and
simply have to add all other commands, e.g. AT&FS0=1E1X0&W.
Refer to the manufacturers' manuals to look up the commands and their parameters, as they
sometimes differ even between the devices of one manufacturer. The default values of the
control system are therefore only a real minimum and should be verified in any case before
they are used for the first time.
&RQQHFW
RQ
Use this softkey to activate the connection between the control system and the programming
device/PC. The program waits for the call of Programming Tool PLC802. No modifications to
the settings are possible in this state.
The softkey label changes to "Connection inactive".
By pressing "Connection inactive", the transfer from the control system can be terminated at
any point. Now it is possible again to make changes in the settings.
The active or inactive state is kept even after Power On (except power-up with the default
data). An active connection is displayed by a symbol in the status bar.
Press "RECALL" to exit the menu.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 133
System
8.5 SYSTEM - "PLC" softkeys
Additional functions
3/&
VWDWXV
Use this function to display and change the current states of the memory areas listed in the
following table.
It is possible to display 16 operands at the same time.
Inputs I Input byte (IBx), input word (Iwx), input double-word (IDx)
Outputs Q Output byte (Qbx), output word (Qwx), output double-word (QDx)
Flags M Flag byte (Mx), flag word (Mw), flag double-word (MDx)
Times T Time (Tx)
Meters C Counter (Cx)
data V Data byte (Vbx), data word (Vwx), data double-word (VDx)
Format B Binary
H Hexadecimal
D Decimal
The binary representation is not possible with double words. Counters and timers
are represented decimally.
2SHUDQG
The operand address displays the value incremented by 1.
2SHUDQG
The operand address displays the value respectively decremented by 1.
Surface grinding
134 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
System
8.5 SYSTEM - "PLC" softkeys
Cyclic updating of the values is interrupted. Then you can change the values of the
&KDQJH
operands.
6WDWXV
OLVW
Use the "Status list" function to display and modify PLC signals.
There are 3 lists to choose from:
● Inputs (default setting) left-hand list
● Flags (default setting) center list
● Outputs (default setting) right-hand list
● Variable
&KDQJH Use this softkey to change the value of the highlighted variable. Press the "Accept" softkey
to confirm your changes.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 135
System
8.5 SYSTEM - "PLC" softkeys
(GLW Use this softkey to assign the active column a new area. To this end, the interactive
SDG screenform offers four areas to choose from. For each column, a start address can be
assigned which must be entered in the relevant input field. When you quit the interactive
screenform, the control system will save your settings.
Use the cursor keys and the "Page Up" / "Page Down" keys to navigate in and between the
columns.
3/&
SURJUDP PLC diagnosis using a ladder diagram (see chapter "PLC diagnosis using a ladder
diagram").
3URJUDP
OLVW Using the PLC, you may select part programs and run them via the PLC. To this end, the
PLC user program writes a program number to the PLC interface, which is then converted to
a program name using a reference list. It is possible to manage max. 255 programs.
Surface grinding
136 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
System
8.5 SYSTEM - "PLC" softkeys
This dialog displays all files of the MPF directory and their assignment in the reference list
(PLCPROG.LST) in the form of a list. You can use the TAB key to switch between the two
columns. The Copy, Insert and Delete softkey functions are displayed with reference to a
specific context. If the cursor is placed on the left-hand side, only the Copy function is
available. On the right-hand side, the Insert and Delete functions are provided to modify the
reference list.
'HOHWH Deletes the selected file name from the assignment list.
Structure of the reference list (file PLCPROG.LST)
It is divided into 3 areas:
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 137
System
8.5 SYSTEM - "PLC" softkeys
(GLW3/& This function can be used to insert or modify PLC user alarm texts. Select the desired alarm
DODUPW[W number using the cursor. At the same time, the text currently valid is displayed in the input
line.
Enter the new text in the input line. Press the "Input" key to complete your input and select
"Save" to save it.
For the notation of the texts, please refer to the operating instructions.
Surface grinding
138 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
System
8.6 SYSTEM - "Start-up files" softkeys
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 139
System
8.6 SYSTEM - "Start-up files" softkeys
'GDWD The individual data groups in the "802D data" area have the following significance:
Note
The sag compensation is ONLY listed if the associated function was activated.
Surface grinding
140 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
System
8.6 SYSTEM - "Start-up files" softkeys
5&6 Reading-in and reading-out data to a PG/PC via a network. The RCS tool must be installed
FRQQHFW on the PG/PC (only for SINUMERIK 802D sl pro).
Note
The RCS tool provides a detailed online help function. Refer to this help menu for further
details e.g. establishing a connection, project management etc.
0RUH
(UURU
ORJ
Note
Using the softkey function "Continue...", you may also inspect the transmission log. The
"Error log" function is available for that.
6HW
WLQJ
Use this function to display and change the RS232 interface parameters. Any changes in the
settings come into effect immediately.
Selecting the "Save" softkey will save the selected settings even beyond switching off.
The "Default settings" softkey will reset all settings to their default settings.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 141
System
8.6 SYSTEM - "Start-up files" softkeys
Interface parameters
Parameter Description
Device type RTS CTS
The signal RTS (Request to Send) controls the send mode of the data transfer
device.
The CTS signal indicates the readiness to transmit data as the acknowledgment
signal for RTS.
Baud rate ... used to set the interface transmission rate.
300 baud
600 baud
1200 baud
2400 baud
4800 baud
9600 baud
19200 baud
38400 baud
57600 baud
115200 baud
Stop bits Number of stop bits with asynchronous transmission
Input:
1 stop bit (default setting)
2 stop bits
Parity Parity bits are used for error detection. These are added to the coded character to
convert the number of digits set to "1" into an odd or even number.
Input:
No parity (default setting)
Even parity
Odd parity
Data bits Number of data bits with asynchronous transmission
Input:
7 data bits
8 data bits (default)
Overwriting Y: When reading in, it is checked whether the file already exists in the NC.
with N: The files are overwritten without confirmation warning.
confirmation
0DQXIDF
WXUHUGULYH Reading-in and reading-out data of the manufacturer's directory "F".
86%
GULYH Reading-in and reading-out data of a USB FlashDrive.
Surface grinding
142 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
System
8.6 SYSTEM - "Start-up files" softkeys
PDQX Use this function to create/restore a commissioning archive on/from the system
DUFKLYH CompactFlash Card.
No archive file has been created in the following display. The symbol for the zip archive
sends a signal with an exclamation mark.
Vertical softkeys
The following vertical softkeys are available upon activating the file functions:
● "Rename": Use this function to rename a file selected beforehand using the cursor.
● "New directory": Creates a new directory
● "Copy": Use this softkey to copy one or more files to the clipboard.
● "Paste": Use this softkey to paste files or directories from the clipboard to the current
directory.
● "Delete": Deletes the selected file name from the assignment list.
● "Select all": Use this softkey to select all files for subsequent operations.
● "Properties": Display memory capacity.
● "Job list": Displays a list with active file jobs and provides the option to terminate or
display a file job.
0RUH Use this function to switch to the respective vertical softkeys.
Note
If individual functions are grayed out, then these functions are not available for the displayed
drive/directory.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 143
System
8.7 Alarm display
Operating sequence
6<67(0
The alarm window is opened. You can sort the NC alarms using softkeys; PLC alarms will
$/$50 not be sorted.
Softkeys
+LJKHVW
SULRULW\
Use this softkey to display all alarms sorted by their priorities. The highest priority alarm is at
the beginning of the list.
0RVWUHF
DODUP
Use this softkey to display the alarms sorted by the time of their occurrence. The most recent
alarm stands at the beginning of the list.
2OGHVW
DODUP
Use this softkey to display the alarms sorted by the time of their occurrence. The oldest
alarm stands at the beginning of the list.
6WRS
XSGDWLQJ
Updating of pending alarms is stopped / started.
Surface grinding
144 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
System
8.7 Alarm display
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 145
System
8.7 Alarm display
Surface grinding
146 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Cycles 9
9.1 Overview of cycles
Cycles consist of technology subroutines.
You can use cycles for general implementation of a certain machining process, such as
plunge-cut grinding, dressing, or longitudinal grinding.
These cycles are adapted to individual tasks by parameter assignment.
In principle, grinding involves two different types of technological sequence:
● Dressing the grinding wheel
● Grinding the workpiece
The dressing and grinding machining operations are achieved by means of NC cycles.
Grinding tools need to be dressed after a certain time in service to compensate for worn
wheels and to restore their original profile.
Dressing of a wheel pursues two objectives:
● Profiling is aimed at achieving the required wheel shape.
● Sharpening is aimed at restoring the wheel's ability to cut.
The workpiece grinding cycles enable surface grinding with the Y/Z infeed axes (right-
angled).
Grinding cycles
The SINUMERIK 802D sl controller supports the following cycles for surface grinding:
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 147
Cycles
9.1 Overview of cycles
Note
The possible operations (e.g. intermediate dressing) are assigned to the keys of the CNC
machine control panel by the machine manufacturer.
Further processing then takes place on the basis of a preliminary dimensional value.
If a cycle is parameterized, then the icons above the parameter sketch will indicate the
corresponding possible operations that are available (see figure below).
Note
The functions associated with the icons (e.g. "interrupt cycle") remain effective all the time
that there is an infeed amount available.
The "interrupt cycle" function also applies during air grinding.
Surface grinding
148 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Cycles
9.2 Cycle requirements
Prerequisites
The following requirements must be met in respect of the individual grinding cycles:
1. The machining plane must be active.
In principle, all planes are possible with surface grinding.
However, G19 is selected by default, as it is the option required for dressing (Y/Z).
This plane is also activated for the purpose of selecting the geometry axes.
However, other planes (G17, G18) can be active within the context of the process.
The relationship between the planes depends on the infeed axis and the relevant
oscillating axis/axes.
2. A tool number and the associated tool offset must be programmed before the cycle is
called.
3. The grinding wheel peripheral speed is calculated from the parameters that contain the
peripheral speeds in CYCLE446.
4. The file called SGUD_MA.DEF contains default values for all the machine-specific M
commands, such as those that relate to the direction of spindle rotation, coolant and
measuring device switching.
These values can be changed by the machine manufacturer.
5. In addition to assigning values for the grinding wheel and dresser offset data, the tool-
specific grinding data must also be defined.
6. For example, in order to determine the initial infeed value, the computational resolution
must be at least 10 times higher than the input resolution in the display machine data so
that the start position can be calculated for surface grinding.
The following machine data is used for the computational resolution:
– Computational resolution
MD10200 INT_INCR_PER_MM (computational resolution for linear positions) or
MD10210 INT_INCR_PER_DEG (computational angular resolution)
– Input resolution
MD203 DISPLAY_RESOLUTION (display resolution) or
MD204 DISPLAY_RESOLUTION_INCH (display resolution for inch measuring
system)
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 149
Cycles
9.3 Programming cycles
=
$SSOLFDWH
<
WH
*
GLQD
2U
*
*
$E
VF
LVV
D
;
Surface grinding
150 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Cycles
9.3 Programming cycles
Reference
For more information on errors and required responses, as well as messages output in the
controller's dialog line, please refer to the SINUMERIK 802D sl Diagnostics Manual.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 151
Cycles
9.3 Programming cycles
Note
Cycle calls must always be programmed in a separate block.
Note
No plausibility checks are made of parameter values with a discrete or limited value range
unless an error response has been specifically described for a cycle.
If a cycle is called the parameter list of which contains more entries than parameters defined
in the cycle, the general NC alarm 12340 "Too many parameters" is displayed and the cycle
is not executed.
Cycle call
The individual methods for writing a cycle are shown in the programming examples provided
for the individual cycles.
Surface grinding
152 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Cycles
9.3 Programming cycles
Hardware prerequisites
The grinding machine must meet additional hardware requirements before any grinding
cycles can be used.
One or two handwheels are required for motion overlay during setup.
There must be connection options for the following external equipment:
● Acoustic emission sensor
● Measurement control
● Touch trigger probe
● 7 rapid inputs via MCPA for:
– Measurement control (5 inputs)
– Acoustic emission sensor (2 inputs)
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 153
Cycles
9.3 Programming cycles
* ;
' B*&B'180
=
Plane definition
Before using the grinding cycles, G507 must be activated. Typically, the infeed axis is the
first geometry axis.
A tool length compensation must be selected before the cycle is called. Tool length
compensation is always effective in the selected plane and remains active even after the end
of the cycle.
Surface grinding
154 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Cycles
9.3 Programming cycles
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 155
Cycles
9.4 Zyklenunterstützung im Programmeditor
Function
The cycle support offers the following functions:
● Cycle selection via soft keys
● Input screen forms for parameter assignment with help displays
Decompilable program code is generated from the individual screens.
Note
These files are loaded during the start-up of the control system and must always remain
loaded.
Surface grinding
156 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Cycles
9.4 Zyklenunterstützung im Programmeditor
*ULQGLQJ 6HW
0DFKLQLQJ
F\FOHV UHFRPSLOH
*:36WRRO
([HFXWH
6DIHW\
6HOHFWEORFN KHLJKW
3OXQJHFXWWLQJ 'UHVVLQJ
5HFLSURFDWLRQ SDWK
=SRVLWLRQ
&RS\EORFN ZLWKZKHHO
6XUIDFH 'UHVVLQJ
FRQWL QGOHYHO UROOHU
$GGEORFN 'UHVVLQJ
6XUIDFH
LQWHUP QGOHYHO
'HOHWHEORFN *ULQGLQJ
3URILOH
JULQGLQJ
)LQG
3OXQJHFXWWLQJ
VWDJH
1XPEHU
6XUIDFH
VWDJHG
%DFN %DFN
To add a cycle call to the program, carry out the following steps one after the other:
● From the horizontal softkey bar, selection bars for the individual cycles can be selected
using the <Grinding cycles> softkey.
● To select a cycle, keep using the vertical softkey bar until the appropriate input screen
plus help display appears on the screen.
● Number values can be directly entered. Entered values are verified for proper range.
● Some parameters that may have only a few values are selected using the toggle key.
● Press <OK> to complete your input (or <Abort> in case of error).
Recompiling
Recompiling of program codes serves to make modifications to an existing program using
the cycle support.
Position the cursor on the line to be modified and select the <Recompile> softkey. This will
reopen the corresponding input screen from which the program piece has been created, and
you can modify and accept the values.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 157
Cycles
9.5 Z positioning with grinding wheel - CYCLE406
Programming
CYCLE406( N_SITZ, CLEAR, CAL, Z_LPOS, MODE, Y_POS, Z_POS, ZSTW, A_Z, F_LU,
F_SR, N_FR, FX, XSTART, XENDE)
Parameters
Function
This cycle is used for approaching and setting a Z position with the grinding wheel.
Sequence
The cycle moves to the Z preliminary position and commences the approach either with an
optional acoustic emission sensor or just with the handwheel.
Once contact has been detected, grinding is performed, either in accordance with a
handwheel value or in relation to the contact point.
Once the end point is reached, if the CAL parameter is set to "1", the Z axis will be set to the
Z position.
Surface grinding
158 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Cycles
9.5 Z positioning with grinding wheel - CYCLE406
If no acoustic emission sensor input has been configured, the cycle will immediately switch
to the handwheel at the start of the operation, provided that an air grinding feedrate exists.
Programming example
Machining sequence:
● Inching at position -100.0000 mm to Y position -20.0000 mm, old offset is deleted first
and axis value is set at the end point.
● The handwheel is used exclusively for the infeed.
● If an automatic infeed is selected, it will be implemented on a per-stroke basis.
● The start position is at -110.000 mm.
● The table feedrate is 30,000 mm/min between points -350 and 100 (450 oscillating path).
● Sparking-out strokes are performed when infeed is aborted.
● In the example below, which illustrates the next step, the sequence continues with a 3-
stage oscillating plunge cutting cycle. This will always grind away 50 micrometers,
because the axis has been calibrated to -100 mm in advance.
N10 T2D2
N20 CYCLE446( 20)
N30 CYCLE406( 0, 1, 1, -1, 2, -20, -100, 10, 0.1, 3, 0.1, 1, 30000, -350, 100)
N40 CYCLE408( 0, 100, -350, -20, -99.95, 0, 0, 0, 0, 0, -0.05, 0.02, 0.005, 0, 0.01,
0.002, 0.001, 1, 1, 5, 0, 1, 0, 0, 0.01, 30000, 30000, 30000, 30000)
N50 M30
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 159
Cycles
9.6 Safety position - CYCLE407
Programming
CYCLE407(YS, STORE, KOORD)
Parameters
Function
This cycle is used for approaching a safety position during the grinding process or during
interruptions such as intermediate dressing.
Sequence
The cycle checks the current position and approaches it if the infeed axis is smaller than the
value entered.
The position is approached in accordance with the KOORD parameter in the workpiece or
machine coordinate systems (basic coordinates).
Surface grinding
160 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Cycles
9.7 3-stage plunge cut oscillation (roughing, finishing and fine-finishing) - CYCLE408
Programming
CYCLE408( N_SITZ, XSTART, XEND, YEND ZEND, KS, Y_A_LU, Y_A_SR, Y_A_SL,
Y_A_FS, Z_A_LU, Z_A_SR, Z_A_SL, Z_A_FS, LUZ, SRZ, SLZ, FSZ, N_SR, N_SL, N_FS,
D_SR, D_SL, D_FS, ESL, EFS, FX_SR, FX_SL, FX_FS, FR)
Parameters
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 161
Cycles
9.7 3-stage plunge cut oscillation (roughing, finishing and fine-finishing) - CYCLE408
Function
The 3-stage plunge-cut cycle is called for the purpose of machining a slot or surface that is
smaller than the wheel width.
It can also be used for grinding front faces. The surface concerned is ground using the
oscillation method.
Infeed takes place at the reversal points. Intermediate dressing, interruption and use of the
handwheel are all supported.
The keys will only ever respond at the end point.
At the end, the tool retracts to the allowance position.
Infeed is possible in the Y or Z directions and the Z value can be either negative or positive.
A higher infeed amount can be used at the start of machining. Once contact has been
detected using an acoustic emission sensor, the tool will retract by the acoustic emission
sensor infeed amount minus the grinding infeed amount. If no acoustic emission sensor input
has been configured, the cycle will immediately switch to the handwheel at the start of the
operation.
The cycle automatically divides cutting into roughing, finishing and fine-finishing. Sparking-
out strokes can be programmed for the end of each stage.
Off-loading is also possible at the end of the roughing and finishing stages.
Dressing strokes can be programmed to take place prior to each technology step.
Sequence
Traverse to allowance position.
Approach X starting position and Z position.
Start oscillating motion, infeed at reversal points.
The first infeed once oscillating motion has commenced is adjusted to ensure that all
additional infeed operations correspond to the infeed amount. This process is also performed
following interruptions, intermediate dressing and deselection of the handwheel override
function.
Following interruption/dressing, an off-loading value is applied as the tool approaches the
machining start point.
At the end, the tool retracts to the allowance position.
Surface grinding
162 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Cycles
9.7 3-stage plunge cut oscillation (roughing, finishing and fine-finishing) - CYCLE408
Figure 9-6 3-stage plunge cut workshop cycle (roughing, finishing and fine-finishing) - CYCLE408
Programming example - 1
Machining sequence:
● Plunge cut in Y direction at a peripheral speed of 20 m/s.
● In part program block N30: allowance of 0.1 mm, acoustic emission sensor, and 0.1 mm
standard infeed, finishing reversing point 0.05 mm, fine-finishing reversing point 0.01 mm.
● Infeed of 0.03 mm per stroke with acoustic emission sensor and 0.02 mm infeed for
roughing, 0.01 mm infeed for finishing, and 0.002 mm infeed for fine-finishing.
● 1 sparking-out stroke following roughing, 2 strokes following finishing, and 3 strokes
following fine-finishing.
● Single-stroke dressing for finishing and fine-finishing respectively.
● Off-loading value of 0.03 mm following roughing and 0.015 mm following finishing.
N10 T1D1
N20 CYCLE446( 20)
N30 CYCLE408( 0, 100, -100, 0, 0, 0, 0.1, 0.1, 0.05, 0.01, 0.1, 0, 0.05, 0.01, 0.03,
0.02, 0.01, 0.002, 1, 2, 3, 0, 1, 1, 0.03, 0.015, 30000, 29000, 28000, 3000)
N40 M30
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 163
Cycles
9.7 3-stage plunge cut oscillation (roughing, finishing and fine-finishing) - CYCLE408
Programming example - 2
Machining sequence:
● Plunge cut in Z direction at a peripheral speed of 20 m/s.
● In part program block N30: allowance of 0.1 mm, acoustic emission sensor, and 0.1 mm
standard infeed, finishing reversing point 0.05 mm, fine-finishing reversing point 0.01 mm.
● Infeed of 0.03 mm per stroke with acoustic emission sensor and 0.02 mm infeed for
roughing, 0.01 mm infeed for finishing, and 0.002 mm infeed for fine-finishing.
● 1 sparking-out stroke following roughing, 2 strokes following finishing, and 3 strokes
following fine-finishing.
● Single-stroke dressing for finishing and fine-finishing respectively.
● Off-loading value of 0.03 mm following roughing and 0.015 mm following finishing.
N10 T1D1
N20 CYCLE446( 20)
N30 CYCLE408( 0, 100, -100, 0, 0, 0, 0.1, 0, 0.05, 0.01, 0.1, -0.1, 0.05, 0.01,
0.03, 0.02, 0.01, 0.002, 1, 2, 3, 0, 1, 1, 0.03, 0.015, 30000, 29000, 28000, 3000)
N40 M30
Surface grinding
164 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Cycles
9.8 3-stage surface grinding (roughing, finishing and fine-finishing) - CYCLE409
Programming
CYCLE409( N_SITZ, XSTART, XENDE, ZSTART, ZEND, YEND, B_SR, B_SL, B_FS, KS,
Y_A_LU, Y_A_SR, Y_A_SL, Y_A_FS, LUZ, SRZ, SLZ, FSZ, N_SR, N_SL, N_FS, D_SR,
D_SL, D_FS, ESL, EFS, FX_SR, FX_SL, FX_FS, FZ_SR, FZ_SL, FZ_FS, FY)
Parameters
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 165
Cycles
9.8 3-stage surface grinding (roughing, finishing and fine-finishing) - CYCLE409
Function
The 3-stage surface grinding cycle allows you to machine a surface that is wider than the
wheel itself. The surface concerned is ground using the oscillation method/intermittently.
Y infeed takes place at the X and Z reversal points (left/rear, right/rear, left/front or
right/front).
Intermediate dressing, interruption and use of the handwheel are all supported.
The keys will only ever respond at the end point.
At the end, the tool retracts to the starting position.
A higher infeed amount can be used at the start of machining.
Once contact has been detected using an acoustic emission sensor, the tool will retract by
the acoustic emission sensor infeed amount minus the grinding infeed amount.
If no acoustic emission sensor input has been configured, the cycle will immediately switch
to the handwheel at the start of the operation.
The cycle automatically divides cutting into roughing, finishing and fine-finishing.
Sparking-out strokes can be programmed for the end of each stage.
Off-loading is also possible at the end of the roughing and finishing stages.
Dressing strokes can be programmed to take place prior to each technology step.
Sequence
Approach allowance position, approach X starting position and Z starting position.
Start oscillating motion, infeed at reversal points.
The first infeed once oscillating motion has commenced is adjusted to ensure that all
additional infeed operations correspond to the infeed amount. This process is also performed
following interruptions, intermediate dressing and deselection of the handwheel override
function.
The oscillating motion is not performed with the oscillation function, as this would cause
problems in terms of residual path deletion, and would overload the PLC.
Following interruption/dressing, an off-loading value is applied as the tool approaches the
machining start point.
At the end, the tool retracts to the starting position.
Surface grinding
166 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Cycles
9.8 3-stage surface grinding (roughing, finishing and fine-finishing) - CYCLE409
Figure 9-7 3-stage surface grinding workshop cycle (roughing, finishing and fine-finishing) -
CYCLE409
Programming example
Machining sequence:
● Grind surface at a grinding wheel peripheral speed of 20 m/s.
● In part program block N30: air allowance of 0.05 mm and roughing allowance of 0.05 mm,
finishing allowance of 0.025 mm, and fine-finishing allowance of 0.005 mm.
● Infeed of 0.03 mm per stroke with acoustic emission sensor and 0.02 mm infeed for
roughing, 0.01 mm infeed for finishing, and 0.001 mm infeed for fine-finishing.
● 1 sparking-out stroke following roughing, 2 strokes following finishing, and 3 strokes
following fine-finishing.
● Single-stroke dressing for finishing and fine-finishing respectively.
● 2 strokes prior to finishing, 1 stroke prior to fine-finishing.
● Off-loading value of 0.03 mm following roughing and 0.015 mm following finishing.
● With roughing, infeed is performed continuously in Z.
● With finishing and fine-finishing, infeed is performed intermittently.
N10 T2D1
N20 CYCLE446( 20)
N30 CYCLE409( 0, 100, -350, 0, -150, 10, 0, 1, 1, 0, 0.05, 0.05, 0.025, 0.005, 0.03,
0.02, 0.01, 0.001, 1, 2, 3, 0, 2, 1, 0.03, 0.015, 30000, 29000, 28000, 40, 35, 30,
3000)
N40 M30
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 167
Cycles
9.9 Dressing and profiling - CYCLE416
Programming
CYCLE416(Y_AB, Z_AB_L, Z_AB_R, F_DL_AB, F_BL_AB, F_DR_AB, F_BR_AB, F_Z_AB,
N_ABR, USCH, N_AWST)
Parameters
Function
This cycle is used for dressing wheels with a path dresser.
Following each dressing stroke, the dressed amount is taken into account in the wear
parameters of the current tool offset.
Dressing is performed in accordance with workpiece counter _GC_WKS.
Sequence
Dressing involving setup cycles for the path dresser dressing method (CYCLE432).
Surface grinding
168 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Cycles
9.9 Dressing and profiling - CYCLE416
Programming example
Machining sequence:
● Single-stroke dressing with dressing amounts of 0.02 mm (left) and 0.01 mm (right) after
every 5 workpieces.
● The number of idle strokes is stored in the tool data, along with the peripheral speed
ratios of the spindles in the case of a rotating dresser.
N10 T1D1
N20 CYCLE416(0.02,0.01,0.01,0.2,0.2,0.2,0.2,0.2,1,35,5)
N30 M30
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 169
Cycles
9.10 Oscillating plunge cutting - CYCLE426
Programming
CYCLE426( N_SITZ, XSTART, XEND, YEND, ZEND, ZU_ART, KS, Y_A_LU, Y_A_SR,
Z_A_LU, Z_A_SR, LUZ, SRZ, N_FR, A_HEB, FR, FX)
Parameters
Function
The oscillating plunge cutting cycle is called for the purpose of machining a slot or surface
that is smaller than the wheel width. It can also be used for grinding front faces. The surface
concerned is ground using the oscillation method.
Infeed takes place at the reversal points. Intermediate dressing, interruption and use of the
handwheel are all supported.
The keys will only ever respond at the end point.
At the end, the tool retracts or grinding continues with a different technology.
Infeed is possible in the Y or Z directions and the Z value can be either negative or positive.
Machining will take place in the Z direction if no roughing allowance has been programmed
for Y.
Surface grinding
170 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Cycles
9.10 Oscillating plunge cutting - CYCLE426
A higher infeed amount can be used at the start of machining. Once contact has been
detected using an acoustic emission sensor, the tool will retract by the acoustic emission
sensor infeed amount minus the grinding infeed amount.
If no acoustic emission sensor input has been configured, the cycle will immediately switch
to the handwheel at the start of the operation.
Sequence
Approach allowance position, approach X starting position and Z position.
Start oscillating motion, infeed at reversal points.
The first infeed once oscillating motion has commenced is adjusted to ensure that all
additional infeed operations correspond to the infeed amount. This process is also performed
following interruptions, intermediate dressing and deselection of the handwheel override
function.
Following interruption/dressing, an off-loading value is applied as the tool approaches the
machining start point.
At the end, the tool retracts by the retraction amount or machining continues using a new
technology, assuming that the end point of the first machining operation is the same as the
starting point for the new machining operation. In other words, if the oscillating axis is at the
X axis end or start point and the allowance is correct, machining will continue from this point.
As a result, it is possible to combine any number of technology seats.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 171
Cycles
9.10 Oscillating plunge cutting - CYCLE426
Programming example - 1
Machining sequence:
● Plunge cut in Y direction at a grinding wheel peripheral speed of 20 m/s with two infeed
blocks.
● In part program block N30: allowance of 0.1 mm and infeed of 0.005 mm per stroke, no
retraction at the end and, therefore, grinding immediately continues in part program block
N40 with an allowance of 0.02 mm and infeed of 0.002 mm per stroke.
● Both operations involve 2 sparking-out strokes. These are performed with the same
geometry positions and feedrates.
● The fact that the start point of the second machining operation is precisely matched to an
end point of the first machining operation means that infeed can take place straight away.
In order for this to happen, grinding with an acoustic emission sensor must be
deactivated.
N10 T1D1
N20 CYCLE446( 20)
N30 CYCLE426( 0, -350, 100, 10.500000, -95, 0, 0, 0, 0.100000, 0, 0, 0.005000,
0.005000, 2, 0, 1000, 30000)
N40 CYCLE426( 0, -350, 100, 10.480000, -95, 0, 0, 0, 0.020000, 0, 0, 0.005000,
0.002000, 2, 1, 1000, 30000)
M30
Programming example - 2
Machining sequence:
● Plunge cut in Z direction at a grinding wheel peripheral speed of 20 m/s with two infeed
blocks.
● In part program block N30: allowance of 0.01 mm, acoustic emission sensor, and
standard infeed of 0.01 mm and infeed of 0.005 mm per stroke with acoustic emission
sensor at end point, plus infeed of 0.002 mm with grinding at end point, no retraction at
the end and, therefore, grinding immediately continues in part program block N40 with an
allowance of 0.02 mm and infeed of 0.002 mm per stroke.
● Both operations involve 2 sparking-out strokes. These are performed with the same
geometry positions and feedrates.
● The fact that the start point of the second machining operation is precisely matched to an
end point of the first machining operation means that infeed can take place straight away.
In order for this to happen, grinding with an acoustic emission sensor must be
deactivated.
N10 T2D1
N20 CYCLE446( 20)
N30 CYCLE426( 0, 100, -350, 10.5, -95, 1, 0, 0, 0.01, 0.01, 0.005, 0.002, 2, 0,
1000, 30000)
N40 CYCLE426( 0, -350, 100, 10.5, -95.02, 1, 0, 0, 0.01, 0.01, 0, 0.002, 2, 1,
1000, 30000)
M30
Surface grinding
172 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Cycles
9.11 Surface grinding with continuous infeed - CYCLE427
Programming
CYCLE427( N_SITZ, XSTART, XEND, ZSTART, ZEND, YEND, ZU_ART, KS, A_LU, A_SR,
LUZ, SRZ, N_FR, A_HEB, FY, FX, FZ)
Parameters
Function
The surface grinding cycle with continuous infeed is called for the purpose of machining a
surface that is wider than the wheel itself. The surface concerned is ground using the
oscillation method. Stroke infeed in X is performed continuously.
Y infeed takes place at the X and Z reversal points (left/rear, right/rear, left/front or
right/front).
Intermediate dressing, interruption and use of the handwheel are all supported.
The keys will only ever respond at the end point.
At the end, the tool retracts or grinding continues with a different technology.
A higher infeed amount can be used at the start of machining.
Once contact has been detected using an acoustic emission sensor, the tool will retract by
the acoustic emission sensor infeed amount minus the grinding infeed amount.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 173
Cycles
9.11 Surface grinding with continuous infeed - CYCLE427
If no acoustic emission sensor input has been configured, the cycle will immediately switch
to the handwheel at the start of the operation.
Sequence
Approach allowance position, approach X starting position and Z starting position.
Start oscillating motion, infeed at reversal points.
The first infeed once oscillating motion has commenced is adjusted to ensure that all
additional infeed operations correspond to the infeed amount. This process is also performed
following interruptions, intermediate dressing and deselection of the handwheel override
function. The oscillating motion is not performed with the oscillation function, as this would
cause problems in terms of residual path deletion, and would overload the PLC.
Following interruption/dressing, an off-loading value is applied as the tool approaches the
machining start point.
At the end, the tool retracts by the retraction amount or machining continues at the end point
using a new technology. In other words, if the oscillating axis is at the X axis end or start
point and the allowance is correct, machining will continue from this point. As a result, it is
possible to combine any number of technology seats.
Surface grinding
174 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Cycles
9.11 Surface grinding with continuous infeed - CYCLE427
Programming example
Machining sequence
● Oscillation with continuous infeed in Z direction at a grinding wheel peripheral speed of
20 m/s with two infeed blocks.
● In part program block N30: allowance of 0.1 mm and infeed of 0.005 mm per stroke, no
retraction at the end and, therefore, grinding immediately continues in part program block
N40 with an allowance of 0.02 mm and infeed of 0.002 mm per stroke.
● Both operations involve 2 sparking-out strokes. These are performed with the same
geometry positions.
● The per-stroke feedrate in X is 40 mm for the 1st operation and 10 mm for the 2nd.
● The fact that the start point of the second machining operation is precisely matched to an
end point of the first machining operation means that infeed can take place straight away.
In order for this to happen, grinding with an acoustic emission sensor must be
deactivated.
N10 T2D1
N20 CYCLE446( 20)
N30 CYCLE427( 0, 100, -350, -95, 0, 10.5, 0, 0, 0, 0.1, 0, 0.005, 2, 0, 3000, 30000,
40)
N40 CYCLE427( 0, 100, -350, -95, 0, 10.48, 0, 0, 0, 0.02, 0, 0.002, 2, 1, 3000,
30000, 10)
N50 M30
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 175
Cycles
9.12 Surface grinding with intermittent infeed - CYCLE428
Programming
CYCLE428( N_SITZ, XSTART, XEND ZSTART, ZEND, YEND, ZU_ART, ZZU_ART, KS,
A_LU, A_SR, LUZ, SRZ, N_FR, A_HEB, FY, FX, FZ)
Parameters
Function
The surface grinding cycle with intermittent infeed is called for the purpose of machining a
surface that is wider than the wheel itself. The surface concerned is ground using the
oscillation method. Infeed is performed at the end of the strokes in X.
This infeed is circular so that sudden acceleration can be avoided.
With this method, it is also possible to select the infeed side in the Z direction.
Surface grinding
176 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Cycles
9.12 Surface grinding with intermittent infeed - CYCLE428
Y infeed takes place at the X and Z reversal points (left/rear, right/rear, left/front or
right/front).
Intermediate dressing, interruption and use of the handwheel are all supported.
The keys will only ever respond at the end point.
At the end, the tool retracts or grinding continues with a different technology.
A higher infeed amount can be used at the start of machining. Once contact has been
detected using an acoustic emission sensor, the tool will retract by the acoustic emission
sensor infeed amount minus the grinding infeed amount. If no acoustic emission sensor input
has been configured, the cycle will immediately switch to the handwheel at the start of the
operation.
The value of the FZ parameter (infeed per stroke) can be used to determine whether the X
values should be used for the start or the end of the circular motion. If the values used are
negative, then the X positions will not be overtraveled, even with circular interpolation.
Sequence
Traverse to allowance position. Approach X starting position and Z starting position.
Start oscillating motion, infeed at reversal points.
The first infeed once oscillating motion has commenced is adjusted to ensure that all
additional infeed operations correspond to the infeed amount. This process is also performed
following interruptions, intermediate dressing and deselection of the handwheel override
function.
The oscillating motion is not performed with the oscillation function, as this would cause
problems in terms of residual path deletion, and would overload the PLC.
Following interruption/dressing, an off-loading value is applied as the tool approaches the
machining start point.
At the end, the tool retracts by the retraction amount or machining continues at the end point
using a new technology. In other words, if the oscillating axis is at the X axis end or start
point and the allowance is correct, machining will continue from this point. As a result, it is
possible to combine any number of technology seats.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 177
Cycles
9.12 Surface grinding with intermittent infeed - CYCLE428
Programming example
Machining sequence:
● Oscillation with continuous infeed in Z direction at a grinding wheel peripheral speed of
20 m/s with two infeed blocks.
● In part program block N30: allowance of 0.1 mm and infeed of 0.005 mm per stroke, no
retraction at the end and, therefore, grinding immediately continues in part program block
N40 with an allowance of 0.02 mm and infeed of 0.002 mm per stroke.
● Both operations involve 2 sparking-out strokes. These are performed with the same
geometry positions.
● The per-stroke feedrate in X is 40 mm for the 1st operation and 10 mm for the 2nd.
● The fact that the start point of the second machining operation is precisely matched to an
end point of the first machining operation means that infeed can take place straight away.
In order for this to happen, grinding with an acoustic emission sensor must be
deactivated.
N10 T2D1
N20 CYCLE446( 20)
N30 CYCLE428( 0, 100, -350, -95, 0, 10.500000, 0, 0, 0, 0, 0.1, 0, 0.005000, 2, 0,
3000, 30000, 40)
N40 CYCLE428( 0, 100, -350, -95, 0, 10.48, 0, 0, 0, 0, 0.02, 0, 0.002, 2, 1, 3000,
30000, 10)
N50 M30
Surface grinding
178 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Cycles
9.13 Profile grinding - CYCLE429
Programming
CYCLE429( N_SITZ, XSTART, ZSTART, YEND, KS, A_LU, A_SR, LUZ, SRZ, N_FR,
A_HEB, FX, KONTUR)
Parameters
Function
The profile grinding cycle is called for the purpose of machining a surface with a free
contour.
The entire contour is contained within the contour subroutine.
The cycle merely handles the infeed process and the interrupt keys, which do not have any
effect until the end of the contour is reached.
Both intermediate dressing and interruption are supported.
At the end of each stroke, retraction is performed followed by a return to the starting point.
Machining must be performed using active tool nose radius compensation (G41/G42).
The tool offset is modified by the cycle.
The user has the option of programming both an outward and a return motion in the free
contour. In this case, no retraction amount is required.
The user must select the correct G group (G41/G42) in the contour program, because this
program also happens to contain the machining direction.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 179
Cycles
9.13 Profile grinding - CYCLE429
Sequence
Enter allowance in work offset.
Traverse to retraction amount.
Traverse to X starting position and Z starting position.
Call contour program.
Retract and reset work offset.
Approach the start point again until the allowance has been machined.
At the end, the tool retracts by the retraction amount.
Machining continues at the end point using a new technology.
Surface grinding
180 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Cycles
9.13 Profile grinding - CYCLE429
Programming example
Machining sequence:
● Profile grinding with an allowance of 0.02 mm and an infeed of 0.005 mm per stroke.
● The surface offset is used for the infeed. The contour is always programmed to the
finished dimension.
● 2 sparking-out strokes are then performed at the end.
● Retraction should be programmed as follows:
– It should be possible to perform a return journey in absolute safety.
– The return motion is contained within the contour.
● In the example below, subsequent machining is carried out with a different infeed but the
same contour.
● The contour must be stored as an individual subroutine. The direction of tool nose radius
compensation is also activated in the contour.
N10 T1D1
N20 CYCLE446( 20)
CYCLE429( 0, 100, 0, 0, 0, 0, 0.02, 0, 0.005, 2, 20, 10000, "K123")
N30 Y0
N40 CYCLE429( 1, 100, 0, 0, 0, 0.02, 0, 0.005, 2, 20, 10000, "K123")
N50 M30
%_N_K123_SPF
G17
G42
G64 G90 X100 Y0
G64 X0 Y0
G64 X-100 Y10
G64 X-210 Y0
G64 X-260
RET
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 181
Cycles
9.14 Dressing with profile roller - CYCLE430
Programming
CYCLE430( Y_AB, F_TVOR, F_VOR, N_AUS, N_ABR, USCH, N_AWST)
Parameters
Function
This cycle is used for dressing wheels using a profile roller.
Following dressing (each stroke), the dressed amount is taken into account in the wear
parameters of the current tool offset.
Dressing is performed in accordance with workpiece counter GC_WKS.
Sequence
If a profiling allowance is specified, this is processed first. This value can also be used to
search for a dresser if no sensor system is installed.
When processing the profiling allowance, no dresser wear compensation is currently applied.
The profiling allowance is taken into account in the base dimension of the dresser when
selecting the valid coordinate system. This does away with the requirement for a
programmable work offset for grinding operations. The coasting revolutions are the number
of revolutions taken for the roller to come to a stop against the wheel.
Surface grinding
182 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Cycles
9.14 Dressing with profile roller - CYCLE430
Programming example
Machining sequence:
● 2-stroke dressing with a dressing amount of 0.02 mm and 2 sparking-out revolutions
every 5 workpieces.
● The number of idle strokes is stored in the tool data, along with the peripheral speed
ratios of the spindles.
N10 T1D1
N20 CYCLE430(0.02,20,0.2,2,2,35,5)
N30 M30
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 183
Cycles
9.15 Selection of the grinding wheel peripheral speed - CYCLE446
Programming
CYCLE446(SUG)
Parameter
Function
This function is used to switch on the grinding wheel at a desired peripheral wheel speed,
including the testing of the max. peripheral wheel speed and RPM. If the speed is exceeded,
a message is issued (no alarm). The value is limited to the respective maximum value. This
is checked for all wheels that are mounted on the spindle (wheels of a set). A setup menu is
also required in order to obtain an overview of the wheels used.
Checking and calculation is performed on the currently largest diameter of the wheels. This
is a purely calculated monitoring function. Internally, no limitations are set that implement
reliable monitoring. This must be ensured by the user.
For machines without NC spindles, it is possible to use a computation of the necessary
speed with a spindle number ≤ 0 if the cycle CYCLE425 is available. In this case, the
CYCLE425 receives the computed and limited speed. At this point, the user can give this
speed to groups or directly to an external actuator (M functions, etc.). The user must then
assign the speed set, which may deviate from the required speed, to parameter
_GC_PARR[5]. In this way, the dressing cycle can compute, for example, the necessary
dressing feedrate in mm/rev using the correct speed.
Surface grinding
184 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming 10
10.1 Fundamental principles of NC programming
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 185
Programming
10.1 Fundamental principles of NC programming
Functionality/structure
A word is a block element and mainly constitutes a control command. The word consists of:
● Address characters: generally a letter and a
● Numerical value: a sequence of digits which with certain addresses can be added by a
sign put in front of the address, and a decimal point.
A positive sign (+) can be omitted.
7UDYHUVHZLWK 'LVWDQFHWREH
WUDYHUVHGRUHQG )HHGUDWH
([SODQDWLRQ OLQHDU
SRVLWLRQIRUWKH; PPPLQ
LQWHUSRODWLRQ
D[LVPP
Extended address
For the following addresses, the address is extended by 1 to 4 digits to obtain a higher
number of addresses.
R: Arithmetic parameters
H: H function
I, J, K: Interpolation parameters/intermediate point
In this case, the value must be assigned using an equality sign "=" (see also Section "List of
instructions").
Example: R10=6.234 H5=12.1 I1=32.67
Surface grinding
186 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.1 Fundamental principles of NC programming
Functionality
A block should contain all data required to execute a machining step.
Generally, a block consists of several words and is always completed with the
end-of-block character " LF " (Linefeed). This character is automatically generated when
pressing the linefeed or <Input>key when writing.
%ORFNLQVWUXFWLRQV
%ORFNQXPEHUVWDQGVLQIURQWRILQVWUXFWLRQV
RQO\LIUHTXLUHG
2QO\DVQHHGHGLQVWHDGRI1PDLQEORFNVKDYH
LVZULWWHQDWWKHHQGGHOLPLWHGIURP
WKHV\PEROಯಯ&RORQ
WKHUHPDLQLQJSDUWRIWKHEORFNE\
%ORFNVNLS
RQO\LIQHFHVVDU\VWDQGVDWWKHEHJLQQLQJ
7RWDOQXPEHURIFKDUDFWHUVLQDEORFNFKDUDFWHUV
Word order
If there are several instructions in a block, the following order is recommended:
N... G... X... Z... F... S... T... D... M... H...
Block skip
Blocks of a program, which are to be executed not with each program run, can be marked by
a slash / in front of the block number.
The block skip itself is activated via Operation (program control: "SKP") or by the
programmable controller (signal). A section can be skipped by several blocks in succession
using " / ".
If a block must be skipped during program execution, all program blocks marked with " / " are
not executed. All instructions contained in the blocks concerned will not be considered. The
program is continued with the next block without marking.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 187
Programming
10.1 Fundamental principles of NC programming
Comment, remark
The instructions in the blocks of a program can be explained using comments (remarks). A
comment always starts with a semicolon " ; " and ends with end-of-block.
Comments are displayed together with the contents of the remaining block in the current
block display.
Messages
Messages are programmed in a separate block. A message is displayed in a special field
and remains active until a block with a new message is executed or until the end of the
program is reached. Max. 65 characters can be displayed in message texts.
A message without message text cancels a previous message.
MSG("THIS IS THE MESSAGE TEXT")
See also chapter "Service MSG".
Programming example
Surface grinding
188 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.1 Fundamental principles of NC programming
10.1.5 Fonts
The following characters are used for programming; they are interpreted in accordance with
the relevant definitions.
Letters, digits
A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W X, Y, Z
0, 1, 2, 3, 4, 5, 6, 7, 8, 9
No distinction is made between upper and lower case letters.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 189
Programming
10.1 Fundamental principles of NC programming
Surface grinding
190 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.1 Fundamental principles of NC programming
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 191
Programming
10.1 Fundamental principles of NC programming
Surface grinding
192 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.1 Fundamental principles of NC programming
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 193
Programming
10.1 Fundamental principles of NC programming
Surface grinding
194 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.1 Fundamental principles of NC programming
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 195
Programming
10.1 Fundamental principles of NC programming
Surface grinding
196 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.1 Fundamental principles of NC programming
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 197
Programming
10.1 Fundamental principles of NC programming
Surface grinding
198 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.1 Fundamental principles of NC programming
s
$AC_..._ Workpiece counter: 0 ... 999 999 999, System variable:
PARTS $AC_TOTAL_PARTS integer Total actual count
$AC_REQUIRED Set number of workpiece
_PARTS
$AC_ACTUAL_PART Current actual count N10 IF
S Count of workpieces - specified $AC_ACTUAL_PARTS==15
$AC_SPECIAL_PAR by the user ....
TS
$AC_ Number of the active read-only
MSNUM master spindle
$P_ Number of Read-only
MSNUM programmed master
spindle
$P_NUM_ Number of Read-only
SPINDLES configured spindles
$AA_S[n] Actual speed of Spindle number n =1 or =2,
spindle n read-only
$P_S[n] Last programmed Spindle number n =1 or =2,
speed of spindle n read-only
$AC_ Current direction of Spindle number n =1 or =2,
SDIR[n] rotation of spindle n read-only
$P_ Last programmed Spindle number n =1 or =2,
SDIR[n] direction of rotation read-only
of
spindle n
$P_ Number of the active - read-only N10 IF $P_TOOLNO==12
TOOLNO tool T GOTOF ....
$P_TOOL Active D number of - read-only N10 IF $P_TOOL==1
the active tool GOTOF ....
MSG () Message max. 65 characters Message text in inverted MSG("MESSAGE TEXT") ;
commas separate block
...
N150 MSG() ; Clear previous
message
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 199
Programming
10.1 Fundamental principles of NC programming
Surface grinding
200 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.2 Positional data
Note
The commands described in this section stand in most cases at the start of a NC program.
The way, in which these functions are combined, is not intended to be a patent remedy. For
example, the choice of working plane may be made at another point in the NC program. The
real purpose of this and the following sections is to illustrate the conventional structure of an
NC program.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 201
Programming
10.2 Positional data
● Inch dimension as for G70, but applies also for feedrate and length-related setting data.
● Metric dimension as for G71, but applies also for feedrate and length-related setting data.
Functionality
To assign, for example, tool radius and tool length compensations, a plane with two axes is
selected from the three axes X, Y and Z. In this plane, you can activate a tool radius
compensation.
For drill and cutter, the length compensation (length1) is assigned to the axis standing
vertically on the selected plane (see Section "Tool and tool offsets"). It is also possible to use
a 3-dimensional length compensation for special cases.
Another influence of plane selection is described with the appropriate functions (e.g. Section
"Support for the contour definition programming").
The individual planes are also used to define the direction of rotation of the circle for the
circular interpolation CW or CCW. In the plane in which the circle is traversed, the abscissa
and the ordinate are designed and thus also the direction of rotation of the circle. Circles can
also be traversed in a plane other than that of the currently active G17 to G19 plane (see
Section "Axis Movements").
The following plane and axis assignments are possible:
<
;
Surface grinding
202 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.2 Positional data
Programming example
Functionality
With the instructions G90/G91, the written positional data X, Y, Z, ... are evaluated as a
coordinate point (G90) or as an axis position to traverse to (G91). G90/G91 applies to all
axes.
Irrespective of G90/G91, certain positional data can be specified for certain blocks in
absolute/incremental dimensions using AC/IC.
These instructions do not determine the path by which the end points are reached; this is
provided by a G group (G0, G1, G2 and G3... see Chapter "Axis Movements").
Programming
< <
$EVROXWHGLPHQVLRQV ,QFUHPHQWDOGLPHQVLRQ
3 3
3 3
3 3
;
;
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 203
Programming
10.2 Positional data
Upon program start, G90 is active for all axes and remains active until it is deselected in a
subsequent block by G91 (incremental dimensioning data) (modally active).
Programming example
Surface grinding
204 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.2 Positional data
10.2.4 Dimensions in metric units and inches: G71, G70, G710, G700
Functionality
If workpiece dimensions that deviate from the base system settings of the control are present
(inch or mm), the dimensions can be entered directly in the program. The required
conversion into the base system is performed by the control system.
Programming
Programming example
Information
Depending on the default setting you have chosen, the control system interprets all
geometric values as either metric or inch dimensions. Tool offsets and settable work offsets
including their display are also to be understood as geometrical values; this also applies to
the feedrate F in mm/min or inch/min. The default setting can be set via machine data.
All examples listed in this manual are based on a metric default setting.
G70 or G71 evaluates all geometric parameters that directly refer to the workpiece, either as
inches or metric units, for example:
● Positional data X, Y, Z, ... for G0,G1,G2,G3,G33, CIP, CT
● Interpolation parameters I, J, K (also thread pitch)
● Circle radius CR
● Programmable work offset (TRANS, ATRANS)
● Polar radius RP
All remaining geometric parameters that are not direct workpiece parameters, such as
feedrates, tool offsets, and settable work offsets, are not affected by G70/G71.
G700/G710 however, also affects the feedrate F (inch/min, inch/rev. or mm/min, mm/rev.).
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 205
Programming
10.2 Positional data
Functionality
In addition to the common specification in Cartesian coordinates (X, Y, Z), the points of a
workpiece can also be specified using polar coordinates.
Polar coordinates are also helpful if a workpiece or a part of it is dimensioned from a central
point (pole) with specification of the radius and the angle.
Plane
The polar coordinates refer to the plane activated with G17 to G19. In addition, the third axis
standing vertically on this plane can be specified. When doing so, spatial specifications can
be programmed as cylinder coordinates.
53 53
$3 $3
3ROH 3ROH
; =
([DPSOH*;<SODQH ([DPSOH*=;SODQH
Figure 10-5 Polar radius and polar angle with definition of the positive direction in different planes
Surface grinding
206 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.2 Positional data
G110 Pole specification relative to the setpoint position last programmed (in the
plane, e.g. with G17: X/Y)
G111 ; Pole specification relative to the origin of the current workpiece coordinate
system (in the plane, e.g. with G17: X/Y)
G112 ; Pole specification, relative to the last valid pole; preserve plane
Note
Pole specifications
• Pole definitions can also be performed using polar coordinates. This makes sense if a
pole already exists.
• If no pole is defined, the origin of the current workpiece coordinate system will act as the
pole.
Programming example
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 207
Programming
10.2 Positional data
Functionality
The programmable work offset can be used:
● for recurring shapes/arrangements in various positions on the workpiece
● when selecting a new reference point for the dimensioning
● as a stock allowance when roughing
This results in the current workpiece coordinate system. The rewritten dimensions use this
as a reference.
The offset is possible in all axes.
Programming
TRANS X... Y... Z... ; programmable offset, deletes old instructions for offsetting,
rotation, scaling factor, mirroring
ATRANS X... Y... Z... ; programmable offset, additive to existing instructions
TRANS ; without values: clears old instructions for offset, rotation,
scaling factor, mirroring
The instructions that contain TRANS or ATRANS each require a separate block.
WUDQV]
WUDQV[
Surface grinding
208 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.2 Positional data
Programming example
Functionality
The rotation is performed in the current plane G17 or G18 or G19 using the value of RPL=...
specified in degrees.
Programming
ROT RPL=... ; Programmable rotation, deletes old instructions for offsetting, rotation,
scaling factor, mirroring
AROT RPL=... ; Programmable rotation, additive to existing instructions
ROT ; without values: Clears old instructions for offset, rotation, scaling
factor, mirroring
The instructions that contain ROT or AROT each require a separate block.
< ; =
* * *
5RWDWHGV\VWHP
; = <
Figure 10-7 Definition of the positive direction of the angle of rotation in the individual planes
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 209
Programming
10.2 Positional data
Programming example
Surface grinding
210 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.2 Positional data
Functionality
A scale factor can be programmed for all axes with SCALE, ASCALE. The path is enlarged
or reduced by this factor in the axis specified. The currently set coordinate system is used as
the reference for the scale change.
Programming
SCALE X... Y... Z... ; Programmable scaling factor, clears old instructions for offset,
rotation, scaling factor, mirroring
ASCALE X... Y... Z... ; Programmable scaling factor, additive to existing instructions
SCALE ; without values: clears old instructions for offset, rotation, scaling
factor, mirroring
The instructions that contain SCALE or ASCALE each require a separate block.
Note
For circles, the same factor should be used in both axes.
If ATRANS is programmed with SCALE/ASCALE active, these offset values are also scaled.
Programming example
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 211
Programming
10.2 Positional data
Functionality
MIRROR and AMIRROR can be used to mirror workpiece shapes on coordinate axes. All
traversing motions of axes for which mirroring is programmed are reversed in their direction.
Programming
Note
Any active tool radius compensation (G41/G42) is reversed automatically when mirroring.
The direction of rotation of the circle G2/G3 is also reversed automatically when mirroring.
<
:RUNSLHFH
2ULJLQDO
PLUURUHGLQ;
* *
* *
1 1
:
;
PLUURUHGLQ<DQG; :RUNSLHFH
PLUURUHGLQ<
1 1
* *
* *
Figure 10-9 Example for mirroring with the tool position shown
Surface grinding
212 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.2 Positional data
Programming example
Mirroring in different coordinate axes with influence on an active tool radius compensation
and G2/G3:
...
N10 G17 ; X/Y plane, Z standing vertically on it
N20 L10 ; Programmed contour with G41
N30 MIRROR X0 ; Direction changed in X
N40 L10 ; Mirrored contour
N50 MIRROR Y0 ; Direction changed in Y
N60 L10
N70 AMIRROR X0 ; Mirroring once more, but now in X
N80 L10 ; Twice-mirrored contour
N90 MIRROR ; Mirroring off
...
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 213
Programming
10.2 Positional data
10.2.10 Workpiece clamping - settable work offset: G54 to G59, G500, G53, G153
Functionality
The settable work offset specifies the position of the workpiece zero on the machine (offset
of the workpiece zero with respect to the machine zero). This offset is determined upon
clamping of the workpiece into the machine and must be entered in the corresponding data
field by the operator. The value is activated by the program by selection from six possible
groupings: G54 to G59.
Note
Workpiece clamping at an angle is possible by entering the angles of rotation around the
machine axes. These rotation portions are activated with the offset G54 to G59.
Programming
<
0DFKLQH
: ZRUNSLHFH]HUR
0 PDFKLQH]HUR
<
:RUNSLHFH =
:RUNSLHFH
: ;
HJ :RUNSLHFH
*
=
0DFKLQH
0 ;
0DFKLQH
Surface grinding
214 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.2 Positional data
=
0DFKLQH
=
= :RUNSLHFH
:RUNSLHFH
; ;
:RUNSLHFH :RUNSLHFH
* *
= =
:RUNSLHFH :RUNSLHFH
;
:RUNSLHFH ;
:RUNSLHFH
*
;
* 0DFKLQH
Programming example
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 215
Programming
10.2 Positional data
Functionality
With G25, G26, a working area can be defined for all axes in which it is possible to traverse,
with no traversing allowed outside this area. With the tool length compensation active, the
tool tip is decisive; The coordinate parameters are machine-based.
In order to be able to use the working area limitation, it must be activated for the respective
axis. This is done via the input screen under "Offset param" > "Setting data" > "Working area
limit".
There are two options for defining the working area:
● Entering values via the input screen of the control system under "Offset param" > "Setting
data" > "Working area limit".
This makes the working area limitation effective in JOG mode as well.
● Programing with G25/G26
The values for the individual axes can be changed in the part program. The values that
were input in the input screen ("Offset param" > "Setting data" > "Working area limit") are
overwritten.
The working area limitation is enabled/disabled in the program by WALIMON/WALIMOF.
Programming
:=/ $FWLYHWRROOHQJWKFRPSHQVDWLRQ
) 7RROKROGHUUHIHUHQFHSRLQW
<
0DFKLQH
< )
* :RUNLQJDUHD
:=/
0 7RROWLS
;
< 0DFKLQH
* ; ;
* *
Surface grinding
216 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.2 Positional data
Note
• The channel axis designation from MD20080 AXCONF_CHANAX_NAME_TAB should be
used for G25, G26.
With SINUMERIK 802D sl, kinematic transformations (TRANSMIT, TRACYL) are
possible. It is possible that different axis designations for MD20080 and the MD20060
AXCONF_GEOAX_NAME_TAB geometry axis designation are specified here.
• G25, G26 is also used in connection with the address S for the spindle speed limitation
(see also Section "Spindle speed limitation").
• A working area limitation can only be activated if the reference point for the relevant axes
has been approached.
Programming example
N10 G25 X10 Y-20 Z30 ; Values of the lower working area limitation
N20 G26 X100 Y110 Z300 ; Values of the upper working area limitation
N30 T1 M6
N40 G0 X90 Y100 Z180
N50 WALIMON ; Working area limitation ON
... ; Work only within working range limits
N90 WALIMOF ; Working area limitation OFF
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 217
Programming
10.3 Axis movements
Functionality
The rapid traverse movement G0 is used for rapid positioning of the tool, but not for direct
workpiece machining.
All the axes can be traversed simultaneously - on a straight path.
For each axis, the maximum speed (rapid traverse) is defined in machine data. If only one
axis traverses, it uses its rapid traverse. If two or three axes are traversed simultaneously,
the path velocity (e.g. the resulting velocity at the tool tip) must be selected such that the
maximum possible path velocity with consideration of all axes involved results.
A programmed feedrate (F word) has no meaning for G0. G0 remains active until canceled
by another instruction from this G group (G1, G2, G3, ...).
Programming
Note
Another option for linear programming is available with the angle specification ANG=... (see
Section "Blueprint programming").
6WUDLJKWSDWK
< 3
3
Surface grinding
218 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.3 Axis movements
Programming example
Information
Another group of G functions exists for movement to the position (see Section "Exact stop /
continuous-path control mode: G9, G60, G64").
For G60 exact stop, a window with various precision values can be selected with another G
group. For exact stop, an alternative instruction with non-modal effectiveness exists: G9.
You should consider these options for adaptation to your positioning tasks.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 219
Programming
10.3 Axis movements
Functionality
The tool moves from the starting point to the end point along a straight path. The path
velocity is determined by the programmed F word.
All axes can be traversed simultaneously.
G1 remains active until canceled by another instruction from this G group (G0, G2, G3, ...).
Programming
Note
Another option for linear programming is available with the angle specification ANG=... (see
Section "Blueprint programming").
<
**<
;
*<)
;)
*<
0
< )%
; ;
;
Figure 10-14 Linear interpolation in three axes using the example of a slot
Surface grinding
220 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.3 Axis movements
Programming example
N05 G0 G90 X40 Y48 Z2 S500 M3 ; The tool traverses in rapid traverse on
P1, three axes concurrently, spindle
speed = 500 rpm, clockwise
N10 G1 Z-12 F100 ; Infeed on Z-12, feed 100 mm/min
N15 X20 Y18 Z-10 ; Tool travels on a straight line in
space on P2
N20 G0 Z100 ; Retraction in rapid traverse
N25 X-20 Y80
N30 M2 ; End of program
To machine a workpiece, spindle speed S ... and direction M3/M4 are required (see Section
"Spindle movement").
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 221
Programming
10.3 Axis movements
Functionality
The tool moves from the starting point to the end point along a circular path. The direction is
determined by the G function:
G2: clockwise
G3: counter-clockwise
* * *
; ; ;
Figure 10-15 Definition of the direction of rotation of the circle G2/G3 in the three possible planes
&LUFOHUDGLXV&5
6WDUWLQJSRLQW;< &HQWHUSRLQW,- 6WDUWLQJSRLQW;<
; ;
**DQGDSHUWXUHDQJOHVSHFLILFDWLRQFHQWHUSRLQW **DQGDSHUWXUHDQJOHVSHFLILFDWLRQHQGSRLQW
< <
(QGSRLQW;<
$QJOH$5
$QJOH$5
6WDUWLQJSRLQW;< &HQWHUSRLQW,- 6WDUWLQJSRLQW;<
; ;
Figure 10-16 Possibilities of circle programming with G2/G3 using the example of the axes X/Y and
G2
Surface grinding
222 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.3 Axis movements
G2/G3 remains active until canceled by another instruction from this G group (G0, G1, ...).
The path velocity is determined by the programmed F word.
Programming
Note
Further possibilities for circle programming result from:
CT - circle with tangential connection and
CIP - circle via intermediate point (see next sections).
Information
Full circles in a block are only possible if the center point and the end point are specified.
For circles with radius specification, the arithmetic sign of CR=... is used to select the correct
circle. It is possible to program two circles with the same starting and end points, as well as
with the same radius and the same direction. The negative sign in front of CR=-...
determines the circle whose circle segment is greater than a semi-circle; otherwise, the circle
with the circle segment is less than or equal to the semi-circle and determined as follows:
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 223
Programming
10.3 Axis movements
< &LUFOHODUJHUWKDQVHPLFLUFOH
*
&5 03FHQWHUSRLQWRIFLUFOH
03FHQWHUSRLQWRIFLUFOH
03
(QGSRLQW
*
&5
&LUFOHVPDOOHUWKDQRUHTXDOWRVHPLFLUFOH
6WDUWLQJSRLQW
03
Figure 10-17 Selection of the circle from two possible circles with radius specification using the sign of
CR=
<
6WDUWLQJSRLQW (QGSRLQW
- &HQWHUSRLQW
;
Figure 10-18 Example for center point and end point specification
Note
Center point values refer to the circle starting point!
Surface grinding
224 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.3 Axis movements
<
6WDUWLQJSRLQW (QGSRLQW
5
&HQWHUSRLQW"
;
Note
With a negative leading sign for the value with CR=-..., a circular segment larger than a
semi-circle is selected.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 225
Programming
10.3 Axis movements
<
6WDUWLQJSRLQW (QGSRLQW
r
&HQWHUSRLQW
;
Figure 10-20 Example for end point and aperture angle specification
<
6WDUWLQJSRLQW (QGSRLQW"
- r
&HQWHUSRLQW
;
Figure 10-21 Example for center point and aperture angle specification
Surface grinding
226 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.3 Axis movements
Note
Center point values refer to the circle starting point!
<
6WDUWLQJSRLQW
53
$3
&HQWHUSRLQW SROH
;
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 227
Programming
10.3 Axis movements
Functionality
If you know three contour points of the circle, instead of center point or radius or aperture
angle, then it is advantageous to use the CIP function.
The direction of the circle results here from the position of the intermediate point (between
starting and end points). The intermediate point is written according to the following axis
assignment:
I1=... for the X axis,
J1=... for the Y axis,
K1=... for the Z axis.
CIP remains active until canceled by another instruction from this G group (G0, G1, G2, ...).
Note
The configured dimensional data G90 or G91 applies to the end point and the intermediate
point.
,QWHUPHGLDWHSRLQW
, -
<
6WDUWLQJSRLQW (QGSRLQW
;
Figure 10-23 Circle with end point and intermediate point specification using the example of G90
Programming example
Surface grinding
228 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.3 Axis movements
Functionality
With CT and the programmed end point in the current plane G17 through G19, a circle is
generated which is connected tangentially to the previous path segment (circle or straight
line) in this plane.
This defines the radius and center point of the circle from the geometric relationships of the
previous path section and the programmed circle end point.
1*;<
1&7;<
(QGSRLQWRIWKHFLUFOH
HJ*
<
Figure 10-24 Circle with tangential transition to the previous path section
Programming example
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 229
Programming
10.3 Axis movements
Functionality
By using G75, a fixed point on the machine, e.g. tool change point, can be approached. The
position is stored permanently in the machine data for all axes. A maximum of four fixed
points can be defined for each axis.
No offset is effective. The speed of each axis is its rapid traverse.
G75 requires a separate block and is non-modal. The machine axis identifier must be
programmed!
In the block after G75, the previous G command of the "Interpolation type" group (G0,
G1,G2, ...) is active again.
Programming
Note
FPn references with axis machine date MD30600 $MA_FIX_POINT_POS[n-1]. If no FP has
been programmed, then the first fixed point will be selected.
Command Significance
G75 Fixed point approach
FP=<n> Fixed point that is to be approached. The fixed point number is specified: <n>
Value range of <n>: 1, 2, 3, 4
If no fixed point is specified, fixed point 1 is approached automatically.
X1=0 Y1=0 Z1=0 Machine axes to be traversed to the fixed point.
Here, specify the axes with value "0" with which the fixed point is to be
approached simultaneously.
Each axis is traversed with the maximum axial velocity.
Programming example
Surface grinding
230 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.3 Axis movements
Note
The programmed position values for X1, Y1, Z1 (any value, here = 0) are ignored, but must
still be written.
Functionality
The reference point can be approached in the NC program with G74. The direction and
speed of each axis are stored in machine data.
G74 requires a separate block and is non-modal. The machine axis identifier must be
programmed!
In the block after G74, the previous G command of the "Interpolation type" group (G0,
G1,G2, ...) is active again.
Programming example
Note
The programmed position values for X1, Y1, Z1 (any value, here = 0) are ignored, but must
still be written.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 231
Programming
10.3 Axis movements
Functionality
The function is available for SINUMERIK 802D sl plus and pro.
If the instruction MEAS=... or MEAW=... is in a block with traversing movements of axes, the
positions of the traversed axes for the switching edge of a connected measuring probe are
registered and stored. The measurement result can be read for each axis in the program.
For MEAS, the movement of the axes is halted when the selected switching edge of the
probe appears and the remaining distance to go is deleted.
Programming
MEAS=1 G1 X... Y... Z... F... ; Measuring with rising edge of the probe, clearing the
distance to go
MEAS=-1 G1 X... Y... Z... F... ; Measuring with falling edge of the probe, clearing the
distance to go
MEAW=1 G1 X... Y... Z... F... ; Measuring with rising edge of the probe, without
clearing the distance to go
MEAW=-1 G1 X... Y... Z... F... ; Measuring with falling edge of the probe, without
clearing the distance to go
CAUTION
For MEAW: Measuring probe travels to the programmed position even after is has
triggered. Risk of destruction!
Measuring result
When the probe is successfully activated, the result of the measurement is available for the
axes traversed in the measuring block with the following variables after the measuring block:
in the machine coordinate system: $AA_MM[axis]
in the workpiece coordinate system: $AA_MW[axis]
Surface grinding
232 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.3 Axis movements
Programming example
Note
IF instruction - see Section "Conditional program jumps"
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 233
Programming
10.3 Axis movements
10.3.9 Feedrate F
Functionality
The feed F is the path velocity and represents the value of the geometric sum of the velocity
components of all axes involved. The individual axis velocities therefore result from the
portion of the axis path in the overall distance to be traversed.
The feedrate F is effective for the interpolation types G1, G2, G3, CIP, and CT and is
retained until a new F word is written.
Programming
F...
Note
For integer values, the decimal point is not required, e.g. F300.
Note
This unit of measure applies to metric dimensions. According to Section "Metric and inch
dimensioning", settings with inch dimensioning are also possible.
Programming example
Note
Write a new F word if you change G94 - G95.
Surface grinding
234 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.3 Axis movements
Functionality
G functions are provided for optimum adaptation to different requirements to set the
traversing behavior at the block boundaries and for block advancing. Example: For example,
you would like to quickly position with the axes or you would like to machine path contours
over multiple blocks.
Programming
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 235
Programming
10.3 Axis movements
<
*
ILQH
%ORFNFKDQJHHQDEOH
*FRDUVH IRUಯILQHರIRUಯFRDUVHರ
Figure 10-25 Exact stop window coarse or fine, in effect for G60/G9; enlarged display of the windows
Programming example
Note
The G9 command only generates exact stop for the block in which it is programmed; G60,
however, is effective until it is canceled by G64.
Surface grinding
236 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.3 Axis movements
Programming example
)HHGUDWH
*&RQWLQXRXVSDWKPRGHZLWK/RRN$KHDG
3URJUDPPHGIHHGUDWH)
)
*H[DFWVWRS
Figure 10-26 Comparison of the G60 and G64 velocity behavior with short travels in the blocks
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 237
Programming
10.3 Axis movements
BRISK
The axes of the machine change their velocities using the maximum permissible acceleration
value until reaching the final velocity. BRISK allows time-optimized working. The set velocity
is reached in a short time. However, jumps are present in the acceleration pattern.
SOFT
The axes of the machine accelerate along a non-linear, constant characteristic until reaching
the final velocity. With this jerk-free acceleration, SOFT allows for reduced machine load.
The same behavior can also be applied to braking procedures.
VSHHG
SDWK %5,6. 62)7
WLPHRSWLPL]HG VSDUHVWKHPHFKDQLFDOSDUWV
6HWSRLQW
W 7LPH
W
Figure 10-27 Basic course of the path velocity when using BRISK/SOFT
Programming
Programming example
Surface grinding
238 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.3 Axis movements
Functionality
Certain program sections can require the axis and spindle acceleration set via the machine
data to be changed using the program. This programmable acceleration is a percentage
acceleration override.
For each axis (e.g. X) or spindle (S), a percentage value >0% and ≤200% can be
programmed. The axis interpolation is then carried out with this proportional acceleration.
The reference value (100%) is the valid machine data value for the acceleration (depending
on whether it is the axis or spindle; for the spindle it depends further on the gear stage and
whether it is in positioning mode or speed mode).
Programming
Programming example
Effectivity
The limitation is effective in all interpolation types of the AUTOMATIC and MDA modes. The
limitation is not active in JOG mode and during reference point approach.
The value assignment ACC[...] = 100 deactivates the override; likewise, as do RESET and
End of program.
The programmed override value is also active with dry run feedrate.
CAUTION
A value greater than 100% may only be programmed if this load is permissible for the
machine mechanics and the drives have the corresponding reserves. Failure to adhere to
the limits can lead to damage to the mechanical parts and/or error messages.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 239
Programming
10.3 Axis movements
Functionality
Depending on the machine variant, a fourth axis may be necessary, e.g. dividing unit,
swiveling dresser, head dresser, etc. This axis can take the form of either a linear or a rotary
axis. The designation of this axis must be configured accordingly, e.g. U, C, or A etc. For
rotary axes, the traversing range can be configured between 0 ...360 degrees (modulo-
behavior).
With an appropriate machine design, the fourth axis can be traversed linear simultaneously
with the remaining axes. If the axis is traversed together with the remaining axes (X, Z) in a
block that contains G1 or G2/G3, no component of the feedrate F is assigned to this axis; its
velocity will depend on the time for traveling along the X and Z axes, and its motion starts
and ends with the remaining path axes. The velocity, however, must not be greater than the
defined limit value.
If in one block only this fourth axis is programmed, the axis will traverse using the active
feedrate F if G1 is active. If the axis is a rotary axis, the unit for F is degrees/min with G94 or
degrees/rev. of the spindle with G95.
For this axis, it is also possible to specify (G54 ... G59) and program (TRANS, ATRANS)
offsets.
Programming example
The fourth axis is a swivel table (rotary axis) and has the axis identifier A:
Example:
Surface grinding
240 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.3 Axis movements
Functionality
Between two NC blocks, you can interrupt the machining for a defined time by inserting a
separate block with G4; e.g. for relief cutting.
The words with F... or S... are only used in this block for the specified time. Any previously
programmed feedrate F or a spindle speed S remain valid.
Programming
Programming example
Note
G4 S.. is only possible if a controlled spindle is available (if the speed specifications are also
programmed via S...).
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 241
Programming
10.3 Axis movements
Functionality
This function is available for 802D sl plus and 802D sl pro.
The travel to fixed stop (FXS = Fixed Stop) function can be used to establish defined forces
for clamping workpieces, such as those required for sleeves and grippers. The function can
also be used for the approach of mechanical reference points. With sufficiently reduced
torque, it is also possible to perform simple measurement operations without connecting a
probe.
Programming
Note
The machine axis identifier should be used as the axis identifier, e.g. X1. The channel axis
identifier (e.g. X) is permitted only if e.g. no coordinate rotation is active and this axis is
directly assigned to a machine axis.
The commands are modal. The traversing path and the selection of the function FXS[axis]=1
must be programmed in one block.
Note
When selected, the fixed stop must be located between the start and end positions.
The parameters for torque FXST[ ]= and window width FXSW[ ]= are optional. If these are
not written, the values from existing setting data (SD) are in effect. Programmed values are
imported to the setting data. At the start, the setting data are loaded with values from
machine data. FXST[ ]=... or FXSW[ ]=... can be changed in the program at any time. The
changes are applied before traversing movements in the block.
Surface grinding
242 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.3 Axis movements
$FWXDOSRVLWLRQIL[HGVWRSUHDFKHG
)L[HGVWRS
)L[HGVWRSPRQLWRULQJZLQGRZ
);6:>=@
N200 G1 G94 X200 Y400 F200 FXS[X1] = 0 ; Axis X1 is retracted from the fixed
stop to position X= 200 mm.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 243
Programming
10.3 Axis movements
Note
The traversing movement to the retraction position must lead away from the fixed stop;
otherwise, damage to the fixed stop or to the machine may result.
The block change takes place when the retraction position has been reached. If no retraction
position is specified, the block change takes place immediately once the torque limit has
been deactivated.
Note
"Measuring with deletion of distance-to-go" ("MEAS" command) and "Travel to fixed stop"
cannot be programmed in the same block.
Contour monitoring is not performed while "Travel to fixed stop" is active.
If the torque limit is reduced too far, the axis will not be able to follow the specified setpoint;
the position controller then goes to the limit and the contour deviation increases. In this
operating state, an increase in the torque limit may result in sudden, jerky movements.
Ensure that the axis can still follow. For this reason, it must be verified that the contour
deviation is not larger than that with unlimited torque.
A rate of rise ramp for the new torque limit can be defined in MD to prevent any abrupt
changes to the torque limit setting (e.g. insertion of a spindle sleeve or quill).
Alarm suppression
The issuing of the following alarms can be suppressed with machine data:
● 20091 "Fixed stop not reached"
● 20094 "Fixed stop aborted"
References: "Description of Functions", Section "Travel to fixed stop"
Surface grinding
244 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.4 Spindle movement
Functionality
The spindle speed is programmed in revolutions per minute under the address S provided
that the machine possesses a controlled spindle.
The direction of rotation and the start or end of the movement are specified via M commands
(also see Section "Miscellaneous function M").
M3: Spindle clockwise
M4: Spindle counter-clockwise
M5: Spindle stop
Note
For integer S values, the decimal point can be omitted, e.g. S270.
Information
If you write M3 or M4 in a block with axis movements, the M commands become active
before the axis movements.
Default setting: The axis movements will only start once the spindle has accelerated to
speed (M3, M4). M5 is also issued before the axis movement. However, there is no waiting
for spindle standstill. The axis movements begin before spindle standstill.
The spindle is stopped at program end or with RESET.
At program start, spindle speed zero (S0) is in effect.
Note
Other settings can be configured via machine data.
Programming example
N10 G1 X70 Z20 F300 S270 M3 ; Before the axis traversing X, Z the spindle
accelerates to 270 rpm, clockwise
...
N80 S450 ... ; Speed change
...
N170 G0 Z180 M5 ; Z movement, spindle comes to a stop
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 245
Programming
10.4 Spindle movement
Functionality
In the program, you can limit the limit values that would otherwise apply for a controlled
spindle by writing G25 or G26 and the spindle address S with the speed limit value. This
overwrites the values entered in the setting data at the same time.
G25 and G26 each require a separate block. A previously programmed speed S is
maintained.
Programming
Information
The outmost limits of the spindle speed are set in machine data. Appropriate inputs via the
operator panel can activate various setting data for further limiting.
Programming example
Note
G25/G26 are used in conjunction with axis addresses for a working area limitation (see
Section "Working area limitation").
Surface grinding
246 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.4 Spindle movement
Functionality
Requirement: The spindle must be technically designed for position control.
With the function SPOS= you can position the spindle in a specific angular position. The
spindle is held in the position by position control.
The speed of the positioning procedure is defined in machine data.
With SPOS=value from the M3/M4 movement, the respective direction of rotation is
maintained until the end of the positioning. When positioning from standstill, the position is
approached via the shortest path. The direction results from the respective start and end
position.
Exception: First movement of the spindle, i.e. if the measuring system is not yet
synchronized. In this case, the direction is specified in machine data.
Other movement specifications for the spindle are possible with SPOS=ACP(...),
SPOS=ACN(...), ... as for rotary axes (see Section "4. Axis").
The spindle movement takes place parallel to any other axis movements in the same block.
This block is ended when both movements are finished.
Programming
Programming example
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 247
Programming
10.4 Spindle movement
Function
Up to 5 gear stages can be configured for a spindle for speed / torque adaptation. The
selection of a gear stage takes place in the program via M commands (see Section
"Miscellaneous function M"):
● M40: Automatic gear stage selection
● M41 to M45: Gear stage 1 to 5
10.4.5 2. Spindle
Function
With SINUMERIK 802D sl plus and 802D sl pro, a 2nd spindle is provided.
For these control systems, the kinematic transformation functions for grinding are possible.
These functions require a second spindle for the driven workpiece.
The main spindle is operated as a rotary axis in these functions.
Master spindle
A series of functions is associated with the master spindle that can only be used with this
spindle:
Surface grinding
248 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.4 Spindle movement
2 spindles installed
The following can be interrogated in the program via the system variable:
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 249
Programming
10.5 Special functions
Requirement
A controlled spindle must be present.
Functionality
With activated G96 function, the spindle speed is adapted to the currently machined
workpiece diameter (transverse axis) such that a programmed cutting rate S remains
constant on the tool edge:
Spindle speed times diameter = constant.
The S word is evaluated as the cutting rate as of the block with G96. G96 is modally effective
until cancellation by another G function of the group (G94, G95, G97).
Programming
Remark:
If G94 instead of G95 was active before, a new appropriate F value must be written!
Rapid traverse
With rapid traverse G0, there is no change in speed.
Exception: If the contour is approached at rapid traverse and the next block contains an
interpolation type G1 or G2, G3, CIP, CT (contour block), then the speed for the contour
block is applied already in the approach block with G0.
Surface grinding
250 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.5 Special functions
Programming example
Information
The G96 function can also be deactivated with G94 or G95 (same G group). In this case, the
last programmed spindle speed S is active for the remaining machining sequence if no new
S word is programmed.
The programmable offset TRANS or ATRANS (see section of that name) should not be used
on the transverse axis X or used only with low values. The workpiece zero point should be
located at the turning center. Only then is the exact function of G96 guaranteed.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 251
Programming
10.5 Special functions
Functionality
You can insert the chamfer (CHF or CHR) or rounding (RND) elements into a contour corner.
If you wish to round several contour corners sequentially in the same manner, use the
"Modal rounding" (RNDM) command.
You can program the feedrate for the chamfer/rounding with FRC=... (blockwise) or FRCM=
... (modal). If FRC/FRCM is not programmed, the normal feedrate F is applied.
Programming
Information
The appropriate instruction CHF= ... or CHR=... or RND=... or RNDM=... is written in the
block with axis movements leading to the corner.
The programmed value for chamfer and rounding is automatically reduced if the contour
length of an involved block is insufficient.
No chamfer/rounding is inserted if
● more than three blocks in the connection are programmed that do not contain any
information for traversing in the plane,
● or a plane change is carried out.
F, FRC, FRCM are not active when a chamfer is traversed with G0.
If the feedrate F is active for chamfer/rounding, it is by default the value from the block which
leads away from the corner. Other settings can be configured via machine data.
Surface grinding
252 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.5 Special functions
&KDPIHU
1*
; $QJOHELVHFWRU
Figure 10-29 Inserting a chamfer with CHF using the example "Between two straight lines"
&+5
1*&+5
&KDPIHU
1*
; $QJOHELVHFWRU
Figure 10-30 Inserting a chamfer with CHR using the example "Between two straight lines"
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 253
Programming
10.5 Special functions
N5 F...
N10 G1 X... CHF=5 ; Insert chamfer with chamfer length of 5 mm
N20 X... Z...
...
N100 G1 X... CHR=2 ; Insert chamfer with leg length of 2 mm
N110 X... Z...
...
N200 G1 FRC=200 X... CHR=4 ; Insert chamfer with feedrate FRC
N210 X... Z...
6WUDLJKWOLQHVWUDLJKWOLQH 6WUDLJKWOLQHFLUFOH
5RXQGLQJ
1*51' 5RXQGLQJ 1*51'
; ;
= =
N5 F...
N10 G1 X... RND=4 ; Insert 1 rounding with radius 4 mm, feedrate F
N20 X... Z...
...
N50 G1 X... FRCM= ... RNDM=2.5 ; Modal rounding, radius 2.5 mm with
; special feedrate FRCM (modal)
N60 G3 X... Z... ; continue inserting this rounding - to N70
N70 G1 X... Z... RNDM=0 ; Modal rounding OFF
...
Surface grinding
254 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.5 Special functions
Functionality
If the end points for the contour are not directly specified in the machining drawing, it is also
possible to use an angle specification ANG=... to determine the straight line. In a contour
corner, you can insert the elements chamfer or rounding. The respective instruction CHR= ...
or RND=... is written in the block, which leads to the corner.
The blueprint programming can be used in blocks with G0 or G1 (linear contours).
Theoretically, any number of straight line blocks can be connected and a rounding or a
chamfer can be inserted between them. Every straight line must be clearly identified by point
values and/or angle values.
Programming
Information
The blueprint programming function is executed in the current plane G17 to G19. It is not
possible to change the plane during blueprint programming.
If radius and chamfer are programmed in one block, only the radius is inserted regardless of
the programming sequence.
Angle ANG
If only one end point coordinate of the plane is known for a straight line or for contours
across multiple blocks the cumulative end point, an angle parameter can be used for
uniquely definiting the straight line path. The angle is always referred to the abscissa of the
current plane G17 to G19, e.g. for G17 on the X axis. Positive angles are aligned counter-
clockwise.
&RQWRXU 3URJUDPPLQJ
<
;" (QGSRLQWLQ1QRWDOZD\V
RU NQRZQ
"< 1*;<
$1* 1;$1*
RU
1
1*;<
1
1<$1*
;<
7KHYDOXHVDUHRQO\H[DPSOHV
;
Figure 10-32 Specification of an angle for determination of a straight line using the example of the G17
plane
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 255
Programming
10.5 Special functions
&RQWRXU 3URJUDPPLQJ
< ;< (QGSRLQWLQ1XQNQRZQ
1*;<
$1* 1$1*
1 1;<$1*
Figure 10-33 Multiple block contours using the example of the G17 plane
Surface grinding
256 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.6 Tool and tool offset
Functionality
During program creation for the workpiece machining, you do not have to take tool lengths or
cutting radius into consideration. You program the workpiece dimensions directly, for
example following the drawing.
The tool data must be entered separately in a special data area.
In the program, you will merely call the required tool with its offset data. The control system
performs the required path compensations based on this data to create the described
workpiece. In doing this, automatic compensation of the swivel angle of the grinding wheel
takes place via the basic dimension of the tool such that the geometry of the wheel is always
entered at under 0 degrees. This also applies to fixed, inclined wheels. The maximum
diameter and the wheel width are input into the wheel data image here.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 257
Programming
10.6 Tool and tool offset
10.6.2 Tool T
Functionality
The tool selection takes place when the T word is programmed. Whether this is a tool
change or only a preselection, is defined in the machine data. For grinding, the tool change
(tool call) takes place directly with the T word.
Note:
If a specific tool has been activated, it remains stored as an active tool beyond the end of the
program and switching off/on of the control.
If you change a tool manually, enter the change also in the control to make sure the control
knows the correct tools. For example, you can start a block with the new T word in MDA
mode.
Programming
Note
In the control system, you can simultaneously store the following maximum values:
● SINUMERIK 802D sl plus: 7 tools with 9 cutting edges each
● SINUMERIK 802D sl pro: 14 tools with 9 cutting edges each.
Programming example
Surface grinding
258 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.6 Tool and tool offset
Functionality
It is possible to assign 1 to 9 data fields with different tool offset blocks (for multiple cutting
edges) to a specific tool. If a special cutting tool is required, it can be programmed with D
and the corresponding number.
If no D word is written, D1 is automatically effective.
If D0 is programmed, the offsets for the tool are ineffective.
The tool radius offset numbers are automatically generated when a tool is created (all 9
cutting edges). The cutting edges of the tool have a fixed meaning (geometric position on the
grinding wheel). Cutting edges 1, 3 and 5 describe the left wheel edge, cutting edges 2, 4
and 6 describe the right wheel edge for standard contours.
The same applies for all contours (including free contours) when compensating the dressing
amount, which means that the odd numbers are left (negative wear value) and the even
numbers are right (positive wear value). The wear in direction X (diameter) is the same for all
points (negative for grinding direction in negative direction). Cutting edges 7 to 9 are the
three possible dressers of a wheel. They are permanently assigned to the sections of the
wheel.
Programming
Information
The tool offsets of the T/D fields have permanent meanings that are entered in the tool
management. A list of the parameters appears later in this Section.
Tool length compensations become effective immediately when the tool is active; when no D
number was programmed with the values of D1.
The compensation is retracted with the first programmed traversing of the associated length
compensation axis.
A tool radius compensation must also be activated by G41/G42.
Programming example
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 259
Programming
10.6 Tool and tool offset
(QWULHVLQWKHWRRO
SDUDPHWHUV 73* 6SLQGOHQXPEHU
'3 73* &KDLQLQJUXOH
'3 3RVLWLRQ
73* 0LQLPXPZKHHOUDGLXV
'3 /HQJWK 73* 0LQZKHHOZLGWK
'3 /HQJWK 73* $FWXDOZKHHOZLGWK
'3 5DGLXV 73* 0D[LPXPVSHHG
73* 0D[SHULSKHUDOVSHHG
7RROQRVHSRVLWLRQ 73* $QJOHRIWKHLQFOLQHGZKHHO
:HDUYDOXHV 73* 3DUDPHWHU1RIRUUDGLXVFDOFXODWLRQ
FRUUHVSRQGWRWKH
UHTXLUHPHQW )7RROFDUULHUUHIHUHQFHSRLQW
2WKHUYDOXHVVKRXOG
EHVHWWR
(IIHFW
* /HQJWKLQ<
/HQJWKLQ; )
5DGLXVLQ;<
/HQJWK
/HQJWK
*HRPHWU\
* /HQJWKLQ;
%DVLV
/HQJWKLQ= 5DGLXV
5DGLXVLQ=; )
* /HQJWKLQ=
/HQJWKLQ< %DVLVOHQJWK
5DGLXVLQ<= *HRPHWU\
/HQJWK
Surface grinding
260 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.6 Tool and tool offset
Functionality
A tool with a corresponding D number must be active. The tool radius offset (cutting edge
radius offset) is activated by G41/G42. The controller automatically calculates the required
equidistant tool paths for the programmed contour for the respective current tool radius.
G18 must be active.
Programming
Remark: The selection can only be made for linear interpolation (G0, G1).
Program both axes. If you only specify one axis, the second axis is automatically completed
with the last programmed value.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 261
Programming
10.6 Tool and tool offset
* *
6WDUWLQJFRQWRXU6WUDLJKW 6WDUWLQJFRQWRXU&LUFOH
3VWDUWLQJSRLQW
&RPSHQVDWHG
7RROSDWK
*
5
5
3VWDUWLQJSRLQW &LUFOHUDGLXV
*
3 03 &RPSHQVDWHG
7RROSDWK
Figure 10-37 Start of the tool radius compensation with the example G42, tool point direction =3
Information
As a rule, the block with G41/G42 is followed by the block with the workpiece contour.
However, the contour description may be interrupted by an intervening block that does not
contain information for the contour path, e.g. only M command.
Surface grinding
262 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.6 Tool and tool offset
Programming example
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 263
Programming
10.6 Tool and tool offset
Functionality
Using the functions G450 and G451, you can set the behavior for non-continuous transition
from one contour element to another contour element (corner behavior) when G41/G42 is
active.
Internal and external corners are detected by the control system automatically. For internal
corners, the intersection of the equidistant paths is always approached.
Programming
([WHUQDOFRUQHU ([WHUQDOFRUQHU
* 7UDQVLWLRQFLUFOH * 3RLQWRILQWHUVHFWLRQ
UDGLXV WRROUDGLXV
I I
,QWHUQDOFRUQHU
3RLQWRILQWHUVHFWLRQ
S S
Surface grinding
264 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.6 Tool and tool offset
Functionality
The compensation mode (G41/G42) is deselected with G40. G40 is also the switch-on
position at the beginning of the program.
The tool ends the block before G40 in the normal end position (compensation vector vertical
to the tangent in the end point); independently of the start angle.
If G40 is active, the reference point is the tool tip. The tool tip then travels to the programmed
point upon deselection.
Always select the end point of the G40 block such that collision-free traversing is
guaranteed!
Programming
Remark: The compensation mode can only be deselected with linear interpolation (G0, G1).
Program both axes. If you only specify one axis, the second axis is automatically completed
with the last programmed value.
)LQDOFRQWRXU6WUDLJKW )LQDOFRQWRXU&LUFOH
S *
*
S
3
5
7DQJHQW
3 3
03
3
&LUFOH
3HQGSRLQWODVWEORFNZLWK*HJ UDGLXV 5
5FXWWLQJHGJHUDGLXV 3HQGSRLQWEORFNZLWK*
Figure 10-40 Ending the tool radius compensation with G40, with the example of G42, cutting edge position =3
Programming example
...
N100 Y... Z... ;Last block on the contour, circle or straight line, P1
N110 G40 G1 Y... Z... ;Switch off tool radius compensation,P2
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 265
Programming
10.6 Tool and tool offset
Cancellation of compensation by M2
If the offset mode is canceled with M2 (program end) without writing the command G40, the
last block with coordinates ends in the normal offset vector setting. No compensating
movement is executed. The program ends with this tool position.
Surface grinding
266 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.6 Tool and tool offset
S
5
5
5
S
r
5
S
< S
5
=
N1 ; Contour cut
N10 F... S... M... ; Radius dimension, technological values
N15 G500 ; Work offset "OFF"
N20 MIRROR X0 Z0 ; Begin compensation mode
N30 G90 G0 X-90
N40 Z-10
N50 Y110 ; Approach R55
N60 G41 G64 G1 Z20 F500 ; Dressing contour section ①
N70 Y100
N80 Z60 RND=20 ; Dressing contour section ①
N90 Y60
N100 Z68 ; Dressing contour section ①
N110 Y40 Z98 ; Dressing contour section ①
N120 Z118 ; Dressing contour section ①
N130 Y30 Z123 ; Dressing contour section ①
N140 Z123 ; Dressing contour section ①
N150 G0 Y-90 ;Move clear
N160 MIRROR ; End compensation mode
M17
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 267
Programming
10.7 Miscellaneous function M
Functionality
The miscellaneous function M initiates switching operations, such as "Coolant ON/OFF" and
other functionalities.
Various M functions have already been assigned a fixed functionality by the CNC
manufacturer. The functions not yet assigned fixed functions are reserved for free use of the
machine manufacturer.
Note
An overview of the M miscellaneous functions used and reserved in the control system can
be found in section "Overview of instructions".
Programming
Effect
Activation in blocks with axis movements:
If the functions M0, M1, M2 are contained in a block with traversing movements of the axes,
these M functions become effective after the traversing movements.
The functions M3, M4, M5 are output to the internal interface (PLC) before the traversing
movements. The axis movements only begin once the controlled spindle has ramped up for
M3, M4. For M5, however, the spindle standstill is not waited for. The axis movements
already begin before the spindle stops (default setting).
The remaining M functions are output to the PLC with the traversing movements.
If you would like to program an M function directly before or after an axis movement, insert a
separate block with this M function. Please note: This block interrupts the G64 continuous
path mode and generates exact stop.
Programming example
N10 S...
N20 X... M3 ;M function in the block with axis movement, spindle
accelerates before the X axis movement
N180 M78 M67 M10 M12 M37 ;Max. 5 M functions in the block
Surface grinding
268 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.7 Miscellaneous function M
Note
In addition to M and H functions, T, D, and S functions can also be transferred to the PLC
(programmable logic controller). In all, a maximum of 10 such function outputs are possible
in a block.
Information
With the SINUMERIK 802D sl plus and 802D sl pro, two spindles are possible. This results in
an expanded programming capability for the M commands - only for the spindles:
M1=3, M1=4, M1=5, M1=40, ... ; M3, M4, M5, M40, ... for spindle 1
M2=3, M2=4, M2=5, M2=40, ... ; M3, M4, M5, M40, ... for spindle 2
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 269
Programming
10.8 H function
10.8 H function
Functionality
With H functions, floating point data (REAL data type - as with arithmetic parameters, see
Section "Arithmetic Parameters R") can be transferred from the program to the PLC.
The meaning of the values for a given H function is defined by the machine manufacturer.
Programming
Programming example
Note
In addition to M and H functions, T, D, and S functions can also be transferred to the PLC
(programmable logic controller). In all, a maximum of 10 function outputs of this type are
possible in a part program block.
Surface grinding
270 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.9 Arithmetic parameters (R variables), LUD and PLC variables
Functionality
The arithmetic parameters are used if an NC program is not only to be valid for values
assigned once, or if you must calculate values. The required values can be set or calculated
by the control system during program execution.
Another possibility consists of setting the arithmetic parameter values by operator inputs. If
values have been assigned to the arithmetic parameters, they can be assigned to other
variable-setting NC addresses in the program.
Programming
Value assignments
You can assign values in the following range to the R parameters:
±(0.000 0001 ... 9999 9999)
(8 decimal places, arithmetic sign, and decimal point)
The decimal point can be omitted for integer values. A plus sign can always be omitted.
Example:
R0=3.5678 R1=-37.3 R2=2 R3=-7 R4=-45678.123
Use the exponential notation to assign an extended range of numbers:
± (10-300 ... 10+300)
The value of the exponent is written after the EX characters; maximum total number of
characters: 10 (including leading signs and decimal point)
Range of values for EX: -300 to +300
Example:
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 271
Programming
10.9 Arithmetic parameters (R variables), LUD and PLC variables
Note
There can be several assignments in one block incl. assignments of arithmetic expressions.
Surface grinding
272 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.9 Arithmetic parameters (R variables), LUD and PLC variables
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 273
Programming
10.9 Arithmetic parameters (R variables), LUD and PLC variables
Functionality
The operator/programmer (user) can define his/her own variable in the program from various
data types (LUD = Local User Data). These variables are only available in the program in
which they were defined. The definition takes place immediately at the start of the program
and can also be associated with a value assignment at the same time. Otherwise the starting
value is zero.
The name of a variable can be defined by the programmer. The naming is subject to the
following rules:
● A maximum of 32 characters can be used.
● It is imperative to use letters for the first two characters; the remaining characters can be
either letters, underscore or digits.
● Do not use a name already used in the control system (NC addresses, keywords, names
of programs, subroutines, etc.).
DEF BOOL varname1 ;Boolean typ, values: TRUE (=1), FALSE (=0)
DEF CHAR varname2 ;Char type, 1 ASCII code character: "a", "b", ...
;Numerical code value: 0 ... 255
DEF INT varname3 ;Integer type, integer values, 32 bit value range:
;-2 147 483 648 through +2 147 483 647 (decimal)
DEF REAL varname4 ;Real type, natural number (like arithmetic parameter
R),
;Value range: ±(0.000 0001 ... 9999 9999)
;(8 decimal places, arithmetic sign and decimal point)
or
;Exponential notation: ± (10 to power of -300 ... 10 to
power of +300)
DEF STRING[string length] ; STRING type, [string length]: Maximum number of
varname41 characters
Each data type requires its own program line. However, several variables of the same type
can be defined in one line.
Example:
Surface grinding
274 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.9 Arithmetic parameters (R variables), LUD and PLC variables
Fields
In addition to the individual variables, one or two-dimensional fields of variables of these data
types can also be defined:
Example:
Within the program, the individual field elements can be reached via the field index and can
be treated like individual variables. The field index runs from 0 to a small number of the
elements.
Example:
N20 PVAR5[2]=SET(1,2,3) ;After the 3rd field element, different values are
assigned.
N20 PVAR7[4]=REP(2) ;After field element [4] - all are assigned the same
value, here 2.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 275
Programming
10.9 Arithmetic parameters (R variables), LUD and PLC variables
Functionality
To allow rapid data exchange between NC and PLC, a special data area exists in the PLC
user interface with a length of 512 bytes. In this area, PLC data are compatible in data type
and position offset. In the NC program, these compatible PLC variables can be read or
written.
To this end, special system variables are provided:
Programming example
Note
The reading of variables generates a preprocessing stop (internal STOPRE).
NOTICE
Writing of PLC tags is generally limited to a maximum of three tags (elements).
Where PLC tags are to be written in rapid succession, one element will be required per
write operation.
If more write operations are to be executed than there are elements available, then block
transfer will be required (a preprocessing stop may need to be triggered).
Example:
$A_DBB[1]=1 $A_DBB[2]=2 $A_DBB[3]=3
STOPRE
$A_DBB[4]=4
Surface grinding
276 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.10 Program jumps
Functionality
A label or a block number serve to mark blocks as jump destinations for program jumps.
Program jumps can be used to branch to the program sequence.
Labels can be freely selected, but must contain a minimum of 2 and a maximum of 8 letters
or numbers of which the first two characters must be letters or underscore characters.
Labels that are in the block that serves as the jump destination are ended by a colon. They
are always at the start of a block. If a block number is also present, the label is located after
the block number.
Labels must be unique within a program.
Programming example
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 277
Programming
10.10 Program jumps
Functionality
NC programs process their blocks in the sequence in which they were arranged when they
were written.
The processing sequence can be changed by introducing program jumps.
The jump destination can be a block with a label or with a block number. This block must be
located within the program.
The unconditional jump instruction requires a separate block.
Programming
GOTOF label ;Jump forward (in the direction of the last block of the program)
GOTOB label ;Jump backwards (in the direction of the first block of the
program)
Label ;Selected string for the label (jump label) or block number
3URJUDPH[HFXWLRQ 1*;=
1*272)/$%(/MXPSVWRODEHO/$%(/
1/$%(/5 55
1*272)/$%(/MXPSVWRODEHO/$%(/
/$%(/;=
10(QGRISURJUDP
/$%(/;=
1*272%/$%(/MXPSVWRODEHO/$%(/
Surface grinding
278 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.10 Program jumps
Functionality
Jump conditions are formulated after the IF instruction. If the jump condition (value not zero)
is satisfied, the jump takes place.
The jump destination can be a block with a label or with a block number. This block must be
located within the program.
Conditional jump instructions require a separate block. Several conditional jump instructions
can be located in the same block.
By using conditional program jumps, you can also considerably shorten the program, if
necessary.
Programming
Comparison operations
Operators Meaning
== Equal to
<> Not equal to
> greater than
< less than
>= greater than or equal to
<= less than or equal to
The comparison operations support formulating of a jump condition. Arithmetic expressions
can also be compared.
The result of comparison operations is "satisfied" or "not satisfied." "Not satisfied" sets the
value to zero.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 279
Programming
10.10 Program jumps
Programming example
Note
The jump is executed for the first fulfilled condition.
Surface grinding
280 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.10 Program jumps
Task
Approaching points on a circle segment:
Existing conditions:
Start angle: 30° in R1
Circle radius: 32 mm in R2
Position spacing: 10° in R3
Number of points: 11 in R4
Position of circle center in Z: 50 mm in R5
Position of circle center in X: 20 mm in R6
3RLQW
3RLQW
3RLQW
3RLQW 5
5 5
3RLQW
5
5
5 =
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 281
Programming
10.10 Program jumps
Programming example
N10 R1=30 R2=32 R3=10 R4=11 R5=50 R6=20 ;Assignment of initial values
N20 MA1: G0 Z=R2*COS (R1)+R5 ;Calculation and assignment to axis
X=R2*SIN(R1)+R6 addresses
N30 R1=R1+R3 R4= R4-1
N40 IF R4 > 0 GOTOB MA1
N50 M2
Explanation
In block N10, the starting conditions are assigned to the corresponding arithmetic
parameters. The calculation of the coordinates in X and Z and the processing takes place in
N20.
In block N30, R1 is incremented by the clearance angle R3, and R4 is decremented by 1.
If R4 > 0, N20 is executed again; otherwise, N50 with End of program.
Surface grinding
282 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.11 Subroutine technique
Usage
Basically, there is no difference between a main program and a subroutine.
Frequently recurring machining sequences are stored in subroutines, e.g certain contour
shapes. These subroutines are called at the appropriate locations in the main program and
then executed.
One form of a subroutine is the machining cycle. Machining cycles contain universally valid
machining scenarios. By assigning values via included transfer parameters, you can adapt
the subroutine to your specific application.
Layout
The structure of a subroutine is identical to that of a main program (see Section "Program
structure"). Like main programs, subroutines contain M2 - end of program in the last block of
the program sequence. This means a return to the program level where the subroutine was
called from.
End of program
The end instruction RET can also be used instead of the M2 program end in the subroutine.
RET must be programmed in a separate block.
The RET instruction is used when G64 continuous-path mode is not to be interrupted by a
return. With M2, G64 is interrupted and exact stop is initiated.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 283
Programming
10.11 Subroutine technique
0DLQSURJUDP 6HTXHQFH
0$,1
6XESURJUDP
1/&DOO &DOO
1 /
5HWXUQ
15
OO
&D 1;=
1/&DOO
0
5HWXUQ
0
Subroutine name
The subprogram is given a unique name allowing it to be selected from several subroutines.
When you create the program, the program name may be freely selected provided the
following conventions are observed:
The same rules apply as for the names of main programs.
Example: BUCHSE7
It is also possible to use the address word L... in subroutines. The value can have 7 decimal
places (integers only).
Please observe: With address L, leading zeros are meaningful for differentiation.
Example: L128 ist nicht L0128 oder L00128 !
Dies sind 3 verschiedene Unterprogramme.
Note: The subroutine name LL6 is reserved for tool change.
Subroutine call
Subroutines are called in a program (main or subprogram) with their names. To do this, a
separate block is required.
Example:
Surface grinding
284 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.11 Subroutine technique
Nesting depth
Subroutines can also be called from a subroutine, not only from a main program. In total, up
to 8 program levels are available for this type of nested call, including the main program
level.
0DLQSURJUDP
6XESURJUDP
6XESURJUDP
6XESURJUDP
Information
Modal G functions can be changed in the subroutine, e.g. G90 -> G91. When returning to the
calling program, ensure that all modal functions are set the way you need them to be.
Please make sure that the values of your arithmetic parameters used in upper program
levels are not inadvertently changed in lower program levels.
When working with SIEMENS cycles, up to 7 program levels are needed.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 285
Programming
10.11 Subroutine technique
Functionality
Cycles are technology subroutines that implement a certain machining process in a
universally valid way. Adaptation to the particular problem is performaed directly via supply
parameters/values when calling the respective cycle.
Programming example
N10 CYCLE83(110, 90, ...) ; Call of cycle 83, transfer values directly,
; separate block
…
N40 RTP=100 RFP= 95.5 ... ; Set transfer parameters for cycle 82
N50 CYCLE82(RTP, RFP, ...) ; Call of cycle 82, separate block
Surface grinding
286 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.12 Timers and workpiece counters
Functionality
The timers are prepared as system variables ($A...) that can be used for monitoring the
technological processes in the program or only in the display.
These timers are read-only. There are timers that are always active. Others can be
deactivated via machine data.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 287
Programming
10.12 Timers and workpiece counters
● $AC_OPERATING_TIME
Total execution time in seconds of NC programs in the automatic mode
In the AUTOMATIC mode, the runtimes of all programs between NC START and end of
program / RESET are summed up. The timer is zeroed with each power-up of the control
system.
● $AC_CYCLE_TIME
Runtime of the selected NC program (in seconds)
The runtime between NC Start and End of program / Reset is measured in the selected
NC program. The timer is reset with the start of a new NC program.
● $AC_CUTTING_TIME
Tool action time (in seconds)
The runtime of the path axes is measured in all NC programs between NC START and
end of program / RESET without rapid traverse active and with the tool active (default
setting).
The measurement is interrupted when a dwell time is active.
The timer is automatically set to zero with each power-up of the control system.
Programming example
Display
The contents of the active system variables are visible on the screen under
<OFFSET PARAM> -> "Setting data" ">" "Times/counters":
Total run time = $AC_OPERATING_TIME
Program run time = $AC_CYCLE_TIME
Feedrate run time = $AC_CUTTING_TIME
Time since cold restart = $AN_SETUP_TIME
Time since warm restart= $AN_POWERON_TIME
"Program run time" is also visible in the AUTOMATIC mode in the "Position" operating area
in the information line.
Surface grinding
288 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.12 Timers and workpiece counters
Functionality
The "Workpiece counter" function provides counters for counting workpieces.
These counters exist as system variables with write and read access from the program or via
operator input (observe the protection level for writing!).
Machine data can be used to control counter activation, counter reset timing and the
counting algorithm.
Counters
● $AC_REQUIRED_PARTS
Number of workpieces required (workpiece setpoint)
In this counter you can define the number of workpieces at which the actual workpiece
counter $AC_ACTUAL_PARTS is reset to zero.
The generation of the display alarm 21800 "Workpiece setpoint reached" can be activated
via machine data.
● $AC_TOTAL_PARTS
Total number of workpieces produced (total actual)
The counter specifies the total number of all workpieces produced since the start time.
The counter is automatically set to zero upon every booting of the control system.
● $AC_ACTUAL_PARTS
Number of actual workpieces (actual)
This counter registers the number of all workpieces produced since the starting time.
When the workpiece setpoint is reached ( $AC_REQUIRED_PARTS, value greater than
zero), the counter is automatically zeroed.
● $AC_SPECIAL_PARTS
Number of workpieces specified by the user
This counter allows users to make a workpiece counting in accordance with their own
definition. Alarm output can be defined for the case of identity with
$AC_REQUIRED_PARTS (workpiece target). Users must reset the counter themselves.
Programming example
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 289
Programming
10.12 Timers and workpiece counters
Display
The contents of the active system variables are visible on the screen under
<OFFSET PARAM> -> "Setting data" ">" "Times/counters":
Total parts= $AC_TOTAL_PARTS
Required parts= $AC_REQUIRED_PARTS
Number of parts =$AC_ACTUAL_PARTS, $AC_SPECIAL_PARTS not available for display
"Number of parts" is also visible in the AUTOMATIC mode in the "Position" operating area in
the information line.
Surface grinding
290 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.13 Multiple feedrate values in one block
Function
The "Several feedrates in one block" function can be used independent of external analog
and/or digital inputs to activate
● Different feedrates of an NC block,
● dwell time, and
● Retraction
in synchronism with the movement.
The hardware input signals are combined in one input byte.
Programming
Note
If feedrates, dwell time or return path are programmed for an axis on account of an external
input, this axis must in this block must not be programmed as POSA axis (positioning axis
over multiple blocks).
Look Ahead is also active for multiple feedrates in one block. In this way, the current
feedrate is restricted by the Look Ahead value.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 291
Programming
10.13 Multiple feedrate values in one block
FMA[3, x]=1000 ;Axial feedrate with the value 1000 for X axis, 3
;corresponds to input bit 3
If input bit 1 is activated for the dwell time or bit 0 for the return path, the distance to go for
the path axes or the relevant single axes is deleted and the dwell time or return started.
Surface grinding
292 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.14 Oscillation
10.14 Oscillation
Function
An oscillating axis travels back and forth between two reversal points 1 and 2 at a defined
feedrate, until the oscillating motion is deactivated.
Other axes can be interpolated as desired during the oscillating motion. A continuous infeed
can be achieved via a path movement or with a positioning axis, however, there is no
relationship between the oscillating movement and the infeed movement.
Properties of asynchronized oscillation
● Asynchronous oscillation is active on an axis-specific basis beyond block limits.
● Block-oriented activation of the oscillation movement is ensured by the parts program.
● Combined interpolation of several axes and superimposing of oscillation paths are not
possible.
Programming
The following addresses allow asynchronized oscillation to be activated and controlled from
the part program.
The programmed values are entered in the corresponding setting data with block
synchronization during the main run and remain active until changed again.
Activate, deactivate oscillation: OS
OS[axis] = 1: resistor
OS[axis] = 0: switch off
Parameter
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 293
Programming
10.14 Oscillation
Example of an oscillating axis that should oscillate between two reversal points
The oscillation axis Z must oscillate between 10 and 100. Approach reversal point 1 with
exact stop fine, reversal point 2 with exact stop coarse. Machining is performed with feedrate
250 for the oscillating axis. Three sparking-out strokes must be executed at the end of the
machining operation followed by approach by oscillation axis to end position 200. The
feedrate for the infeed axis is 1, end of the infeed in X direction is at 15.
Surface grinding
294 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Programming
10.14 Oscillation
Description
The following apply to the oscillating axis:
● Every axis may be used as an oscillation axis.
● Several oscillation axes can be active at the same time (maximum: the number of the
positioning axes).
● Linear interpolation G1is always active for the oscillating axis – irrespective of the G
command currently valid in the program.
The oscillating axis can
● act as an input axis for a dynamic transformation
● act as a guide axis for gantry and combined-motion axes
● be traversed
– without jerk limitation (BRISK) or
– with jerk limitation (SOFT) or
– with acceleration curve with a knee (as positioning axes).
Note
WAITP (axis):
• If oscillation is to be performed with a geometry axis, you must enable this axis for
oscillation with WAITP.
• When oscillation has finished, this command is used to enter the oscillating axis as a
positioning axis again for normal use.
Setting feed, FA
The feedrate is the defined feedrate of the positioning axis. If no feedrate is defined, the
value stored in the machine data applies.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 295
Programming
10.14 Oscillation
Reset options
These options are deactivated (only if they have previously been activated as setting
options).
Setting options
These options are switched over. When OSE (end position) is programmed, option 4 is
implicitly activated.
Surface grinding
296 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Network operation 11
11.1 Network operation prerequisites
Introduction
A network function is available for communicating between the control system and a PG/PC.
Prerequisites
The RCS802 tool is required on the PG/PC for communication.
For connecting the control system via the network, various options are available.
These options are described in the chapters "RCS tool" and "Network operation".
The connections are enabled via the following control system interfaces:
● RS232 interface
● Ethernet peer-to-peer interface
● Interface Ethernet network (available only for SINUMERIK 802D sl)
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 297
Network operation
11.2 RCS802 tool
NOTICE
You will only obtain the full functionality of the RCS802 tool after importing the license key
RCS802.
Function RCS802 tool without license key RCS802 tool with license key
Managing projects Yes Yes
Data exchange with Yes Yes
SINUMERIK 802D sl
Commissioning Yes Yes
SINUMERIK 802D sl
Setting-up a share drive No Yes
Remote control No Yes
Screen shot No Yes
Surface grinding
298 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Network operation
11.2 RCS802 tool
RCS802 tool
After starting the RCS802 tool, you will be in OFFLINE mode. In this mode you only manage
files on your PC.
In the ONLINE mode, the directory Control 802 is also available. This directory makes data
exchange with the control system possible. In addition, a remote control function is provided
for process monitoring.
The ONLINE connections from the PG/PC to the control are parameterized/activated via the
"Setting" > "Connection" menu items in the "Connection Settings" dialog box.
Note
The RCS802 tool includes a detailed online help function. Refer to this help menu for further
details e.g. establishing a connection, project management etc.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 299
Network operation
11.2 RCS802 tool
6<67(0
&RQQHFWWR ● Set the parameters for communication in the "STEP 7 Connect" dialog.
67(3
&RQQHFW
RQ ● Activate the RS232 connection with the "Connect. ON" softkey.
Surface grinding
300 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Network operation
11.2 RCS802 tool
In the lower right corner of the screen, the icon shows that the connection to PG/PC via the
RS232 interface is active.
6<67(0
6HUYLFH
GLVSOD\
● Press the softkeys "Service display" >"Service control".
6HUYLFH
FRQWURO
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 301
Network operation
11.2 RCS802 tool
6<67(0
6HUYLFH
GLVSOD\
● Press the softkeys "Service display" >"Service control".
6HUYLFH
FRQWURO
6HUYLFH
QHWZRUN ● Press the softkey "Service network" (only available for SINUMERIK 802D sl pro).
Reference
SINUMERIK 802D sl Programming and Operating Manual; Network Operation
Surface grinding
302 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Network operation
11.3 Network operation
Note
The network function is only available for SINUMERIK 802D sl.
Thanks to the integrated network adapter, the control system is network-capable. The
following connections are possible:
● Ethernet peer-to-peer: Direct connection between control system and PC using a cross-
over cable
● Ethernet network: Integrating the control system into an existing Ethernet network using a
patch cable.
Screened network operation with encrypted data transfer is possible using an 802D specific
transmission protocol. This protocol is used, e.g. for transmitting and executing part
programs in conjunction with the RCS tool.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 303
Network operation
11.3 Network operation
Prerequisite
The control system is connected to the PC or the local network via the X5 interface.
6<67(0
6HUYLFH
GLVSOD\
6HUYLFH
FRQWURO
Press the "Service display" "Service control system" softkeys.
6HUYLFH
QHWZRUN
Select the "Service network" softkey to display the network configuration window.
Surface grinding
304 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Network operation
11.3 Network operation
Parameter Explanation
DHCP DHCP log: A DHCP server is needed in the network which dynamically
distributes the IP addresses.
When No is selected fixed network addresses will be assigned.
When Yes is selected the network addresses are assigned dynamically. Input
fields that are no longer needed will be hidden.
If you selected "yes", the following steps are necessary to activate the fields for
the computer name, IP address and Subnet mask:
1. Press the vertical softkey "Save".
2. Switch the control system off and on again.
Computer name Name of the control system in the network
IP address Network address of the control system (e.g. 192.168.1.1)
Subnet mask Network identification (e.g. 255.255.252.0)
6HUYLFH
)LUHZDOO
Use the "Service Firewall" softkey to enable or disable communication ports.
To ensure maximum possible safety, all ports not needed should be closed.
The RCS network requires the ports 80 and 1597 for communication.
To change the port status, select the relevant port using the cursor. Pressing the <Input> key
changes the port status.
Open ports are shown with the checkbox enabled.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 305
Network operation
11.3 Network operation
6<67(0
Press the "Service display" "Service control system" softkeys in the <SYSTEM> operating
$/$50 area.
6HUYLFH
GLVSOD\
6HUYLFH
FRQWURO
6HUYLFH
QHWZRUN
$XWKRU
L]DWLRQ Select the "Service network" "Authorization" softkey to display the user account input screen.
The user accounts serve for saving personal settings of the users. To create a new account,
type the user name and the log-in password in the input fields.
A user account is required for communication between HMI and the RCS tool on the
programming device/PC.
For this purpose the user has to enter this password on the HMI during RCS log-in via
network.
This password is required also, if the user want to communicate with the control system from
the RCS tool.
Use the "Create" softkey to insert a new user into the user management.
Use the "Delete" softkey to delete the selected user from the user management.
Surface grinding
306 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Network operation
11.3 Network operation
6<67(0
$/$50
5&6
ORJLQ
In the <SYSTEM> operating area, select the "RCS Connect" softkey. The user log-in input
screen will appear.
Logon
Type user name and password into the appropriate input fields and select the "Log in"
softkey to confirm your input.
After successful log-in, the user name is displayed in the Current user line.
Select the "Back" softkey to close the dialog box.
Note
This log-in simultaneously serves for user identification for remote connections.
Logoff
Press the "Log off" softkey. This will log out the current user, all user-specific settings are
saved, and any enables already granted are canceled.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 307
Network operation
11.3 Network operation
Note
If you share directories with other users, the authorized network nodes are granted access to
the shared files in the control system. Depending on the sharting option, the user can modify
or delete files.
Surface grinding
308 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Network operation
11.3 Network operation
Use the Program manager to select the directory you want to share.
Use the "Next..." > "Share" softkeys to open the input screen for sharing the selected
directory.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 309
Network operation
11.3 Network operation
6<67(0
Press the "Service display" "Service control system" "Service network" softkeys in the
$/$50 <SYSTEM> operating area.
6HUYLFH
GLVSOD\
6HUYLFH
FRQWURO
6HUYLFH
QHWZRUN
&RQQHFW
'LVFRQQ Use "Connect/Disconnect" to enter the network drive configuration area.
Surface grinding
310 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Network operation
11.3 Network operation
&RQQHFW The "Connect" function is used to assign a local drive to a network drive.
Note
You have shared a directory for a network connection with a certain user on a programming
device/PC.
The RCS802 tool includes a detailed online help function. The procedure for using this help
function is described in Chapter "RCS802 share drive".
Note
For example, for executing an external subprogram, please see Chapter "Automatic Mode" -
> "Execution from external".
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 311
Network operation
11.3 Network operation
'LV
FRQQHFW
By selecting the ">>Back" softkey and the "Disconnect" function you can disconnect an
existing network connection.
1. Place the cursor on the relevant drive.
2. Press the "Disconnect" softkey.
The selected network drive is disconnected from the control.
Surface grinding
312 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Data Backup 12
12.1 Data transfer via RS232 interface
Functionality
The RS232 interface of the control system can be used to output data (e.g. part programs) to
an external data backup device or to read in data from there. The RS232 interface and your
data backup device must be matched with each other.
Operating sequence
You have selected the <PROGRAM MANAGER> operating area and you are in the overview
of the NC programs already created.
Select the data to be transmitted using either the cursor or the "Select all" softkey,
56 Press the "RS232" softkey and select the desired transfer mode.
6HQG Press "Send" to start the data transfer. All data copied to the clipboard will be transmitted.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 313
Data Backup
12.1 Data transfer via RS232 interface
Further softkeys
0RUH
The following function is provided at this level:
(UURU
ORJ
Transmission protocol
This log contains all transmitted files including status information:
● For files to be output
: name of file
error log
● For files to be input
: name of file and path
error log
Surface grinding
314 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Data Backup
12.2 Creating / reading in / reading out a start-up archive
References
SINUMERIK 802D sl Operating Instructions for Turning, Milling, Grinding, Nibbling; Data
Backup and Series Start-Up
Operating sequence
6<67(0
$/$50
6WDUWXS
ILOHV Press the "Start-up files" softkey in the <SYSTEM> operating area.
Press the "Input" key to open the directory and select the desired lines using the "Select"
key.
&RS\ Press the "Copy" softkey. The files are copied to the clipboard.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 315
Data Backup
12.2 Creating / reading in / reading out a start-up archive
By pressing the <Select> key, the respective files can be individually selected/deselected in
the start-up archive.
Surface grinding
316 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Data Backup
12.2 Creating / reading in / reading out a start-up archive
&XVWRPHU
&)FDUG or
86%
GULYH Press the "Customer CF card" or "USB drive" softkey. In the directory, select the saving
location (directory).
3DVWH Use the "Insert" softkey to start writing of the start-up archive.
In the dialog that follows, confirm the name that is specified or enter a new name. Close the
dialog box by pressing "OK".
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 317
Data Backup
12.3 Reading in / reading out PLC projects
Surface grinding
318 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Data Backup
12.4 Copying and pasting files
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 319
Data Backup
12.4 Copying and pasting files
Surface grinding
320 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
PLC diagnostics 13
Functionality
A PLC user program consists to a large degree of logical operations to realize safety
functions and to support process sequences. These logical operations include the linking of
various contacts and relays. As a rule, the failure of a single contact or relay results in a
failure of the whole system/installation.
To locate causes of faults/failures or of a program error, various diagnostic functions are
offered in the "System" operating area.
Operating sequence
6<67(0
$/$50
3/&
SURJUDP Press "PLC program".
The project stored in the residual memory is opened.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 321
PLC diagnostics
13.1 Screen layout
Surface grinding
322 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
PLC diagnostics
13.2 Operating options
Hotkeys
The cursor keys move the focus over the PLC user program. When reaching the window
borders, it is scrolled automatically.
or
or
Up a screen
Down a screen
Up a field
Down a field
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 323
PLC diagnostics
13.2 Operating options
or
or
and
The function of the Select key depends on the position of the input
focus.
• Table line: Displays the complete text line
• Network title: Displays the network comment
• Command: Displays the complete operands
If the input focus is positioned on a command, all operands
including the comments are displayed.
Surface grinding
324 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
PLC diagnostics
13.2 Operating options
Softkeys
3/&
LQIR
The following PLC properties are shown with this softkey:
● Mode
● Name of the PLC project
● PLC system version
● Cycle time
● Machining time of the PLC user program
By pressing the "Reset machining time" softkey, machining time data is reset.
3/&
VWDWXV
The values of the operands can be monitored and changed during program execution using
the "PLC status display" window.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 325
PLC diagnostics
13.2 Operating options
6WDWXV
OLVW
Use the "Status list" softkey to display and modify PLC signals.
:LQGRZ
2% Using the "Window 1 ..." and "Window 2 ..." softkeys you can display any logical and
graphical information of a program block. The program block is one of the components of the
PLC user program.
The program block can be selected in the "Program list" using the "Open" softkey. The name
of the program block will be displayed on the softkey (for "..." e.g. "Window 1 SBR16").
The logics in the ladder diagram (LAD) display the following:
● Networks with program parts and current paths
● Electrical current flow through a number of logical operations
Surface grinding
326 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
PLC diagnostics
13.2 Operating options
3URJUDP This softkey can be used to select the list of the PLC program blocks.
EORFN
3URSHU
WLHV
Using this softkey will display the following properties of the selected program block:
● Symbolic name
● Author
● Comments
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 327
PLC diagnostics
13.2 Operating options
/RFDO Selecting this softkey displays the table of local variables of the selected program block.
YDULDEOHV
There are two types of program blocks.
● OB1 only temporary local variable
● SBRxx temporary local variable
Figure 13-8 Table of local variables for the selected PLC program block
The text of the current cursor position is additionally displayed in a text field above the table.
With longer texts, it is possible to display the whole text by pressing the SELECT key.
&RYHU When a program block is protected by a password, this softkey can be used to enable the
display of the ladder diagram.
A password is required for this. The password can be allocated during creation of a program
block in Programming Tool PLC802.
2SHQ The selected program block is opened.
The name (absolute) of the program block will then be displayed on "Window 1..." softkey
(for "..." e.g. "Window 1 OB1").
Surface grinding
328 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
PLC diagnostics
13.2 Operating options
3URJUDP Selecting this softkey activates or deactivates the program status display.
VWDW2))
You can monitor the current status of the networks from the PLC cycle end.
The states of all operands are displayed in the "Program status" ladder diagram (top right in
the window). This LAD acquires the values for the status display in several PLC cycles and
then refreshes the status display.
6\PEROLF
DGGUHVV
Use this softkey to switch between the absolute and symbolic representation of the
operands. The softkey labelling changes accordingly.
Depending on the selected type of representation, the operands are displayed either with
absolute or symbolic identifiers.
If no symbol exists for a variable, this is automatically displayed absolutely.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 329
PLC diagnostics
13.2 Operating options
=RRP
The representation in the application area can be zoomed in or zoomed out step by step.
The following zoom stages are provided:
=RRP
20% (default), 60%, 100% and 300%
)LQG Can be used to search for operands in the symbolic or absolute representation (see
following screen).
A dialog box is displayed from which various search criteria can be selected. Use the
"Absolute/symbol. address" softkey to search for a certain operand matching this criterion in
both PLC windows (see the following screen). When searching, uppercase and lowercase
letters are ignored.
Selection in the upper toggle field:
● Search for absolute and symbolic operands
● Go to network number
● Find SBR command
Further search criteria:
● Search direction down (from the current cursor position)
● Whole program block (from the beginning)
● In one program block
● Over all program blocks
You can search for the operands and constants as whole words (identifiers).
Depending on the display settings, you can search for symbolic or absolute operands.
"OK" starts the search. The found search element is highlighted by the focus. If nothing is
found, an appropriate error message will appear in the notes line.
Use the "Abort" softkey to exit the dialog box. no search is carried out.
Surface grinding
330 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
PLC diagnostics
13.2 Operating options
If the search object is found, use the "Continue search" softkey to continue the search.
6\PERO
LQIR
Selecting this softkey displays all symbolic identifiers used in the highlighted network.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 331
PLC diagnostics
13.2 Operating options
&URVV Use this softkey to display the list of cross references. All operands used in the PLC project
UHIV are displayed.
This list indicates in which networks an input, output, flag etc. is used.
2SHQLQ
ZLQGRZ
You can open the appropriate program segment directly in the 1/2 window using the "Open
in Window 1" or "Open in Window 2" function.
6\PEROLF
DGGUHVV
Use this softkey to switch between the absolute and symbolic representation of the
components. The softkey labelling changes accordingly.
Depending on the selected type of representation, the components are displayed either with
absolute or symbolic identifiers.
Surface grinding
332 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
PLC diagnostics
13.2 Operating options
2SHQLQ
ZLQGRZ
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 333
PLC diagnostics
13.2 Operating options
The text you are looking for is displayed in the notes line. If the text is not found, a
corresponding error message is displayed which must be confirmed with "OK".
Surface grinding
334 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Appendix A
A.1 User data
The user data is internally processed in the grinding cycles. They are stored in the program
manager of the control system (in the directory \DEF) as a definition file and remain stored
even when the control is switched off and on.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 335
Appendix
A.1 User data
Surface grinding
336 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Appendix
A.1 User data
NOTICE
The values stored as the default must be checked by the machine manufacturer and
adapted to the realities of the machine.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 337
Appendix
A.2 Parameter tables of the tool data
Table A- 2 1. Cutting edge 2. Cutting edge for left/right wheel edge for grinding wheel
Surface grinding
338 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Appendix
A.2 Parameter tables of the tool data
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 339
Appendix
A.2 Parameter tables of the tool data
Surface grinding
340 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Appendix
A.2 Parameter tables of the tool data
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 341
Appendix
A.2 Parameter tables of the tool data
In addition to the default coding of the tool data (tool type, cutting edge position, etc.), the
following coded parameters are used.
Surface grinding
342 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Appendix
A.3 Miscellaneous
A.3 Miscellaneous
The calculator function can be activated from any operating area using <SHIFT> and <=> or
<CTRL> and <A>.
For calculating, the four basic arithmetic operations are available, as well as the functions
"sine", "cosine", "squaring" and "square root". A bracket function is provided to calculate
nested terms. The bracket depth is unlimited.
If the input field is already occupied by a value, the function will accept this value into the
input line of the pocket calculator.
<Input> starts the calculation. The result is displayed in the pocket calculator.
Selecting the "Accept" softkey enters the result in the input field at the current cursor position
of the part program editor and closes the pocket calculator automatically.
Note
If an input field is in the editing mode, it is possible to restore the original status using the
"Toggle" key.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 343
Appendix
A.3 Miscellaneous
Calculation examples
Surface grinding
344 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Appendix
A.3 Miscellaneous
Simplified/Traditional Chinese
Characters can be selected according to the pinyin input method, which involves combining
letters of the Roman alphabet in order to reproduce the sound of the character.
The editor will then show a list of characters that correspond to that particular sound.
You can then select the character you need.
The "Function selection" toggle field enables switching between the PinYin-entry method and
entering Latin graphic characters as well as activating the function for editing the dictionary.
When a character is selected, the editor records the frequency with which it is selected for a
specific phonetic notation and when the editor is again opened, it offers the most frequently
used characters.
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 345
Appendix
A.3 Miscellaneous
&RPSRXQGVRXQG
&RPELQHGFKDUDFWHUV
3UHVV6(/(&7!WRVDYH
Surface grinding
346 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Appendix
A.3 Miscellaneous
Korean
To enter Korean characters, you will need a keyboard with the keyboard assignment shown
below.
In terms of key layout, this keyboard is the equivalent of an English QWERTY keyboard and
individual characters must be grouped together to form syllabic blocks.
The Korean alphabet (Hangeul) consists of 24 letters: 14 consonants and 10 vowels. The
syllable blocks are created by combining consonants and vowels.
6HOHF &KDUDFWHU
WLRQ ,QSXWVHOHFWLRQ
NH\ERDUGPDWUL[ .RUHDQ5RPDQ
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 347
Appendix
A.3 Miscellaneous
Surface grinding
348 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Appendix
A.4 Feedback on the documentation
This document will be continuously improved with regard to its quality and ease of use.
Please help us with this task by sending your comments and suggestions for improvement
via e-mail or fax to:
E-mail: mailto:[email protected]
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 349
Appendix
A.4 Feedback on the documentation
7R )URP
6,(0(16$*
1DPH
,'70&06
32%R[ $GGUHVVRI\RXUFRPSDQ\GHSDUWPHQW
6WUHHW
'(UODQJHQ*HUPDQ\
=LSFRGH &LW\
3KRQH
6XJJHVWLRQVDQGRUFRUUHFWLRQV
Surface grinding
350 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Appendix
A.5 Overview
A.5 Overview
6,180(5,.'VOGRFXPHQWDWLRQRYHUYLHZ
*HQHUDOGRFXPHQWDWLRQFDWDORJV
8VHUGRFXPHQWDWLRQ
'LDJQRVWLFV0DQXDO
3URJUDPPLQJDQG2SHUDWLQJ
0DQXDO 3URJUDPPLQJ0DQXDO
ದ7XUQLQJ ,62WXUQLQJPLOOLQJ
ದ0LOOLQJ
ದ&\OLQGULFDOJULQGLQJ
ದ6XUIDFHJULQGLQJ
ದ1LEEOLQJ
ದ0DQXDOPDFKLQHSOXV
0DQXIDFWXUHUVHUYLFHGRFXPHQWDWLRQ
(OHFWURQLFGRFXPHQWDWLRQ
6,180(5,.
6,1$0,&6
0RWRUV
'2&21&'
'2&21:(%
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 351
Appendix
A.5 Overview
Surface grinding
352 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Glossary
Evasion/evasion angle
Tapering of the left or right side of the grinding wheel for face-grinding operations in which a
so-called cross-grinding is produced.
GWPS
Grinding wheel peripheral speed in m/s
MCPA
Input card for rapid I/O to the control system
MD
Machine data; machine data are predefined variables (system variables), with which the
NCK, as per the requirements of the machine manufacturer, is adapted to the machine-tool.
SD
Setting data are system variables that indicate the current machine properties to the NCK.
Unlike machine data, changes to setting data always become effective immediately.
Seat
Machining operation
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 353
Glossary
Shoulder
Left or right side of the grinding wheel or of the tool
TPS
Workpiece peripheral speed in m/min
Surface grinding
354 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
Index
" F
"Display areas", 85 FA, 295
Feedrate values in one block, 291
Files
A Copy, 319
Paste, 319
Access right, 28
Fonts, 189
Address, 186
Fundamental Principles of NC Programming, 185
Arithmetic parameters, 58
Asynchronous oscillation, 293
Axis assignment, 150
G
Axis-specific machine data, 109
G1, 295
G4, 294
B General machine data, 108
Block format, 187
Block search, 81
H
Handwheel, 65
C Help system, 29
Hold time, 293
Call conditions, 150
Hot keys, 16
Change language, 104
Channel-specific machine data, 110
Connecting network drives, 310
I
Coordinate systems, 19
Machine coordinate system (MCS), 20 Interface parameters, 142
Relative coordinate system, 21
Workpiece coordinate system (WCS), 21
Cycle call, 152 J
Cycle support in the program editor, 156
JOG, 62
JOG mode, 62
D
Data transfer, 313 L
Disconnecting network drives, 310
LED displays on the CNC operator panel (PCU), 14
Display of machine data, 112
Drive machine data, 111
M
E Machine data, 107
Axis-specific machine data, 109
Enabling the communication ports, 305
Channel-specific machine data, 110
Enter tools, 35
Display of machine data, 112
Error displays, 14
Drive machine data, 111
Execution from external, 90
General machine data, 108
Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 355
Index
P
Parameter list, 152
Part program
selection and start, 79
Stopping / canceling, 87
Plane definition, 150
Printable special characters, 189
Program list, 137
Program Manager, 93
Protection levels, 28
Surface grinding
356 Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0
SINUMERIK SINUMERIK 802D sl Surface grinding
Programming and Operating Manual, 07/2009, 6FC5398-5CP10-1BA0 357