|
|
OEM-specific online help
17
17.1
Overview
In addition to the existing extensive online help, you also have the option of generating a
manufacturer-specific online help and then linking this into SINUMERIK Operate.
This online help is generated in the HTML format, i.e. it comprises HTML documents that are
linked with one another. The subject being searched for is called in a separate window from a
contents or index directory. Similar to a document browser (e.g. Windows Explorer), a list of
possible selections is displayed in the left-hand half of the window and when you click on the
required subject, the explanation is displayed in the right hand half of the window.
Context sensitive selection of online help pages is not possible.
Procedure
1. Generating HTML files
2. Generating a help book
3. Integrating the online help in SINUMERIK Operate
4. Saving help files
Other application cases
Online help for the following OEM-specific expansions can be created and used to supplement
the SINUMERIK Operate online help system:
• Online help for cycles and/or M functions of the machine manufacturer which extend the
programming options for SINUMERIK control systems. This online help is called in just the
same way as the SINUMERIK Operate online help "Programming".
• Online help for OEM-specific variables of the machine manufacturer. This online help is
called from the variable view of SINUMERIK Operate.
Programming online help
You can use the "SINUMERIK HMI programming package sl" for additional options for
configuring the online help. Using this programming package, it is possible to develop high-level
language applications in the C++ programming language for SINUMERIK Operate on the NCU
7x0.
Note
The "SINUMERIK HMI programming package sl" must be ordered separately as a software option.
The associated documentation is provided together with the programming package.
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
349
OEM-specific online help
17.2 Generating HTML files
17.2
Generating HTML files
Generating help files in the HTML format. It is possible to save all information in a single HTML
file or to distribute the information over several HTML files.
You can assign the file names yourself, however, you must observe the following:
• References within HTML files should always be specified with relative paths. Only then can it
be ensured that the references function in precisely the same way on both the development
computer as well as on the target system.
• If jumps are to be made to certain points within an HTML file per link, then so-called anchors
must be defined for this purpose.
Example of an HTML anchor:
<a name="myAnchor">This is an anchor</a>
• The contents of HTML documents must be saved with the UTF-8 coding. Only then is it
guaranteed that the HTML documents are correctly displayed in all of the country languages
supported by SINUMERIK Operate.
• The following sub-sets of the HTML functional scope are supported:
HTML tags
Tag
Description
Comment
a
Anchor or link
Supported attributes: href and name
address
Address
big
Larger font
block quote
Indented paragraph
body
Document body
Supported attributes: bgcolor (#RRGGBB)
br
Line break
center
Centered paragraph
cite
Inline citation
Same effect as tag i
code
Code
Same effect as tag tt
dd
Definition data
dfn
Definition
Same effect as tag i
div
Document division
The standard block attributes are supported
dl
Definition list
The standard block attributes are supported
dt
Definition term
The standard block attributes are supported
em
Emphasized
Same effect as tag i
font
Font size, family, color
Supported attributes: size, face, and color (#RRGGBB)
h1
Level 1 heading
The standard block attributes are supported
h2
Level 2 heading
The standard block attributes are supported
h3
Level 3 heading
The standard block attributes are supported
h4
Level 4 heading
The standard block attributes are supported
h5
Level 5 heading
The standard block attributes are supported
h6
Level 6 heading
The standard block attributes are supported
head
Document header
SINUMERIK Operate
350
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
OEM-specific online help
17.2 Generating HTML files
Tag
Description
Comment
hr
Horizontal line
Supported attributes: width (can be specified as absolute or
relative value)
html
HTML document
i
Italic
img
Image
Supported attributes: src, width, height
kbd
User-entered text
meta
Meta information
li
List item
nobr
Non-breakable text
ol
Ordered list
The standard attributes for lists are supported
p
Paragraph
The standard block attributes are supported (default setting:
left-aligned)
pre
Preformatted text
s
Strikethrough
samp
Sample code
Same effect as tag tt
small
Small font
span
Grouped elements
strong
Strong
Continuous text is heavily emphasized, replaces tag b
sub
Subscript
sup
Superscript
table
Table
Supported attributes: border, bgcolor (#RRGGBB), cellspac-
ing, cellpadding, width (absolute or relative), height
tbody
Table body
No effect
td
Table data cell
The standard attributes for table cells are supported
tfoot
Table footer
No effect
th
Table header cell
The standard attributes for table cells are supported
thead
Table header
This is used to print tables that extend over several pages
title
Document title
tr
Table row
Supported attributes: bgcolor (#RRGGBB)
tt
Typewrite font
u
Underlined
ul
Unordered list
The standard attributes for lists are supported
var
Variable
Same effect as tag tt
Block attributes
The following attributes are supported by the tags div, dl, dt, h1, h2, h3, h4, h5, h6, p:
• align (left, right, center, justify)
• dir (ltr, rtl)
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
351
OEM-specific online help
17.2 Generating HTML files
Standard attributes for lists
The following attributes are supported by tags ol and ul:
• type (1, a, A, square, disc, circle)
Standard attributes for tables
The following attributes are supported by tags td and th:
• width (absolute, relative, no-value)
• bgcolor (#RRGGBB)
• colspan
• rowspan
• align (left, right, center, justify)
• valign (top, middle, bottom)
CSS properties
The following table includes the supported CSS functional scope:
Property
Values
Description
backg6round color
<color>
Background color for elements
backg6round-image
<uri>
Background image for elements
color
<color>
Foreground color for text
text-indent
<length>px
Indent the first line of a paragraph in pixels
white-space
normal | pre | nowrap | pre-
Defines how whitespace characters are handled
wrap
in HTML documents
margin-top
<length>px
Width of the upper edge of the paragraph in pixels
margin-bottom
<length>px
Width of the lower edge of the paragraph in pixels
margin-left
<length>px
Length of the left hand edge of the paragraph in
pixels
margin-right
<length>px
Width of the right-hand edge of the paragraph in
pixels
vertical-align
baseline | sub | super | middle
Vertical alignment for text (in tables, only the val-
| top | bottom
ues middle, top and bottom are supported)
border-color
<color>
Border color for text tables
border-style
none | dotted | dashed | dot-
Border style for text tables
dash | dot-dot-dash | solid |
double | groove | ridge | inset
| outset
backg6round
[ <'backg6round-color'> ||
Short notation for backg6round property
<'backg6round-image'> ]
page-break-before
[ auto | always ]
Page break before a paragraph/table
page-break-after
[ auto | always ]
Page break after a paragraph/table
backg6round-image
<uri>
Background image for elements
SINUMERIK Operate
352
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
OEM-specific online help
17.3 Generating the help book
Supported CSS selectors
All of the CSS 2.1 selector classes are supported, with the exception of so-called pseudo-selector
classes, such as :first-child, :visited and :hover.
17.3
Generating the help book
The help book is an XML file in which the structure of the online help is defined. In this file, you
define:
• HTML documents
• Contents and subject index
Syntax for the help book
Tag
Number
Meaning
HMI_SL_HELP
1
Root element of the XML document
I-BOOK
Identifies a help book. The name can be freely selected under the con-
I
straint that no name predefined by the system is used (such as sinu-
I
merik_alarm_plc_pmc).
I
In the example, the name of the help book is "hmi_myhelp"
I
Attributes:
I
+
I
ref
Identifies the HTML document that is displayed as the entry
I
page for the help book.
I
title
Title of the help book that is displayed in the table of con-
I
tents.
helpdir
Directory that contains the online help of the help book.
I-ENTRY
Section of the online help
II
Attributes:
II
ref
Identifies the HTML document that is displayed as entry
II
page for the section.
II
*
II
title
Title of the section that is displayed in the table of contents.
II
II
II-INDEX_ENTRY
Subject (keyword) to be displayed
II
Attributes:
II
ref
Identifies the HTML document that is jumped to for this
II
subject index entry.
II
*
II
title
Title of the subject that is displayed in the subject index.
II
II
The following applies for the "Number" column:
* means 0 or more
+ means 1 or more
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
353
OEM-specific online help
17.3 Generating the help book
Example for a help book
In the following example, the structure of a help book with the "My Help" name is described.
Further, it forms the basis for the table of contents and subject index.
<?xml version="1.0" encoding="utf-8"?>
<HMI_SL_HELP language="en-US">
<BOOK ref="index.html" title="My Help" helpdir="hmi_myhelp">
<ENTRY ref="section_1.html" title="Section 1">
<INDEX_ENTRY ref="section_1html#Keyword_1" title="Keyword_1"/>
<INDEX_ENTRY ref="section_1.html#Keyword_2" title="Keyword_2"/>
</ENTRY>
<ENTRY ref="section_2.html" title="Section 2">
<INDEX_ENTRY ref="section_2.html#Keyword_3" title="Keyword_3"/>
</ENTRY>
<ENTRY ref="section_3.html" title="Section 3">
<ENTRY ref="section_31.html" title="Section 31">
INDEX_ENTRY ref="section_31.html#test" title="test;section31"/>
</ENTRY>
<ENTRY ref="section_32.html" title="Section 32">
INDEX_ENTRY ref="section_32.html#test" title="test;section32"/>
</ENTRY>
</ENTRY>
</BOOK>
</HMI_SL_HELP>
The book comprises three sections, whereby the third section has two subsections. The various
subject words (keywords) are defined within the section.
SINUMERIK Operate
354
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
OEM-specific online help
17.4 Integrating the online help in SINUMERIK Operate
You have the following three options to format the subject index:
1. Single entry:
<INDEX_ENTRY ...title="index"/>
2. Two two-stage entry, whereby each title has a main and a subentry. Separate the entries from
one another using a comma.
<INDEX_ENTRY ...title="mainIndex_1,subIndex_1 with mainIndex_1"/>
3. Two-stage entry, whereby the first title is the main entry and the second title is the subentry.
Separate the entries from one another using a semicolon.
<INDEX_ENTRY ...title="mainIndex_2;subIndex_2 without
mainIndex_1"/>
17.4
Integrating the online help in SINUMERIK Operate
If you wish to integrate the generated help book into the online help system of
SINUMERIK Operate, then you require the "slhlp.xml" file.
Format description of the "slhlp.xml"
Tag
Num-
Meaning
ber
CONFIGURATION
1
Root element of the XML document. Designates that this in-
volves a configuration file.
I-OnlineHelpFiles
1
Introduces the section about the online help books.
II-<help_book>
*
Introduces the section of a help book.
III-EntriesFile
File name of the help book with the list of contents and subject
III
(keyword) entries.
III
Attributes:
1
III
value
Name of the XML file
III
type
Data type of the value (QString)
III
III-Technology
Specifies the technology that applies to the help book.
III
"All" applies to all technologies.
III
If the help book applies to several technologies, then the tech-
III
nologies are listed separated by comma.
III
0, 1
Possible values:
III
All, Universal, Milling, Turning, Grinding, Stroking, Punching
III
III
Attributes:
III
value
Technology data
III
type
Data type of the value (QString)
IIII
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
355
OEM-specific online help
17.4 Integrating the online help in SINUMERIK Operate
Tag
Num-
Meaning
ber
III -DisableSearch
Disable the subject (keyword) search for the help book.
III
Attributes:
III
0, 1
value
true, false
III
III
type
type, data type of the value (bool)
III
III-DisableFullTextSearch
Disable the full text search for the help book.
III
Attributes:
III
0, 1
value
true, false
III
type
type, data type of the value (bool)
III
III-DisableIndex
Disable the subject index for the help book.
III
Attributes:
III
0, 1
value
true, false
III
III
type
type, data type of the value (bool)
III-DisableContent
Disable the table of contents for the help book.
III
Attributes:
0, 1
III
value
true, false
III
type
type, data type of the value (bool)
III
III-DefaultLanguage
Abbreviation for the language that should be displayed if the
III
actual country language is available for the help book.
III
Attributes:
0, 1
III
value
chs, deu, eng, esp, fra, ita, ...
III
type
Data type of the value (QString)
III
The following applies for the "Number" column:
* means 0 or more
Example of a file "slhlp.xml"
The help book "hmi_myhelp.xml" is made known to SINUMERIK Operate in the following
example.
The subject index has not been activated for the help book.
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE CONFIGURATION>
<CONFIGURATION>
<OnlineHelpFiles>
<hmi_myHelp>
<EntriesFile value="hmi_myhelp.xml" type="QString"/>
<DisableIndex value="frue" type="bool"/>
</hmi_myHelp>
</OnlineHelpFiles>
</CONFIGURATION>
SINUMERIK Operate
356
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
OEM-specific online help
17.6 Generating online help for user alarms and machine data
17.5
Saving help files
Saving help files in the target system
1. Open the /oem/sinumerik/hmi/hlp directory and create a new folder for the required
language. For this purpose, use the specified language code.
It is mandatory that the folder names are written in lower-case letters.
For instance, if you are integrating a help function for German and English, then create the
"deu" and "eng" folders.
2. Place the help book, e.g. "hmi_myhelp.xml" in the "deu" and "eng" folders.
3. Copy the help files into the directories, e.g. /oem/sinumerik/hmi/hlp/deu/hmi_myhelp for
German and /oem/sinumerik/hmi/hlp/eng/hmi_myhelp for English help files.
4. Place the configuration file "slhlp.xml" into the directory /oem/sinumerik/hmi/cfg.
5. Restart the HMI.
Note
When displaying the list of contents and subject index of a help book, the help files are saved
in the binary format (slhlp_<Hilfe-Buch_*.hmi) under the directory /siemens/sinumerik/
sys_cache/hmi/hlp for faster use. If you change the help book, you must always delete these
files.
See also
Supported languages (Page 548)
17.6
Generating online help for user alarms and machine data
You have the option to create a dedicated online help for user-specific PLC alarms. These can be
opened context-sensitive from the alarm list when the alarms occur.
The help texts for the user-specific PLC alarms are realized in the HTML file
"sinumerik_alarm_oem_plc_pmc.html".
Creating an HTML file
1. Create the HTML file in the following directory: /oem/sinumerik/hmi/hlp/<lng>/
sinumerik_alarm_plc_pmc/ or
/user/sinumerik/hmi/hlp/<lng>/sinumerik_alarm_plc_pmc/.
<lng> signifies the language code, e.g. eng, deu, etc. When creating a language directory,
always use the language code from the table in Section "Supported languages (Page 548)".
2. Assign the "sinumerik_alarm_oem_plc_pmc.html" name to the file. If you create help texts
for several languages, then create the corresponding number of HTML files with precisely
these names. This file name must not be changed and is applicable for all languages.
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
357
OEM-specific online help
17.6 Generating online help for user alarms and machine data
3. Store the files in the corresponding language directories. For example, store the file for the
German help text in the following directory: /oem/sinumerik/hmi/hlp/deu/
sinumerik_alarm_plc_pmc/sinumerik_alarm_oem_plc_pmc.html
4. Delete the file "slhlp_sinumerik_alarm_plc_pmc_*.hmi" in the /siemens/sinumerik/
sys_cache/hmi//hlp directory and restart the operating software.
"sinumerik_alarm_oem_plc_pmc.html" file
Entry
Meaning
<a name="AlarmNr">AlarmNr</a>
Hyperlink to the alarm number
<b>
</b>
Help text for the corresponding alarm
<td width="85%">
</td>
Text that is displayed after the "Explanation" or "Remedy" field.
Example
The alarm number is used as HTML anchor.
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD
HTML 4.0 Transitional//EN" >
- <html>
<head><title></title></head>
- <body>
-
<table>
-
<tr>
-
<td width="15%">
<b><a name="510000">510000</a></b>
</td>
-
<td width="85%">
<b>This is the help for user alarm 510000</b>
</td>
</tr>
-
<tr>
-
<td valign="top" width="15%">
<b>Explanation</b>
</td>
<td width="85%"> This is the explanation of user alarm 510000.</td>
</tr>
-
<tr>
<td valign="top" width="15%"><b>Remedy:</b></td>
<td width="85%">Eliminate reason for alarm. </td>
</tr>
</table>
</body>
</html>
SINUMERIK Operate
358
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
OEM-specific online help
17.6 Generating online help for user alarms and machine data
Distribute the online help for user alarms over several HTML files
You have the option of distributing the online help for user alarms over several HTML files.
1. Store an XML file with the name "sinumerik_alarm_plc_pmc.xml" in the following
directory: /oem/sinumerik/hmi/hlp/<lng>/ or /user/sinumerik/hmi/hlp/<lng>/
<lng> stands for the language code, e.g. deu, eng, etc. When you create a language
directory, use the language code from the table in Section "Supported languages (Page 548)".
2. Open the XML file and in the tag <NUM_AREAS> enter the number ranges of the alarms and
the corresponding HTML files.
3. Store the HTML files that are specified in the XML file in the following directory:
/oem/sinumerik/hmi/hlp/<lng>/sinumerik_alarm_plc_pmc or
/user/sinumerik/hmi/hlp/<lng>/sinumerik_alarm_plc_pmc file
Example: Creating an XML file
Entry
Meaning
<BOOK>
Help book
<NUM_AREAS>
Number ranges of the alarms and the reference to the particular HTML file
The following example includes the online helps for the
alarms from 500000 to 599999 in the HTML file "sinumerik_alarm_oem_1.html",
the alarms from 600000 to 699999 in the HTML file "sinumerik_alarm_oem_2.html",
the alarms from 700000 to 799999 in the HTML file "sinumerik_alarm_oem_3.html",
the alarms from 800000 to 899999 in the HTML file "sinumerik_alarm_oem_4.html".
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<!DOCTYPE HMI_SL_HELP>
<HMI_SL_HELP>
<BOOK>
<NUM_AREAS>
<NUM_AREA from="500000" to="599999"
ref="sinumerik_alarm_oem_1.html" />
<NUM_AREA from="600000" to="699999"
ref="sinumerik_alarm_oem_2.html" />
<NUM_AREA from="700000" to="799999"
ref="sinumerik_alarm_oem_3.html" />
<NUM_AREA from="800000" to="899999"
ref="sinumerik_alarm_oem_4.html" />
</NUM_AREAS>
</BOOK>
</HMI_SL_HELP>
Replacing the standard online help
You have the option of generating your own online help for the HMI, NC and PLC alarms as well
as machine data. This means that you can replace the standard online help by your own online
help.
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
359
OEM-specific online help
17.6 Generating online help for user alarms and machine data
You can call your own online help directly at the control using the INFO key. Instead of the
standard online help, your own online help is displayed.
Directory for HTML files
Area
Directory
PLC alarms
/oem/sinumerik/hmi/hlp/<lng>/sinumerik_alarm_plc_pmc/ or
/user/sinumerik/hmi/hlp/<lng>/sinumerik_alarm_plc_pmc/
HMI alarms
/oem/sinumerik/hmi/hlp/<lng>/sinumerik_alarm_hmi/ or
/user/sinumerik/hmi/hlp/<lng>/sinumerik_alarm_hmi/
NC alarms
/oem/sinumerik/hmi/hlp/<lng>/sinumerik_alarm_nck/ or
/user/sinumerik/hmi/hlp/<lng>/sinumerik_alarm_nck/
NC MD
/oem/sinumerik/hmi/hlp/<lng>/sinumerik_md_nck/
Channel MD
/oem/sinumerik/hmi/hlp/<lng>/sinumerik_md_chan/
Axis MD
/oem/sinumerik/hmi/hlp/<lng>/sinumerik_md_axis/
<lng> stands for the language code, e.g. deu, eng, etc. Only use the language codes from the
table in Section "Supported languages (Page 548)".
Procedure:
1. Create the corresponding directory, refer to the table "Directory for HTML files".
2. Generate the help file and as file names, use the alarm/machine data number as well as the
extension ".html" for HTML help files and ".pdf" for PDF help files. If you create help texts for
several languages, then create the corresponding number of help files with precisely these
names and then create the file in the corresponding language directory.
Examples:
• Your own German online help for the PLC Alarm 510000:
/oem/sinumerik/hmi/hlp/deu/sinumerik_alarm_plc_pmc/510000.html
/oem/sinumerik/hmi/hlp/deu/sinumerik_alarm_plc_pmc/510000.pdf
• Your own German online help for the NC machine data 14510 $MN_USER_DATA_INT:
/oem/sinumerik/hmi/hlp/deu/sinumerik_md_nck/14510.html
SINUMERIK Operate
360
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
OEM-specific online help
17.7 Example: This is how you create an online help for NC/PLC variables
17.7
Example: This is how you create an online help for NC/PLC variables
Overview
In order to create context-sensitive online help for NC/PLC variables or system variables as shown
in the following example, the descriptive texts are managed in language-dependent html files.
Figure 17-1
Example: Online help for user variables
Structure of the online help
The following files are required for the online help:
File
Meaning
sldgvarviewhelp.ini
Configuration file to manage an html file or several html files
<lng>/<name>1.html
The contents of all html files of the online help are language-
dependent and are saved in the relevant language directory
<lng>/<name>2.html
<lng>.
<lng>/<name>n.html
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
361
OEM-specific online help
17.7 Example: This is how you create an online help for NC/PLC variables
Structure of the configuration file
The file is independent of any language and is structured as follows:
sldgvarviewhelp.ini
[HelpBindings]
/BAG/STATE/OPMODE = var1_help.html#var1
$AA_IM[X1] = var1_help.html
$R[1] = var1_help.html#var2
/Channel/Parameter/R[u1,1] = var2_help.html#var2
DB2.DBX180.0 = var2_help.html#var1
GUD/MyVar[2] = var2_help.html
Note
The html files can be generated with any html editor. A definition is provided in the configuration
file as to which html files belong to the online help.
The description can comprise one or several html files: For example, one html file for each
variable or several identical variables in one file.
Procedure:
1. Copy the configuration file to the following directory:
/oem/sinumerik/hmi/cfg/sldgvarviewhelp.ini
2. Copy the html files to one of the following directories:
/oem/sinumerik/hmi/hlp/<lng>/
/user/sinumerik/hmi/hlp/<lng>/
<lng> stands for the language code.
3. Delete all files in the directory:
/siemens/sinumerik/sys_cache/hmi//hlp
The settings become effective only after restarting the system.
SINUMERIK Operate
362
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
OEM-specific online help
17.8 Example: This is how you create a programming online help
17.8
Example: This is how you create a programming online help
Preconditions
Create the following files:
• Configuration file "prog_help.ini"
[milling]
CYCLE1=cycle1_help.html
CYCLE2=cycle2_help.html#TextAnchor1
CYCLE3=cycle3_help.html
CYCLE4=cycle4_help.html
[turning]
CYCLE3=cycle2_help.html
CYCLE4=cycle3_help.html
• Configuration file for the help book "slhlp.xml" (optional)
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE CONFIGURATION>
<CONFIGURATION>
<OnlineHelpFiles>
<hmi_prog_help>
<EntriesFile value="hmi_prog_help.xml" type="QString"/>
<DisableIndex value="true" type="bool"/>
</hmi_prog_help>
</OnlineHelpFiles>
</CONFIGURATION>
• Configuration file for the help book "hmi_prog_help.xml" (optional)
<?xml version="1.0" encoding="UTF-8"?>
<HMI_SL_HELP language="en-US">
<BOOK ref="index.html" title="OEM_CYCLES" helpdir="hmi_prog_help">
<ENTRY ref="cycle1_help.html" title="Cycle1"></ENTRY>
<ENTRY ref="cycle2_help.html" title="Cycle2"></ENTRY>
<ENTRY ref="cycle3_help.html" title="Cycle3"></ENTRY>
<ENTRY ref="cycle4_help.html" title="Cycle4"></ENTRY>
<ENTRY ref="cycle_help.html" title="OEM_Cycles"></ENTRY>
</BOOK>
</HMI_SL_HELP>
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
363
OEM-specific online help
17.8 Example: This is how you create a programming online help
• Language-dependent file "<prog_help_eng>.ts": this filename is permanently specified.
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<!DOCTYPE TS>
<TS>
<context>
<name>oem_cycles</name>
<message>
<source>CYCLE1</source>
<translation>short description for cycle 1</translation>
<chars>*</chars>
</message>
<message>
<source>CYCLE2</source>
<translation>short description for cycle 2</translation>
<chars>*</chars>
</message>
<message>
<source>CYCLE3</source>
<translation>short description for cycle 3</translation>
<chars>*</chars>
</message>
</context>
</TS>
Saving help files in the target system
Procedure:
1. Copy the configuration file "prog.ini" to the following directory:
/oem/sinumerik/hmi/cfg
2. Copy the file "slhlp.xml" to the help book in the following directory:
/oem/sinumerik/hmi/cfg
3. Create a directory for the desired language of the online help under the following
path: /oem/sinumerik/hmi/hlp/<lng> and copy the file "hmi_prog_help.xml" to
this directory
Use the specified language code from the list of language codes for file names. The directory
names must be written in lower case.
4. Copy the language-dependent prog_help_<lng>.ts file for the Product Brief to the
following path: /oem/sinumerik/hmi/<lng>/prog_help_<lng>.ts
5. Copy the html files with the description of the OEM cycles to the following directory:
/oem/sinumerik/hmi/hlp/<lng>/hmi_prog_help/cycle<n>_help.html
The settings become effective only after restarting the system.
SINUMERIK Operate
364
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
OEM-specific online help
17.10 Language support for PDF files
17.9
Help files in PDF format
In addition to help files in HTML format, you can also include PDF-format information in the
operating software. Individual PDF helps can be opened with links from the table of contents or
index, or directly from HTML files.
Storing PDF helps
Copy the PDF helps to one of the following directories:
/oem/sinumerik/hmi/hlp/<lng>/<hmi_myhelp>
/user/sinumerik/hmi/hlp/<lng>/<hmi_myhelp>
Including PDF helps
Bind in dialog configurations or configurations of table of contents and indexes with the
extension "pdf" in the same manner as for the "html" extension:
<ENTRY ref="myFile.pdf" title="Help 1">
Create a link from HTML files to the PDF help:
<a href="myFile.pdf">My Help File</a>
Note
It is not possible to select context-sensitive jump labels in the PDF help, select jump labels or
make jumps to other HTML or PDF files.
The search function is possible only within a PDF file. A higher-level search over multiple PDF
helps is not supported.
17.10
Language support for PDF files
For standard languages, SINUMERIK Operate allows the language of open PDF files to be
switched over. If the selected language of the appropriate PDF file is available in operation, each
time the operating language is changed, then the corresponding language version of the PDF
file is automatically loaded.
Note
If the corresponding language version of the PDF file is not available, the English version of the
PDF file opens as standard default language version. If, in this case, the standard default version
is not available or is corrupted, then the last visible PDF file remains active.
Additional information about the standard default languages and language IDs is available in
Chapter "Supported languages (Page 548)".
You have the following options of archiving language-supported PDF files:
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
365
OEM-specific online help
17.10 Language support for PDF files
PDF files with language ID in the group directory
Copy the PDF files with language ID into a directory, e.g.:
/card/<home>/<myFolder>/<abc>_eng.pdf
/card/<home>/<myFolder>/<abc>_deu.pdf
/card/<home>/<myFolder>/<abc>_fra.pdf
PDF files in the language directory
Copy the PDF files into a language directory, e.g.:
/card/<home>/<myFolder>/eng/<abc>.pdf
/card/<home>/<myFolder>/deu/<abc>.pdf
/card/<home>/<myFolder>/fra/<abc>.pdf
PDF help in specific language directory
Copy the PDF help files to one of the following directories, e.g.:
/oem/sinumerik/hmi/hlp/eng/<abc>.pdf
/oem/sinumerik/hmi/hlp/deu/<abc>.pdf
or
/user/sinumerik/hmi/hlp/eng/<abc>.pdf
/user/sinumerik/hmi/hlp/deu/<abc>.pdf
SINUMERIK Operate
366
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
SINUMERIK Integrate - AMB, AMC, AMM
18
Requirement
To start the "SINUMERIK Integrate - AMB, AMC, AMM" software, configure a softkey using a
display machine data. To do this you require, as a minimum, authorization for access level 3
(user).
Configuring a softkey
MD9108 $MM_SINUMERIK_INTEGRATE
= 1
The "SINUMERIK integrate" softkey is displayed on the extended user interface bar.
Additional information
Information about the software is available in the
Function Manual SINUMERIK Integrate - AMB, AMC, AMM.
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
367
SINUMERIK Integrate - AMB, AMC, AMM
SINUMERIK Operate
368
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19
19.1
Activating turning/milling/drilling/grinding technologies
The cycles are automatically loaded when the controller boots (Power On).
The configuration is realized using cycle machine data and cycle setting data. In so doing, a
differentiation is made between the following data:
• General cycle machine data
• Channel-specific cycle machine data
• Axis-specific cycle machine data
• General cycle setting data
• Channel-specific cycle setting data
• Axis-specific cycle setting data
Requirement for memory configuration
To ensure that the cycles run correctly, the following standard setting must be checked:
MD28082 $MC_MM_SYSTEM_FRAME_MASK
System frames (SRAM)
Bit 5
System frame for cycles
= 1
Default setting
MD52201 $MCS_TECHNOLOGY_EXTENSION
Technology extension for combined machines
with several technologies
= 1
Additional settings for turning
= 2
Additional settings for turning,
e.g. turnign machine with milling technology
MD52200 $MCS_TECHNOLOGY = 1
MD52201 $MCS_TECHNOLOGY_EXTENSION = 2
Note
Cylindrical and surface grinding are not supported as a technology extension by SINUMERIK
Operate.
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
369
Technologies and cycles
19.1 Activating turning/milling/drilling/grinding technologies
Adapting the user interface
The softkey display for the selection of the cycle support in the program editor is set using the
following channel-specific configuration machine data:
MD52200 $MCS_TECHNOLOGY
Technology
= 1
Setting for turning
= 2
Setting for milling
= 3
Setting for the cylindrical grinding technology
= 4
Setting for the surface grinding technology
Additional information
Information about grinding technology is available in:
• Chapter "Grinding (Page 421)"
• Operating Manual Grinding
• Programming Manual NC Programming
• Function Manual Monitoring and Compensating
Configuring the screen display
The screen display can be configured using the following channel-specific machine data:
MD52210 $MCS_FUNCTION_MASK_DISP
Function screen display
Bit 0
Dimension system for programs always in the basic system
Bit 1
Front view when turning in the school coordinate system
Bit 2
Hide "T,S,M" softkey in the JOG area
Bit 3
Generate end of program automatically in MDI (with "Delete blocks" softkey)
Bit 4
Display follow-on tool in the T,F,S window
Bit 5
Hide "MCS " softkey
Bit 6
Hide tool radius/diameter in the T,F,S window
Bit 7
Hide tool lengths in the T,F,S window
Bit 8
Hide tool icon in the T,F,S window
Bit 9
Display "Easy" input selection, see Section ""Easy" input in cycle support"
Bit 10
Do not offer channel in job lists
Bit 11
For WCS, activate the display of the logical spindles
Bit 12
Hide mold making view for G code
Setting the coordinate system
MD52000 $MCS_DISP_COORDINATE_SYSTEM
Position of the coordinate system
= 0
Default setting
With this machine data you adapt the position of the coordinate system of the user interface to the
coordinate system of the machine. In the user interface, all help screens, sequence graphics, simulations,
and input fields with circle direction indication change automatically according to the selected position.
SINUMERIK Operate
370
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.1 Activating turning/milling/drilling/grinding technologies
The following settings can be selected for the coordinate system:
=
<
=
<
<
;
;
;
;
=
<
=
=
;
;
=
<
<
;
<
;
=
<
=
;
=
;
=
<
=
<
<
=
;
<
;
;
=
;
=
<
<
<
<
;
=
=
;
<
;
;
<
=
=
=
;
=
<
;
<
<
<
=
;
;
=
=
=
;
<
<
;
=
<
=
;
<
;
;
=
;
<
=
<
<
;
=
<
=
;
;
;
=
<
=
<
<
=
;
<
;
<
=
=
=
;
<
;
;
=
;
<
<
=
=
<
=
;
<
;
;
=
=
<
<
;
<
;
<
=
;
=
;
=
<
=
<
;
<
;
<
=
;
=
Meaning of the axes
MD52206 $MCS_AXIS_USAGE[n]
Meaning of the axes in the channel
[n] channel axis number
= 0
No special meaning
= 1
Tool spindle (rotating tool)
= 2
Auxiliary spindle (rotating tool)
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
371
Technologies and cycles
19.1 Activating turning/milling/drilling/grinding technologies
= 3
Main spindle (turning)
= 4
Separate C axis of the main spindle (turning)
= 5
Counterspindle (turning)
= 6
Separate C axis of the counterspindle (turning)
= 7
Linear axis of the counterspindle (turning)
= 8
Tailstock (turning)
= 9
Steady (turning)
= 10
B axis (turning)
= 12
B axis in counterspindle (turning)
= 13
Transverse travel X of the counterspindle (turning)
Defining the direction of rotation
Enter the direction of rotation for the rotary axes that are not configured in a tool holder or a 5-
axis transformation via the following channel-specific machine data.
MD52207 $MCS_USAGE_ATTRIB[n]
Attribute of the axes in the channel
[n] channel axis number
Bit 0
Rotates around 1st geometry axis (for rotation axis)
Bit 1
Rotates around 2nd geometry axis (for rotation axis)
Bit 2
Rotates around 3rd geometry axis (for rotation axis)
Bit 3
Direction of rotation is counter-clockwise (for rotary axis / C axis).
Bit 4
Displayed direction of rotation of the spindle/C axis for the M function M3 is counter-clockwise
Bit 5
Inverts M3 / M4 (for spindles)
This bit must be set analogous to PLC bit DB31, ... DBX17.6!
Bit 6
Display rotary axis as offset target for measurement
Bit 7
List rotary axis in the position pattern
Bit 8
List rotary axis to accept blank (on milling machines)
Bit 9
Spindle is not SPOS-capable
Bit 10
Rotary axis rotates around 1st geometry axis (only for position pattern)
Bit 11
Rotary axis rotates around 2nd geometry axis (only for position pattern)
Bit 12
Rotary axis rotates around 3rd geometry axis (only for position pattern)
"Easy" input in cycle support
You can influence the number of visible input parameters via MD52210
$MCS_FUNCTION_MASK_DISP with bit 9:
• All input parameters are displayed with the default setting bit 9 = 0 for "Complete".
• With the setting bit 9 = 1, you can select "Complete" or "Easy" input parameters in the cycle
support.
If you select the "Easy" input screen for input of the parameters, the values from the following
setting data are used for the invisible parameters (can be adapted machine-specifically):
SD55300 $SCS_EASY_SAFETY_CLEARANCE
Easy input: Safety clearance
= 1
mm
SINUMERIK Operate
372
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.1 Activating turning/milling/drilling/grinding technologies
SD55301 $SCS_EASY_DWELL_TIME
Easy input: Dwell time
= 0.6
s
SD55305 $SCS_EASY_DRILL_DEEP_FD1
Easy input: Percentage of 1st deep-hole drilling
feedrate
= 90
%
SD55306 $SCS_EASY_DRILL_DEEP_DF
Easy input: Percentage of deep-hole drilling in-
feed
= 90
%
SD55307 $SCS_EASY_DRILL_DEEP_V1
Easy input: Min. deep-hole drilling depth infeed
= 1.2
mm
SD55308 $SCS_EASY_DRILL_DEEP_V2
Easy input: Deep-hole drilling retraction dis-
tance
= 1.4
mm
SD55309 $SCS_EASY_THREAD_RETURN_DIST
Easy input: Thread turning return distance
= 2
mm
Note
The specified default values are valid for the metric system and are converted by the NC
automatically on the machine with the inch setting.
Additional settings
MD52005 $MCS_DISP_PLANE_MILL
Plane selection G17, G18, G19
= 0
Milling: Plane selection in the cycle support when programming under "programGUIDE G
code"
= 17
G17 plane (default value)
= 18
G18 plane
= 19
G19 plane
MD52006 $MCS_DISP_PLANE_TURN
Plane selection G17, G18, G19
= 18
G18 plane (permanently set)
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
373
Technologies and cycles
19.2 Technology cycles for drilling
MD52212 $MCS_FUNCTION_MASK_TECH
General function screen for all technologies
Bit 0
Enable swivel
= 0
Swivel plane, swivel tool not enabled
= 1
Swivel plane, swivel tool enabled
Bit 1
No optimized travel along software limit switches
= 0
No optimized travel along software limit switches
= 1
Optimized travel along software limit switches
MD52240 $MCS_NAME_TOOL_CHANGE_PROG
Tool change program for G code steps
= Program name
The associated program is called for tool change.
See also
Technology cycles for swiveling (Page 423)
19.2
Technology cycles for drilling
Drilling technology
You can set drilling technology using the following channel-specific configuration machine data
and channel-specific cycle setting data.
MD52216 $MCS_FUNCTION_MASK_DRILL
Drilling function screen form
Bit 0
Tapping cycle CYCLE84, technology input fields
= 0
Hide input fields
= 1
Display input fields
Bit 1
Tapping cycle CYCLE840, technology input fields
= 0
Hide input fields
= 1
Display input fields
SD55216 $SCS_FUNCTION_MASK_DRILL_SET
Drilling function screen form
Bit 1
Boring CYCLE86: Take into account the rotation of the tool plane when positioning the spindle
Note:
Spindle direction of rotation M3/ M4 and direction of rotation of the rotary axes must be set
according to DIN. For SPOS=0, the tool cutting edge points in the + direction of the 1st axis of
the plane (for G17, to X+).
= 0
Do not take into account the rotation of the tool plane when positioning the spindle (SPOS).
= 1
Take into account the rotation of the tool plane when positioning the spindle (SPOS).
Bit 2
Boring CYCLE86: When positioning the spindle, take into account swiveled table kinematics
(tool carrier)
SINUMERIK Operate
374
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.2 Technology cycles for drilling
= 0
When positioning the spindle, do not take into account the components of the swiveled table
kinematics (swiveling with CYCLE800, tool carrier).
Note:
Only the rotary axis of the machine kinematics that rotates the workpiece is taken into ac-
count. In the initial state of the kinematics, this rotary axis must be orientated parallel to the
tool axis.
e.g. rotary axis C rotation around Z (for G17) rotary axis vector of the swivel data set V2xyz =
0 , 0 , -1.
= 1
When positioning the spindle, take into account the components of the swiveled table kine-
matics (swiveling with CYCLE800, tool carrier).
Bit 3
Tapping CYCLE84: Monitoring of the machine data MD31050 $MA_DRIVE_AX_RATIO_DE-
NOM and MD31060 $MA_DRIVE_AX_RATIO_NUMERA of the spindle
Bit 4
Tapping CYCLE84, set monitoring of the machine data MD31050 $MA_DRIVE_AX_RATIO_DE-
NOM and MD31060 $MA_DRIVE_AX_RATIO_NUMERA of the spindle
= 0
No monitoring
= 1
Monitoring
Bit 6
Boring CYCLE86: Adapt the spindle position to the tool orientation
Tool orientation can be realized using TOOLCARR or TRAORI before the cycle is called.
= 1
Bits 1 and 2 are no longer effective.
Bit 7
Boring CYCLE86: Adapt the direction of retraction travel in the plane to the active mirroring
= 0
Retraction in the plane is realized as programmed.
= 1
When mirroring is active, the direction when retracting in the plane is adapted in the cycle to
the active mirroring.
Tapping (CYCLE84 and CYCLE840)
If the technology screens are hidden using the channel-specific configuration machine data
MD52216 $MCS_FUNCTION_MASK_DRILL, then the settings in the following channel-specific
cycle setting data are effective:
SD55481 $SCS_DRILL_TAPPING_SET_GG12[0]
Setting tapping G group 12:
Block change behavior for exact stop
= 0
Exact stop response as before the cycle call (default value).
= 1
G601
= 2
G602
= 3
G603
SD55482 $SCS_DRILL_TAPPING_SET_GG21[0]
Setting tapping G group 21:
Acceleration behavior
= 0
Acceleration behavior as before the cycle call (default value).
= 1
SOFT
= 2
BRISK
= 3
DRIVE
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
375
Technologies and cycles
19.3 Manufacturer cycles
SD55483 $SCS_DRILL_TAPPING_SET_GG24[0]
Setting tapping G group 24:
Precontrol
= 0
Precontrol, the same as before the cycle call (default value).
= 1
FFWON
= 2
FFWOF
Tapping (CYCLE84)
SD55484 $SCS_DRILL_TAPPING_SET_MC[0]
Spindle operation for MCALL
= 0
For MCALL, reactivate spindle operation (default value).
= 1
For MCALL, remain in position controlled spindle operation.
19.3
Manufacturer cycles
19.3.1
Manufacturer cycles
Note
Protect your technological knowledge
To protect your know-how, you can protect your cycles with individual access rights and
additional file encryption. Implement this cycle protection by means of the following measures:
• Encrypt your cycle data with the additional SIEMENS application SINUCOM Protector.
support.industry.siemens.com/cs/document/109474775/sinumerik-828d-840d-sl%3A-
cycle-protection-with-protector-for-sinumerik-(oem-system-integrator)?dti=0&lc=en-WW).
• Assign individual access rights to your cycle data and adapt the authorization levels for the
user.
More information on assigning individual access rights can be found in Chapter "Access
levels for programs (Page 58)".
The following cycles are also available in the cycle package for individual adaptation:
CUST_TECHCYC.SPF
Manufacturer cycle for the adaptation of technology cycles.
CUST_782.SPF
Manufacturer cycle for adaptation to determine loading function (CY-
CLE782), see Chapter "Manufacturer cycle CUST_782.SPF (Page 499)".
CUST_800.SPF
Manufacturer cycle for the adaptation of the swivel plane and the swivel
tool functions (CYCLE800), see Chapter "Manufacturer cycle
CUST_800.SPF (Page 471)".
CUST_832.SPF
Manufacturer cycle for the adaptation of the high-speed settings function
(CYCLE832), see Chapter "Manufacturer cycle CUST_832.SPF (Page 504)".
CUST_MEACYC.SPF
Manufacturer cycle for the adaptation of the measuring functions, see
Chapter "Manufacturer and user cycle CUST_MEACYC.SPF (Page 510)".
SINUMERIK Operate
376
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.3 Manufacturer cycles
CUST_MEAPROT.SPF
Manufacturer cycle and user cycle for the adaptation of the log form and
content, see Chapter "Manufacturer and user cycle CUST_MEAPROT.SPF
(Page 542)".
PROG_EVENT.SPF
Standard cycle to support the following functions:
• Block search when milling or turning is activated
• Block search and swivel plane
• Block search and align / advance tool
Note MD52212 $MCS_FUNCTION_MASK_TECH bits 3, 5 and 15 ... 17.
CUST_T
Cycle is used to track the T preparation after SERUPRO.
CUST_M6
Cycle is used to track the tool change after SERUPRO.
CUST_MULTICHAN
Manufacturer cycle for turning machines with several channels
CUST_CLAMP
Manufacturer's cycle for clamping elements
Copying manufacturer cycles
Copy the cycle from the NC data/Cycles/Standard cycles directory to the
NC data/Cycles/
User cycles directory before making any changes. Changes for the cycle take effect only in this
directory.
1.
Select the "Start-up" operating area.
2.
Press the "System data" softkey.
3.
Open the directory NC data/Cycles/Standard cycles and select the manu-
facturer cycles.
4.
Press the "Copy" softkey and open the NC data/Cycles/Manufacturer cycles
directory.
5.
Press the "Paste" softkey.
The cycles are available for you to individually adapt them.
Note
When upgrading the software, please refer to the upgrade instructions.
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
377
Technologies and cycles
19.3 Manufacturer cycles
19.3.2
Prerequisites for the simulation mode
Configuration
If you use feedback signals regarding the machine state, e.g. in CYCPE1MA, for tool change
cycles, measuring cycles or CUST_800, then in the NC program you must link in the following
system variables in order to avoid PLC access. Otherwise, PLC access prevents data alignment,
results in alarms or the simulation being canceled:
System variable
Meaning
$P_SIM
NCK simulation active
Example
In the following example, the simulation mode in PROG_EVENT or CYCPE1MA.SPF is stopped by
the PLC access:
N100 REPEAT
N110 UNTIL PLC_VAR <> 0
If you use the system variable $P_SIM, then PLC access in the simulation mode is prevented:
N099 IF NOT $P_SIM
N100 REPEAT
N110 UNTIL PLC_VAR <> 0
N111 ENDIF
19.3.3
Extending the PROG_EVENT standard cycle
If you wish to extend the functionality of the PROG_EVENT, then you must not copy this into the
manufacturer cycles directory, but you must create two new manufacturer cycles. Use the
names CYCPE1MA.SPF or CYCPE_MA.SPF names for the manufacturer cycles.
For the manufacturer cycles CYCPE1MA.SPF or CYCPE_MA.SPF, the corresponding
jump markers are prepared at the beginning and at the end of PROG_EVENT.SPF.
If the CYCPE1MA.SPF and CYCPE_MA.SPF manufacturer cycles are created in the NC, the
program correspondingly branches from PROG_EVENT to the manufacturer cycles.
Procedure
1.
Select the "Start-up" operating area.
2.
Press the "System data" softkey.
SINUMERIK Operate
378
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.3 Manufacturer cycles
3.
Select the directory /NC data/Cycles/Manufacturer cycles
4.
Press the "New" softkey.
The "New G Code Program" window opens.
5.
Assign the name CYCPE1MA or CYCPE_MA.
Only use these names.
6
Press the "OK" softkey.
The cycle has been created and you can now adapt it.
19.3.4
Manufacturer cycle for tool change CUST_T and CUST_M6
Function
The two cycles are used to track the T preparation (CUST_T) and the tool change (CUST_M6)
according to SERUPRO. In so doing, depending on the specific tool holder, the following is
output:
• Last programmed change
• Last programmed preparation
Requirement
The cycles can only be used when tool management is active.
Sequence
The two cycles are called in the "SERUPRO-END-ASUB", which also provides the two transfer
parameters.
Parameter
Meaning
_THnr
Tool holder or master spindle number that was programmed for the change or the
preparation.
_MTHnr
Number of the active tool holder or master spindle at the time of programming.
The cycles themselves do not contain and "machine logic". Pure data operations are performed.
The active tool holder or the master spindle is saved.
Using the transfer parameter, the situation at the time of the T or M6 programming is
determined. This situation is established, T and/or M06 output or a branch is made into the
manufacturer cycles. After the output of T and M06 or after returning from the manufacturer
cycles, the tool holder, saved at the beginning, is reactivated.
A change cycle can then only be called without any restriction, if the corresponding queries such
as program test, block search,...exist.
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
379
Technologies and cycles
19.3 Manufacturer cycles
T replacement cycle
If a T replacement cycle is being used, then the following note must be observed:
Note
The CUST_T cycle uses the language command TCA (ToolChangeAbsolut) for the T call and
therefore also has the possibility of inserting tools that have been disabled. However, this
language command cannot be substituted.
The following must be observed if working at a machine with T replacement:
• The T preparation cycle must be explicitly called at the specified position.
• If the call is realized using the CUST_T cycle, then the parameter evaluation ($C_TS_PROG, …)
is skipped.
Alternatively, the original TCA language command can be reprogrammed.
Additional information
You can find additional information about "SERUPRO and ASUB" in the
Function Manual Basic Functions.
19.3.5
CUST_TECHCYC.SPF manufacturer cycle
Function
For technological cycles, the CUST_TECHCYC cycle is called from ShopMill and ShopTurn cycles,
if the machine builder must make certain adaptations to a specific machine (e.g. activate
specific M commands). For instance, this may be necessary in order to retract or extend part
catchers when cutting off parts on lathes or to position a spindle for clamping (only in JobShop).
The CUST_TECHCYC.SPF cycle can be used to program and execute the necessary sequences.
SINUMERIK Operate
380
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.3 Manufacturer cycles
Adapt manufacturer cycle CUST_TECHCYC.SPF
You can execute the following actions with the aid of the _MODE parameter:
Marker
Action
_M1
Main spindle:
Changeover to C axis mode
_M2
Changeover to spindle mode
_M3
Clamp C axis
_M4
Release C axis clamping
Damping brake off
_M5
Rinse chuck
_M6
Close chuck
_M7
Open chuck when spindle is stationary
_M8
Open chuck when spindle is rotating
_M9
Flush chuck
_M11
Tool spindle:
Changeover to C axis mode
_M12
Changeover to spindle mode
_M13
Clamp C axis
_M14
Release C axis clamping
_M21
Counterspindle:
Changeover to C axis mode
_M22
Changeover to spindle mode
_M23
Clamp C axis
_M24
Release C axis clamping
Damping brake off
_M25
Rinse chuck
_M26
Close chuck
_M27
Open chuck when spindle is stationary
_M28
Open chuck when spindle is rotating
_M29
Rinse chuck off
_M30
Position 4th axis after block search (e.g. counterspindle, tailstock, back rest)
_M41
Engage driven tool
_M42
Disengage driven tool
_M61
Changeover to turning
_M62
Changeover to peripheral surface machining C
_M63
Changeover to face machining C
_M64
Changeover to peripheral surface machining Y
_M65
Changeover to face machining Y
_M66
Changeover to face machining B (swivel)
_M67
Deselection of the face machining B (swivel)
_M68
After block search to ST block before swiveling
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
381
Technologies and cycles
19.3 Manufacturer cycles
Marker
Action
_M80
Interpolation turning:
Initialization
_M81
Before selecting the transformation
_M82
After selecting the transformation
_M85
Deselection
_M100
Drawer:
Position before cut-off
_M101
Open during cut-off
_M102
Close after cut-off
_M103
Cut-off completed
_M110
Tool change
_M111
After end of tool change cycle (with tool change)
_M112
Before tool change on retraction plane
_M113
Before cutting edge reselection
_M114
After end of tool change cycle (without tool change)
_M115
after tool preselection (ShopTurn)
_M116
To tool change point (ShopTurn)
_M117
Before tool change T command
_M118
Output of M and H functions after tool change (ShopMill, ShopTurn)
_M120
Definition: Coupling of counterspindle / main spindle
_M121
After COUPOF switch off position control
_M122
Definition: Coupling, main/counterspindle
_M123
After COUPOF switch off position control
_M125
Changeover to main spindle
_M126
Changeover to counterspindle
_M131
Start of program (ShopTurn program)
_M132
End of program header (ShopTurn program)
_M135
End of program loop (ShopTurn program)
_M136
End of program (ShopTurn program)
_M140
Block search
Before tool change
_M141
After tool change
_M142
After tool change (new tool from ShopTurn)
SINUMERIK Operate
382
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.3 Manufacturer cycles
Marker
Action
_M150
2-channel stock remov-
Leading channel before Balance Cutting
al:
_M151
Leading channel after Balance Cutting
_M152
Following channel before Balance Cutting
_M153
Following channel after Balance Cutting
_M154
Start machining in the leading channel
_M155
End machining in the leading channel
_M156
Start machining in the following channel
_M157
Start machining in the following channel
_M160
Start multichannel programming
_M170
Start block with spindle
_M171
End block with spindle
_M231
Start of program (ShopMill program)
_M232
End of program header (ShopMill program)
_M235
End of program loop (ShopMill program)
_M236
End of program (ShopMill program)
_M300
Boring CYCLE86
Adapt the spindle to the tool position (SD55216 $SCS_FUNCTION_MASK_DRILL_SET
bit 6 = 1)
For specific machine kinematics, it may be necessary to make an additional adjustment of
the correction angle for the spindle positioning (e.g. intermediate gear at the spindle). The
_M300 mark is run through after the correction angle is calculated. There the correction
angles _MEA_CORR_ANGLE[0] (for the manufacturer) and _MEA_CORR_ANGLE[1] (sys-
tem) can be changed, if applicable. For subsequent spindle positioning operations, both
angles act additively in CYCLE86.
_M403
Main spindle:
Damping brake on
_M423
Counterspindle:
Damping brake on
_M900
Before blank output (only ShopMill + ShopTurn)
19.3.6
CUST_MULTICHAN user cycle
Function
The CUST_MULTICHAN cycle is used for multi-channel programming at lathes. It is called at the
start of the block when programming with blocks.
In the cycle, e.g. the master spindle is set to the spindle specified at the start of the block. The
return value (= 1) can be used to control whether the complete block is skipped.
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
383
Technologies and cycles
19.4 Milling
CUST_MULTICHAN
Parameter
Meaning
_S_NR
Spindle number to which the master spindle is set.
_RET
Return value
= 0
The block is executed corresponding to the run-in mode.
= 1
The entire block is skipped.
19.4
Milling
19.4.1
General
All settings for machine and setting data of the standard cycles are also applicable for milling
under ShopMill and turning under ShopTurn.
19.4.2
Technology cycles for milling
Milling function screen
SD52214 $SCS_function_MASK_MILL
Milling function screen
Bit 0
Enable cylinder surface transformation (ShopMill)
Bit 1
List table to accept blank (on milling machines)
(This bit only has to be set, if the machine has a rotary axis and a fixed table for accepting the
blank.)
Bit 2
reserved
Bit 3
Enable machining inside/outside
Bit 4
Enable spindle clamping (C axis)
Bit 5
Enable spindle control of the tool spindle via user interface
Bit 6
Enable spindle control of the main spindle via user interface
SD55214 $SCS_FUNCTION_MASK_MILL_SET
Milling function screen
Bit 0
Basic setting, milling in climbing.
Bit 2
Depth calculation of the milling cycles, with or without safety clearance.
= 0
Depth calculation of the milling cycles is performed between the reference plane + safety clear-
ance and the depth.
= 1
Depth calculation is performed without including the safety clearance.
Bit 2 is effective in the following milling cycles: CYCLE61, CYCLE71, CYCLE76, CYCLE77, CY-
CLE79, CYCLE899, LONGHOLE, SLOT1, SLOT2, POCKET3, POCKET4.
SINUMERIK Operate
384
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.4 Milling
Contour milling (CYCLE63, CYCLE64)
SD55460 $SCS_MILL_CONT_INITIAL_RAD_FIN
Finishing approach circle radius
The radius of the approach circle during the
finishing of contour pockets is affected.
= 0
The radius is selected so that at the starting point the safety clearance to the finishing allowance
is maintained (default value).
> 0
The radius is selected so that at the starting point the value of this channel-specific setting data
to the finishing allowance is maintained.
SD55212 $SCS_FUNCTION_MASK_TECH_SET
General function screen for all technologies
= 6
Bit 3
Delete programs generated by contour cycles (CYCLE63, CYCLE64, CYCLE952)
= 0
Generated programs are not deleted (compatibility as before)
= 1
Generated programs are deleted as soon as they have been executed by the calling cycle.
Engraving (CYCLE60)
SD55400 $SCS_MILL_ENGRAVE_POINT_RAD
Engraving cycle CYCLE60: Circular arc radius
for generating the "dot" character
= 0
= 0
The "dot" character is produced by a simple linear insertion movement of the tool (default
setting for conventional engraving tools, compatibility).
> 0
The "dot" character is executed as a circle with the radius value from this setting data (setting for
some special tools).
Multiple edge (CYCLE79), circular position pattern (HOLES2), circumferential groove (SLOT2)
SD55230 $SCS_CIRCLE_RAPID_FEED
Rapid feed in mm/min for positioning on a circular path
between the circumferential grooves or the contour
elements.
= 10000
19.4.3
Setting-up ShopMill cycles for milling
Load ShopMill cycles for milling
When the control boots, the ShopMill cycles are automatically loaded into the following
directory: ../siemens/sinumerik/cycles/sm/prog
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
385
Technologies and cycles
19.4 Milling
Setting the coordinate system
MD52000 $MCS_DISP_COORDINATE_SYSTEM
Position of the coordinate system
= 0
Examples:
=0 for vertical milling machines
=16 for horizontal milling machines, boring mill
A detailed description of the MD52000 is provided in Section:
Activating turning/milling/drilling/grinding technologies (Page 369)
For plane selection when milling, appropriately set the following machine data:
MD52005 $MCS_DISP_PLANE_MILL
Plane selection for milling
= 17
= 0
In the cycle support
= 17
G17 (default value)
= 18
G18
= 19
G19
Simulation and simultaneous recording
In order that simulation and simultaneous recording are displayed without any errors, set the
machine data as described in the following section:
Setting the technology for simulation (Page 161)
Defining the direction of rotation
In order that the direction of rotation is correctly displayed in the ShopMill user interface, and
when programming ShopMill functions, the correct direction of rotation is executed, you must
make some settings that are coordinated with one another. You must align these settings to the
actual direction of rotation of the axis at the machine.
MD52207 $MCS_USAGE_ATTRIB[n]
Attribute of the axes in the channel
[n] channel axis number
Bit 4
Displayed direction of rotation for M3 is counter-clockwise (for spindles)
Bit 5
Direction of rotation M3 corresponds to rotary axis minus (for spindles)
This bit must be set analog to PLC bit DB31, ... DBX17.6!
SINUMERIK Operate
386
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.4 Milling
Specify other direction of rotation for position pattern
You can specify a position pattern for the tool axis. Rather than Bit 12, you must set Bit10 to
active in the MD52207 so that, for example, the position pattern can be machined on rotary axis
C with an appropriate swivel position.
MD52207 $MCS_USAGE_ATTRIB[n]
Attribute of the axes in the channel
[n] channel axis number
Bit 2
Rotates around 3rd geometry axis (for rotary axes)
Bit 4
Displayed direction of rotation for M3 is counter-clockwise (for spindles)
The viewing direction can be selected. Either from the interior looking out or from outside
looking toward the spindle.
However, the same selection must be made for all spindles.
Bit 5
Direction of rotation for M3 corresponds to rotary axis minus (for spindles)
Bit 6
Display rotary axis as offset target for measuring
Bit 7
Offer rotary axis in position pattern
The orientation of the axis is determined with Bits 0 to 2.
If one of the Bits 10 to 12 is set, they determine the orientation of the axis for position patterns.
Bit 8
Offer rotary axis for blank clamping (on milling machines)
The orientation of the axis is determined with Bits 0 to 2.
Bit 10
Rotary axes turns around the 1st geometry axis (only for position pattern)
Additional channel-specific machine data
MD52216 $MCS_FUNCTION_MASK_DRILL
Drilling function screen form
Bit 2
Tapping also without encoder
The setting depends on whether at the machine the tool spindle is equipped with an encoder.
= 0
Tapping only possible with encoder
= 1
Tapping also possible without encoder
Bit 3
Constant cutting speed referred to the diameter of the centering
= 0
Constant cutting speed referred to the diameter of the tool
= 1
Constant cutting speed referred to the diameter of the centering
MD52229 $MCS_ENABLE_QUICK_M_CODES
Enable fast M commands
= 0
Bit 0
Coolant OFF (default value)
Bit 1
Coolant 1 ON
Bit 2
Coolant 2 ON
Bit 3
Coolants 1 and 2 ON
MD52230 $MCS_M_CODE_ALL_COOLANTS_OFF
M code for all coolants Off
= 9
You define the M function to switch off the coolant that is output when the tool is changed.
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
387
Technologies and cycles
19.4 Milling
MD52231 $MCS_M_CODE_COOLANT_1_ON
M code for coolant 1 On
= 8
You define the M function for coolant 1 that is output when the tool is changed.
MD52232 $MCS_M_CODE_COOLANT_2_ON
M code for coolant 2 On
= 7
You define the M function for coolant 2 that is output when the tool is changed.
MD52233 $MCS_M_CODE_COOLANT_1_AND_2_ON
M code for both coolants On
= -1
You define the M function for coolant 1 and 2 that is output when the tool is changed.
MD52281 $MCS_TOOL_MCODE_FUNC_ON[ ]
M code for tool-specific function ON
= -1
M function is not output.
If both M commands of a function "= -1", the corresponding field is not displayed on the
interface.
[0]
M code for tool-specific function 1 ON
[1]
M code for tool-specific function 2 ON
[2]
M code for tool-specific function 3 ON
[3]
M code for tool-specific function 4 ON
MD52282 $MCS_TOOL_MCODE_FUNC_OFF[ ]
M code for tool-specific function OFF
= -1
M function is output.
If both M commands of a function "= -1", the corresponding field is displayed on the interface.
[0]
M code for tool-specific function 1 OFF
[1]
M code for tool-specific function 2 OFF
[2]
M code for tool-specific function 3 OFF
[3]
M code for tool-specific function 4 OFF
Channel-specific cycle setting data
SD55212 $SCS_FUNCTION_MASK_TECH_SET
Cross-technology function screen
= 6
Bit 0
Tool preselection active.
The next tool is prepared directly after a tool change.
Note: For a revolver, the setting data must be set to "0".
Bit 1
Automatic calculation of the thread depth for metric threads.
Bit 2
Take the thread diameter and thread depth from the table.
SINUMERIK Operate
388
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.4 Milling
19.4.4
Cylinder surface transformation (TRACYL)
Software option
You require the following software option in order to use this function:
"Transmit and peripheral surface transformation".
Precondition
• There must be at least one rotary axis at the machine.
• The milling tool must be radially oriented to the cylinder to be machined.
Function
The following groove machining operations can be performed with the Cylinder surface
transformation functions:
• Longitudinal grooves on cylindrical bodies
• Transverse grooves on cylindrical objects
• Grooves with any path on cylindrical bodies
The path of the grooves is programmed with reference to the unwrapped, level surface of the
cylinder. Programming can be realized using straight line/circle, drilling or milling cycles or
contour milling (free contour programming).
There are two variants of cylinder surface transformation, i.e.
1. with groove side offset (ON)
2. without groove side offset (OFF)
/RQJLWXGLQDO JURRYH
7UDQVYHUVH JURRYH /RQJLWXGLQDO JURRYH ZLWK SDUDOOHO OLPLWDWLRQ
:LWKRXW JURRYH VLGH RIIVHW
:LWK JURRYH VLGH RIIVHW
Figure 19-1
Grooves with and without groove side offset
19.4.5
Example: Milling machine with the XYZ-AC axis configuration
Example: Milling machine with the XYZ-AC axis configuration
Example of an axis configuration on the following machine:
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
389
Technologies and cycles
19.4 Milling
Axis configuration
&
=
<
;
$
X
1st axis of the machining plane parallel to the rotary axis
Y
2nd axis of the machining plane
Z
Infeed axis (tool axis) perpendicular (radial) to the rotary axis
A
Rotary axis
C
Working spindle
Figure 19-2
Machining slots on a cylinder surface with X-A-Z kinematics
You must configure two data sets with the following machine data for the machine illustrated
above:
MD20070 $MC_AXCONF_MACHAX_USED[4]
Machine axis number valid in channel
= 5
Number of channel axes
MD20080 $MC_AXCONF_CHANAX_NAME_TAB[ ]
Name of channel axis in the channel
[0] = XC
Channel axis XC, corresponds to channel axis 1
[1] = YC
Channel axis YC, corresponds to channel axis 2
[2] = ZC
Channel axis ZC, corresponds to channel axis 3
[3] = A
Channel axis A, corresponds to channel axis 4
[4] = C
Channel axis C, corresponds to channel axis 5
MD28082 $MC_MM_SYSTEMFRAME_MASK
System frames (SRAM)
= 21H
Default setting
Bit 0 = 1
System frame for actual value setting and scratching
Bit 5 = 1
System frame for cycles
Bit 6 = 1
System frame for transformations
SINUMERIK Operate
390
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.4 Milling
General settings for the transformation
MD10602 $MN_FRAME_GEOAX_CHANGE_MODE
Frames when switching over geometry
screens
= 1
The actual total frame (zero offsets) is recalculated when switching over geometry axes (select-
ing - deselecting TRACYL).
Data set for the 1st transformation in the channel
MD24100 $MC_TRAFO_TYPE_1
Definition of transformation 1 in the chan-
nel.
= 512
Transformer type (512 = cylinder surface transformation without groove side offset)
MD24110 $MC_TRAFO_AXES_IN_1
Axis assignment for the 1st transforma-
tion in the channel
[0] = 3
Channel axis: Infeed axis (tool axis) perpendicular (radial) to the rotary axis
Z
[1] = 4
Channel axis: Rotary axis
A
[2] = 1
Channel axis: 1st axis of the machining plane parallel to the rotary axis
X
[3] = 2
Channel axis: 2nd axis of the machining plane
Y
MD24120 $MC_TRAFO_GEOAX_ASSIGN_TAB_1
Assignment of the geometry axes to chan-
nel axes for transformation 1.
[0] = 1
Channel axis: 1st geometry axis
X
[1] = 4
Channel axis: 2nd geometry axis
A
[2] = 3
Channel axis: 3rd geometry axis
Z
MD24800 $MC_TRACYL_ROT_AX_OFFSET_1
= 0
Offset of rotary axis for the 1st TRACYL transformation.
MD24805 $MC_TRACYL_ROT_AX_FRAME_1
= 1
Axial offset of rotary axis for the 1st TRACYL transformation.
MD24810 $MC_TRACYL_ROT_SIGN_IS_PLUS_1
= 1
Sign of the rotary axis for the 1st TRACYL transformation.
MD24820 $MC_TRACYL_BASE_TOOL_1[ ]
[0] = 0
Vector of the base tool for the 1st TRANSMIT transformation in XYZ
[1] = 0
[2] = 0
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
391
Technologies and cycles
19.4 Milling
Data set for the 2nd transformation in the channel
MD24200 $MC_TRAFO_TYPE_2
= 513
Transformer type (513 = cylinder surface transformation with groove side offset)
MD24210 $MC_TRAFO_AXES_IN_2
[0] = 3
Channel axis: Infeed axis perpendicular (radial) to rotary axis
Z
[1] = 4
Channel axis: Rotary axis
A
[2] = 1
Channel axis: 1st axis of the machining plane parallel to the rotary axis
X
[3] = 2
Channel axis: 2nd axis of the machining plane
Y
MD24220 $MC_TRAFO_GEOAX_ASSIGN_TAB_2
[0] = 1
Channel axis: 1st geometry axis
X
[1] = 4
Channel axis: 2nd geometry axis
A
[2] = 3
Channel axis: 3rd geometry axis
Z
MD24850 $MC_TRACYL_ROT_AX_OFFSET_2
= 0
Offset of the rotary axis for the 2nd TRACYL transformation
MD24855 $MC_TRACYL_ROT_SIGN_IS_FRAME_2
= 1
Axial offset for the 2nd TRACYL transformation
MD24860 $MC_TRACYL_ROT_SIGN_IS_PLUS_2
= 1
Sign of the rotary axis for the 2nd TRACYL transformation
MD24870 $MC_TRACYL_BASE_TOOL[ ]
[0] = 0
Vector of the base tool for the 2nd TRACYL transformation in XYZ
[1] = 0
[2] = 0
Note
Data sets for transformations
For both data sets, you can use any transformations from all available transformations
(MD24100 $MC_TRAFO_TYPE_1, MD24200 $MC_TRAFO_TYPE_2, etc.). The two data sets need
not be directly next to each other.
However, the 1st data set must always be used for "Cylinder surface transformation without
groove side offset" (= 512) and the 2nd data set for "Cylinder surface transformation with groove
side offset" (=513).
SINUMERIK Operate
392
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.4 Milling
19.4.6
ShopMill cycles for multiple clamping
Software options
You require the following software option in order to use this function: "ShopMill/
ShopTurn"
Function
The Multiple clamping function provides optimized tool change over several workpiece
clampings. On the one hand, this reduces downtimes and, on the other, eliminates tool change
times because a tool performs as many machining operations as possible in all clampings before
the next tool change is initiated.
You can either execute the same program several times for the clampings or you can select
different programs. If you are using large-area fixture plates on your machine, you do not have
to set up anything else.
In the case of rotating clamping devices, on the other hand, you must adapt a cycle to match the
features of the clamping device so as to ensure that the next workpiece can be turned to the
machining position after machining of the previous one (or for multiple clamping devices even
while the current workpiece is being machined).
Procedure for setting up
1. Change the CLAMP.SPF cycle which is stored in the cycle/sc/prog/templates_deu or cycle/sc/
prog/templates_eng directory.
2. Copy the cycle into the user or manufacturer directory.
Example
A rotating clamping device (reversible clamping device) is used with four clampings. The
respective clampings can be machined by positioning rotary axis A:
Clamping 1:
A = 0°
Clamping 2:
A = 90°
Clamping 3:
A = 180°
Clamping 4:
A = 270°
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
393
Technologies and cycles
19.4 Milling
=
<
&ODPSLQJ
&ODPSLQJ
&ODPSLQJ
5RWDU\ D[LV $
&ODPSLQJ
0DFKLQH WDEOH
Figure 19-3
Rotating clamping device (reversible clamping device)
The cycle CLAMP.SPF must be adapted as follows:
DEF INT _NV ; Auxiliary variable
;------------------------------------
;Adaptation
;
IF _ACT==1
G0 A=DC(0)
ENDIF
;
IF _ACT==2
G0 A=DC(90)
ENDIF
;
IF _ACT==3
G0 A=DC(180)
ENDIF
;
IF _ACT==4
G0 A=DC(270)
ENDIF
SINUMERIK Operate
394
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.5 Turning
;
;------------------------------------
_NV=_NPV+_ACT ; Calculate current zero offset
N10 G[8]=_NV ; There must not be a calculation here
RET
19.5
Turning
19.5.1
General
All settings for machine and setting data of the standard cycles are also applicable for milling
under ShopMill and turning under ShopTurn.
19.5.2
Setting up cycles for turning
Setting the coordinate system
MD52000 $MCS_DISP_COORDINATE_SYSTEM
Position of the coordinate system
= 0
Default setting
Examples:
0: Vertical turning machine (carousel-type turning machine)
19: Horizontal turning machine, machining in front of the turning center
34: Horizontal turning machine, machining behind the turning center (inclined bed turning
machine)
A detailed description of MD52000 is given in Section: "Activating turning/milling/drilling/
grinding technologies (Page 369)."
Turning function screen
Enable various functions under the Turning function screen in the following channel-specific
configuration machine data.
MD52218 $MCS_FUNCTION_MASK_TURN
Turning function screen
Bit 0
Enable zoom under manual for tool measurement
Bit 1
Enable part catcher for cut-off
Bit 2
Enable tailstock
Bit 3
Enable spindle control of main spindle via user interface
Bit 4
Enable spindle control of the counterspindle control via user interface
Bit 5
Enable spindle control of the tool spindle via user interface
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
395
Technologies and cycles
19.5 Turning
Bit 6
Enable balance cutting for two-channel stock removal
Bit 7
Retraction when cutting along the contour with G1
Bit 8
Enter the spindle chuck data in the program
Bit 9
Additional input of the tailstock data in the program
Bit 10
Enable crowned thread
Bit 12
Deactivate thread synchronization
Bit 13
Cutting along the contour with CYCLE95 (828D programGUIDE without Advanced Technology
Meaning of the axes
You set the meaning of the axes in machine data MD52206 $MCS_AXIS_USAGE[n].
MD52206 $MCS_AXIS_USAGE[n]
Meaning of the axes in the channel
[n] channel axis number
A detailed description of MD52206 is provided in Chapter "Activating turning/milling/drilling/
grinding technologies (Page 369)
Traversing direction
In order that the user interface and cycles know in which direction the spindles and rotary axes
rotate, the following settings must be made.
You set the direction of rotation of an NC rotary axis via MD32100 $MA_AX_MOTION_DIR.
MD32100 $MA_AX_MOTION_DIR
Traversing direction
-1
Direction reversal
0, 1
No direction reversal
Defining the direction of rotation
In order to ensure that the direction of rotation of the spindle and C axis is correctly displayed on
the user interface and when programming, the correct direction of rotation is executed, you
must make several settings that are coordinated with one another. You must base these settings
on the actual direction of rotation of the spindle/C axis on the machine.
You specify the settings in the following machine data:
MD52207 $MCS_AXIS_USAGE_ATTRIB[n]
Attributes of the axes
[n] channel axis number
Bit 3
Displayed positive direction of rotation is counter-clockwise (for rotary axes)
The view must be from the inside of the machine (operator's view) to the axis of rotation.
Bit 4
Displayed direction of rotation for M3 is counter-clockwise (for spindles)
This bit can be set from the operator's view or according to DIN 66025.
Bit 5
Direction of rotation for M3 corresponds to minus rotary axis (for spindles)
This bit must be set analogous to PLC bit DB31, ... DBX17.6!
SINUMERIK Operate
396
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.5 Turning
As a result, the following setting options are obtained for the main spindle:
Main spindle direction of rotation
52207[n]
52207[n]
52207[n]
DB31, ...
bit 3 =
bit 4 = *)
bit 5 =
DBX17.6
0
0
0
0
0
&
0
1
1
1
0
&
1
1
0
0
&
0
1
0
1
1
&
0
Note
MD52207[n] bit 4 = *)
Bit 4 can be set from the operator's view (values as specified) or according to DIN ("0" and "1" are
then interchanged).
Dimensions
To define the reference point for moving the counterspindle, you must first communicate the
dimensions of the counterspindle. You can either enter the dimensions in the following axis-
specific cycle machine data or in menu "Parameter" → "Setting data" → "Spindle chuck data".
Changes to the machine data are automatically accepted in the menu and vice versa.
MD53240 $MAS_SPINDLE_PARAMETER[ ]
Spindle chuck data
[0]
Chuck dimensions
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
397
Technologies and cycles
19.5 Turning
[1]
Stop dimensions
[2]
Jaw dimensions
MD53241 $MAS_SPINDLE_CHUCK_TYPE[ ]
Spindle jaw type
= 0
Clamping, outer
= 1
Clamping, inner
Additional settings
The M code, e.g. M34 or M1 = 34 for the spindle chuck is defined in the following machine data.
The manufacturer cycle CUST_TECHCYC.SPF also takes the M functions from the following
machine data:
MD52250 $MCS_M_CODE_CHUCK_OPEN[ ]
M code for open chuck with station-
ary spindle
[0]
Main spindle
[1]
Counterspindle
MD52251 $MCS_M_CODE_CHUCK_CLOSE_OPEN_ROT[ ]
M code for open chuck with spindle
rotating
[0]
Main spindle
[1]
Counterspindle
MD52252 $MCS_M_CODE_CHUCK_CLOSE[ ]
M code for close chuck
[0]
Main spindle
[1]
Counterspindle
MD52253 $MCS_M_CODE_TAILSTOCK_FORWARD[ ]
M code for quill forward
[0]
Quill opposite the main spindle
[1]
MD52254 $MCS_M_TAILSTOCK_BACKWARD[ ]
M code for quill back
[0]
Quill opposite the main spindle
[1]
Quill opposite the main spindle
Contour turning (CYCLE952)
SD55212 $SCS_FUNCTION_MASK_TECH_SET
General function screen for all technologies
= 6
Bit 3
Delete programs generated by contour cycles (CYCLE63, CYCLE64, CYCLE952)
= 0
Generated programs are not deleted (compatibility as before)
= 1
Generated programs are deleted as soon as they have been executed by the calling cycle.
SINUMERIK Operate
398
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.5 Turning
Rounding the contour
SD55582 $SCS_TURN_CONT_TRACE_ANGLE
Contour turning: Minimum angle for
rounding the contour
= 5
Specifies the angle between the cutting edge and contour, above which for contour turning, the
contour is rounded in order to remove residual material (default value).
SD 55218 $SCCS_FUNCTION_MASK_TURN_SET
Turning function screen
Bit 3
Chamfer in CYCLE930 as chamfer length (CHF)
Bit 4
Retraction from internal machining (CYCLE951)
= 0
Compatibility as before
If, during the cycle, the necessity for tightening is detected at the corner, the tool is retracted
from the internal machining, otherwise it is not.
= 1
Retraction from internal machining is generally in the cutting axis.
19.5.3
Setting-up ShopTurn cycles for turning
MD52210 $MCS_FUNCTION_MASK_DISP
Function mask for display
Bit 0 = 1
Measuring system for programs always in the base system (default)
Bit 1 = 1
Face view when turning (default setting)
Bit 4 = 1
Show follow-on tool in T, F, S window
MD52212 $MCS_FUNCTION_MASK_TECH
General function screen for all tech-
nologies
Bit 2
Approach logic for step drill
Bit 3
Block search cycle for ShopMill / ShopTurn
= 0
The E__ASUB or F_S_ASUB cycles are not called in the block search cycle PROG_EVENT.SPF
= 1
The E__ASUP (under ShopMill) or F_S_ASUP (under ShopTurn) cycles are called in the block
search cycle PROG_EVENT.SPF
Bit 4
Approach logic using the cycle
Bit 5
The cycle for SERUPRO (CYCLE207) is called in the block search cycle PROG_EVENT.SPF.
Bit 3 has no effect when bit 5 is set.
Bit 6
Work offset value WO cannot be entered
Bit 7
Identification of the end of tool lives in the program (ShopMill / ShopTurn)
Bit 8
Manual machine (ShopMill / ShopTurn)
Bit 9
Selection/deselection of work offset via softkey
Bit 11
Deactivate position check for drilling and milling tools
MD52214 $MCS_FUNCTION_MASK_MILL
Function mask for milling
Bit 3
"Inner/rear" machining is enabled in the ShopTurn masks which themselves define the
machining plane.
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
399
Technologies and cycles
19.5 Turning
Bit 4
If you have implemented the "Clamp/release spindle" function using the manufacturer
cycle CUST_TECHCYC.SPF, then using this machine data, you can activate the "Clamp/
release spindle" parameter in the drilling and milling masks.
= 0
The "Clamp/release spindle" parameter is not displayed in the drilling and milling screens.
ShopTurn automatically clamps the spindle if it makes sense for the particular machining
operation.
= 1
The "Clamp/release spindle" parameter is displayed in the drilling and milling masks.
You decide for which machining operation the spindle should be clamped.
Bit 8
Release damping brake (C axis)
= 0
"Damping brake on/off" parameter is not displayed in the milling masks.
= 1
The "Damping brake on/off" parameter is displayed in the milling masks.
You decide for which machining operation (Face C/Per.surf.C) the C axis is braked.
If you have implemented the "Damping brake" function by means of the machine manu-
facturer cycle CUST_TECHCYC.SPF, you can activate the "Damping brake on/off" parameter
in the milling masks with this machine data.
MD52216 $MCS_FUNCTION_MASK_DRILL
Function mask for drilling
Bit 3
Constant cutting speed referred to the diameter of the centering
= 0
Constant cutting speed referred to the diameter of the tool
= 1
Constant cutting speed referred to the diameter of the centering
MD52218 $MCS_FUNCTION_MASK_TURN
Function mask for turning
Bit 2
Enable tailstock
Bit 5
Enable spindle control of tool spindle via surface
Bit 6
Enable balance cutting for dual-channel stock removal
MD52229 $MCS_ENABLE_QUICK_M_CODES
Enable fast M commands
= 0
Bit 0
Coolant OFF
Bit 1
Coolant 1 ON
Bit 2
Coolant 2 ON
Bit 3
Coolants 1 and 2 ON
MD52230 $MCS_M_CODE_ALL_COOLANTS_OFF
M code for all coolants Off
= 9
This machine data is used to define the M function for switching off the coolant; which is
output when the tool is changed.
MD52231 $MCS_M_CODE_COOLANT_1_ON
M code for coolant 1 On
= 8
This machine data is used to define the M function for coolant 1, which is output when the tool
is changed.
SINUMERIK Operate
400
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.5 Turning
MD52232 $MCS_M_CODE_COOLANT_2_ON
M code for coolant 2 On
= 7
This machine data is used to define the M function for coolant 2, which is output when the tool
is changed.
MD52233 $MCS_M_CODE_COOLANT_1_AND_2_ON
M code for both coolants On
= -1
This machine data is used to define the M function for coolant 1 and 2, which is output when
the tool is changed.
SD55505 $SCS_TURN_ROUGH_O_RELEASE_DIST
Return distance stock removal for ex-
ternal machining
= 1
Specifies the distance by which the tool is retracted from the contour when removing stock
from an outer corner. This does not apply to stock removal at a contour (default value).
= -1
The distance is internally defined.
SD55506 $SCS_TURN_ROUGH_'I_RELEASE_DIST
Return distance stock removal for in-
ternal machining
= 0.5
Specifies the distance by which the tool is retracted from the contour when removing stock
from an internal corner. This does not apply to stock removal at a contour (default value).
= -1
The distance is internally defined.
19.5.4
Setting up a counterspindle
Software option
You require the following software option in order to use the counterspindle on your
machine:
"Generic coupling 'CP-STATIC'" or higher
Function
If your turning machine has a counterspindle, you can machine workpieces using turning,
drilling and milling functions on the front and rear faces without reclamping the workpiece
manually.
Before machining the rear face, the counterspindle must grip the workpiece, pull it out of the
main spindle, and position it at the new machining position.
Meaning of the axes
MD52206 $MCS_AXIS_USAGE[n]
Meaning of the axes in the channel
[n] channel axis number
A detailed description of MD52006 is provided in Chapter "Activating turning/milling/drilling/
grinding technologies (Page 369)".
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
401
Technologies and cycles
19.5 Turning
Traversing direction
In order that the user interface and cycles know in which direction the spindles and rotary axes
rotate, the following settings must be made.
You set the direction of rotation of an NC rotary axis via MD32100 $MA_AX_MOTION_DIR.
MD32100 $MA_AX_MOTION_DIR
Traversing direction (not control direction)
-1
Direction reversal
0, 1
No direction reversal
Defining the direction of rotation
You set the directions of rotation for the user interface in the following machine data:
MD52207 $MCS_AXIS_USAGE_ATTRIB[n]
Attributes of the axes in the channel
[n] channel axis number
Bit 3
Displayed positive direction of rotation is counter-clockwise (for rotary axes)
The view must be from the inside of the machine (operator's view) to the axis of rotation.
Bit 4
Displayed direction of rotation for M3 is counter-clockwise (for spindles)
This bit can be set from the operator's view or according to DIN.
Bit 5
Direction of rotation for M3 corresponds to minus rotary axis (for spindles)
This bit must be set analogous to PLC bit DB31, ... DBX17.6!
As a result, the following setting options are obtained for the counterspindle:
Counterspindle direction of rotation
52207[n]
52207[n]
52207[n]
DB31, ...
bit 3 =
bit 4 = *)
bit 5 =
DBX17.6
1
1
0
0
0
&
1
0
1
1
0
&
SINUMERIK Operate
402
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.5 Turning
Counterspindle direction of rotation
52207[n]
52207[n]
52207[n]
DB31, ...
bit 3 =
bit 4 = *)
bit 5 =
DBX17.6
0
0
0
0
&
0
0
1
1
1
0
&
Note
MD52207[n] bit 4 = *)
Bit 4 can be set from the operator's view (values as specified) or according to DIN ("0" and "1" are
then interchanged).
The display must be the same for the main spindle and the counterspindle ("from operator's
view" or "according to DIN").
Dimensions
To define the reference point for moving the counterspindle, you must first announce the
dimensions of the counterspindle. You can either enter the dimensions in the following axis-
specific cycle machine data or in menu "Parameter" → "Setting data" → "Spindle chuck data".
Changes to the machine data are automatically accepted in the menu and vice versa.
MD53240 $MAS_SPINDLE_PARAMETER[ ]
Spindle chuck data
[0]
Chuck dimensions
[1]
Stop dimensions
[2]
Jaw dimensions
MD52241 $MCS_SPINDLE_CHUCK_TYPE
Spindle jaw type
= 0
Clamping, outer
= 1
Clamping, inner
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
403
Technologies and cycles
19.5 Turning
19.5.5
Setting up the counterspindle under ShopTurn
Software option
You require the following software option in order to use the counterspindle on your
machine:
"Generic coupling 'CP-STATIC'" or higher
The position to which the counterspindle travels when the program starts is defined in the
following channel-specific cycle setting data:
SD55232 $SCS_SUB_SPINDLE_REL_POS
Retraction position Z for counterspindle
The following channel-specific setting data becomes effective when traveling to the fixed stop:
SD55550 $SCS_TURN_FIXED_STOP_DIST
Distance for travel to fixed stop.
SD55551 $SCS_TURN_FIXED_STOP_FEED
Feedrate for travel to fixed stop.
SD55552 $SCS_TURN_FIXED_STOP_FORCE
Force for travel to fixed stop in %.
Between traveling to the fixed stop and gripping, the counterspindle can retract a short distance
to counteract compressive stress in the workpiece.
SD55553 $SCS_TURN_FIXED_STOP_RETRACTION
Retraction distance before clamping af-
ter fixed stop.
After gripping you can cut off the workpiece. Before doing so, the counterspindle can retract a
short distance with the workpiece to exert tensile stress on the workpiece. This relieves pressure
on the tool when cutting off.
SD55543 $SCS_TURN_PART_OFF_RETRACTION
Retraction distance before cut-off.
After cut-off, you can carry out a cut-off check and for turning, use the "Travel to fixed stop"
function. You can activate/deactivate the cut-off check using the channel-specific cycle setting
data:
SD55540 $SCS_TURN_PART_OFF_CTRL_DIST
Distance for cut-off check.
SD55541 $SCS_TURN_PART_OFF_CTRL_FEED
Feedrate for cut-off check.
SD55542 $SCS_TURN_PART_OFF_CTRL_FORCE
Force for cut-off check in %.
The cut-off is successful when travel to fixed stop fails. The following alarms are output:
Alarm
Alarm text
20091
Axis %1 has not reached the fixed stop.
20094
Axis %1 end stop has been aborted.
You can switch off the alarm display using the following machine data:
MD37050 $MA_FIXED_STOP_ALARM_MASK
Enabling the fixed stop alarms.
= 2
Suppressing alarms 20091 and 20094.
You can set this machine data axis-specifically in the "Machine Data" window in the "Tool zero"
operating area.
SINUMERIK Operate
404
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.5 Turning
If, however, the specified force is reached during the cut-off check (i.e. travel to fixed stop is
successful), alarm 61255 "Error during cut-off: Tool break?" is issued.
Note
The "Travel to fixed stop" function can also be used when gripping the spindle (see above). If
travel to fixed stop does not succeed when gripping, an alarm will of course still be issued.
Instead of alarms 20091 and 20094, the alarm 61254 "Error during travel to fixed stop" will be
issued.
Note
MD37050 can also contain values not equal to 2, e.g. 10 = 2 + 8. Make sure that the value 2 is
always contained logically so that the monitoring for travel to fixed stop can be hidden. If
MD37050 does not contain the value 2, the cut-off check is not active.
Machine manufacturer cycle
If you perform one of the following actions, you must adapt the machine manufacturer cycle
CUST_TECHCYC.SPF.
• Switch between spindle and C axis mode for the main spindle or counterspindle.
• Open, close, flush chuck (main spindle / counterspindle).
• Change default settings for the coupling of the main spindle and counterspindle.
Please refer to the following section for the procedure:
Setting-up ShopTurn cycles for turning (Page 399)
19.5.6
Technology cycles for turning
Thread-cutting (CYCLE99)
To correctly machine the thread, it is necessary to set the machine data MD52207
$MCS_AXIS_USAGE_ATTRIB[n] with bit 3, see Chapter: Setting up a counterspindle (Page 401).
Contour groovingCYCLE930, contour turning CYCLE950, stock removal at corner CYCLE951, contour
turning CYCLE952
SD55500 $SCS_TURN_FIN_FEED_PERCENT
Enter the finishing feedrate for complete ma-
chining, roughing and finishing. The percent-
age of the value corresponds to that entered
under parameter F (feedrate).
= 100
100% finishing feedrate
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
405
Technologies and cycles
19.5 Turning
SD55510 $SCS_TURN_GROOVE_DWELL_TIME
Dwell time, which is necessary between
grooving and retracting for grooving tech-
nology. Tool clearance time during grooving
at the base.
= > 0
Dwell time in seconds
= < 0
Dwell time in spindle revolutions
SD55580 $SCS_TURN_CONT_RELEASE_ANGLE
Angle, through which the tool is lifted from
the contour for contour turning, roughing.
= 45
Retraction angle of 45 degrees
Angle
SD55581 $SCS_TURN_CONT_RELEASE_DIST
Amount, by which the tool is lifted when
roughing a contour taking into account the
retraction angle SD55580
$SCS_TURN_CONT_RELEASE_ANGLE.
This also applies to stock removal, grooving
and plunge turning.
= 1
1 mm or 1 inch retraction distance
SD55582 $SCS_TURN_CONT_TRACE_ANGLE
The angle between cutting edge and con-
tour as of which rounding is performed on
the contour during contour turning in order
to remove residual material.
If the angle of the residual material is greater
than that specified in the setting data, the
tool will round the contour.
= 5
5 degree angle
&RQWRXU
$QJOH
&XUUHQW FXWWLQJ GHSWK '
5HVLGXDO PDWHULDO
SINUMERIK Operate
406
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.5 Turning
SD55583 $SCS_TURN_CONT_VARIABLE_DEPTH
Percentage of the changing cutting depth
when turning a contour
You can select changing the cutting depth
for stock removal and for removing residual
material.
= 20
20% variable cutting depth
SD55584 $SCS_TURN_CONT_BLANK_OFFSET
Safety clearance when avoiding obstacles, to
avoid collisions during approach or retrac-
tion from the machining.
This also applies to stock removal, grooving
and plunge turning.
= 1
1 mm or 1 inch blank allowance
SD55585 $SCS_TURN_CONT_INTERRUPT_TIME
Time for the feedrate interruption for con-
tour turning.
This also applies to stock removal, grooving
and plunge turning.
= > 0
Interruption time in seconds
= < 0
Interruption time in revolutions
= 0
No interruption
Note
The channel-specific cycle setting data SD55585 is only evaluated if
SD55586 $SCS_TURN_CONT_INTER_RETRACTION = 0.
SD55586 $SCS_TURN_CONT_INTER_RETRACTION
Retraction distance for contour turning
for feedrate interruption.
This also applies to stock removal,
grooving and plunge turning.
= > 0
Retraction distance at feed interruption
SD55585 $SCS_TURN_CONT_INTERRUPT_TIME has no effect.
= 0
No retraction distance
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
407
Technologies and cycles
19.5 Turning
SD55587 $SCS_TURN_CONT_MIN_REST_MAT_AX1
Limit value during contour turning for
removal of residual material in the di-
rection of axis 1 (for G18 Z).
This also applies to residual machining -
stock removal, grooving and plunge
turning.
50
The roughing step for residual machining is not executed, if the material to be removed is less
than 50% of the finishing allowance. The material is only removed when finishing.
Example: If the SD is set to 50% and the final machining allowance is 0.5 mm, any residual material less than
0.25 mm is not removed with the residual machining - but is removed during finishing. If during a
machining step, less residual material is present than defined in the SD, the error message "No material
present" is issued. This means that this residual material roughing step can be omitted because no
machining is performed.
SD55588 $SCS_TURN_CONT_MIN_REST_MAT_AX2
Limit value during contour turning for
removal of residual material in the di-
rection of axis 2 (for G18 X).
This also applies to residual machining -
stock removal, grooving and plunge
turning.
50
The roughing step for residual machining is not executed, if the material to be removed is less
than 50% of the finishing allowance. The material is only removed when finishing.
As the tool bends during plunge turning, the tool cannot travel right up to the contour during
stock removal. The lateral distance to the last cut by which the next cut is shortened is specified
in the following channel-specific cycle setting data.
SD55595 $SCS_TURN_CONT_TOOL_BEND_RETR
Retraction distance because of tool
bending
0.1
0.1 mm or 0.1 inch retraction distance
SINUMERIK Operate
408
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.5 Turning
a
a
X
Z
a
Distance to the last cut, SD55595
b
Retraction between plunge-cutting and stock removal, SD55596
As the tool bends during plunge turning, the tool would make an excessively deep cut during
stock removal. The retraction distance of the tool between plunge-cutting and stock removal is
specified in the following channel-specific cycle setting data:
SD55596 $SCS_TURN_CONT_TURN_RETRACTION
Retraction depth before turning
= 0.1
0.1 mm or 0.1 inch retraction depth
19.5.7
Axis configuration of a lathe
General configuration
If driven milling tools are available on a lathe, then the following functions can also be set-up on
this machine:
• Cylinder surface transformation (TRACYL) (Page 410)
• End face machining (TRANSMIT) (Page 414)
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
409
Technologies and cycles
19.5 Turning
Lathe with X and Z axes, main and tool spindle
For example, for a lathe with X and Z axes, main spindle (C1) and tool spindle (WZ), you can
configure the following channel-specific machine data:
MD20080 $MC_AXCONF_CHANAX_NAME_TAB[ ]
Channel axis name in the channel
[0] = XC
Channel axis XC
[1] = ZC
Channel axis ZC
[2] = C1
Main spindle C1
[3] = WZ
Tool spindle WZ
Lathe with X and Z axes, main and tool spindle and counterspindle
For example, for a lathe with X and Z axes, main spindle (C1), tool spindle (WZ) and
counterspindle (C2), you can configure the following machine data:
MD20080 $MC_AXCONF_CHANAX_NAME_TAB[ ]
Channel axis name in the channel
[0] = XC
Channel axis XC
[1] = ZC
Channel axis ZC
[2] = C1
Main spindle C1
[3] = WZ
Tool spindle WZ
[5] = C2
Counterspindle C2
Lathe with X and Z axes, main and tool spindle and Y axis
For example, for a lathe with X, Z and Y axes, main spindle (C1) and tool spindle (WZ), you can
configure the following machine data:
MD20080 $MC_AXCONF_CHANAX_NAME_TAB[ ]
Channel axis name in the channel
[0] = XC
Channel axis XC
[1] = ZC
Channel axis ZC
[2] = C1
Main spindle C1
[3] = WZ
Tool spindle WZ
[5] = YC
Channel axis YC
19.5.8
Cylinder surface transformation (TRACYL)
Software option
You require the following software option in order to use this function:
"Transmit and peripheral surface transformation"
Function
Using the cylinder surface transformation function (TRACYL), you can machine the peripheral
surface of a turned part.
SINUMERIK Operate
410
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.5 Turning
Setting up
General settings for cylinder transformation:
MD10602 $MN_FRAME_GEOAX_CHANGE_MODE
Frames when switching over geometry axes.
= 1
The actual total frame (work offsets) and when switching over geometry axes (selecting -
deselecting TRACYL) is recalculated.
MD24040 $MC_FRAME_ADAPT_MODE
Adapting the active frames.
Bit 0 = 1
Rotations in active frames that rotate coordinate axes for which there are no geometry axes,
are deleted from the active frames.
Bit 1 = 1
Shearing angles in active frames are made orthogonal.
Bit 2 = 1
Scaling factors of all geometry axes in the active frames are set to 1.
MD28082 $MC_MM_SYSTEM_FRAME_MASK
Bit 6 = 1
Configuration of the transformation frame for the compensation.
When setting up the functions, you can take the following channel-specific machine data into
account:
MD24300 $MC_TRAFO_TYPE_3
Cylinder surface transformation, main spin-
dle: Transformation 3
= 512
Without slot side offset (without Y axis)
= 513
With slot side offset (with Y axis)
= 514
With or without slot side offset and Y offset
MD24400 $MC_TRAFO_TYPE_4
Cylinder surface transformation, counter-
spindle: Transformation 4
= 512
Without slot side offset (without Y axis)
= 513
With slot side offset (with Y axis)
= 514
With or without slot side offset and Y offset
Note
You must also set up other machine data for each of the individual transformations.
Cylinder surface transformation without slot side offset
MD24300 $MC_TRAFO_TYPE_3
Definition of the 3rd transformation in the
channel.
= 512
TRACYL main spindle.
MD24310 $MC_TRAFO_AXES_IN_3[ ]
Axis assignment for transformation 3.
[0] = 1
Perpendicular to the rotary axis XC
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
411
Technologies and cycles
19.5 Turning
[1] = 3
Rotary axis (main spindle) C1
[2] = 2
Parallel to the rotary axis ZC
MD24320 $MC_TRAFO_GEOAX_ASSIGN_TAB_3[ ]
Assignment of geometry axes to channel ax-
es for transformation 3.
[0] = 1
1st channel axis X
[1] = 3
2nd channel axis Y
[2] = 2
3rd channel axis Z
MD24800 $MC_TRACYL_ROT_AX_OFFSET_1
Offset of the rotary axis for the 1st TRACYL
transformation.
= 0
MD24805 $MC_TRACYL_ROT_AX_FRAME_1
Axial offset of the rotary axis is taken into
account during TRACYL.
= 2
MD24810 $MC_TRACYL_ROT_SIGN_IS_PLUS_1
Sign of the rotary axis for the 1st TRACYL
transformation.
= 1
MD24820 $MC_TRACYL_BASE_TOOL_1[ ]
Vector of the base tool for the 1st TRACYL
transformation.
[0] = 0
[1] = 0
[2] = 0
Setting up cylinder surface transformation under ShopTurn
In addition, set the following channel-specific configuration machine data:
MD52214 $MCS_FUNCTION_MASK_MILL
Milling function screens
Bit 3
Enable "internal / rear" machining in ShopTurn screens that define the machining plane
themselves.
Bit 4
If you have implemented the "Clamp/release spindle" function using the machine manu-
facturer cycle CUST_TECHCYC.SPF, then using this machine data, you can activate the
"Clamp/release spindle" parameter in the drilling and milling screens.
= 0
The "Clamp/release spindle" parameter is not displayed in the drilling and milling screens.
ShopTurn automatically clamps the spindle if it makes sense for the particular machining
operation.
= 1
The "Clamp/release spindle" parameter is displayed in the drilling and milling screens.
The operator decides for which machining operation the spindle should be clamped.
Bit 8
Release damping brake (C axis)
SINUMERIK Operate
412
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.5 Turning
= 0
"Damping brake on/off" parameter is not displayed in the milling masks.
= 1
The "Damping brake on/off" parameter is displayed in the milling masks.
You decide for which machining operation (Face C/Per.surf.C) the C axis is braked.
If you have implemented the "Damping brake" function by means of the machine manu-
facturer cycle CUST_TECHCYC.SPF, you can activate the "Damping brake on/off" parameter
in the milling masks with this machine data.
Cylinder surface transformation with slot side offset
MD24300 $MC_TRAFO_TYPE_3
Definition of the 3rd transformation in the
channel.
= 513
TRACYL main spindle
MD24310 $MC_TRAFO_AXES_IN_3[ ]
Axis assignment for transformation 3.
[0] = 1
Perpendicular to the rotary axis XC
[1] = 3
Rotary axis (main spindle) C1
[2] = 2
Parallel to the rotary axis ZC
[3] = 6
Parallel to the cylinder surface and perpendicular to the rotary axis ZC
MD24320 $MC_TRAFO_GEOAX_ASSIGN_TAB_3[ ]
Assignment of geometry axes to channel ax-
es for transformation 3.
[0] = 1
1st channel axis X
[1] = 3
2nd channel axis Y
[2] = 2
3rd channel axis Z
MD24800 $MC_TRACYL_ROT_AX_OFFSET_1
Offset of the rotary axis for the 1st TRACYL
transformation.
= 0
MD24805 $MC_TRACYL_ROT_AX_FRAME_1
Axial offset of the rotary axis is taken into
account during TRACYL.
= 2
MD24810 $MC_TRACYL_ROT_SIGN_IS_PLUS_1
Sign of the rotary axis for the 1st TRACYL
transformation.
= 1
MD24820 $MC_TRACYL_BASE_TOOL_1[ ]
Vector of the base tool for the 1st TRACYL
transformation.
[0] = 0
[1] = 0
[2] = 0
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
413
Technologies and cycles
19.5 Turning
19.5.9
End face machining (TRANSMIT)
Software option
You require the following software option in order to use this function:
"Transmit and peripheral surface transformation"
Function
Using the end face machining function (TRANSMIT), you can machine the end face of a turned
part.
Setting up
For general settings for transformations, please refer to Chapter "Cylinder surface
transformation (TRACYL) (Page 410)".
You can make additional settings in the following channel-specific machine data:
MD24100 $MC_TRAFO_TYPE_1
End face machining, main spindle: Trans-
formation 1
= 256
Machining without Y axis
= 257
Machining with Y axis
MD24200 $MC_TRAFO_TYPE_2
End face machining, counterspindle:
Transformation 2
= 256
Machining without Y axis
= 257
Machining with Y axis
MD24110 $MC_TRAFO_AXES_IN_1[ ]
Axis assignment for the 1st transforma-
tion in the channel
[0] = 1
Perpendicular to the rotary axis XC
[1] = 3
Rotary axis (main spindle) C1
[2] = 2
Parallel to the rotary axis ZC
MD24120 $MC_TRAFO_GEOAX_ASSIGN_TAB_1[ ]
Assignment of the geometry axes to chan-
nel axes for transformation 1
[0] = 1
1st channel axis X
[1] = 3
2nd channel axis Y
[2] = 2
3rd channel axis Z
MD24900 $MC_TRANSMIT_ROT_AX_OFFSET_1
= 0
Offset of the rotary axis for the 1st TRANSMIT transformation.
SINUMERIK Operate
414
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.5 Turning
MD24905 $MC_TRANSMIT_ROT_AX_FRAME_1
= 2
Axial offset of the rotary axis is taken into account during TRANSMIT 1.
MD24910 $MC_TRANSMIT_ROT_SIGN_IS_PLUS_1
= 0
Sign of the rotary axis for the 1st TRANSMIT transformation.
MD24911 $MC_TRANSMIT_POLE_SIDE_FIX_1
= 1
Limitation of working range in front of/behind the pole, 1st TRANSMIT.
MD24920 $MC_TRANSMIT_BASE_TOOL_1[ ]
Vector of the base tool for the 1st TRANS-
MIT transformation.
[0] = 0
[1] = 0
[2] = 0
TRANSMIT with real Y axis
MD24100 $MC_TRAFO_TYPE_1
= 257
Definition of transformation 1 in the channel: TRANSMIT main spindle.
MD24110 $MC_TRAFO_AXES_IN_1[ ]
Axis assignment for the 1st transforma-
tion in the channel.
[0] = 1
Perpendicular to the rotary axis XC
[1] = 3
Rotary axis C1
[2] = 2
Parallel to the rotary axis ZC
MD24120 $MC_TRAFO_GEOAX_ASSIGN_TAB_1[ ]
Assignment of the geometry axes to chan-
nel axes for transformation 1.
[0] = 1
1st channel axis X
[1] = 3
2nd channel axis Y
[2] = 2
3rd channel axis Z
MD24900 $MC_TRANSMIT_ROT_AX_OFFSET_1
= 0
Offset of the rotary axis for the 1st TRANSMIT transformation.
MD24905 $MC_TRANSMIT_ROT_AX_FRAME_1
= 2
Axial offset of the rotary axis is taken into account during TRANSMIT 1.
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
415
Technologies and cycles
19.5 Turning
MD24910 $MC_TRANSMIT_ROT_SIGN_IS_PLUS_1
= 0
Sign of the rotary axis for the 1st TRANSMIT transformation.
MD24911 $MC_TRANSMIT_POLE_SIDE_FIX_1
= 1
Limitation of working range in front of/behind the pole, 1st TRANSMIT.
MD24920 $MC_TRANSMIT_BASE_TOOL_1[ ]
Vector of the base tool for the 1st TRANS-
MIT transformation.
[0] = 0
[1] = 0
[2] = 0
Additional settings for rotary axes
If you want to integrate rotary axes, in addition to the following machine data you also require
MD28082 with bit 6, see Chapter "Cylinder surface transformation (TRACYL) (Page 410)".
MD24906 $MC_TRANSMIT_BASE_TOOL_COMP_1
Compensation of the basic offset in the 1st
transformation frame.
Bit 0
1st geometry axis
Bit 1
2nd geometry axis
Bit 2
3rd geometry axis
MD24956 $MC_TRANSMIT_BASE_TOOL_COMP_2
Compensation of the basic offset in the 2nd
transformation frame.
Bit 0
1st geometry axis
Bit 1
2nd geometry axis
Bit 2
3rd geometry axis
Additional information can be found in Chapter "Clamping a blank (Page 165)".
Face machining under ShopTurn
If you wish to use the face machining function under ShopTurn function, set the following
additional channel-specific configuration machine data:
MD52214 $MCS_FUNCTION_MASK_MILL
Function screens, ShopTurn.
Bit 3
Enable "internal / rear" machining in ShopTurn screens that define the machining plane
themselves.
Bit 4
If you have implemented the "Clamp/release spindle" function using the machine manufac-
turer cycle CUST_TECHCYC.SPF, then using this machine data, you can activate the "Clamp/
release spindle" parameter in the drilling and milling screens.
SINUMERIK Operate
416
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
Technologies and cycles
19.5 Turning
= 0
The "Clamp/release spindle" parameter is not displayed in the drilling and milling screens.
ShopTurn automatically clamps the spindle if it makes sense for the particular machining
operation.
= 1
The "Clamp/release spindle" parameter is displayed in the drilling and milling screens. The
operator decides for which machining operation the spindle should be clamped.
Note
The face end machining is automatically integrated in the cycles, with the exception of the
straight line and circle.
You can select the functions for these two cycles in the "Program" operating area at "Straight line"
and "Circle".
Additional information
You can find additional information about face (end) side machining in the
Function Manual Transformations.
19.5.10
Inclined Y axis (TRAANG)
Software option
You require the following software option in order to use the inclined Y axis function
on your machine:
"Inclined axis"
Function
If your turning machine has an inclined Y axis (i.e. this axis is not perpendicular to axes X and Z),
you can still completely program machining operations in Cartesian coordinates. The control
uses the inclined axis function (TRAANG) to transform the Cartesian coordinates to the motion
of the inclined axis.
Setting up
You still have to set up the inclined axis function (TRAANG) via machine data.
SINUMERIK Operate
Commissioning Manual, 10/2020, 6FC5397-1DP40-6BA4
417
|