Sinumerik Sinumerik 828D Turning and Milling
Sinumerik Sinumerik 828D Turning and Milling
Preface Hyperlink
Error!
OptimizingHyperlink
a drive 7
Error! Hyperlink
Service Planner 8
Error! Hyperlink
Easy Extend 9
Error! Hyperlink
Tool management 10
Error! Hyperlink
Easy Archive 11
Error!
Appendix Hyperlink A
Valid for:
03/2013
6FC5397-3DP40-3BA1
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
indicates that minor personal injury can result if proper precautions are not taken.
NOTICE
indicates that property damage can result if proper precautions are not taken.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified for the specific
task in accordance with the relevant documentation, in particular its warning notices and safety instructions.
Qualified personnel are those who, based on their training and experience, are capable of identifying risks and
avoiding potential hazards when working with these products/systems.
Proper use of Siemens products
Note the following:
WARNING
Siemens products may only be used for the applications described in the catalog and in the relevant technical
documentation. If products and components from other manufacturers are used, these must be recommended
or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and
maintenance are required to ensure that the products operate safely and without any problems. The permissible
ambient conditions must be complied with. The information in the relevant documentation must be observed.
Trademarks
All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in this publication
may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
SINUMERIK documentation
The SINUMERIK documentation is organized in the following categories:
● General documentation
● User documentation
● Manufacturer/service documentation
Additional information
You can find information on the following topics under the link
(www.siemens.com/motioncontrol/docu):
● Ordering documentation/overview of documentation
● Additional links to download documents
● Using documentation online (find and search in manuals/information)
Please send any questions about the technical documentation (e.g. suggestions for
improvement, corrections) to the following address:
(mailto:docu.motioncontrol@siemens.com)
Training
For information about the range of training courses, refer under:
● SITRAIN (www.siemens.com/sitrain) - training courses from Siemens for automation
products, systems and solutions
● SinuTrain (www.siemens.com/sinutrain) - training software for SINUMERIK
FAQs
You can find Frequently Asked Questions in the Service&Support pages under Product
Support (www.siemens.com/automation/service&support).
SINUMERIK
You can find information on SINUMERIK under the following link:
(www.siemens.com/sinumerik)
Target group
This documentation is intended for commissioning personnel.
The plant or system is readily assembled and wired. For the following steps, e.g. configuring
the individual components, the Commissioning Manual contains all necessary information or
at least references.
Benefits
The intended target group can use the Commissioning Manual to test and commission the
system or the plant correctly and safely.
Utilization phase: Setup and commissioning phase
Standard version
This documentation only describes the functionality of the standard version. Extensions or
changes made by the machine manufacturer are documented by the machine manufacturer.
Other functions not described in this documentation might be executable in the control. This
does not, however, represent an obligation to supply such functions with a new control or
when servicing.
Further, for the sake of simplicity, this documentation does not contain all detailed
information about all types of the product and cannot cover every conceivable case of
installation, operation or maintenance.
Technical Support
Country-specific telephone numbers for technical support are provided in the Internet under
"Contact" (www.siemens.com/automation/service&support).
EC Declaration of Conformity
The EC declaration of conformity for the EMC directive can be found in the Internet
(www.siemens.com/automation/service&support).
There, as search term, enter the number 15257461 or contact your local Siemens office.
Preface ...................................................................................................................................................... 3
1 Scope of delivery and requirements ........................................................................................................ 11
1.1 System overview ..........................................................................................................................11
1.2 Commissioning and service tools ................................................................................................13
1.3 Commissioning process...............................................................................................................15
1.3.1 Guide to the documentation.........................................................................................................15
1.4 Starting up the control..................................................................................................................18
1.5 Communication with the control...................................................................................................21
1.5.1 Communicating with the control via X130....................................................................................21
1.5.2 How to communicate with the control using the Programming Tool............................................23
1.5.3 How to communicate with the control via Access MyMachine ....................................................26
1.5.4 Example: How to communicate with the control using the NCU Connection Wizard..................29
2 Introduction and use of data classes........................................................................................................ 33
2.1 Data classes in the NCK ..............................................................................................................34
2.2 Data classes in the PLC...............................................................................................................37
2.3 Data classes in the operating software........................................................................................38
3 Operating software settings ..................................................................................................................... 41
3.1 Access levels ...............................................................................................................................41
3.2 How to set and change the password..........................................................................................43
3.3 How to set the date and time .......................................................................................................44
3.4 Setting the operating software languages ...................................................................................45
3.4.1 Available system languages and language extensions ...............................................................45
3.4.2 Entering Asian characters using the Input Method Editor ...........................................................45
3.4.3 This is how you enter the Chinese character...............................................................................47
3.4.4 This is how you enter Korean characters ....................................................................................48
3.5 Checking and entering licenses ...................................................................................................50
3.5.1 How to enter a license key...........................................................................................................50
3.5.2 This is how you determine missing licenses/options ...................................................................52
3.5.3 Definitions for license management.............................................................................................53
3.6 Configuring PLC user alarms.......................................................................................................55
3.6.1 Structure of user PLC alarms.......................................................................................................56
3.6.2 How to create user PLC alarms ...................................................................................................57
3.6.3 Configuring the alarm log.............................................................................................................59
3.6.4 How to configure the log ..............................................................................................................60
3.7 Creating OEM-specific online help ..............................................................................................63
3.7.1 Structure and syntax of the configuration file...............................................................................64
3.7.2 Structure and syntax of the help book .........................................................................................65
A Appendix................................................................................................................................................ 401
A.1 Table: Language code in file names ......................................................................................... 401
A.2 List of abbreviations .................................................................................................................. 402
A.3 Documentation overview SINUMERIK 828D ............................................................................ 405
Glossary ................................................................................................................................................ 407
Index...................................................................................................................................................... 415
&RPSDQ\QHWZRUN ,QGXVWULDO(WKHUQHW
6,180(5,.'
3HHUWRSHHU
1RQFURVVRYHU
PRGHPFDEOH
6,1$870'
3*3&
'5,9(&/L4
3/&,2LQWHUIDFHV
[KDQGZKHHO EDVHGRQ352),1(7
6,1$0,&66
0&331
60&
600
600
600
600
6/0
33'31
6\QFKURQRXV
PRWRU
33'$31 6\QFKURQRXVPRWRU
,QGXFWLRQPRWRU
6\QFKURQRXVPRWRU
SINUMERIK 828D
BASIC T
BASIC M DMC20/DME20
Up to 5 linear scales
DRIVE-CLiQ
SINAMICS S120
TTL spindle encoder SINAMICS S120
Combi
Motor Module
Booksize Compact format
Optional line Line
filter reactor
3-ph.
380 ... 480 V AC
Spindle motor Feed motor 1FK7 Feed motor 1FK7 Feed motor 1FK7 Feed motor 1FK7
1PH8 auxiliary spindle 1PH8
Figure 1-2 Configuration example 2: SINUMERIK 828D BASIC T/M with S120 Combi
Toolbox CD
The Toolbox CD for SINUMERIK 828D has the following content:
● PLC Programming Tool for Integrated PLC
● Commissioning software for SINAMICS S120
● PLC Library (example)
Note
Ordering data
The ordering data for the following tools can be found in Catalogs NC 82 and NC 62.
PLC:
General conditions
This manual assumes the following general conditions:
● The mechanical and electrical installation of the system must have been completed.
● Check the system visually for:
– Correct mechanical installation with secure electrical connections
– Connection of the power supply
– Connection of shielding and grounding
● Switching on the control and startup in "Normal startup":
The control has finished booting when the main screen of the operating software is
displayed.
References
Detailed information on cycle startup under SINUMERIK Operate can be found in the
Commissioning Manual Operating Software and Basic Software, SINUMERIK Operate (IM9),
Section "Configuring cycles".
Control startup
Procedure:
1. Switch the control on. The following display then appears during startup:
Selection Function
Normal startup The system carries out a normal startup.
Reload saved user data The system loads the stored user data ("Save data" softkey)
from the system CompactFlash card.
Install software update/backup An update is installed on the system CompactFlash card from
the user CompactFlash card or USB FlashDrive.
Create software backup A backup of the system CompactFlash card is saved to the user
CompactFlash card or USB FlashDrive.
Selection Function
NCK default data The system loads the Siemens NCK data default settings and
deletes the retentive data on the PLC.
Drive default data The SINAMICS user data is deleted.
PLC default data PLC general reset and load default NOP PLC program.
HMI default data User data in the directory /user is deleted.
Factory settings Choice between two cases: No [case 1]/ Yes [case 2]
Case 1:
Note
Replacement of the system CompactFlash card between different PPUs
Because of the system-related dependency between the CompactFlash card and SRAM for
the data storage in the SINUMERIK 828D, the system CompactFlash card should be
considered as a permanently installed EEPROM and should not be replaced!
If this has to be performed for imperative reasons, the replacement of the system
CompactFlash card is detected during startup because of the stored serial number.
The reaction of the control is the loading of saved during startup (backup was performed
previously with "Save data" softkey). If no stored data is found, a startup is performed
automatically with the "NCK default data".
The capacitor is then charged again when the control is switched on during startup.
Availability
The availability describes the percentage of faulty data compared to the entire data volume.
Problems in the company network (e.g. logical drives that cannot be reached, double IP
address, etc.) as well as settling time during power up can result in fluctuations in availability:
green Greater than 95%
yellow 50 - 95 %
Note
All information that is not available is marked in the relevant table line with a hyphen "-".
1.5.2 How to communicate with the control using the Programming Tool
2. In the navigation bar, click the "Communication" icon or select "View" → "Communication"
from the menu.
3. In the left column, under "Communications parameters" enter 192.168.215.1as the IP
address for X127.
4. Double-click the "TCP/IP" icon at the top right.
5. In the dialog "PG/PC interface" select the TCP/IP protocol of the PG/PC. Normally this is
the network card of the PC.
Connection options
The following options are available for "Access MyMachine" to establish a connection to the
control.
● Direct connection (peer-to-peer)
● Network connection
The current status of the connection is displayed at the bottom in the status bar of Access
MyMachine.
Disconnect
Remote control
Note
Generally only one connection is permitted, i.e. several simultaneous connections to different
controls are not supported: Data exchange between two controls by means of "Access
MyMachine" is therefore not possible.
Direct connection
To create a direct connection:
1. The login data is entered in the dialog "Settings" → "Connection" → "Direct connection":
2. In the menu, select "Connection" → "Connect" → "Direct connection" or click the "Connect"
button.
The following dialog box is displayed:
3. The last selected direct connection is highlighted. Using the "Connect" button, a
connection to the IP address196.168.215.1 is created.
This dialog does not appear when the direct connection is selected using the menu.
Network connection
To create a network connection:
1. In the menu, select "Settings" → "Connection" → "Direct connection" or click the "Connect"
button.
Note
SSh key file
As an alternative to entering a password, the user may also use an SSh key for
authentication. Please refer to the Online Help for more information on this topic.
1.5.4 Example: How to communicate with the control using the NCU Connection
Wizard
Requirements
The commissioning software for SINAMICS S120 is installed on the PG/PC. The "NCU
Connection Wizard" is part of this software.
The connection to the control has already been set up via the PLC Programming Tool.
2. In the "Select Control Model" dialog, select "840D solution line" for the NCU type
connection to the SINUMERIK 828D.
3. In the "Select Port" dialog, select the connection to the control that you have connected
via Ethernet.
4. Confirm the cable connection for both devices in the"Cabling Help" dialog.
5. Check the IP address and enter the name for these settings in the "Settings" dialog.
Classification
All control-relevant data is classified into data classes regarding its later use in
commissioning, software upgrade, software update and component replacement. Data is
classified according to four data classes: M (Manufacturer), I (Individual), U (User) and
S (System)
The definition of the data class of the data content can only be "less than or equal to" the
data class of the definition. Any other configurations are rejected with an alarm.
For this purpose, the following weighting of the data classes is assumed: M > I > U
Example
The data classes are assigned to the block in the dialog "Properties":
1. In the menu,"View" > "Data block", select a data block.
2. In the menu "View" → select "Properties" to change the data class.
The directories "System" and "Siemens" have no significance for archiving, since they are
set up with the installation of the SINUMERIK software and are not changed by installation,
configuration or in later use. An update or upgrade of the system will typically be carried out
in these directories. The archiving of these directories is for this reason only necessary as a
rollback backup in the background.
Further subdividing of these directories into SINUMERIK NCK / PLC / HMI and SINAMICS
covers the data areas described above and is echoed in all named directories (data classes).
siemens directory
/siemens/sinumerik
/hmi
/appl Applications (operating areas)
/base Basic system components
/cfg All configuration files
/data Version data
siemens directory
/hlp Online help files
/hlps Online help files, zipped and version files
/ico Icon files
/ico640 Icons with a resolution 640x480
/ico800 Icons with a resolution 800x600
/ico1024 Icons with a resolution 1024x768
/ico1280 Icons with a resolution 1280x1024
/ico1600 Icons with a resolution 1600x1240
/lng Text files
/lngs Text files zipped and versions files
/osal
/ace ACE/TAO
/qt Qt
/proj Easy Screen configurations
/template Various templates
/cfg Templates for configuration files
/ing Templates for text files
/tmpp Storage, temporary data
addon directory
/addon/sinumerik
/hmi
/appl Applications (operating areas)
/cfg Configuration files
/data Version data
/hlp Online help files, zipped and version files
/ico Icon files
/ico640 Icons with a resolution 640x480
/ico800 Icons with a resolution 800x600
/ico1024 Icons with a resolution 1024x768
/ico1280 Icons with a resolution 1280x1024
/ico1600 Icons with a resolution 1600x1240
/lng Text files
/lngs Text files zipped and versions files
/proj Easy Screen configurations
/template Various templates
oem directory
/oem/sinumerik
/data Version data
/archive Manufacturer archives
/hmi
/appl Applications (operating areas)
/cfg Configuration files
/data Version data
/hlp Online help files
/hlps Online help files, zipped and version files
/ico Icon files
/ico640 Icons with a resolution 640x480
/ico800 Icons with a resolution 800x600
/ico1024 Icons with a resolution 1024x768
/ico1280 Icons with a resolution 1280x1024
/ico1600 Icons with a resolution 1600x1240
/lng Text files
/lngs Text files zipped and versions files
/proj Easy Screen configurations
/template Various templates
user directory
/user/sinumerik
/data Version data
/archive User-specific archives
/prog User-specific programs
/hmi
/cfg Configuration files
/data Version data
/hlp Online help files
/ico Icon files
/ico640 Icons with a resolution 640x480
/ico800 Icons with a resolution 800x600
/ico1024 Icons with a resolution 1024x768
/ico1280 Icons with a resolution 1280x1024
/ico1600 Icons with a resolution 1600x1240
/lng Text files
/log Log files
/md Machine data views
/proj Easy Screen configurations
The password remains valid until it is reset with the "Delete Password" softkey. The
passwords can be changed after activation.
If, for example, the passwords are no longer known, reinitialization (boot-up with
"NCK default data") must be carried out. This resets all passwords to the default (see table).
POWER ON does not reset the password.
Key-operated switch
Access levels 4 to 7 require a corresponding key-operated switch setting on the machine
control panel. Three keys of different colors are provided for this purpose. Each of these
keys provides access only to certain areas.
The key-operated switch setting must always be edited from the PLC user program and applied to the
interface accordingly.
See also
The password can also be deleted via the PLC (PI services: PI LOGOUT).
Function Manual Basic Functions, Section "PLC for SINUMERIK 828D" (P4)
Set password
To change the access level, select the "Start-up" operating area:
1. Press the "Password" softkey.
2. Press the "Set password" softkey to open the following dialog:
3. Enter a password and confirm this with "OK" or with the <Input> key.
A valid password is acknowledged as set and the currently applicable access level is
displayed. Invalid passwords will be rejected.
4. You must delete the old password before activating a password for a lower access level
than the one activated.
The last valid password is deleted by pressing the "Delete password" softkey. Then the
current key-operated switch setting is valid.
Change password
To change the password:
1. Press the "Change password" softkey to open the following dialog:
2. Enter the new password in both fields and then confirm with the "OK" softkey. If both
passwords match, the new password becomes valid and is adopted by the system.
Precondition
Changes can only be made with the appropriate access authorization (as of "User" and
higher).
Note
Synchronization of time
The SINAMICS drives have no real-time clock. The time of day and date of the SINAMICS
clock are synchronized in a 10-second cycle with the SINUMERIK real-time clock.
The result is that after a change of the date and/or the clock of the SINUMERIK real-time
clock up to 10 seconds expire until this change has been synchronized with the SINAMICS
drives.
If, in this up period of up to 10 seconds, SINAMICS alarms occur (alarm numbers 200000 -
299999), this SINAMICS alarms still receive the outdated date / time stamp. The
SINUMERIK alarms (alarm numbers < 200000 and > 300000) triggered as a result of the
SINAMICS alarms, on the other hand, already receive the new date/ time stamp.
System languages
In the basic configuration, the SINUMERIK 828D is delivered with the following system
languages:
● English
● French
● German
● Italian
● Korean
● Portuguese (Brazil)
● Chinese (simplified)
● Spanish
● Chinese (traditional)
All system languages are installed in the SINUMERIK 828D as delivered, so that a change of
language can be carried out directly via the user interface, without having to download
system language data.
Additional languages
Additional system languages are available on the language extensions DVD. Installation
instructions are provided on the DVD.
The editor opens a learning function if a phonetic spelling is entered, for which there is no
match in the control system. This function allows syllables or words to be combined, which
are then permanently available after saving. The editor displays the combination of Chinese
characters next to the pinyin phonetic spelling. After being completely compiled, the word
should then be saved by pressing the <Input> key. It is simultaneously inserted in the
associated text box.
When the cursor is positioned in the upper field, you can undo the combination by
pressing the <backspace> key.
Press the <Delete> key if you want to delete the currently displayed group of
characters from the dictionary.
Importing a dictionary
A dictionary can now be generated using any Unicode editor by attaching the corresponding
Chinese characters using the pinyin phonetic spelling. If the phonetic spelling contains
several Chinese characters, then the line must not contain any additional match. If there are
several matches for one phonetic spelling, then these must be specified in the dictionary line
by line. Otherwise, several characters can be specified for each line.
The generated file should be saved in the UTF8 format under the name chs_user.txt
(simplified Chinese) or cht_user.txt (traditional Chinese).
Line structure:
Pinyin phonetic spelling <TAB> Chinese character <LF>
OR
../oem/sinumerik/hmi/ime/
When the Chinese editor is called the next time, this enters the content of the dictionary into
the system dictionary.
Example:
Note
The dictionaries are also stored in the commissioning archive when "HMI data" is selected
(see also: Saving data in archives (Page 390))
If you switch over the option button to enter a Latin letters using the <SELECT> key, then the
entries are directly transferred into the text box that had the focus before the Chinese editor
was opened.
Use
The use of the installed system software and the options activated on a SINUMERIK control
system require that the licenses purchased for this purpose are assigned to the hardware. In
the course of this assignment, a license key is generated from the license numbers of the
system software, the options, as well as the hardware serial number. Here, a license
database administered by Siemens is accessed via the Internet. Finally, the license
information including the license key is transferred to the hardware.
The license database can be accessed using the Web License Manager.
Note
SINUMERIK software products
If a license key has not been activated or does not exist for a SINUMERIK software product,
alarm 8081 is output by the control and NC START cannot be executed.
See also
Definitions for license management (Page 53)
Requirement
The appropriate licenses are required for the activated options. After licensing the options in
the Web License Manager, you receive a "license key" containing all options requiring a
license and which is only valid for your system CompactFlash card.
To set or reset options, "Manufacturer" access rights are required.
4. Press the softkey "Set option according to license", to activate all of the options contained
in the license key. Confirm the following confirmation prompt with "OK".
5. To activate new selected options, press the "Reset (po)" softkey. A safety prompt
appears.
6. Press the "OK" softkey to trigger a warm restart.
- OR -
7. Press the "Cancel" softkey to cancel the process.
Product
A product is marked by the data below within the license management of SINUMERIK
→ software products:
● Product designation
● Order number
● → License number
Software product
The term software product is generally used to describe a product that is installed on a piece
of → hardware to process data. Within the license management of SINUMERIK software
products, a corresponding → license is required to use each software product.
Hardware
In the context of license management of SINUMERIK → software products, hardware refers
to the component of a SINUMERIK control system to which → licenses are assigned on the
basis of its unique identifier. The license information is also saved to non-volatile memory on
this component, e.g. on a → CompactFlash card.
CompactFlash card
As the carrier of all non-volatile data in a SINUMERIK solution line control system, the
CompactFlash card represents the identity of this control system. The CompactFlash card is
a memory card that can be plugged into the → control unit from outside. The CompactFlash
card also contains the following data relevant for the license management:
● → Hardware serial number
● License information including the → license key
License
A license gives the user the legal right to use a → software product. Evidence of this right is
provided by the following:
● → Certificate of License (CoL)
● → License key
License number
The license number is the feature of a → license used for its unique identification.
License key
The License Key is the "technical representative" of the sum of all the → licenses that are
assigned to one particular piece of → hardware, which is uniquely marked by its → hardware
serial number.
Option
One option is a SINUMERIK → software product that is not contained in the basic version
and which requires the purchase of a → license for its use.
References
Description of the alarms with system responses and cancel criteria in: SINUMERIK 828D
Diagnostics Manual
2LOSUHVVXUHWRRORZ
$[LV G DWUHVWSRVLWLRQ
The table below shows the mode of operation of the PLC alarms:
1. The alarm is triggered with the appropriate number and output via the PLC signal.
2. If a variable has been configured to this alarm, the value of this variable is in the specified
data word of the PLC variable.
3. The NCK response when the alarm is triggered is defined in the MD14516[x] index (see
table below).
4. The alarm text can be freely selected and may be up to 255 characters long.
Alarm number PLC signal PLC variable Alarm response Alarm text
(MD)
700000 DB1600.DBX0.0 DB1600.DBD1000 14516[0] Alarm 1
700001 DB1600.DBX0.1 DB1600.DBD1004 14516[1] Alarm 2
700002 DB1600.DBX0.2 DB1600.DBD1008 14516[2] Alarm 3
700003 DB1600.DBX0.3 DB1600.DBD1012 14516[3] Alarm 4
700004 DB1600.DBX0.4 DB1600.DBD1016 14516[4] Alarm 5
700005 DB1600.DBX0.5 DB1600.DBD1020 14516[5] Alarm 6
700006 DB1600.DBX0.6 DB1600.DBD1024 14516[6] Alarm 7
Continuation:
700247 DB1600.DBX30.7 DB1600.DBD1988 14516[247] Alarm 248
MD14516[x] Meaning
Bit 0 NC start disabled
Bit 1 Read-in disable
Bit 2 Feed hold for all axes
Bit 3 EMERGENCY STOP
Bit 4 PLC in stop
Bit 5 Reserved
Bit 6 Definition for alarm or message
Bit 6=1: → alarm, Bit 6=0: → message
Bit 7 POWER ON
Variable Meaning
%b Binary representation of a 32-bit value
%d Integer decimal number
%f 4 byte floating point number
%i Integer decimal number with sign
%o Integer octal number
%u Unsigned decimal number
%x Integer hexadecimal number
Procedure
To edit a larger number of alarms, first create 2 or 3 alarms directly on the control. Then the
file oem_alarms_plc_xxx.ts is created and you have a "document template" with the correct
structure, which you can then extend with further alarms. The abbreviation "xxx" stands for
the language in which the file has been created.
1. Select the "Start-up" operating area.
2. Press the "HMI" softkey.
3. Press the "Alarm texts" softkey. The "Select file" window appears.
4. Select "oem_alarms_plc" to create user PLC alarm texts.
5. Enter the alarm number in the "Number" field and the desired alarm text in the "Text"
field. The alarm numbers and their alarm texts do not have to be consecutive. If an alarm
is triggered without a configured text, only the alarm number is specified.
See also
Table: Language code in file names (Page 401)
Example: How to create an online help for user PLC alarms (Page 73)
Logging
Configure the alarm log in the "Diagnostics" operating area.
All alarms and messages are logged in chronological order with their raised and cleared time
stamps. The exception are messages of the type "msg" from the NC part program. All alarms
and messages that are no longer active when the log is displayed are also retained
(historical alarm events).
The alarm log is organized as a ring buffer (default setting). The oldest entries are
overwritten with new events in the following cases:
● When the maximum size is exceeded (permissible range: 0 - 32000).
● When the events happened before the last time the system was switched on.
Permanent backup
To save the alarm log permanently, the alarm log is written to the CompactFlash card.
Note
Saving the alarm log
For permanent storage, the alarm log is written to the CompactFlash card which only allows
a limited number of write cycles.
Therefore, ensure that the backup is only performed when there is a justifiable need!
Make sure you undo the setting "on every event" if you no longer require storage of the
alarm log.
Default setting: The alarm log is not backed up.
Filtering alarms
Set up a filter to limit the number of events in the alarm log. Select the range for the following
filters:
● Time interval
● Alarm number range
The number of events to be output and the type of logging can also be entered directly via
the user interface:
1. Press the "Alarm log" → "Settings >" softkey in the "Diagnostics" operating area.
As soon as changes are made to the default settings, the "slaesvcconf.xml" file is
automatically created in the /user/sinumerik/hmi/cfg directory.
2. Enter the mode of the permanent storage in the <DiskCare type="int" value="-1"/>
identifier. The following values are possible:
-1: There is no saving of the alarm log (default setting).
0: Each alarm event triggers an immediate saving of the alarm log.
>0: Time for saving the log in seconds:
When there is a change, the log is saved every n > 0 seconds.
3. You adapt the filter for the entry type in the <Filter> identifier.
Here the following applies:
– An alarm event is only entered in the log when it satisfies the filter criteria.
– When several filters are defined, these should be linked using the logical operators
OR or AND.
The settings become effective only after restarting the system.
Note
Number of events
Each incoming or outgoing event of an alarm or message requires a separate entry, even
when they belong to the same alarm or message.
Acknowledgement events are also contained in the alarm log. They also require an entry
even when they are not recognizable in the alarm log.
Examples
All alarms that fulfill the following conditions are logged:
● CLEARINFO ≠ 15, therefore without part program messages:
<CONFIGURATION>
<Protocol>
<Filters>
<Siemens_Filter_01 type="QString" value="CLEARINFO NOT 15" />
</Filters>
</Protocol>
</CONFIGURATION>
<CONFIGURATION>
<Protocol>
<Filters>
<Filter_01 type="QString" value= "SEVERITY HIGHER 10
AND SEVERTY LOWER 500" />
</Filters>
</Protocol>
</CONFIGURATION>
Overview
In addition to the existing system online help, you also have the option of creating a
manufacturer-specific online help and adding this to the operator software.
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 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.
General sequence:
1. Generating HTML files
2. Generating a help book
3. Integrating the online help in the operator software
4. Saving help files in the target system
● Two two-stage entry, whereby each title has a main and a subentry.
Separate the entries with a comma.
<INDEX_ENTRY ...title="mainIndex_1,subIndex_1 with mainIndex_1"/>
● Two-stage entry, whereby the first title is the main entry and the second title is the
subentry.
Separate the entries with a semicolon.
<INDEX_ENTRY ...title="mainIndex_2;subIndex_2
without mainIndex_1"/>
See also: Example: How to create an online help for user PLC alarms (Page 73)
● The contents of HTML documents must be saved with the UTF-8 coding. This guarantees
that the HTML documents are correctly displayed in all of the supported country
languages.
HTML tags
The following sub-set of the HTML functional scope is supported:
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)
CSS properties
The following table includes the supported CSS functional scope:
3.7.4 Example: This is how you generate an OEM-specific online help book
Requirements
Generate the following files:
● Configuration file: "slhlp.xml"
2. Create a directory for the desired language of the online help under the following
path: /oem/sinumerik/him/hlp
Use the specified language code from Chapter Table: Language code in file names
(Page 401).
Note
Notation
The directory names must be written in lower case.
For example, if you are integrating a help in English, create an "eng" folder.
Note
Updates or changes
When displaying the table of contents and index of a help book, for quicker processing, the
help files are saved in the binary format in the /siemens/sinumerik/sys_cache/hmi/hlp
directory: slhlp_<Hilfebuch>_*_<lng>.hmi .
In the example: slhlp_hmi_myhelp_*_eng.hmi
These files must first be deleted so that the changes can take effect and be displayed in the
online help.
Result
The book consists of three chapters with sections:
3.7.5 Example: How to create an online help for user PLC alarms
Overview
If a user PLC alarm is triggered, a context-sensitive online help can be created for the
respective alarm, e.g. with explanation and remedy. The online help texts for the user PLC
alarms are managed in the following file: "sinumerik_alarm_oem_plc_pmc.html"
Entry Meaning
<a name="AlarmNo">AlarmNo</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.
sinumerik_alarm_oem_plc_pmc.html
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<!DOCTYPE html PUBLIC>
<html>
<head><title></title></head>
<body>
<table>
...
<tr>
<td width="15%">
<b><a name="700004">700004</a></b></td>
<td width="85%"><b>Help for user PLC alarm 700004 </b></td></tr>
<tr><td valign="top" width="15%"><b>Reaction: </b></td>
<td width="85%">Reaction for user PLC alarm 700004 </td></tr>
<tr><td valign="top" width="15%"><b>Remedy:</b></td>
<td width="85%">Restart control. </td>
</tr>
<br>
<tr>
<td width="15%">
<b><a name="700005">700005</a></b></td>
<td width="85%"><b>Help for user PLC alarm 700005 </b></td></tr>
<tr><td valign="top" width="15%"><b>Reaction: </b></td>
<td width="85%">Reaction for user PLC alarm 700005 </td></tr>
<tr><td valign="top" width="15%"><b>Remedy:</b></td>
<td width="85%">Clear alarm with Reset key. </td>
</tr>
<br>
sinumerik_alarm_oem_plc_pmc.html
...
</table>
<p></p>
</body>
</html>
Procedure:
1. Copy the file to one of the following directories:
/oem/sinumerik/hmi/hlp/<lng>/sinumerik_alarm_plc_pmc/
/user/sinumerik/hmi/hlp/<lng>/sinumerik_alarm_plc_pmc/
3.7.6 Example: This is how you generate an online help for NC/PLC variables
Overview
In order to generate 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.
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
<lng>/<name>2.html
language-dependent and are saved in the relevant
. . .
<lng>/<name>n.html
language directory <lng>.
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
DB1600.DBB0 = 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
/user/sinumerik/hmi/hlp/<lng>/
Requirements
Generate 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
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 hmi_prog_help.xml file there
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 brief description 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/him/hlp/<lng>/hmi_prog_help/cycle<n>_help.html
See also
Example: This is how you generate an OEM-specific online help book (Page 70)
The SINUMERIK 828D works with a fixed maximum configuration of the I/O modules. As
delivered, the data transfer to the input and output image of the PLC is deactivated for all I/O
modules.
Field with logical input addresses:
Example
There are two PP modules, the machine control panel and the SENTRON PAC4200
activated:
Note
The use of an input/output address of a deactivated module in the PLC user program does
not trigger an alarm. The PLC user program always works with the image memory. Whether
there is a connection to the physical input/outputs is configured via MD12986[i] and
MD12987[i].
Active modules are then monitored cyclically for failure.
2XWSXWV
4%
0'>L@
RU
0'>L@
I/O module Bus Device name IP address Input addresses Output addresses
192.168.214. (active with MD12986[x] = -1)
Index n:
1st digital PP module PN pp72x48pn9 9 0…8 0…5
2nd digital PP module PN pp72x48pn8 8 9 … 17 6 … 11
3rd digital PP module PN pp72x48pn7 7 18 … 26 12 … 17
4th PP module digital PN pp72x48pn6 6 27… 35 18 … 23
5th digital PP module PN pp72x48pn5 5 36 … 44 24 … 29
Unassigned 45 30 … 55
Index d:
1st PP module diagnostics PN pp72x48pn9 9 46 … 47 --
2nd PP module diagnostics PN pp72x48pn8 8 48 … 49 --
3rd PP module diagnostics PN pp72x48pn7 7 50 … 51 --
4th PP module diagnostics PN pp72x48pn6 6 52 … 53 --
5th PP module diagnostics PN pp72x48pn5 5 54 … 55 --
Index m:
1st analog PP module PN pp72x48pn9 9 56 … 63 56 … 63
2nd analog PP module PN pp72x48pn8 8 64 … 71 64 … 71
3rd analog PP module PN pp72x48pn7 7 72 … 79 72 … 79
4th analog PP module PN pp72x48pn6 6 80 ... 87 80 ... 87
5th analog PP module PN pp72x48pn5 5 88 … 95 88 … 95
WARNING
Lethal danger and danger for machines
Changes in the machine data have a considerable influence on the machine.
Incorrect configuration of the parameters can endanger human life and cause damage to
the machine.
Note
Machine data for turning and milling technologies is already set up in such a way that an
adjustment of machine data is only necessary in exceptional cases.
A separate list image is provided for each of these areas in which you can view and edit
machine data:
The following properties of the machine data are displayed from left to right:
● Number of the machine data, if applicable with array index in square brackets
● Name of the machine data
● Value of the machine data
● Unit of the machine data
● Effectiveness of the machine data
● Data class
If the machine data does not use units, no units are displayed.
If the data is not available, the "#" symbol is displayed instead of the value. If the value ends
in an "H", it is a hexadecimal value.
cf The changed machine data must be activated by pressing the "Apply MD"
softkey.
po The changed machine data requires an "NCK Power On-Reset" to take effect.
re The changed machine data must be activated by pressing the <RESET> key.
so The changed machine data becomes active immediately.
User views
User views are user-specific groups of machine data. They are used to call all relevant
machine data in a certain operating state from various areas for processing.
The user views are stored on the CompactFlash card with the following path:
user/sinumerik/hmi/template/user_views
See also
Description of the data classes: Function Manual Basic Functions (P4)
A detailed description of the machine data is given in the list manual with cross-references to
the appropriate section in the function manual.
Note
Default setting
For SINUMERIK 828D, the following machine data are already suitably preset for the
particular technology – either turning or milling. These machine data cannot be changed and
are not displayed.
References
Function Manual ISO Dialects
6XUIDFHTXDOLW\
$FFXUDF\ 9HORFLW\
Setting data:
The D/A conversion of the spindle setpoint is realized with a 14 bit resolution.
MD30134:$MA_IS_UNIPOLAR_OUTPUT
=0 bipolar output (+/-10 V)
=1 unipolar spindle with separate enable and direction signals
=2 unipolar spindle with direction-dependent enable
● The rated output voltage must be adapted to the rated speed of the analog drive:
MD32250: $MA_RATED_OUTVAL
MD32260: $MA_RATED_VELO
● If the analog spindle is to be operated without an actual value encoder, then the value 0
must be entered as number of encoders:
MD30200: $MA_NUM_ENCS = 0
● When using a directly mounted spindle actual value encoder, PROFIBUS should be
selected as the actual value sensing type:
MD30240: $MA_ENC_TYPE = 1 or 4
● The spindle actual value encoder must then be configured as 2nd encoder of a
SINAMICS axis. To do this, the drive assignment of the actual value should be set the
same as for the axis, where the SMC30 is to be connected at its axis module:
MD30220[0]: $MA_ENC_MODULE_NR[0] = MD30220[0] of the SINAMICS axis
● The input assignment of the actual value should be set to the input for the 2nd encoder at
the SINAMICS axis module:
MD30230[0]: $MA_ENC_INPUT_NR[0] = 2
● Automatic drift compensation can be activated for a connected spindle actual value
encoder:
MD36700:$MA_DRIFT_ENABLE
MD36710: $MA_DRIFT_LIMIT
● A basic drift value is continuously entered as additional speed setpoint independent of
whether there is a spindle actual value encoder:
MD36720:$MA_DRIFT_VALUE
Example
Example of three axes and analog spindle with actual value encoder (SMC30 as 2nd
encoder connected to the Y axis).
MD identifier X Y Z SP Meaning
MD30100 CTRLOUT_SEGMENT_NR 5 5 5 0 Bus segment
MD30110 CTRLOUT_MODULE_NR 1 2 3 1 Module assignment
MD30120 CTRLOUT_NR 1 1 1 1 Output assignment
MD30130 CTRLOUT_TYPE 1 1 1 1 Output type
MD30134 IS_UNIPOLAR_OUTPUT 0 0 0 0 "0" means bipolar
MD30200 NUM_ENCS 1 1 1 1 Number of encoders
MD30220[0] ENC_MODULE_NR[0] 1 2 3 2 SMC30 on the Y axis
MD30230[0] ENC_INPUT_NR[0] 1 1 1 2 Input for second encoder
MD30240 ENC_TYPE 1/4 1/4 1/4 1/4 Encoder type
MD identifier SP Meaning
MD32250 RATED_OUTVAL 80 (80% of 10V) Rated output voltage
MD32260 RATED_VELO 3000 (at 8V) Rated motor speed
MD36700 DRIFT_ENABLE 0 Automatic drift compensation is
deactivated.
MD36710 DRIFT_LIMIT 0 Limit for automatic drift compensation
MD36720 DRIFT_VALUE 0 Drift basic value
Application
The "Manage data" function is used to support and simplify the commissioning and provides
functions for backing up, loading and comparing the following data:
● Machine data
● Setting data
● Drive data
● Compensation data
In contrast to a commissioning archive, only a single control object (axis, channel, servo,
infeed, etc.) is saved in ASCII format (*.tea). This file can be edited and transferred to other
control objects of the same type. The "Manage data" function is also used to transfer drive
objects for SINAMICS drives.
Managing data
The "Manage data" function offers the following options:
● Transfer data within the control
● Save data to a file
● Load data in a file
● Compare data
The following data can be saved and stored under the following absolute path on the
CompactFlash card:
● user/sinumerik/hmi/data/backup/ec for compensation data
● user/sinumerik/hmi/data/backup/md for machine data
● user/sinumerik/hmi/data/backup/sd for setting data
● user/sinumerik/hmi/data/backup/snx for SINAMICS parameters
The function is called from "Commissioning" → "Machine data" → "Manage data".
Note
Protection of the machine
For safety reasons, the machine and setting data should only be transferred when the
enable is locked.
Procedure:
1. Select the "Transfer data within the control" option.
2. Select the source data in the data structure and confirm with "OK".
3. In the drop-down list, select an object, e.g. a different axis or a different drive object, to
which you want to transfer the data and confirm with "OK".
4. Observe the safety instructions and check the enable signals at the machine and the
drive.
5. For drive data, the "Load" softkey is used to transfer the data to the target object.
Note
SINAMICS parameters
An ASCII file (*.TEA) is always generated when saving.
Three files of the following type are generated when saving the drive data:
A binary file (*.ACX) that cannot be read.
An ASCII file (*.TEA) that can be read or edited in the ASCII editor.
A log file (*.log) that contains message texts (error situation) or is empty (successful
storage).
Note
Protection of the machine
For safety reasons, the machine and setting data should only be transferred when the
enable is locked.
Procedure:
1. Select the "Load data from a file" option.
2. In the data structure, select the saved file and confirm with "OK".
3. In the drop-down list, select an object, e.g. a different axis or a different drive object, to
which you want to transfer the data and confirm with "OK".
4. Observe the safety instructions and check the enable signals at the machine and the
drive.
5. For drive data, the "Load" softkey is used to transfer the data to the target object.
Compare data
You can select different data sources for the data comparison: Store the current data in files
on the controller or data.
Procedure:
1. Select the "Compare data" option.
2. In the data structure, select the data that you want to compare.
3. Press the "Add to list" softkey to transfer the data to the list in the lower area of the
display.
4. Press the "Delete from list" softkey to remove the data again.
5. If the list contains more than two data objects, you can activate the checkbox to compare
two or more data objects from the list.
6. Press the "Compare" softkey to start the comparison. The display of the comparison
results can take some time for extensive parameter lists.
7. Press the "Legend" softkey to display or hide the legend. The following display is the
default:
– Different parameters are displayed.
– The same parameters are not displayed.
– Parameters not available everywhere are displayed.
Overview
The SINAMICS S120 commissioning software is available on the Toolbox CD, free of
charge. Until the SINAMICS S120 commissioning functionality is completely available in the
user interface, commissioning the drive in two steps is described here.
● The topology is automatically identified and provided using the functionality in the user
interface.
● The encoder is configured and parameterized using the commissioning software for
SINAMICS S120. The PG/PC is connected via the Ethernet interface on the front of the
SINUMERIK 828D.
Sequence
The sequence is divided into the following steps:
● Step 1: Configure the spindle.
● Step 2: Configure the axes.
● Step 3: Assign the axes and backup the data:
Procedure as described in Section "Example: How to assign the axes (Page 145)".
These steps are described in more detail in the following sections.
Initial state
Before you begin:
● Connect the PG/PC to the control: see Section "Communication with the control
(Page 21)"
● The control is powered-up with "Siemens default data".
● Display in the "Startup" operating area at the control:
Procedure
To configure the drive:
1. Start commissioning using the "Drive system" softkey.
2. Confirm the following question with "OK", in order to start the device configuration.
4. Confirm the following question with "OK", in order to perform an NCK Power On Reset.
This can take several minutes.
5. After the system has been powered-up, you receive the following message:
6. Confirm with "OK".
7. The configuration has been completed once the topology data has been determined.
The commissioning software for SINAMICS S120 (Page 13) is required on the PG/PC for
the next commissioning steps.
6.1.2 Example: This is how you configure a spindle with SMC encoder
3. Select "Continue >" to assign the associated motor: The motor can either be selected
using the "Motor type" or using "Search" to find the code number.
5. Select "Continue >" to assign the encoder: The two encoders (at the motor measuring
system and at the direct measuring system) were already correctly assigned when
automatically determining the topology.
7. Select "Input data" to adapt the encoder properties to the value of 4096 revolutions.
9. Select "Continue >" to accept the default setting with telegram 116 (speed feedforward
control). This means that for the internal drive variables, additional process data (PZD) is
also transferred and saved in system variables.
- OR -
10.Select the setting with telegram 136 (torque feedforward control), in order to transfer
additional process data (PZD) for the internal drive variables and save in system
variables.
11.Select "Continue >" to save the selection. This operation can take several minutes.
12.Select "Continue >" to accept the BICO configuration.
The following summary is then displayed in order to check all of the spindle data:
Result
This completes configuration of the spindle.
6.1.3 Example: This is how you configure an axis with SMI encoder
3. Select "Continue >" to configure the associated motor: The motor type was already
correctly identified when automatically determining the topology.
Please observe the note regarding overvoltage protection. The following can be selected:
– No measure
– VPM (Voltage Protection Mode)
5. Select "Continue >" to assign the encoder: The two encoders (at the motor measuring
system and at the direct measuring system) were already correctly assigned when
automatically determining the topology.
7. Select "Input data" to adapt the encoder properties to "Invert position actual value".
9. Select "Continue >" to accept the default setting with telegram 116 (speed feedforward
control). This means that for the internal drive variables, additional process data (PZD) is
also transferred and saved in system variables.
- OR -
10.Select the setting with telegram 136 (torque feedforward control), in order to transfer
additional process data (PZD) for the internal drive variables and save in system
variables.
Result
This completes configuration of the axis.
Overview
The SINAMICS S120 commissioning software is available on the Toolbox CD, free of
charge.
Until the SINAMICS S120 commissioning functionality is completely available via the user
interface, drive commissioning is performed using the commissioning software for
SINAMICS S120. The PG/PC is connected via the Ethernet interface on the front of the
SINUMERIK 828D.
60&
338 $/0 600 600 600 600
;
;
;
; ;
;
; ;
; ;
'5,9(&/L4FRQQHFWLRQ
6SLQGOH 0RWRU
(QFRGHU (QFRGHU
0RWRU 0RWRU
(QFRGHU (QFRGHU
Sequence
The sequence is divided into the following steps:
● Create connection to control.
● Step 1: Configure the drive system.
● Step 2: Configure the infeed.
● Step 3: Configure the drive object.
See also
Topology rules for S120 Booksize (Page 166)
Initial state
Before you begin:
● Connect the PG/PC to the control: See Section Example: How to communicate with the
control using the NCU Connection Wizard (Page 29)
● The control is powered-up with "Siemens default data".
● Display in the "Startup" operating area at the control:
Procedure
To configure the drive:
1. Start the commissioning software for SINAMICS S120 on PG/PC:
Note
Updating firmware
When a drive is connected, the update of the firmware is started automatically.
During loading, you will be informed of progress with a status display.
While the firmware is loading, the "RDY" LED flashes alternately red - green on the
appropriate module. When the module is finished, this LED will show a steady green light.
The "DC LINK" LED will show a steady orange light.
4. When the firmware has finished loading successfully, confirm this message with "OK":
5. Carry out a POWER ON for the drive – as requested in the message: Switch off
completely and then on again.
The following selection depends on the configuration of the target system:
– Without NX expansion module: "Drive unit" softkey
– With NX expansion module: "Drive system" softkey
This example configuration is a topology without NX expansion module.
6. Select the "Drive unit" softkey (vertical bar) and continue the configuration with "OK".
7. Then you receive the message that the device configuration process may last several
minutes.
9. Confirm with "Yes". The system carries out a warm restart. This operation can take
several minutes. After the warm restart you receive the following selection:
11.Option: To identify the individual Motor Modules, select "Identify via LED": The "RDY"
LED flashes alternately red - orange.
Select the next module with the vertical softkeys "Drive +" and "Drive -".
Result
Step 1 for commissioning the drives has now been completed.
Note
If there are alarms that require acknowledgment after switching on, these must be
acknowledged first. Then commissioning can be continued.
Procedure:
1. Then press the horizontal softkey "Infeed" to obtain the following overview:
2. To configure the infeed, select the vertical softkey "Change". In the following dialog you
can assign a new name for the infeed or accept the default setting:
3. In the following dialog "Configuration - Line Module", the automatically detected Line
Module and the connected line filter are displayed. Press "Continue >" to continue
commissioning – or select the option "External braking module" if a braking module is
being used.
4. In the following dialog "Configuration - Additional data", the line/DC link identification was
determined and saved. Press "Continue >", to continue with commissioning or select a
device supply voltage and a message frame type.
5. In the following dialog "Configuration - terminal wiring", select the internal SINAMICS line
contactor control or press "Continue >" to continue with commissioning.
6. In the following dialog "Configuration - summary", the infeed data that was entered is
displayed. Press "Finish" to complete the configuration – or "Back" if you want to make
further settings.
7. Confirm the query with "Yes" if you want to save the data. This operation can take several
minutes.
8. In the following "Overview" dialog you obtain an overview of the configuration data of the
drive object:
Result
Step 2 for commissioning the infeed has now been completed.
Initial state
The following drive objects (DO) are displayed in the "Drive startup" overview:
Drive commissioning
Procedure
To configure a drive object:
1. Use the cursor keys to select a drive object and then press the "Drives" softkey. Select
"Change" if the drive object has still not commissioned.
2. In the following "Configuration - Motor Module" dialog, you can assign a new name for the
Motor Module or you can accept the default setting:
3. In the following "Configuration - Motor" dialog, from the list of motors select the connected
motor type. Press "Continue >" to continue with commissioning.
4. In the following "Configuration - motor holding brake" dialog, select the motor holding
brake if available and select the extended brake control. Press "Continue >" to continue
with commissioning.
6. In the following "Configuration - encoder 1" dialog, under "Select motor encoder", select
the encoder type.
– In order to configure an encoder that is not in the selection list, select "Enter data".
– Select "Details" to enter the encoder configuration data.
Press "Continue >" to continue with commissioning.
7. In the following "Configuration - control type" dialog, select the control type with or without
encoder as well as the associated PROFIBUS message frame. The control mode and the
PROFIBUS message frame are generally already correctly pre-assigned.
Here, you also select the number of drive data sets (DDS) for this motor data set (MDS).
The default setting is 1 DDS; a maximum of 8 DDS per MDS is permitted. Press
"Continue >" to continue with commissioning.
9. In the following "Configuration - summary" dialog, the data entered for the Motor Module
is displayed. Press "Finish >", in order to complete commissioning.
10.In the following query, select whether you want to save the drive data: Confirm with
"Yes>" to save the drive configuration.
Result
Step 3 for commissioning a drive object has therefore been completed. Repeat this
procedure for all drive objects.
Procedure
To change the configuration of the drive:
1. You pressed the vertical softkey "Change".
4. The next dialog tells you about the motor assignment. Press "Next >".
5. This dialog tells you the exact data of the motor recognized.
Press "Next >".
6. The next dialog tells you about the configuration of the motor brake.
Press "Next >".
7. The next dialog tells you which encoder has already been assigned to this drive object (=
spindle):
14.The next dialog tells you about the configuration of the control mode.
15.Press "Next >".
Result
Step 4 for commissioning the direct measuring system has therefore been completed.
Component replacement
The replacement of components after the first commissioning, e.g. in order to use an ALM
with a higher power 16 kW → 50 kW, must be performed in such a way that the configuration
data is reimported and is up-to-date:
Note
Firmware update
The firmware of the configured drive components is updated correctly only when the
components were inserted in the switched-off state. The subsequent insertion of drive
components must ONLY be performed in the switched-off state.
If a drive component is replaced by a component with a different order number, e.g. a more
powerful module, after the first commissioning, observe the following sequence:
Procedure:
1. Select "Drive unit" → "Topology" → "Change".
2. Select the module and select "Deactivate drive object".
3. Replace the module in the cabinet.
4. Select the module and select "Activate drive object".
5. The configuration data of the new module is read in.
6. Update the drive data in the commissioning archive with the new configuration data.
70 60[
;
; ;
$/0 600
[WHPSHUDWXUHLQSXW
; ;
6,180(5,. ;
;
&RQWURO )XUWKHU600RU'00
; ;
; 70
; ;
00
; ;
[WHPSHUDWXUHLQSXW
The shown topology requires four KTY sensors and four PTC sensors:
● Each primary section has one KTY sensor (Temp-F) and three series-connected PTC
sensors (Temp-S).
MD11240 $MN_PROFIBUS_SDB_NUMBER
Number of the used system data block (SDB) for the configuration of the
I/O.
MD11240[0] = 0...n PROFIBUS
MD11240[1] = -1 This default setting must be retained.
MD11240[2] = 0...n PROFIBUS integrated in SINAMICS S120
MD11240[3] = 0...n PROFINET
References
The description of the message frames can be found in the following references:
● SINAMICS S120 Function Manual /FH1/, Section "Communication"
● SINAMICS S120 List Manual /LH1/ in "Function diagrams"
Parameter/terminal Meaning
p0840 ON/OFF1
p0844 1. OFF2
p0845 2. OFF2
p0848 1. OFF3
p0849 2. OFF3
p0852 Enable operation
X21.3 (+24 V) and X21.4 (ground) EP terminals enable (pulse enable)
p0864 Infeed enable
p1140 Ramp-function generator enable
p1141 Ramp-function generator start
p1142 Setpoint enable
Infeed:
Parameter/terminal Meaning
p0840 ON/OFF1
p0844 1. OFF2
p0845 2. OFF2
p0852 Enable operation
X21.3 (+24 V) and X21.4 (ground) EP terminals enable (pulse enable)
The drive parameters are set under: Operating area "Start-up" → Softkey "Drive units" →
"Inputs/outputs".
See also
Further references on the drive:
● SINAMICS S120 Commissioning Manual
● Manual Booksize power units
Assigning axes
After the final save of the Encoder 2 configuration data, the following overview is shown:
1. To assign every logical drive a real axis, select the horizontal softkey "Assign axis". The
"Axis assignment" dialog is opened:
Note
Both the following actions are each carried out twice so the softkeys "Change" and
"Accept" must be pressed repeatedly.
6. Select the next module with the vertical softkeys "Drive +" and "Drive -".
7. Assign all axes one after another:
Axis Drive
MSP1 SERVO_3.3:3
MX1 SERVO_3.3:4
MY1 SERVO_3.3:5
MZ1 SERVO_3.3:6
Accept settings
Finally, carry out the NCK Power On Reset and check the following settings:
Confirm with "OK" and carry out a restart; not only for the drives and but also for the control.
The following assignment is shown on the PG/PC:
After the restart, the following machine configuration is displayed on the control:
Result
Step 5 for commissioning a drive system has therefore been completed.
Data backup
The configuration data is backed up after commissioning in the non-volatile memory with the
vertical softkey "Save data":
Note
The maximum speed must be entered in parameter p1082[0]:
If the parameter is assigned a greater value than in the other parameters, the spindle can
be traversed with the maximum speed.
If parameter p1082[0] is subsequently changed to a lower value and then an NCK reset
or Power OFF/ON performed, then the spindle only traverses with the lower value from
p1082[0] and all other values are ignored.
Diagnostics displays
Further information on the status of axes and spindle is available in the "Diagnostics"
operating area with the menu forward key:
● The "Axis diagnostics" softkey opens the "Service Overview" dialog.
● The "Service axis" softkey opens the "Service Axis/Spindle" dialog.
Note
DSC operation
Parameterization of the combination STIFFNESS_CONTROL_ENABLE=1 and
ENC_FEEDBACK_POL= -(encoder inversion) is not permitted.
Encoder inversion must be performed in the drive parameter p0410 bit 1 of the SINAMICS.
DSC operation is preset for motor measuring systems.
DSC operation must be explicitly activated for external measuring systems.
Requirement: Message frame ≥ 116
SINAMICS drive parameters:
p1192[0] encoder selection
p1193[0] encoder adaptation factor
Requirement
Note
The particular drives must have been already commissioned.
Data sets
The data sets are configured in the "Commissioning" → Drive system" → "Drives" → "Data
sets" operating area. The following prompts lead you through the sequences:
● "Add data set"
● "Remove data set" if an additional data set has already been created
● "Modify data set"
Number of configurable data sets:
● Motor data set → MDS0...3 (max. 4)
● Drive data set → DDS0...31 (max. 8 per MDS)
● Encoder data sets → EDS0...2 (max. 3)
Note
Drive parameters that affect data sets
Default setting p2038 = 0 for Interface Mode: SINAMICS
When a message frame is selected via p0922, the p2038 parameter affects the device-
specific assignment of the bits in the control and status words.
p0922 = 100 ... 199 sets p2038 = 1 automatically and blocks the changing of p2038. This
sets permanently the "SIMODRIVE 611U" Interface Mode with eight DDS per MDS for
these message frames.
Application
The Data Set Assistant (DSA) offers machine manufacturers (OEM) with a simple and
efficient solution for duplicating and modifying data in order to configure the behavior of
drives, motors and encoders. The reuse of the DSA data helps to minimize the configuration
effort required to generate the machine data for matching the various parts.
Motor Data Sets (MDS), Drive Data Sets (DDS) and Encoder Data Sets (EDS) are used to
configure the component characteristics of the drive system. The reuse of data reduces the
configuration levels required for matching the machine dynamics of the individual parts.
References
You can find additional information in:
SINUMERIK 840D sl/828D Basic Functions Function Manual, various NC/PLC interface
signals and functions (A2)
1. Press "Add data set". In the example, the maximum number of four MDSes are created.
3. Press "Next step >". The MDS1 motor data set is created.
4. Press "Next step >". The MDS2 motor data set is created.
5. Press "Next step >". The MDS3 motor data set is created.
6. Press "Next step >". You need to create a complete MDS as shown in the following
diagram, or as an option, enter the number of DDS for the MDSx:
7. Press "Next step >" to check in the summary the changes to be performed.
10.The "Drives" → "Overview" dialog of the drive object is displayed. The "Select MDS >"
softkey is now available. Press "Select MDS...".
In the direct selection, select the motor data set, e.g. in this case MDS1.
11.Press "OK" to display the new motor data set for the drive object.
Precondition
To remove data sets, the following conditions must be met:
● Number of DDS > 1 in the MDS ⇒ DDSes can be removed.
● Number of MDS > 1 ⇒ MDSes can be removed.
In the first column, select the MDS to be removed by marking the row with a check mark.
Several data sets can also be selected.
As an option, you can remove the remaining DDSes from MDS2 by entering the number
of DDS drive data sets that should remain in the MDS: By entering 3 DDS in MDS, five
DDSes are removed.
3. Press "Next step >".
"Cancel" terminates this process and the data set overview with MDS0 ... MDS3 is
displayed.
When you exit this dialog, press "Yes" to confirm the prompt to save the data to the non-
volatile memory.
Precondition
If more than one encoder is assigned to the drive object (SERVO), additional encoder data
sets (EDS0 ... 2) will be created.
This activates the edit function in order to subsequently modify the assignment of EDSes to
the encoders:
Table 6- 4 Assigning the DRIVE-CLiQ interfaces at the DMx20 to assign a direct measuring system to the feed axes.
DRIVE-CLiQ interface
X500 X102 of the control (PPU)
X501 X500 of the DMx20
If a DMx20 is not being used, then this interface remains empty.
Introduction
The following rules apply for wiring components with DRIVE-CLiQ. A distinction is made
between DRIVE-CLiQ rules, which must always be observed, and recommended rules,
which, when observed, do not require any subsequent changes to the topology when
expansions are made.
The maximum number of DRIVE-CLiQ components and the possible wiring form depend on
the following points:
● The binding DRIVE-CLiQ wiring rules
● The number and type of activated drives and functions on the respective Control Unit
● The computing power of the respective Control Unit
● The set processing and communication cycles
In addition to the binding wiring rules that must be observed, some additional
recommendations as well as topology examples for DRIVE-CLiQ wiring are provided in the
PPU manual.
The components used in these examples can be removed, replaced with others or
supplemented. If components are replaced by another type or additional components are
added, the SIZER tool should be used to check the topology.
Note
Every topology that SIZER permits can also run and is therefore correct (SINAMICS S120 D
Function Manual /FH1/).
DRIVE-CLiQ rules
The wiring rules below apply to standard cycle times (servo 125 µs). For cycle times that are
shorter than the corresponding standard cycle times, additional restrictions apply due to the
computing power of the Control Unit.
The rules below apply on a general basis, unless limited, as a function of the firmware
version.
● A maximum of eight DRIVE-CLiQ nodes can be connected in one row. A row is always
seen from the perspective of the Control Unit.
This number reduces to a maximum of four DRIVE-CLiQ nodes in one row when the
extended functions of drive-based Safety Integrated are configured.
● A maximum of 14 nodes can be connected to one DRIVE-CLiQ line on a Control Unit.
338
;
;
;
1RULQJZLULQJ
1RGRXEOHZLULQJ
Figure 6-68 Example: DRIVE-CLiQ line at the X100 terminal (without Safety Integrated)
● The Active Line Module Booksize and the Motor Modules Booksize can be connected to
one DRIVE-CLiQ line.
● Chassis Line Module and Motor Module are connected in series.
● To allow the following modules to be assigned automatically during the commissioning
(device identification), they should be connected to a free DRIVE-CLiQ port on the
associated Active Line Module/Motor Module:
– Voltage Sensing Module (VSM)
– Terminal Module TM120
Note
If the TM120 is connected without observing this rule, the commissioning engineer
must use BICO technology to assign the temperature channels to the drive.
● The sampling times (p0115[0] and p4099) of all components that are connected to a
DRIVE-CLiQ line must be divisible by one another with an integer result. If the current
controller sampling time on a DO has to be changed to another pattern that does not
match the other DOs on the DRIVE-CLiQ line, the following options are available:
– Reconnect the DO to a separate DRIVE-CLiQ line.
– Also change the current controller sampling time and the sampling time of the
inputs/outputs of the DO not involved so that they again fit into the time grid.
Note
A Double Motor Module, a DMC20, and a TM54F each correspond to two DRIVE-
CLiQ nodes. This also applies to Double Motor Modules, of which just one drive is
configured.
To enable the function "Automatic configuration" to assign the encoders to the drives, the
recommended rules below must be observed.
Recommended rules
● The DRIVE-CLiQ cable from the Control Unit must be connected as follows:
– To X200 of the first booksize power unit
– To X400 of the first chassis power unit
● The DRIVE-CLiQ connections between the power units must each be connected from
interface X201 to X200 or from X401 to X400 on the follow-on component.
Note
If an additional encoder is connected to a Motor Module, it is assigned to this drive as
encoder 2 in the automatic configuration. At a Double Motor Module, an encoder at X201 is
assigned to the 2nd feedrate as 2nd measuring system.
Figure 6-70 Example: Topology with VSM for booksize and chassis components
Connection conditions
To ensure that the SMC40 Sensor Module Cabinet-Mounted is integrated into the topology
during the initial commissioning, you must absolutely observe the following rules:
● Connect at least one of the DRIVE-CLiQ interfaces X500/1 or X500/2 on the SMC40
using DRIVE-CLiQ.
● Connect one EnDat encoder to the corresponding encoder interface X520/1 (to X500/1)
or X520/2 (to X500/2).
● Operate the SMC40 only in a star topology. The DRIVE-CLiQ X500/1 and X500/2 sockets
cannot be used for a series connection.
NOTICE
Display in the "Topology" dialog
The SMC40 can be integrated in the actual topology only when the DRIVE-CLiQ X500/x
interfaces and the corresponding encoder interfaces X520/x are assigned.
Without a connected encoder, it is also not possible to subsequently integrate the SMC40
in the topology.
See also
Machine data for an analog spindle (Page 94)
Example
The circuitry shown refers to the assignment of the terminals in the previous chapters.
&8 3/&
2XWSXW ,QSXW
,QIHHGUHDG\WRVWDUW
U ;
ZLWKRXW3/&ORJLF
-XPSHU!!
,QSXW 2XWSXW
2))
;
(QDEOHVLJQDOVYLDWKH3/&XVHUSURJUDP
2XWSXW
,QSXW (0(5*(1&<2))
2)) 6DIHW\UHOD\
; ,QSXW
RU
2XWSXW
RU
9
/LQHFRQWDFWRUFRQWURO 2XWSXW
U ;
1RWH /LQHFRQWDFWRU
%L&RLQWHUFRQQHFWLRQRI
WKH/LQHFRQWDFWRUFRQWURO
DFFWRWHUPLQDOGLDJUDP
UHTXLUHG
,QSXW
/LQHFRQWDFWRU
IHHGEDFNVLJQDO ;
2XWSXW ,QSXW
,QIHHGRSHUDWLRQ
U ;
/ /
H[W
/ /
/ /
9
3( 3(
0
0DLQVZLWFK
0
;
'2
&8 0
6PDUW/LQH0RGXOH '&3
'&1
'2
&8
', ',
9
&8 &8
;
', '25HDG\
&8 '2:DUQLQJ, W
/LQH
FRQWDFWRU (39
(30
/LQHILOWHU
/('V
5($'<
'2 '2
; '&/,1.
&8 &8
9
','LVDEOH
',5HVHW
0 0
/LQHUHDFWRU 8 9 :
;
8 9:
① Early opening contact t > 10 ms, 24 VDC and ground must be applied for operation
② DI/DO controlled by the Control Unit
③ No additional load permitted downstream of line contactor
④ The current carrying capacity of the DO must be observed; an output interface must be used if
required.
⑤ DO high, feedback deactivated (a jumper can be inserted between X22 pin 1 and pin 2 for
permanent deactivation).
⑥ X22 pin 4 must be connected to ground (external 24 V).
⑦ Contacting via rear mounting panel or shielding buses in accordance with EMC installation
guideline
⑧ 5 kW and 10 kW line filters via shield connection
⑨ Signal output of the control, to avoid interference of the 24 VDC supply on the EP terminal.
⑩ Connect via BICO to parameter p0864 → X122.1
ON/OFF1 enable: Connection of Smart Line Module pin X21.1 → X122.1 SINUMERIK 828D
See also
Additional information can be found in:
● SINUMERIK 828D Manual PPU
● SINAMICS S120 Manual Booksize Power Units
Note
A precondition for measuring with the SINUMERIK 828D is that the distributed (local)
measurement function has been parameterized.
Central measurement is not possible with SINUMERIK 828D.
Machine data
The following machine data should be checked and adjusted if necessary:
● General machine data:
MD13200[0] $MN_MEAS_PROBE_LOW_ACTIVE = 0 or 1
MD13200[1] $MN_MEAS_PROBE_LOW_ACTIVE = 0 or 1
Value 0 = deflected state 24 V (default)
Value 1 = deflected state 0 V
MD13210 $MN_MEAS_TYPE = 1 distributed measurement
● Axis-specific machine data:
MD30244[0] $MA_ENC_MEAS_TYPE = 1 for all axes
MD30244[1] $MA_ENC_MEAS_TYPE = 1 for all axes
Note
The machine data MD13210 and MD30244 are preset to the value 1 and cannot be
changed! (Data class: SYSTEM)
The 1st probe is connected to terminal X122 pin 13, the 2nd probe to terminal X132
pin 13 of the SINUMERIK 828D and - if present - on the NX10 module to terminal X122
pin 12.
A precondition is the switchover of pin X132.13 from output to input.
Set CU input or output = set p0728 bit 15 to 0 (DI/DO X132.13)
● Drive parameters:
p0488[0] Probe 1 input terminal: Encoder 1 = 3 → connector X 122.13
p0488[1] Probe 1 input terminal: Encoder 2 = 3 → connector X 122.13
p0488[2] Probe 1 input terminal: Encoder 3 = 0 → not used
The 2nd probe at terminal X122.12 must be parameterized for all axes that are
parameterized on the NX module:
p0489[0] Probe 2 input terminal: Encoder 1 = 6 → connector X 122.12
p0489[1] Probe 2 input terminal: Encoder 2 = 6 → connector X 122.12
p0489[2] Probe 2 input terminal: Encoder 3 = 0 → not used
Note
All drives must be parameterized.
Probe status
Note
An "NCK Reset" does not have any effect on the drive data.
Procedure:
1. Press the "Drive parameter" softkey and then the "Save/reset" softkey.
2. Press the "Save" softkey and finally the "Drive system" softkey.
Messages in the lower left-hand area of the screen indicate the status of the save action.
The following window is displayed when the save action completes: "All drive objects saved".
Each of the individual control loops is optimized successively starting with the current
controller, the speed controller and finally the position controller. The dynamic machine limits
for velocity, acceleration and jerk are set in the interpolator. Whereas the speed control loop
is always connected via the motor encoder, the position control loop can be connected via
the motor encoder or via the direct measuring system.
6,180(5,. 352),%86'3GULYH
3RVLWLRQVHWSRLQW
IURPWKH
LQWHUSRODWRU 3RVLWLRQ QVHW 6SHHG LVHW &XUUHQW
(QFRGHU
FRQWUROOHU FRQWUROOHU FRQWUROOHU 0RWRU
QDFW LDFW
$FWXDOFXUUHQWYDOXH
$FWXDOVSHHGYDOXH
$FWXDOSRVLWLRQYDOXH
See also
The following sections describe the individual steps for optimizing the control loops with
SINUMERIK Operate:
● Automatic servo optimization (Page 181)
● Axis jerk (Page 194)
● Torque load (Page 202)
● Circularity test (Page 206)
● Spindle optimization (Page 215)
References
You can find further details in the following manuals:
● SINUMERIK Operate (IM9) Commissioning Manual; "Trace" section
● Basic Functions Function Manual; Axis Monitoring, Protection Zones (A3)
● Basic Functions Function Manual; Velocities, Setpoint-Actual Value Systems, Closed-
Loop Control (G2)
● Extended Functions Function Manual; Compensations (K3)
7.2.1 Objective
Introduction
Use the "Automatic servo optimization" function to optimize the current, speed and position
control loop with precontrol. The objective is the fine setting of an axis or spindle using
SINUMERIK Operate.
● Performing frequency response measurements
● Calculation of the speed control loop
● Setting of current setpoint filters
● Calculation of the position control loop
● Validation of the actual behavior of the planned control loops
● Precontrol mode: Equivalent speed control time
● Interpolation paths
Before the automatic optimization is performed, the dynamic stiffness control in
MD32640[0] $MA_STIFFNESS_CONTROL_ENABLE = 1 is set. This then permits a position
control with a faster cycle time. When dynamic stiffness control is used,
MD32110 $MA_ENC_FEEDBACK_POL = 1 must be set. If a polarity reversal is required, the
p0410 parameter "Actual encoder inversion value" must be set in the drive:
● p0410[0]=1 invert actual speed value
● p0410[1]=1 invert actual position value
If the "Automatic servo optimization" function is used for a main spindle, it is possible that no
PLC signal for the servo release is present. The machine manufacturer should provide a
method to activate this PLC signal for the optimization, for example, a special key
combination or the setting of a flag in the PLC status.
Use the cursor keys to mark the axis and select with the <SELECT> softkey, for example,
the X1 axis:
The dialog indicates whether an axis has already been optimized. An optimized axis is
marked with the date and time of the optimization.
The "Permit strategy selection during the optimization" option is recommended only for
experts.
Optimization strategy
For the speed controller and position controller axis strategies, the default settings
(strategies 102, 303, and 203; see figure) are recommended:
The default optimization objective is "Moderate fault clearance". The option selected
depends on the mechanical properties of the machine/axis. The "Maximum fault clearance"
option should not be used for a "weak" axis.
Optimization objective
Description of the optimization objective:
● Selection: "Maximum fault clearance"
The speed and position controller gain (servo gain factor) is optimized with maximum
values and minimum ruggedness.
– Application: High speed machining with maximum suppression of all disturbing forces
such as friction, teeth of the drive belt, strong cutting forces, when machining titanium,
for example.
Recommended for high-speed machining with linear motors.
– Precondition: The machine must have a rigid design; the dynamic masses do not
change significantly.
● Selection: "Moderate fault clearance"
The speed and position controllers are optimized with 80% of the maximum gain and a
good level of ruggedness.
– Application: There are many uses.
– Precondition: No high expectations for the machine design; recommended for general
use.
● Selection: "Optimal damping"
The speed controller is optimized so that it achieves maximum damping to prevent
vibrations and to achieve a good position control value.
– Application: Large machines with large dynamic masses.
– Precondition: A weak machine design due to large masses/inertia. The size of the
motor justifies a low dynamic response. Recommended, for example, for traversing
columns where the operator cabin moves with the column. Can be used if the "Optimal
damping" check produces a very low position controller gain.
User-defined settings
The optimization process is re-defined using the "User-defined" softkey.
Setting the speed controller:
The most important settings are: Optimization aggressiveness and Min integral time Tn.
● Optimization aggressiveness:
This parameter determines the setting of Kp and Tn based on stability limits.
– Default = 0.6
– Min = 0 [maximum stability]
– Max = 1 [maximum aggressiveness]
● Minimum integral time Tn:
This parameter prevents automatic servo optimization from setting the integrator time of
the speed control loop too low. Otherwise, if automatic servo optimization sets a value
lower than this parameter, the actual value used will be limited to the value set by the
minimum integral time Tn.
– Default setting = 5.0 ms
– Min = 0.5 ms
– Max = 100 ms
2. To confirm, press "OK". The prompt to press <CYCLE START> on the machine control
panel then appears:
$XWRPDWLFVHUYRRSWLPL]DWLRQ
1&67$57IRUFKDQQHOLV
UHTXLUHG
3UHVV1&67$57WRFRQWLQXHRUSUHVV0&3UHVHWWR
FDQFHOWKHPHDVXUHPHQW
$FDQFHOHGPHDVXUHPHQWFDQEHUHSDUDPHWHUL]HGDQG
UHVWDUWHG
3. Further displays appear on the screen during the automatic optimization procedure.
Press the <CYCLE START> key several times to start the next measurement:
4. On completion of the optimization, the following display appears in which the new values
and the original values should be checked.
Example: Position controller
The new values are accepted when the "Accept" softkey is pressed.
5. The following message indicates that more axes must be optimized to provide a regular
interpolation result:
$XWRPDWLFVHUYRRSWLPL]DWLRQ
127(7KHFRUUHFWWXQLQJRIWKHD[HVLQWKH
LQWHUSRODWLRQSDWKUHTXLUHVDGGLWLRQDOPHDVXUHVRQ
FRPSOHWLRQRIWKHDXWRPDWLFRSWLPL]DWLRQRIDOO
D[HV
)XUWKHUGHWDLOVLQWKHORJ
Optimization result
The date and time of the optimization are then output:
Introduction
Interpolation means that the axes to perform the contour must exhibit the same trailing error.
After the optimization of the individual axes, they have different control settings that are
optimum only for the associated axis. To ensure a consistent trailing error, the control
settings must be adapted so they correspond to the axis with the slowest response. This
includes the Kv factor and the precontrol mode.
General settings
Settings for "Optimum path":
● Dynamic Stiffness Control (DSC)
MD32640 $MA_STIFFNESS_CONTROL_ENABLE is either activated or deactivated for
all axes. If DSC is activated, higher KV factors are possible.
● Precontrol mode
– Once all axes with torque precontrol have been optimized, this setting is retained for
the interpolation path.
– If the precontrol for the axes is set differently to 3 or 4,
MD32620 $MA_FFW_MODE = 3 will then be set for all axes.
– If one axis without precontrol has been optimized, MD32620 $MA_FFW_MODE = 0
will be set for all axes.
Settings for "Optimum axis":
● The KV gain factor is calculated; the lowest setting is used for all axes: the KV factor is
always adapted!
● Kp proportional gain / moment of inertia for the later adaptation of the axes.
● The Tn delay time is adapted for all axes.
● The reference model (speed controller) is activated, i.e. it is adapted.
● Equivalent time constant for the speed control loop precontrol is calculated; the highest
setting is used for all axes:
MD32402 $MA_AX_JERK_MODE = 0 Filter type for axial jerk limitation is not activated.
Interpolation path
In the next step, the axes for optimization of the interpolations paths are selected.
Procedure:
1. Press the "Interpolation paths" softkey. The axes that interpolate together are assigned to
"Channel 1".
2. Press the "Edit & optimize" softkey.
3. Select only those axes that can interpolate together.
X, Y, Z and the spindle are selected for the following example:
Jerk limitation
The jerk-limited acceleration is optimized in the next step: The jerk is used to smooth the
acceleration and response behavior by applying a time for changing the acceleration.
The jerk is defined in units/s3, i.e. acceleration [units/s2] / time [s].
The time during which the acceleration change occurs is defined as: t [s] = acceleration
[units/s2] / jerk [units/s3].
Axes do not need to have the same jerk value. The result of a jerk limited acceleration is
rounded corners at the acceleration-phase start and end of the velocity profile and smoothed
movements.
● Jerk limitation is active when "SOFT" is programmed.
● Jerk limitation is deactivated when "BRISK" is programmed.
SOFT
LAB:
G04 F0.5
Y260
G04 F0.5
GOTOB LAB
M30
Machine data:
To check the positioning behavior without the effect of the position controller, the Kv position-
control gain factor should be set to 0. Specify positioning tolerances to prevent errors during
the test:
● MD32200 $MA_POSCTRL_GAIN = 0
● MD36012 $MA_STOP_LIMIT_FACTOR = 100
● MD36400 $MA_CONTOUR_TOL = 20
3. Press the "Filter/search" softkey to limit the list of variables. The following filters are
available:
– System variables
– NC
– Axis
– Channel
– Mode groups (MGs)
– Servo
– Global user data (GUD)
– PLC
– PLC alarms
– All (no filter)
4. Set the filter to "Servo" and select the position setpoint and actual position-value
variables, e.g. for the Y axis:
It is also possible to initiate the trace from a value of the previously selected signals or with a
system variable made available with the "Add variable" softkey:
Trace result
The axis moves and the selected signals are monitored for five seconds. The result is then
displayed:
View in detail:
Position setpoint (yellow) and actual position (green) do not match because the position
controller is not active.
Optimization objective
The jerk must be set so that the actual position is not exceeded. This is done by setting a
jerk value that is too high.
A jerk value that is too low can also be disadvantageous for the machine because it affects
the time required for positioning an axis. Without the position controller, the axis is positioned
without overshooting.
The remaining positioning error results from the position controller being deactivated and the
axis moves only with feedrate signals. An overshooting on reaching the position that results
from the mechanical system can be prevented by using a jerk limitation.
Examples
The MD32431 axis machine data is used to set the jerk.
Example 1: MD32431 $MA_MAX_AX_JERK = 600 ⇒ jerk too high
1. Restart the trace and then execute the part program.
2. Press the "Start trace" softkey and then the <RESET> and <CYCLE START> keys.
3. Correct the overshoot by increasing MAX_AX_JERK.
This diagram shows the jerk increase until an overshoot caused by the mechanical system.
Note
The machine mechanical system limits the maximum axis acceleration. The machine
manufacturer must define the required setting value! If this value is not defined, use the
default setting unless the machine manufacturer permits an increased value.
LAB:
G0 X10
X310
GOTOB LAB
M30
The three traces are displayed together; press the "Adapt all" softkey:
To recognize the maximum values of the three traces, press the "Cursors" softkey and
position it on the associated trace to mark the maximum values: "Cursors" softkey → "Cursor
A" softkey.
To check the maximum values of the three traces, press the "Cursors" softkey and position
the cursor on the associated trace to read the maximum values of the following quantities:
● Velocity
The cursor positioned over the trace shows that the attained maximum velocity is
36 m/min:
● Load
The cursor positioned over the trace shows that the attained maximum load is 58.52
%/min:
● Current
The cursor positioned over the trace shows that the attained maximum current is 10.53 A:
Summary
The maximum velocity of 36 m/min is attained with a maximum load of 58.52%. The "Load
(m_set/m_set_limit)" signal selection shows the percentage load of the active current limit.
The active current limit is: p0640 = [A effective value]
p0640 is limited to p0338 motor current limit / Mot I Max [A effective value] or r0209 drive
current limit / PU I Max [A effective value] depending on which value is lower.
In this example, p0640 = 18 A
Consequently the load is 18 A x 58.52/100 = 10.53 A
The test was performed on the Y axis of a milling machine with a dividing unit on the table.
The load of 58% permits an additional weight to be added without problem. The load should
not exceed 85%. To affect the load, the acceleration can be changed.
Note
MD32450 backlash must be adjusted via an external device, such as a circularity test or
gauge.
The following position error compensations should be disabled if this procedure is carried
out:
● MD32450 backlash compensation
● MD32500 friction compensation active
● MD32700 Encoder/lead error compensation
● MD32710 enable sag compensation
● MD32750 Temperature compensation type
Example
NC test program for the measurement of the X-Y axes:
FFWON
SOFT
LAB:
GOTOB LAB
M30
Setting parameters
Perform measurement
Procedure:
1. In the "Commissioning" operating area select the "Optimization/Test" softkey →
"Circularity test" softkey.
2. Select the axes that are meant to be measured with the <SELECT> key or using the
"Axis+"/"Axis -" softkeys.
3. Set the "parameters" for the measurement: "Radius" and "Feed"
The "Measuring time" display field shows the measuring time calculated from the
"Radius" and "Feed" values for recording the actual position values during the circular
movement:
If the measuring time is not sufficient then only parts of the circle are portrayed. The
measuring time can be increased by reducing the feed value. This also applies if the
circularity test is started from the stationary condition.
4. Set the parameters for displaying the graphic:
If the measuring time calculated from this exceeds the time range that can be displayed
(maximum measuring time = position controller cycle frequency * 2048), a coarser
sampling rate is used for recording (n * position controller cycle frequency), so that a
complete circle can be displayed.
Further actions:
● To start the measurement, press the "Start" softkey.
● To stop the measurement, press the "Stop" softkey.
● To make further adjustments for optimization, press the "Optimization" softkey.
● On a new softkey bar, you can navigate directly to the following areas:
– "Service axis" in the "Diagnostics" operating area
– "Axis machine data"
– "Drive machine data"
– "User Views"
● In order to save the parameters for a measurement, press the "Save parameter" softkey.
● In order, for example, to repeat a measurement with the same parameters, press the
"Load parameter" softkey.
Displaying a graphic
In order to display the measurement result as a graphic, press the "Graphic" softkey.
The actual value of the radius is generally too large with optimized feed precontrol. This can
be corrected with the MD32410 $MC_AX_JERK_TIME time constant. Use a time constant in
all axes if required.
This circle displays the results after the feed precontrol has been optimized. However, the
mean radius is 0.0019 mm too large:
Save parameters
The file format is structured as follows (with comments in brackets[ ])
H: CstPar [Identifier for circularity test parameters]
@Measurement
@ parameters
P 10: 30 [Radius]
P 14: 1 [Multiplier]
@Representation
P 20: 10 [Resolution]
Save graphic
The file format is structured as follows (with comments in brackets[ ]):
H: CstPic [Identifier for circularity test graphic]
@ parameters
P 1: 30 [Radius]
P 2: 3000 [Feed]
@Representation
P 10: 10 [Resolution]
@Intermediate values
@Additional values
@Physical units
@Abscissa
@Ordinate
@Radius
Accelerating and decelerating with the original data of the motor corresponds to the S1 curve.
Trace recording
Procedure:
1. Use the following key combination to invoke the Trace function:
<MENU SELECT> → "Diagnostics" operating area, menu forward key → "Trace" softkey
G04 F5
M30
Evaluation
● When the trace function completes, press the "Adapt all" softkey.
The cursor is positioned at the trace start and at the point where the speed setpoint is
attained.
● The power used to accelerate the motor can be seen on Trace 2:
Trace selection: Actual speed
Enter the maximum values from the motor datasheet in the appropriate drive data: e.g.
1PH8089-1_M0, 1PH8089-1_M1 asynchronous motor
2. Set MD35200so that it meets the machine manufacturer's requirements for the spindle
acceleration:
MD35200[0] $MA_GEAR_STEP_SPEEDCTRL_ACCEL
MD35200[1] $MA_GEAR_STEP_SPEEDCTRL_ACCEL
FFWON
M19
SOFT
LAB:
M30
Note
Ensure that the correct signal is selected for the monitoring of measuring systems, e.g.
measuring system 1 or 2.
4. Use the "Settings" softkey to select the trace trigger, etc. The example shows a trace that
is initiated when the actual position exceeds five degrees. The trace is recorded for ten
seconds.
5. Start the trace and press <CYCLE START> on the machine control panel.
Examples
Because the load reaches 64% in the following example, the position-control acceleration
can be increased. Because the spindle can operate above the S1 curve during the tapping, it
must be guaranteed that the load does not reach 100% and so no alarms for contour
monitoring are issued.
1. To achieve optimum results, optimize MD35210 $MA_GEAR_STEP_POSCTRL_ACCEL
and MD32431 $MA_MAX_AX_JERK.
2. Also check that adaptable p1464, p1465control range of the spindle.
The following example shows the effect of increasing the position-control acceleration from
120 to 160; the load then increases from 64% to 88%. If the application involves a pure
tapping machine, a test can be performed for which 100 holes are tapped. The trace
recording is then repeated to ensure that 100% load is never reached.
Spindle: Load 88%
+0,
0DLQWHQDQFHGLDORJ $ODUPKDQGOHU 0DLQWHQDQFHWH[WILOH
0DLQWHQDQFHWH[W
3/&DODUPWH[WILOH
3URJUDPPLQJ7RRORU :DUQLQJDQG
DODUPPHVVDJHV
;0/ILOH
,1387
'%'%;
,1387 287387 $FNQRZOHGJPHQWV
6WDUWGDWD '%
$FWXDOGDWD '% 0DLQWHQDQFHWDVNV
0DLQWHQDQFHLQWHUYDO 5HPDLQLQJWLPH
1XPEHURIZDUQLQJV 1XPEHURIRXWSXW
287387
7LPHRIVWZDUQLQJ ZDUQLQJVDODUPV '%'%;
:DUQLQJVDODUPV
0DLQWHQDQFHWDVNV
,1387
'%'%;
'HDFWLYDWLRQV
0DLQWHQDQFHWDVNV
3/&XVHULQWHUIDFH
6HUYLFH3ODQQHUIXQFWLRQRIWKH
3/&XVHUSURJUDP
3/&ILUPZDUH
3/&
Note
A sample program is supplied in the PLC function library. This can be adapted by
machine manufacturers to meet their requirements.
Designation Meaning
Interval Number of hours after which the maintenance must be performed. When
this time expires, the warning or alarm bit belonging to the task is set for the
last time.
Time of the first Number of hours after which the first warning is output. This time must be
warning greater than or equal to the interval.
Number of warnings to Number of n warnings to be output before the alarm.
be output (The alarm bit is therefore set maximum (n+1)-times, i.e n-times as warning
and 1-time as alarm.)
Reserved Reserved for expansions.
Example:
Interval = 100
Time of the 1st warning = 80
Number of warnings to be output = 2
After the task is started, the warning/alarm bit is output for the first time after 80 hours, a
second time after a further 10 hours (i.e. after a total of 90 hours), and the warning/alarm bit
is set for the last time after 100 hours.
Designation Meaning
Remaining time Number of hours remaining after the start of the task until it expires.
Remaining time ≠ 0 and associated alarm bit set: Warning
Remaining time = 0 and associated alarm bit set: Alarm
Number of warnings Number n of warnings that have already been output. If the interval has
output expired completely, the output value is (n+1):
n = "number of warnings to be output"
1 = alarm at the end of the interval
Reserved_1, ~_2 Reserved for expansions.
Example:
Interval = 100, time of the 1st warning = 80, number of warnings to be output = 2
After the task is started, the remaining time is decremented every hour.
● After 80 hours, the remaining time is 20 hours and the number of warnings that have
been output is increased from 0 to 1.
● After a further 10 hours (i.e. a total of 90 hours), the remaining time is 10 hours and the
number of warnings that have been output is increased from 1 to 2.
● After 100 hours, the remaining time is 0 and the number of warnings that have been
output is 3 (= 2 warnings plus 1 alarm).
DB1800: Acknowledgments
Designation Meaning
Acknowledgment n The acknowledgment bit assigned to task n:
Under the precondition that the corresponding acknowledgment blocking bit is
not set, the setting of the acknowledgment bit restarts the task and, in
particular, the actual data of the task is set:
Remaining time = interval
Number of warnings output = 0
The bit is automatically reset at the end of the PLC cycle.
Example:
Interval = 100, time of the 1st warning = 80, number of warnings to be output = 2
After the setting of the associated acknowledgment bit, the remaining time is set to the
interval time and the number of output warnings is zero - assuming the associated
acknowledgment blocking bit is not set.
DB1800: Alarms
Designation Meaning
Alarm n The alarm bit assigned to task n.
The bit is set each time for one PLC cycle:
As warning (remaining time ≠ 0) and as alarm (remaining time = 0).
Designation Meaning
Deactivation n The deactivation bit assigned to task n.
If the bit is set via the HMI or from the PLC user program, the current state
of task n is frozen and no longer processed.
TRUE: Task deactivated
FALSE: Task active
This means it is possible, for example, to adapt the maintenance interval
according to the actual runtime of the modules.
Designation Meaning
Acknowledgment The acknowledgment blocking bit assigned to task n.
block n If the bit is set via the HMI or from the PLC user program, the task is not
acknowledged even when the acknowledgment bit is set.
TRUE: Acknowledgment of the task blocked
FALSE: Acknowledgment of the task permitted
In this way, it is possible, for example, to incorporate a sensor in the PLC
user program, which signals that the maintenance task has been performed,
and, if required, block the acknowledgment.
Overview
To process these service/maintenance tasks, you have the following options:
● Managing the data in the PLC user program using the programming tool.
● Maintenance tasks are created via an XML interface.
Using this segmentation, inconsistencies between the PLC block and the XML scripts are
avoided if the PLC block is changed in the PLC user program via the programming tool or as
a result of a commissioning archive.
Configuration
You can configure up to 32 maintenance tasks. The following columns are shown in the
configuring mode:
The dialog is called with different contents depending on the access level.
Configuration mode
Access level 2: Service
Maintenance tasks can be created, changed and also deleted in this mode. The
maintenance tasks can also be acknowledged. All columns are visible. Navigation between
the columns is with <Tab> or <Key Left/Right>.
Note
Number assignment
A number is automatically assigned when a task is created. If this is not desirable, then the
tasks must be configured with the corresponding numbers.
This is recommended, for example, if task m is deleted by mistake and this has to be created
again under the same number because of the evaluation in the PLC user program.
Standard mode
Access level 3: User
In the standard mode, the actual status of the maintenance tasks is displayed. The following
columns are visible, but cannot be edited: "Maintenance task", "Interval", "Remaining time"
and "Status".
Overview
In the dialog, there are two soft keys that can be used to read-in and read-out the
configuration files with the maintenance tasks:
● Importing maintenance tasks
● Exporting maintenance tasks
Identifier Meaning
<MAINTENANCE_TASK> Main Tag
<TASK_ID> Number of the maintenance task
<INTERVALL> Maintenance interval time
<FIRST_WARNING> Time interval until the first alarm is output.
<NUMBER_OF_WARNING> Number of alarms
task.xml
<MAINTENANCE>
<MAINTENANCE_TASK>
<TASK_ID>0</TASK_ID>
<INTERVALL>3</INTERVALL>
<FIRST_WARNING>1</FIRST_WARNING>
<NUMBER_OF_WARNING>1</NUMBER_OF_WARNING>
</MAINTENANCE_TASK>
<MAINTENANCE_TASK>
<TASK_ID>1</TASK_ID>
<INTERVALL>3</INTERVALL>
<FIRST_WARNING>2</FIRST_WARNING>
<NUMBER_OF_WARNING>1</NUMBER_OF_WARNING>
</MAINTENANCE_TASK>
...
<MAINTENANCE_TASK>
<TASK_ID>2</TASK_ID>
<INTERVALL>3</INTERVALL>
<FIRST_WARNING>2</FIRST_WARNING>
<NUMBER_OF_WARNING>1</NUMBER_OF_WARNING>
</MAINTENANCE_TASK
</MAINTENANCE>
oem_maintenance_<lng>.ts
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE TS>
<TS>
<context>
<name>maintenance</name>
<message>
<source>1</source>
<translation>Maintenance task 1</translation>
<chars>44</chars>
</message>
<message>
<source>2</source>
oem_maintenance_<lng>.ts
<translation>Maintenance task 2</translation>
<chars>44</chars>
</message>
. . .
<message>
<source>32</source>
<translation>Maintenance task 32</translation>
<chars>44</chars>
</message>
</context>
</TS>
Note
Access level for acknowledgment
The access level to acknowledge a maintenance task is defined by the following machine
data: MD51235 $MNS_ACCESS_RESET_SERV_PLANNER
Default setting: Access level 2 "service"
Objective
Easy Extend provides you with a simple facility for commissioning, activating, deactivating or
testing optional equipment. The available equipment and device states are displayed in a list
by the control system. The system can manage a maximum of 64 devices.
Softkeys are used to activate or deactivate a device.
The Easy Extend function is available in the operating area "Parameter" → "Extension menu"
→ "Easy Extend".
Configuration
;0/VFULSW
+0,
+0,!1&.LQWHUIDFH +0,!3/&LQWHUIDFH
1&.3/&'5,9(
To use Easy Extend, the following functions should be configured by the machine
manufacturer:
● PLC ↔ HMI interface
The optional devices are managed via the interface between the user interface and the
PLC.
● Script processing
The machine manufacturer saves the sequences to be executed for commissioning,
activating, deactivating or testing a device, in a statement script.
● Parameter dialog (optional)
The parameter dialog shows device information that is saved in the script file.
Loading configurations
The configurations created are transferred to the manufacturer directory of the control, with
the script and text file. Additionally, the corresponding PLC user program should be loaded.
Adding axes
If the machine is extended with machine axes, it is important to install the drive objects (DO)
in a fixed sequence because the start-up archive contains the constellation of the machine
manufacturer's reference machine and cannot be applied if the sequence is changed.
It is recommended that the following settings be selected for the "control components":
● NC data
● PLC data
● Drive data
– ACX format (binary)
Note
Commissioning archive
In order to be able to use a commissioning archive in the Easy Extend script, these
archives must be created without HMI data!
Changing the machine configuration
Should there be any need to edit the drive machine data, this should be adapted in the
control first. This procedure should be repeated for all devices and constellations.
See also
This is how you create a commissioning archive (Page 393)
Example
①
②
③
④
Blockwise assignment:
① DB9905.DBB0 Device 1
② DB9905.DBB4 Device 2
...
③ DB9905.DBB192 Device 49
④ DB9905.DBB196 Device 50
Assignment to free locations:
① DB9905.DBB0 Device 1
② DB9905.DBB4 Device 2
...
③ DB9905.DBB72 Device 19
④ DB9905.DBB76 Device 20
...
See also
Attribute option_bit: Structure of the XML script (Page 257)
XML identifier: OPTION_MD (Page 269)
<DEVICE option_bit="8">
<!-- Direct: The entered expression is displayed. -->
<NAME>my device 1</NAME>
</DEVICE>
<DEVICE option_bit="10">
<!-- Indirect: The text saved for the text identifier caption_id_my_device2 is
displayed. -->
<NAME>$$caption_id_my_device2</NAME>
<form>
<init>
<!-- Indirect: The text saved for the text identifier
form_caption_device2 is displayed. -->
<caption>$$form_caption_device2</caption>
</init>
</form>
</DEVICE>
<!-- Indirect: The content of the variable caption_device_variable is displayed. -
->
<DEVICE option_bit="11">
<NAME>$$$caption_device_variable</NAME>
</DEVICE>
9.6 Examples
</control>
Note
"hotlink" attribute
The hotlink attribute results in a cyclic update of the corresponding control. This means that
when a value is entered, the following update cycle overwrites the entered value. To avoid
this behavior, the immediate saving of the entries must be activated with the
DATA_ACCESS tag.
Another possibility is to take the the SOFTKEY_OK identifier into the form. This identifier is
performed before the dialog is closed. In this block, the data comparison can be made
between the control and reference variables with the UPDATE_CONTROLS statement.
<DEVICE>
<list_id>3</list_id>
<name> "Test form" </name>
<form>
<init>
<caption>Equipment Manager</caption>
<control name = "edit1" xpos = "400" ypos = "34" refvar = "drive/dc/p105[DO5]"
/>
<control name = "edit1" xpos = "400" ypos = "54" refvar =
"$MC_AXCONF_MACHAX_USED[4]" />
<control name = "edit1" xpos = "400" ypos = "74" refvar = "drive/dc/p971[DO5]"
/>
<control name = "edit1" xpos = "400" ypos = "94" refvar = "drive/dc/r2[DO5]" />
</init>
<paint>
<text xpos = "40" ypos = "34">dc[DO5]/p105</text>
<text xpos = "40" ypos = "54">$MC_AXCONF_MACHAX_USED[4]</text>
<text xpos = "40" ypos = "74">dc[DO5]/p971</text>
<text xpos = "40" ypos = "94">dc[DO5]/r2</text>
</paint>
</form>
</DEVICE>
<form>
<init>
<caption>selected machine data</caption>
<DATA_ACCESS type="true" />
<!-- switch on the direct access to the NC variables -->
<control name = "edit1" xpos = "322" ypos = "34"
refvar="$MN_AXCONF_MACHAX_NAME_TAB[0]" />
<control name = "edit2" xpos = "322" ypos = "54"
refvar="$MN_AXCONF_MACHAX_NAME_TAB[1]" />
<control name = "edit3" xpos = "322" ypos = "74"
refvar="$MN_AXCONF_MACHAX_NAME_TAB[2]" />
<control name = "edit4" xpos = "322" ypos = "94"
refvar="$MN_AXCONF_MACHAX_NAME_TAB[3]" />
<!-- using the control type combo box to display the rotation axis value -->
<control name = "edit5" xpos = "322" ypos = "194" refvar="$MA_IS_ROT_AX[AX1]"
fieldtype = "combobox" hotlink="true" >
<item value= "0" >no</item>
<item value= "1" >yes</item>
</control>
</init>
<paint>
</paint>
</form>
Programming:
<DEVICE>
<list_id>1</list_id>
<name> "Activate the drive" </name>
<SET_ACTIVE>
<data name = "drive/dc/p105[DO5]">1</data>
<data name = "$MC_AXCONF_MACHAX_USED[4]">5</data>
<data name = "drive/dc/p971[DO5]">1</data>
<while>
<condition> "drive/dc/p971[DO5]" !=0 </condition>
<while>
<control_reset resetnc ="true" resetdrive = "true"/>
</SET_ACTIVE>
<SET_INACTIVE>
<data name = "drive/dc/p105[DO5]">0</data>
<data name = "$MC_AXCONF_MACHAX_USED[4]">0</data>
<data name = "drive/dc/p971[DO5]">1</data>
</while>
<condition> "drive/dc/p971[DO5]" !=0 </condition>
</while>
<control_reset resetnc ="true" resetdrive = "true"/>
</SET_INACTIVE>
</DEVICE>
<AGM>
<OPTION_MD NAME= "$MN_USER_DATA_INT[0]" />
<DEVICE>
<LIST_ID>1</LIST_ID>
<NAME> "PLC Device" </NAME>
<SET_ACTIVE>
<SET_ACTIVE>
<DATA NAME= "PLC/M100.0"> 1 </DATA>
</SET_ACTIVE>
<SET_INACTIVE>
<DATA NAME= "PLC/M100.0"> 0 </DATA>
</SET_INACTIVE>
</DEVICE>
</AGM>
Permitted operators
The operation statement processes the following operations:
Overview
The following identifiers are available for the description of the device:
● Identifier for Easy Extend
● Identifier for the device
● Identifier for commissioning the device
● Identifier for activating the device
● Identifier for deactivating the device
● Identifier for testing the device
Description
Example
9.7.3 CONTROL_RESET
Description
This identifier allows one or more control components to be restarted. Execution of the script
is only continued when the control has resumed cyclic operation.
Programming
Identifier: CONTROL_RESET
Syntax: <CONTROL_RESET resetnc="TRUE" />
Attributes: resetnc="true" The NC component is restarted.
resetdrive="true" The drive components are restarted.
9.7.4 DATA
Description
Identifier for access to NCK, PLC and drive data.
Further details are described in Chapter: Addressing the parameters (Page 282)
Programming
Identifier: DATA
Syntax: <data name ="<Address>" > value </data>
Attributes: name Identifier for the variable name
9.7.5 DATA_ACCESS
Description
The identifier controls the behavior of the dialog when user inputs are being saved. The
behavior should be defined within the INIT identifier. If this identifier is not used, inputs are
always buffered.
Exception: The following attribute is set: hotlink = true
Programming
Identifier: DATA_ACCESS
Syntax: --
Attributes: type=true There is no buffering of the input values. The dialog
copies the entered values directly to the reference
variables.
type=false The values are only copied to the reference
variables with the UPDATA_DATA type = "FALSE"
identifier.
9.7.6 DATA_LIST
Description
This identifier enables the drive and machine data to be buffered or restored. Up to 20
temporary data lists can be created per device.
Note
The system deletes the data lists when the Easy Extend function is exited.
Programming
Identifier: DATA_LIST
Syntax: <DATA_LIST action ="<read/write>" id="<list name>" > </DATA_LIST>
Attributes: action Identifier for variable values:
action="read" The values of the listed variables are stored in a
temporary memory.
The values of the listed variables are added to
action="append"
an existing list.
The backed up values of the variables are
action="write" copied into the relevant machine data.
id Identifier for identifying the temporary memory
Example
9.7.7 DRIVE_VERSION
Description
Identifier for the drive version. The version number is copied to the $driveversion variable
which is valid within the DEVICE identifier.
Further details are described in Chapter: Addressing the parameters (Page 282)
Programming
Identifier: DRIVE_VERSION
Syntax: --
Attributes: --
9.7.8 FILE
Description
The identifier enables the reading in or creation of standard or data class archives.
● Reading in an archive:
The file name of the archive must be specified for reading in an archive.
● Creating an archive:
If the attribute create= "true" is specified, the function creates a standard archive (*.arc)
under the specified name and stores the file in the …/dvm/archives directory.
If the attribute class is also used, the system also creates a data class archive. The
attributes class and group define the contents.
Programming
Identifier: FILE
Syntax: <file name ="<archive name>" />
<file name ="<archive name>" create="true" class="<data classes>"
group="<area>" />
Example
9.7.9 FUNCTION
Description
Function call: This identifier carries out the function specified under the attribute "name".
Programming
Identifier: FUNCTION
Syntax: <FUNCTION name = "function name" />
Attributes: name Function name
return Variable name for saving the result of the function
Call parameters: Call parameters are transferred as values of the XML statement.
The listed variables must be separated by a comma. A maximum of 10
parameters can be transferred.
It is also possible to specify constants or text expressions as call
parameters.
The identifier _T should be placed at the start as a means of identifying
a text expression.
Example
The calling function does not expect a return value
9.7.10 FUNCTION_BODY
Description
Function body: This identifier forms the function body of a subfunction.
Programming
Identifier: FUNCTION_BODY
Syntax:
Function body <FUNCTION_BODY name = "function name" >
without parameter …
</ FUNCTION_BODY>
Function body with <FUNCTION_BODY name="function_name" parameter="p1, p2, p3"
parameter >
…
<let name="tmp></let>
<op> tmp = p1 </op>
…
</ FUNCTION_BODY>
Function body with <FUNCTION_BODY name="function_name" parameter="p1, p2, p3"
return value return="true" >
…
<let name="tmp></let>
<op> tmp = p1 </op>
…
<op> $return= tmp </op>
</ FUNCTION_BODY>
Attributes: name Name of the subfunction's function body
return If the attribute is set to true, the system creates the
local variable $return. The function's return value
which is forwarded to the calling function when
exiting the function body should be copied to this
variable.
(optional)parameter The attribute lists the expected transfer
parameters. The parameters must be separated by
a comma.
When the function body is called, the values of the
parameters specified in the function call are copied
to the transfer parameters listed.
Example
9.7.11 INCLUDE
Description
An XML description is included in this statement.
Programming
Identifier: INCLUDE
Syntax: <?include src="file name" ?>
Attributes: src Identifier for the file name
9.7.12 LET
Description
Identifier for a local variable under the specified name.
The variable remains valid until the end of the higher-level XML block.
Variables which are to be available globally should be created directly after the AGM tag.
Note
Preassignment of a STRING variable
Texts containing more than one line can be assigned to a string variable if the formatted text
is transferred as a value. If a line is to end with a line feed <LF>, the characters "\n" should
be added at the end of the line.
Programming
Identifier: LET
Syntax: <let name ="<Name>" > preassignment </let>
<let name ="<Name>" type="<Variable type>"> preassignment </let>
Attributes: name Identifier for the variable name
type Permissible identifiers for the variable type:
Integer (INT)
Double (DOUBLE)
Float (FLOAT)
String (STRING)
Default:
If no type is defined, the system creates an integer
variable.
<LET name = "VAR1" type = "INT" />
A variable can be initialized with a value.
<LET name = "VAR1" type = "INT" > 10 </LET>
If values comprising NCK or PLC variables are
saved in a local variable, the assignment operation
automatically adapts the format to that of the
variables which have been loaded.
permanent If the attribute is set to TRUE, the variable value is
saved permanently.
This attribute only applies to global variables!
Syntax:
<let name ="<Name>" type="<Variable type>"
permanent="TRUE" > preassignment </let>
Example
9.7.13 MSGBOX
Description
The identifier opens a message window whose return value can be used for branching. If a
text reference is used, the message window displays the text which is saved for the
identifier.
Programming
Identifier: MSGBOX
Syntax: <MSGBOX text="<Text>" caption="<Title>" retvalue="<Variable>"
type="<Acknowledgment>" />
9.7.14 OP
Description
Identifier for an execute statement: All permissible operators may be executed. For
accessing the NCK, PLC and drive data, the complete variable name is to be placed in
quotation marks.
Programming
Identifier: OP
Syntax: <op> arithmetic operation </op>
Attributes: --
Example
Example
9.7.15 OPTION_MD
Description
The identifier allows option machine data to be redefined. As delivered, the system uses
MD14510 $MN_USER_DATA_INT[0] to $MN_USER_DATA_INT[3].
If the PLC user program manages the options, the appropriate data words must be provided
in a data block or GUD.
The data is structured in bits. Starting with bit 0, there is a fixed assignment of the bits to the
listed devices, i.e. bit 0 is assigned to device 1, bit 1 to device 2, etc. If more than 16 devices
are managed, the address identifiers of the device groups 1-3 are assigned via the area
index.
Note
Converting the value range
The value range of MD14510 $MN_USER_DATA_INT[i] is from -32768 to +32767. To
activate the devices bit-by-bit via the machine data dialog, the bit combination must be
converted to decimal representation.
Programming
Identifier: OPTION_MD
Syntax: Area 0:
<option_md name = "Address identifier of the data" />
OR:
<option_md name = "Address identifier of the data" index= "0"/>
Area 1 to 3:
<option_md name = "Address identifier of the data" index= "Area index"/>
Attributes: name Identifier for the address, e.g.
$MN_USER_DATA_INT[0]
index Identifier for the area index:
0 (default setting): Device 1 to 16
1: Device 17 to 32
2: Device 33 to 48
3: Device 49 to 64
9.7.16 PASSWORD
Description
If this identifier is assigned to a device, a softkey appears when the option is not set
requesting the input of a password for this device. The character string is processed by the
PLC and the result forwarded to the HMI via the option data.
Programming
Identifier: PASSWORD
Syntax: <password refvar = "variable name" />
Attributes: refvar Name of the reference variable
Example:
<password refvar="plc/db9900.dbd0" />
9.7.17 PLC_INTERFACE
Description
This identifier permits the PLC ↔ HMI interface to be redefined. The system expects 128
addressable words.
Default: DB9905
Programming
Identifier: PLC_INTERFACE
Syntax: <plc_interface name = "Address identifier of the data" />
Attributes: name Identifier for the address, e.g. "plc/mb170"
Example: plc/mb170
9.7.18 POWER_OFF
Description
Identifier for a message prompting the operator to switch the machine off. The message text
is permanently saved in the system.
Programming
Identifier: POWER_OFF
Syntax: <power_off />
Attributes: --
9.7.19 PRINT
Description
The identifier outputs a text in the message line or copies the text to the specified variable. If
the text contains formatting identifiers, the variable values are inserted at the appropriate
place.
● The specified "%n" results in a line break in the displayed text.
● The character '%' results in the formatting of the variable specified as the value:
%[Flags] [Width] [.decimal places] type
Parameter Application
Flags Optional character to define the formatting for the task:
Right or left-justified (- left-justified)
Add leading zeros (0)
Fill with blanks
Width The argument defines the minimum output width for a non-negative number. If
the value to be output has fewer places than the argument defined, the
missing spaces are filled with blanks.
Decimal places:
With floating-point numbers, the optional parameter defines the number of
decimal places.
Parameter Application
Type The type character defines which data formats are transferred for the PRINT
instruction. This character must be specified.
The following data formats are supported:
d: Integer value
f: Floating-point number
s: String
Values Number of variables whose values are to be inserted into the text. The variable
types must match the corresponding type identifier for the formatting
instruction.
Programming
Identifier: PRINT
Syntax: <print name = "Variable name" text="text %formatting"> Variable, …
</print>
Attributes: name Name of the variable where the text is to be stored.
text Text
9.7.20 WAITING
Description
After a reset of the NC or the drive, there is a wait for the restart of the respective
component.
Programming
Identifier: WAITING
Syntax: <WAITING WAITINGFORNC ="TRUE" />
Attributes: waitingfornc="true" There is a wait for the restart of the NC.
waitingfordrive="true" There is a wait for the restart of the drive.
9.7.21 ?up
Description
SinuCom Installer:
This section contains the script language for the SinuCom Installer. If the code from a
SinuCom Installer file is to be included, the INCLUDE (Page 265) statement must be used.
Programming
Identifier: ?up
Syntax: <?up
<?include src="Filename" ?>
?>
Attributes: --
Description
Example
</DEVICE>
…
</AGM>
9.7.23 BOX
Description
Identifier for drawing a filled rectangle at the specified position, colored as specified.
Programming
Identifier: BOX
Syntax: <box xpos="X position" ypos = "Y position" width="X extension" height="Y
extension" color="Color code" />
Attributes: xpos Position in the X direction (zero point in the left upper corner)
ypos Position in the Y direction (zero point in the left upper corner)
width Extension in X direction (in pixels)
height Extension in Y direction (in pixels)
color Color
9.7.24 CONTROL
Description
Identifier for creating control elements.
Default: fieldtype="edit" The data can be edited.
Programming
Identifier: CONTROL
Syntax: <control name = "edit1" xpos = "X position" ypos = "Y position" refvar="NC
variable" hotlink="true" format="Format" display_format="FLOAT" />
Attributes: name Name of the field: A local variable of the same
name is created for each field.
xpos Position in the X direction (zero point in the left
upper corner)
ypos Position in the Y direction (zero point in the left
upper corner)
fieldtype Field type:
fieldtype="edit" The data can be edited.
fieldtype="readonly" The data can be read.
fieldtype="combobox" Identifiers are shown instead of the data.
Note
Cyclic update
The "hotlink" attribute results in a cyclic update of the corresponding control.
This means that If a value is entered, the following update cycle overwrites the entered
value.
To avoid this behavior, the immediate saving of the entries must be activated with the
DATA_ACCESS identifier.
Example
If "combo box" is selected as the field type, the expressions to be displayed must also be
defined. The <item> identifier should be used for this:
The combo box saves the index of the currently selected text in the variable belonging to the
"CONTROL" (variable name). The index starts with 1.
Syntax: <item>expression</item>
9.7.25 IMG
Description
Identifier for displaying a pixel graphic in the directory: ../oem/sinumerik/hmi/dvm
● The bitmaps must be stored in BMP or PNG format.
● Lower-case letters should be used for all file names.
● If the image display is to differ from the original in terms of size, the attributes width and
height can be used to define the dimensions.
Programming
Identifier: IMG
Syntax: <img name = "<Name>" xpos = "X position" ypos = "Y position" height =
"Scaling in Y" width = "Scaling in X" />
9.7.26 PROPERTY
Description
The identifier specifies additional properties of an operator control.
Programming
Identifier: PROPERTY
Syntax: <property attribute="<Value>" />
Attributes: max Maximum input value
min Minimum input value
default Default
Example
<control name = "edit" xpos = "10" ypos = "10" width = "100" hotlink="true"
refvar="nck/Channel/GeometricAxis/actProgPos[1]" >
<property min="0" />
<property max="1000" />
</control>
9.7.27 REQUEST
Description
This identifier is only valid within the INIT statement of a form. This identifier is used to add a
variable to the cyclic reading service (hotlink).
Programming
Identifier: REQUEST
Syntax: <REQUEST name = "NC variable" />
Attributes: name Address identifier
Description
The identifier SOFTKEY_OK overwrites the standard behavior when closing a dialog by
means of the "OK" softkey. The identifier SOFTKEY_CANCEL overwrites the standard
behavior when closing a dialog by means of the "CANCEL" softkey.
The following functions can be performed within this identifier:
● Data manipulation
● Conditional processing
● Loop processing
Programming
Identifier: SOFTKEY_OK
Syntax: <SOFTKEY_OK>
…
</SOFTKEY_OK>
Identifier: SOFTKEY_CANCEL
Syntax: <SOFTKEY_CANCEL>
…
</SOFTKEY_CANCEL>
9.7.29 TEXT
Description
Identifier for displaying text
Programming
Identifier: TEXT
Syntax: <text xpos="X position" ypos = "Y position" color="Color code"> Text
</text>
Attributes: xpos Position in the X direction (zero point in the left upper corner)
ypos Position in the Y direction (zero point in the left upper corner)
color Color
9.7.30 TYPE_CAST
Description
Identifier to convert the data type of a local variable.
Programming
Identifier: TYPE_CAST
Syntax: <type_cast name="variable name" type=" new type" />
Attributes: name Name of variable
type New data type
convert Interprets the bit combination (indirect assignment)
Example
Special case:
If a PLC double word is to be processed as a floating-point number, an assignment to a local
variable is necessary. So that the binary value can be saved correctly, the format of the local
variables must be of the INTEGER type.
It is then converted to a floating-point number with the TYPE_CAST operation. In order to be
able to interpret the integer value as a floating-point number, use the convert attribute
instead of the type attribute. It interprets the bit combination of the integer value as a float
value and changes the format specification of the variables to float.
9.7.31 UPDATE_CONTROLS
Description
This identifier performs a comparison between the operator controls and the reference
variables.
Programming
Identifier: UPDATE_CONTROLS
Syntax: <update_controls type="<Direction>"/>
Attributes: type The attribute defines the direction of the data
comparison.
TRUE The data is read from the reference variables
and copied to the operator controls.
FALSE The data is copied from the operator
controls to the reference variables.
Addressing parameters
Address identifiers for the desired data must be created to address NC variables, PLC
blocks or drive data. An address consists of the subpaths component name and variable
address. A slash should be used as a separating character.
Addressing PLC data blocks
Example:
<data name = "plc/mb170">1</data>
Addressing NC variables
Addressing starts with the path section nck. This section is followed by the data address; its
structure should be taken from the OEM Package Parameter Manual 2.
Example:
<let name = "tempStatus"></let>
Structure Meaning
x: N General machine or setting data
C Channel-specific machine or setting data
A Axis-specific machine or setting data
index: For a field, the parameter indicates the index of the data.
AX<axis_number>: The required axis (<axis_number>) has to be specified for axis-
specific data.
Alternatively, the axis index can be read from a local variable
using a "substitution character" $<variable name>: e.g.
AX$localvariable
Example:
<data name ="$MN_AXCONF_MACHAX_NAME_TAB[0] ">X1</data>
Then enter the GUD name. If an array is to be addressed, the name is followed by the array
subscript in square brackets.
Example:
<data name ="gud/channel/mgud/syg_rm[0]">1</data>
Example:p0092[do1]
Note
Numbering
The number of the drive object differs from the numbering used in the drive dialog, since the
CU components, ALM and all connected hubs are integrated in the consecutive numbering.
Indirect addressing:
<let name = "driveIndex> 0 </let>
Addressing an NX
An NX module is treated as another CU, module addressing uses the CU specification,
whereby the desired NX number incremented by one is specified in square brackets after the
parameter.
Parameter number[CU<CU index>]
Example
<let name="r0002_content"></let>
<let name="p107_content"></let>
<!- Reading of value r0002 from the CU ->
<op> r0002_content = "drive/cu/r0002" </op>
<op> r0002_content = "drive/cu/r0002[CU1]" </op>
<!- Reading of value r0002 from the NX1 ->
<op> r0002_content = "drive/cu/r0002[CU2]" </op>
<!- Reading of value p107[0] from the CU ->
<op> p107_content = "drive/cu/p107[0]" </op>
<print text="%d"> p107_content </print>
<!- Reading of value p107[0] from the NX1 ->
<op> p107_content = "drive/cu/p107[0,CU2]" </op>
<print text="%d"> p107_content </print>
Program statements
The following identifiers are permissible for statements:
</IF>
THEN Statement for situations where the condition has been met (IF, THEN,
ELSE).
ELSE Statement for situations where the condition has not been met (IF, THEN,
ELSE).
do
Statements
while (test)
Syntax:
<DO_WHILE>
Statements
…
<CONDITION>…</CONDITION>
</DO_WHILE>
SWITCH The SWITCH statement describes a multiple choice. A term is evaluated
once and compared with a number of constants. If the term matches the
constants, the statements are processed within the CASE statement.
The DEFAULT statement is processed when none of the constants listed
match the expression.
Syntax:
<SWITCH>
<condition> Expression </condition>
<CASE value="<constant 1>" >
Statements ...
</CASE>
<CASE value="<constant 2>" >
Statements ...
</CASE>
<DEFAULT>
Statements ...
</DEFAULT>
</SWITCH>
Name Function
string.cmp Comparing character strings (string.cmp (Page 290))
string.icmp Comparing character strings without consideration of upper/lower case
(string.icmp (Page 291))
string.left Selecting number of characters from the left (string.left (Page 292))
string.right Selecting number of characters from the right (string.right (Page 293))
string.middle Selecting number of characters from the middle (string.middle
(Page 293))
string.length Determining the length of a character string (string.length (Page 294))
string.replace Replacing character strings (string.replace (Page 295))
string.remove Deleting character strings (string.remove (Page 295))
string.insert Inserting a character string from index (string.insert (Page 297))
string.delete Deleting a number of characters in a character string (string.delete
(Page 296))
string.find Finding a subset of a character string (forwards) (string.find
(Page 298))
string.reversefind Finding a subset of a character string (backwards) (string.reversefind
(Page 298))
string.trimleft Removing blanks from the left (string.trimleft (Page 300))
string.trimright Removing blanks from the right (string.trimright (Page 301))
9.8.1 string.cmp
Description
Two strings are compared with each other.
The function gives a return value of zero if the strings are the same, a value less than zero if
the first string is smaller than the second string or a value greater than zero if the second
string is smaller then the first string.
Programming
Designation: string.cmp
Syntax: <function name="string.cmp" retvar ="<int var>" > str1, str2 </function>
Parameters: str1 String
str2 Comparison string
rval Result
Example
<let name="rval">0</let>
<let name="str1" type="string">A brown bear hunts a brown dog.</let>
<let name="str2" type="string">A brown bear hunts a brown dog.</let>
<function name="string.cmp" return="rval"> str1, str2 </function>
;Result: rval=0
9.8.2 string.icmp
Description
Two strings are compared (the comparison is not case-sensitive).
The function gives a return value of zero if the strings are the same, a value less than zero if
the first string is smaller than the second string or a value greater than zero if the second
string is smaller then the first string.
Programming
Designation: string.icmp
Syntax: <function name="string.icmp" retvar ="<int var>" > str1, str2 </function>
Parameters: str1 String
str2 Comparison string
rval Result
Example
<let name="rval">0</let>
<let name="str1" type="string">A brown bear hunts a brown dog.</let>
<let name="str2" type="string">A brown Bear hunts a brown Dog.</let>
<function name="string.icmp" return="rval"> str1, str2 </function>
;Result: rval=0
9.8.3 string.left
Description
The function extracts the first nCount characters from string 1 and copies them to the return
variable.
Programming
Designation: string.left
Syntax: <function name="string.left" return="< result string>"> str1, nCount
</function>
Parameters: str1 String
nCount Number of characters
Example
9.8.4 string.right
Description
The function extracts the last nCount characters from string 1 and copies them to the return
variable.
Programming
Designation: string.right
Syntax: <function name="string.right" return="< result string>"> str1, nCount
</function>
Parameters: str1 String
nCount Number of characters
Example
9.8.5 string.middle
Description
The function extracts the specified number of characters from string 1, starting from the iFirst
index, and copies them to the return variable.
Programming
Designation: string.middle
Syntax: <function name="string.middle" return="< result string>"> str1, iFirst,
nCount </function>
Parameters: str1 String
iFirst Start index
nCount Number of characters
Example
;Result: str2="brown"
9.8.6 string.length
Description
The function gives the number of characters in a string.
Programming
Designation: string.length
Syntax: <function name="string.length" return="< int var>"> str1 </function>
Parameters: str1 String
length Result
Example
<let name="length">0</let>
<let name="str1" type="string">A brown bear hunts a brown dog.</let>
<function name="string.length" return="length"> str1 </function>
; Result: length=31
9.8.7 string.replace
Description
The function replaces all the substrings found with the new string.
Programming
Designation: string.replace
Syntax: <function name="string.replace"> string, find string, new string </function>
Parameters: string String
find string String to be replaced
new string New string
Example
9.8.8 string.remove
Description
The function deletes all the substrings found.
Programming
Designation: string.remove
Syntax: <function name="string.remove" > string, remove string </function>
Parameters: string String
remove string Substring to be deleted
Example
<let name="index">0</let>
<let name="str1" type="string">A brown bear hunts a brown dog. </let>
<function name="string.remove" > str1, _T"a brown dog" </function>
9.8.9 string.delete
Description
The function deletes the defined number of characters starting from the start position
specified.
Programming
Designation: string.delete
Syntax: function name="string.delete"> string, start index, nCount </function>
Parameters: string String
start index Start index
nCount Number of characters
Example
9.8.10 string.insert
Description
The function inserts a string at the index specified.
Programming
Designation: string.insert
Syntax: <function name="string.insert"> string, index, insert string </function>
Parameters: string String variable
index Number of characters to be inserted
insert string String to be inserted
Example
9.8.11 string.find
Description
The function searches the transferred string for the first match with the substring. If the
substring is found, the function provides the index to the first character (starting with zero),
otherwise -1.
Programming
Designation: string.find
Syntax: <function name="string.find" return="<int val>"> str1, find string </function>
Parameters: string String variable
find string String to be found
Example
<let name="index">0</let>
<let name="str1" type="string">A brown bear hunts a brown dog. </let>
<function name="string.find" return="index"> str1, _T"brown" </function>
; Result: index=2
9.8.12 string.reversefind
Description
The function searches the transferred string for the last match with the substring. If the
substring is found, the function provides the index to the first character (starting with zero),
otherwise -1.
Programming
Designation: string.reversefind
Syntax: <function name="string.reversefind" return="<int val>"> str1, find string
</function>
Parameters: string String variable
find string String to be found
Example
<let name="index">0</let>
<let name="str1" type="string">A brown bear hunts a brown dog. </let>
<function name="string.reversefind" return="index"> str1, _T"brown" </function>
; Result: index=21
9.8.13 string.trimleft
Description
The function trims the starting characters from a string.
Programming
Designation: string.trimleft
Syntax: <function name="string.trimleft" > str1 </function>
Parameters: str1 String variable
Example
9.8.14 string.trimright
Description
The function trims the closing characters from a string.
Programming
Designation: string.trimright
Syntax: <function name="string.trimright" > str1 </function>
Parameters: str1 String variable
Example
Name Function
sin Sine
cos Cosine
tan Tangent
arcsin Arc sine
arccos Arc cosine
arctan Arc tangent
Programming
Designation: sin
Syntax: <function name="sin" return="<double val>"> double </function >
Designation: cos
Syntax: <function name="cos" return="<double val>"> double </function >
Designation: tan
Syntax: <function name="tan" return="<double val>"> double </function >
Parameters: double Angle (0° to 360°)
Example
Designation: arcsin
Syntax: <function name="arcsin" return="<double val>"> double </function >
Designation: arccos
Syntax: <function name="arccos" return="<double val>"> double </function >
Parameters: double x in the range from -1 to +1
Value range: arcsin y in the range from -π/2 to +π/2
arccos y in the range from 0 to π
Programming of arctan
Designation: arctan
Syntax: <function name="arctan" return="<double val>"> double </function >
Parameters: double x arbitrary value
Value range: y in the range from -π/2 to +π/2
Example
Note
Scope of delivery
Tool management is included in the scope of delivery for all controls (M/T version).
The function "Spare tools for tool management" (duplo tools) is an option.
See also
Additional references:
● SINUMERIK 828D Parameter Manual
● A comprehensive description of the tool and magazine parameters and the internal data
structure is to be found in:
→ Description of Functions Tool Management of the SINUMERIK 840D sl
As far as the range of functions is concerned, the NCK part of this documentation is also
valid for the SINUMERIK 828D.
The description of the PLC functions and the communication between NC and PLC in this
documentation is not valid for the SINUMERIK 828D.
● The settings of the tool management user interface are described in:
→ Commissioning Manual Base Software and Operating Software (IM9)
Function structure
The software components of the control have the following tasks in the tool management:
● HMI:
– Tool data display, input/output
– Magazine data display, input/output
– Load/Unload relocation dialog
● NCK:
The tool management administrates the magazine locations. These locations might be
empty, loaded with tools or assigned to oversized tools in adjacent locations. Empty
locations can be loaded with other tools. The tool management provides the machine
manufacturer with optimized management of tools and magazine locations. Magazine
management provides extended functions such as load, unload or position tools. It also
includes searches for tools, magazine locations and search strategies for replacement
tools.
For the tool monitoring functions, while the active monitoring is running, tools are disabled
and no longer used. To continue machining, an equivalent tool (duplo tool) that is not
disabled is used, if available.
● PLC:
– Execute tool change
– Move tools in the magazine
– Gripper control
– Magazine control if applicable
– Safety interlocks
– Providing the structure of tool movements in transfer step tables
– Acknowledgment of the tool movements with acknowledgment step tables
PLC firmware
Functions of the PLC firmware:
● Assignment of tool management jobs to the PLC user program
● Communication of PLC user program acknowledgments to the tool management
● Transfer feedback signals for each acknowledgment (acknowledgment incorrect with
error number of acknowledgment OK) to PLC user program.
● In addition: Register order status
Note
Default settings for tool magazines
The number of magazines, which the NCK can manage, is permanently set by the system:
PPU24x.2: Number of magazines = 3
PPU26x.2: Number of magazines = 3
PPU28x.2: Number of magazines = 4
Since at least one buffer and one loading point must be available, the PPU24x.2/PPU26x.2
can manage one real magazine and the PPU28x.2 can manage two real magazines.
When the control powers up, depending on the technology, the following tool magazines are
pre-selected and created:
Milling: one chain magazine with 20 locations, double gripper and a tool carrier
Turning: one revolver with 8 locations, a tool carrier
Magazines
Information is provided by the system for all locations in the magazine, describing the
content and status of the locations.
The position of a tool is described by an identifier for the magazine and an identifier for the
location. Magazines have an identifier and a number, magazine locations only a number. In
a real magazine (chain, turret, etc.), the position of the tool is identified by the magazine
number assigned during start-up and the location within the magazine.
Example:
The T number of the tool in magazine location 7 in magazine 1: $TC_MPP6[1,7]
Tool list
The tool list contains all the tools known to the NC. These are the tools in the magazine and
unloaded tools whose data is to be retained. The tool management works with loaded tools
from the tool list.
Magazine list
The magazine list is a location-oriented map of the tool magazine, gripper and spindle. The
tool management only works with the tools from the magazine list. Additional tools without a
magazine assignment can also be selected for tool changes. The tool must be inserted in the
machine manually and removed again manually after machining (manual tool).
Loading magazine
The loading magazine is the 1st internal magazine and is assigned magazine number 9999.
The loading magazine has loading points for loading and unloading tools.
For the allocation of locations, one is fixed, all other locations can be assigned freely.
Location 1 in the loading magazine is used for the fixed assignment. Location 1 is reserved
for loading/unloading to all spindles/tool holders.
All positioning and relocation jobs to any locations (not loading points) are still handled via
location 1. The stated jobs, which refer to a particular loading point, are output at the
interface of this loading point. The loading points are assigned to magazines during start-up
($TC_MDP1). A loading point is an open access point to the magazine, where a tool is
manually loaded and unloaded from the magazine.
Buffer
Buffers are located in the 2nd internal magazine. The buffer includes the spindle, tool holder,
gripper, loader and transfer location. The buffers are managed under magazine number
9998. Each buffer element is assigned a unique location. Any location numbers may be
assigned. It is recommended that all spindles or tool holders be numbered in ascending
order, starting at number 1. The assignment to real magazines or of spindles/tool holders to
other buffers is made during start-up ($TC_MDP2, $TC_MLSR).
Chain magazine
The setting in MD22550: $MC_TOOL_CHANGE_MODE may only have the value 1 for these
magazine types.
Chain magazines do not as a rule have any additional buffer available for transportation
between magazine and spindle. These additional buffers can contain tools temporarily.
Description of the buffers and loading points:
Circular magazine
The setting of MD22550: $MC_TOOL_CHANGE_MODE normally has the value 0.
Circular magazines do not have any additional buffer with which tools can be transported
from the magazine to the spindle. The tools on circular magazines are not physically
transported into the spindle, but are moved into a defined position through rotation of the
turret so that machining can take place with one particular tool. The tool is only transported
to the spindle or tool holder in the software. Transporting the tool to the buffer 9998/1
(spindle) serves to inform the tool management that the turret holding the requested tool has
been turned to the machining position.
The programming command T = identifier initiates the tool change. T = location can be
programmed as an alternative. If T = location, no tool need actually be stored in the location.
Description of the buffers and loading points:
If the value 1 is also set for the revolver in MD22550: $MC_TOOL_CHANGE_MODE, the
statement made for the chain magazines also applies here.
See also
You can find additional information in the "Machine data for the tool management
(Page 328)" section.
Manual tools
Bit 1 of MD22562: $MC_TOOL_CHANGE_ERROR_MODE decides whether additional tools
without magazine allocation can be selected during tool change. The automatically selected
tool must be inserted in the machine manually and removed again manually after machining.
Note
The responsibility is on the user to comply with the safety regulations via the PLC program.
An alarm (17212, 17214 or 17216) is always output to indicate that a tool change involving a
manual tool has been executed. The alarm is reset by the tool change acknowledgment of
the PLC user program.
Overview
The tool management receives tasks for preparing and carrying out a tool change
(T command, M06), a tool movement (MVTOOL) or magazine positioning (POSM) from the
part program or from the HMI. From these tasks the TM defines the location change needed
for the tool and assigns this to the PLC.
Program components and interfaces:
V\VWHP
1&.
7RROPDQDJHPHQW
1&.3/&LQWHUIDFH
3/&
3/&)LUPZDUH
8VHULQWHUIDFH
8VHU 2UGHU $FNQRZOHGJPHQW )HHGEDFNVLJQDO 2UGHUVWDWXV
'%[['%[[ '%[['%[[ '%[['%[[ '%[['%[[
'%;'%% '%;'%; '%%'%% '%%
3/&XVHUSURJUDP
&RQWURORIPDFKLQHIXQFWLRQVDFNQRZOHGJLQJWUDQVIHUVWHSV
The user interface provides separate data blocks for loading, unloading, relocating and
magazine positioning on the one hand and tool change on the other hand.
Rule
The distribution of jobs to the interfaces takes place according to the following rule:
If the job contains a loading point (9999/x), that interface will be used.
Otherwise, the interface of the first loading point (9999/1) will be used.
All acknowledgments for a job must take place in the interface of the same loading point.
Jobs
Signal description:
● Job:
The interface contains a job. Job processing has not yet been completed with an end
acknowledgment. This signal is reset after transmission of the end acknowledgment to
the tool management.
● Loading:
The "target location" parameter's magazine location should be loaded with a tool via the
"source location" parameter's loading station.
● Unloading:
The tool in the "source location" parameter's magazine location should be unloaded to
the "target location" parameter's unloading station.
● Relocating:
The tool in the "source location" parameter's magazine location should be relocated to
the "target location" parameter's magazine location.
● Positioning:
The "source location" parameter's magazine location should be positioned at the "target
location" parameter's change/loading/unloading station. The tool remains in its magazine
location.
● NC program positions magazine:
The positioning job comes from the part program.
● Loading/unloading without moving magazine:
The signal is set by the HMI when reading in setup data or for the "Unload all tools"
function in addition to the loading and unloading jobs. The signal can be used in the PLC
user program to interlock undesirable magazine movements (e.g. set only total
acknowledgment, no further action). The signal is reset by the system with a valid end
acknowledgment for the job to the tool management.
● Source location:
Magazine and location number of a tool that traverses or should be positioned at a
change or loading station.
● Target location:
Magazine and location number to where a tool is moving or to where a magazine location
should be positioned.
Acknowledgments
Signal description:
● Total acknowledgment:
At a 0/1 edge the end acknowledgment, with status 99, is sent to the current job (job
complete, all target positions have been reached). As long as the signal is present, no
changes may be made to the data of this interface!
This signal is reset by the PLC firmware after the acknowledgment has been transferred
to the tool management.
● Acknowledgment step 1…30:
At a 0/1 edge, the appropriate acknowledgment step from the acknowledgment step table
is sent to the tool management. As long as the signal is present, no changes may be
made to the data of this interface and the variable transfer-step table!
This signal is reset by the PLC firmware after the acknowledgment has been transferred
to the tool management.
● Resetting the acknowledgment error:
Resetting the message "Acknowledgment error" /DB41xx.DBX100.1) and the diagnostic
information in the feedback interface.
Feedback reports
Signal description:
● Acknowledgment OK (DB41xx.DBX100.0):
The acknowledgment of the PLC user program (area DB40xx.DBB0 to DBB3) was
transferred without error to the tool management. This signal is reset after one PLC cycle.
● Acknowledgment error (DB41xx.DBX100.1):
Negative feedback of acknowledgment status. There is an error in the acknowledgment
of the PLC user program (area DB40xx.DBB0 to DBB3). The cause of the error is
displayed in "Error status."
The "acknowledgment error" bit is only set if the acknowledgment from the PLC firmware
is accepted as error free and the tool management detects and signals an error in the
acknowledged tool transfer (for example, when the target location for tool transfer is
occupied).
Errors that are detected directly by the tool management in the NC before an
acknowledgment is sent by the PLC user program, do not result in the setting of bit 100.1.
If an error is present that prevents transfer of the acknowledgment to the tool
management (error status 1 to 7), the error is only output on the interface of the tool
management and not by the NC (no NC alarm!).
If necessary, signal such errors with a user PLC alarm in the PLC user program.
This signal remains pending statically until the error has been acknowledged (set the bit
"Reset acknowledgment error" DB40xx.DBX9.0) by the user. The interface in
DB40xx.DBB0 to DBB3 is disabled if bit "acknowledgment error" is pending. Incoming
acknowledgment bits are not evaluated by the PLC firmware and are cleared when bit
"Reset acknowledgment error" is set.
Error status:
If there is an error, the error status (DB41xx.DBB104) contains a diagnostic number unequal
to zero.
Status Meaning
0 No error
1 Multiple acknowledgment signals at the same time
2 Acknowledgment without job
3 Invalid transfer step number
4 There is no job for a position specification
5 The status does not permit a location change (acknowledgment status 0 is
used)
7 An impermissible acknowledgment status has been used
Other values: The number corresponds to the error message of the tool management in the
NCK caused by this transfer
Job status
Interface description
Per tool holder/spindle there is one interface for:
● Jobs for preparing and executing the tool change.
Message to the PLC user program: Job active; job specification and job description.
The jobs appear in the toolholder interface (of the spindle) where a tool is to be
exchanged.
● Acknowledgments of the PLC user program
All acknowledgments for a job must take place in the interface of the same tool holder (of
the same spindle). Acknowledgment errors should also be reset in this interface.
● Feedback from the tool management to the PLC user program
Message to the PLC user program: Acknowledgment status, error status, map of the
acknowledgment bits.
● Job status
Selected data from the last intermediate or end acknowledgment is saved. This data is
needed by the PLC firmware for the next acknowledgment to the tool management and is
readable for diagnostic purposes. This data can be used by the user program to restart
after an abort (e.g. reset during a tool change).
Jobs
Signal description:
● Job:
The interface contains a job. Job processing has not yet been completed with an end
acknowledgment. This signal is reset after transmission of the end acknowledgment to
the tool management.
● Fixed-location coded: The new tool is fixed-location coded.
● Execute tool change:
The new tool is to be loaded into the tool holder / the spindle. The old tool is to be brought
back to a magazine location. This job always requires an end acknowledgment.
● Prepare a tool change:
Initialize new tools. If necessary, position magazine location for old tool at the changing
point. This job requires an individual end acknowledgment. If there is a parallel job
"Execute change," end acknowledgment for the preparation is not necessary.
● T0: T0 has been programmed (empty tool holder / spindle).
● No old tool:
Tool change into the previously empty tool holder / spindle.
● Load manual tool:
A manual tool is to be loaded. The HMI displays the tool which is to be loaded.
● Unload manual tool:
The tool is to be changed via manual operation.
● Tool remains in spindle:
The bit is set at a change from tool holder → spindle to tool holder → spindle. Triggers can
be, for example, reset start mode or block search.
● Source location for the new tool:
Magazine and location number from where the new tool comes (mostly a location in a
real magazine).
● Target location for the old tool:
Magazine and location number to where the old tool is to be transported (mostly a
location in a real magazine).
● Origin of the new tool:
– Internal T number: Internal T number of the new tool
– Tool status: Tool status of the new tool
– Location type: Location type of the new tool
– Size: Size (right, left, up, down) of the new tool
– User-definable parameters: Three user-definable parameters which are transferred by
the part program to the PLC user program.
Acknowledgments
Signal description:
● Total acknowledgment:
At a 0/1 edge, the end acknowledgment, with status 99, is sent to the current job (job
complete, all target positions have been reached). As long as the signal is present, no
changes may be made to the data of this interface!
This signal is reset by the PLC firmware after the acknowledgment has been transferred
to the tool management.
● Acknowledgment step 1…30:
At a 0/1 edge, the appropriate acknowledgment step from the acknowledgment step table
is sent to the tool management. As long as the signal is present, no changes may be
made to the data of this interface and the variable transfer-step table!
This signal is reset by the PLC firmware after the acknowledgment has been transferred
to the tool management.
● Resetting the acknowledgment error:
Resetting the message Acknowledgment error (DB43xx.DBX100.1) and the diagnostic
information in the feedback interface.
Feedback reports
Signal description:
● Acknowledgment OK (DB43xx.DBX100.0): Positive feedback of acknowledgment status.
The acknowledgment of the PLC user program (area DB42xx.DBB0 to DBB3) was
transferred without error to the tool management. This signal is reset after one PLC cycle.
● Acknowledgment error (DB43xx.DBX100.1): Negative feedback of acknowledgment
status.
There is an error in the acknowledgment of the PLC user program (area DB42xx.DBB0 to
DBB3). The cause of the error is displayed in "Error status."
The "acknowledgment error" bit is only set if the acknowledgment from the PLC firmware
is accepted as error free and the tool management detects and signals an error in the
acknowledged tool transfer (for example, when the target location for tool transfer is
occupied).
Errors that are detected directly by the tool management in the NC before an
acknowledgment is sent by the PLC user program, do not result in the setting of bit 100.1.
If an error is present that prevents transfer of the acknowledgment to the tool
management (error status 1 to 7), the error is only output on the interface of the tool
management and not by the NC (no NC alarm!).
If necessary, signal such errors with a user PLC alarm in the PLC user program.
This signal remains pending statically until the error has been acknowledged (set the bit
"Reset acknowledgment error" DB4200.DBX9.0) by the user. The interface in
DB42xx.DBB0 to DBB3 is disabled if bit "acknowledgment error" is pending. Incoming
acknowledgment bits are not evaluated by the PLC firmware and are also cleared when
bit "Reset acknowledgment error" is set.
Error status:
If there is an error, the error status (DB43xx.DBB104) contains a diagnostic number unequal
to zero.
Status Meaning
0 No error
1 Multiple acknowledgment signals at the same time
2 Acknowledgment without job
3 Invalid transfer step number
4 There is no job for a position specification
5 The status does not permit a location change (acknowledgment status 0 is
used)
7 An impermissible acknowledgment status has been used
Other values: The number corresponds to the error message of the tool management in the
NCK caused by this transfer.
Job status
The data blocks DB40xx, 41xx, 42xx and 43xx are system blocks and are created
automatically by the control.
The data blocks DB9900, DB9901 and DB9902 are made available by the Programming
Tool under Libraries / Special data blocks. The blocks are not yet filled with the necessary
data. The user must copy them into the PLC project and edit them.
Transfer-step tables
The individual tool movements are defined as transfer steps – tool from magazine location
x/y to magazine location m/n. Acknowledgment steps can be defined with these transfer
steps. DB9900 contains permanently configured transfer steps (constant transfer-step table).
DB 9901 can be changed by the PLC user program; for example, for acknowledging
intermediate steps like magazine locations for tool change preparation (variable transfer-step
table).
See also
PLC Program Blocks (Page 337)
MD20270: $MC_CUTTING_EDGE_DEFAULT
If no cutting edge is programmed after a tool change, the cutting edge number set in
$MC_CUTTING_EDGE_DEFAULT is used.
MD20270: $MC_CUTTING_EDGE_DEFAULT
Basic setting of tool cutting edge without programming (DWORD)
>0 Number of the cutting edge that is selected with M206 Cutting edge selection is also
active if followed by D programming.
=1 Default setting
=0 No cutting edge is initially active after a tool change. Any tool offset active before tool
change is deselected (corresponds to D0!). Cutting edge selection only active with D
programming.
= -1 Tool edge number of old tool also applies to new tool.
= -2 Tool edge offset of old tool remains active until D is programmed.
The setting in MD20270 affects the block preparation of the NC. To prevent preprocessing
stop from occurring when tool change command is called until it is acknowledged again,
perform NC functions without tool offset in the tool change subprogram, for example,
traversing axes or output of auxiliary functions.
Example:
Requirement: MD20270: $MC_CUTTING_EDGE_DEFAULT= 0 or = -2
After the tool change command M206 the axes can continue travel without having to wait for
the tool change acknowledgment and execute traversing blocks without tool compensation.
Travel only stops in a block with compensation selected (D no.) until end of tool change is
signaled by the PLC.
Sequence in the part program:
MD20310: $MC_TOOL_MANAGEMENT_MASK
Settings:
MD20310: $MC_TOOL_MANAGEMENT_MASK
Activating the tool management functions
T and M version:
Bit 0 =1 Tool management active:
The functions of tool management are enabled for the current channel.
Bit 1 =1 Monitoring functions of tool management active:
The functions for monitoring tools (tool life and workpiece count) are enabled.
Bit 2 =1 OEM functions active
Bit 3 =1 Adjacent location consideration active
Bit 14 =1 Tool and offset selection according to the settings in:
MD20110 $MC_RESET_MODE_MASK
MD20112 $MC_START_MODE_MASK
Bit 23 =1 With offset selection no synchronization with main run.
MD20310: $MC_TOOL_MANAGEMENT_MASK
Bit 24 =1 Using an asynchronous transfer with acknowledgment status 201, you can move
a tool to a location reserved for another tool with "reserved for tool from buffer".
This location reservation is then removed before the movement is executed
("Reserved for new tool to be loaded" (bit value="H8") remains effective).
Additionally only for T version:
Bit 16 =1 T location number is active.
If a locked tool is at the programmed location, the location of a replacement tool (if available)
is output as job from the tool management when the "Spare tools for tool management"
option is set.
SD52270: $MCS_TM_FUNCTION_MASK
Tool management function mask
Bit 0: Creating a tool at the magazine location is not permitted.
Tools can only be created outside of the magazine.
Bit 1: Load/unload lock, if the machine is not in the reset state.
Tools can only be loaded/unloaded when the relevant channel is in the reset state.
Bit 2: Load/unload lock for EMERGENCY STOP.
Tools can only be loaded/unloaded when EMERGENCY STOP is not active.
Bit 3: Tool in/out of spindle load/unload locked.
Tools cannot be loaded to or unloaded from the spindle.
Bit 4: Loading is performed directly into the spindle.
Tools are only loaded directly into the spindle.
Bit 5: Reserved
Bit 6: Reserved
Bit 7: Create tool using the T number.
The T number of the tool must be entered when creating a tool.
Bit 8: Hide tool relocation.
The "Relocate tool" function is hidden in the user interface.
Bit 9: Hide magazine positioning.
The "Position magazine" function is hidden in the user interface.
Bit 10: Reactivate tool with magazine positioning.
Before reactivating, the tool is positioned at the loading point.
Bit 11: Reactivate tool in all monitoring types.
When reactivating a tool, all the monitoring types for this tool enabled in the NC are
reactivated. I.e. also the monitoring types that are not set for the relevant tool, but are
only in the background.
Bit 12: Hide reactivating tool.
The "Reactivate tool" function is hidden in the user interface.
MD10888 $MN_EXTERN_DIGITS_TOOL_NO = 0
MD10889 $MN_EXTERN_DIGITS_OFFSET_NO = 2
MD10890 $MN_EXTERN_TOOLPROG_MODE = 4
See also
Examples:
● Configuration of a chain magazine with a dual gripper (Page 371)
● Configuration of a revolver magazine (Page 360)
The program is also to be found on the Toolbox CD.
References
Further information:
● SINUMERIK 828D List Manual: Machine data and interface signals
● SINUMERIK 802D sl/828D/840D sl: Function Manual: ISO dialects
– The description "Substitution by a replacement cycle for a tool selection block" is valid
for the ISO mode (G291).
– The description "Tool change and tool offsets" is valid when programming the tool
offset.
SD54215: $SNS_TM_FUNCTION_MASK_SET
Tool management function mask
Bit 0: Diameter display for rotating tools:
Cutting edge parameters 6 (cutting edge radius) and 15 (wear radius) are not displayed
as a radius value for the following tool types, but as a diameter value: Types 100 to 299,
580, 710, 711, 712, 713, 714 and 725.
Cutting edge parameter 7 (outside radius) is not displayed as a radius value for the
following tool types, but as a diameter value: Types 140 and 714.
Bit 1: M4 is the standard direction of rotation for all turning tools. When creating turning tools,
the direction of rotation is pre-assigned with M4.
Bit 2: A name is not suggested when creating a tool.
Bit 3: Input lock, tool name and tool type for loaded tools. For loaded tools, the tool name and
the tool type can no longer be changed.
Bit 4: Input lock for loaded tools if the channel is not in the reset state.
SD54215: $SNS_TM_FUNCTION_MASK_SET
Bit 5: Tool wear entries are added: Wear data is entered in addition to the already existing wear
value.
Bit 6: Only numerical entries are permitted in the "Tool identifier".
Bit 7: Hide tool monitoring parameters. The tool monitoring parameters are hidden in the user
interface.
Bit 8: Diameter display for face axis - geometry. The geometry value of the transverse axis is
displayed as a diameter value, if a transverse axis is defined in MD20100
$DIAMETER_AX_DEF and SD42940 $TOOL_LENGTH_CONST is set to 18 and
SD42950 $TOOL_LENGTH_TYPE is set to 2.
Bit 9: Diameter display for face axis - wear. The wear value of the transverse axis is displayed
as a diameter value, if a transverse axis is defined in MD20100 $DIAMETER_AX_DEF
and SD42940 $TOOL_LENGTH_CONST is set to 18 and SD42950
$TOOL_LENGTH_TYPE is set to 2.
Bit 10: Enable tool load/relocate to buffer storage locations. The magazine number can be
entered into the load dialog box. It is therefore possible to access the buffer storage via
magazine number 9998.
Bit 11: Creating new tools at gripper locations is blocked.
Bit 12: Measuring tools are not unloaded when the "Unload all" function is executed.
TCA behaves like the T command with respect to alarm and command output to the PLC.
Boundary conditions:
The following boundary conditions must be observed for an active T function replacement
(default setting for turning):
● TCA cannot be substituted (T replacement cycle).
● The cycle defined in MD10717: $MN_T_NO_FCT_CYCLE_NAME and executed with the
T call, is not started with the TCA command.
To ensure that a tool change cycle also starts when TCA is programmed, the language
command TCA must be redefined in _TCA (default setting NC).
● The machine functions of the TCHANGE.SPF must be transferred into the TCA.SPF
cycle. The TCA.SPF cycle is in the Toolbox CD.
Example:
The following example describes the sequence:
Note
The offset selection corresponding to MD20270: $MC_CUTTING_EDGE_DEFAULT acts in
the same way as for the T command. TCA and D must not be programmed in the same
block.
Note
The entry in SD43200 $SA_SPIND_S is kept at power on.
With these settings, the spindle velocity for manual operation, which is set in SD41200
$SN_JOG_SPIND_SET_VELO, is no longer effective.
Effect of acknowledgments
Effect of acknowledgments on the job and the part program:
● Intermediate and end acknowledgment take place synchronously with the job.
– The part program must wait.
– No new job can come yet.
● Message of an asynchronous transfer:
– The part program continues to run.
– The message is completely independent of any job.
Acknowledgment Meaning
Synchronous end 1 Job finished at the specified position:
acknowledgment The tools are in the positions specified. The part program can be
continued.
3 Job canceled:
The job is canceled, previously acknowledged tool position
changes will be kept. The cancel command itself does not
trigger any position acknowledgments or changes in the tool
management.
6 End acknowledgment for "Move tool" from the real magazine to
a buffer (gripper, spindle) with reservation of the old location in
the magazine for this tool. Same meaning as status 1.
7 Repeat "prepare tool change" job:
The tool change was informed of a new tool position in advance.
The "prepare tool change" job is to be recalculated with this
position. This is permissible only for preparation commands
which have not yet been acknowledged.
99 Total acknowledgment: Job complete, all positions reached.
All the tools concerned are in the positions specified in the job.
The part program can be continued. All target positions from the
job have been reached.
Synchronous 105 Intermediate position for tool:
intermediate The tools are moved from the source position specified in the
acknowledgment job, or from the last acknowledged intermediate position, to the
specified target position.
Communicating an 201 Communicate tool movement:
asynchronous transfer The tool is moved from the source position to the specified
target position. When moving from a location in a real magazine
to an intermediate buffer location, the source location is
reserved for the tool.
Also observe MD20310, bit 24 (Page 328).
204 Communicate magazine position:
The magazine location is in the change/load/unload point of the
specified target location.
from location - - - - - - xx xx
to magazine xx - xx - - xx xx zz
to location xx - xx - - xx xx zz
from location - - - - - - xx -
to magazine xx - - - - xx xx -
to location xx - - - - xx xx -
Legend:
- Date not relevant
x Number (1…n) of the transfer step from the transfer-step table
xx Magazine number, location number of the tool
zz Magazine number, location number of the load / unload or changing point
2UGHU
7RWDODFNQRZOHGJPHQW
$FNQRZOHGJPHQW2.
Signal description:
① The PLC user program recognizes from the 0/1 edge of the signal DB43xx.DBX0.0 (job) that a
new job has been assigned by the tool management.
② The PLC user program sets the acknowledgment signal in DB42xx.DBX0.0 (total
acknowledgment). With activation of the 0/1 edge, the PLC firmware starts transferring the
acknowledgment to the tool management.
③ After successful transmission of the acknowledgment to the tool management, the PLC
firmware sets a PLC cycle to 1 for the signal "acknowledgment OK" and at the same time the
job signal and the acknowledgment bit are reset to 0.
Typical sequence of any job with total acknowledgment and end acknowledgment
2UGHU
,QWHUPHGLDWHDFNQRZOHGJPHQW
(QGDFNQRZOHGJPHQW
$FNQRZOHGJPHQW2.
Signal description:
① The PLC user program recognizes from the 0/1 edge of the signal DB43xx.DBX0.0 (job) that a
new job has been assigned by the tool management.
② The PLC user program acknowledges the transfer steps, configured in DB9900, DB9901 and
DB9902, with acknowledgment status 105. The tool management updates the tool positions
using the transfer steps of the acknowledgments.
③ The execution of the job is acknowledged by the PLC user program with acknowledgment
status 1. After successful transmission of the acknowledgment to the tool management, the
PLC firmware sets a PLC cycle to 1 for the signal "acknowledgment OK" and at the same time
the job signal and the acknowledgment bit are reset to 0.
Sequence of the tool management with block splitting (machine data setting milling)
Txx M6 ;
2UGHU
([HFXWHWRROFKDQJH
3UHSDUHDWRROFKDQJH
,QWHUPHGLDWHDFNQRZOHGJPHQW
(QGDFNQRZOHGJPHQW
$FNQRZOHGJPHQW2.
Signal description:
① The PLC user program receives a new job. The job "prepare tool change" and the job "execute
tool change" are issued one after the other. Txx and M206 have been programmed in separate
NC blocks. Only the job "prepare tool change" is present in the interface in DB43xx. The job
"execute tool change" is output only after the end acknowledgment for the job for tool
preparation.
② Bit DB43xx.DBX0.0 (job) is reset with acknowledgment of the "prepare tool change" job. If the
change command (M206) has already run through the NC main run, the new job is immediately
output at the interface.
③ The "execute tool change" job is acknowledged as a normal job. The end acknowledgment OK
is returned and the bit for the job is simultaneously reset.
The description of the job ("execute tool change" and "prepare tool change") is not reset. Byte
1 of DB43xx is not overwritten until the next job.
Note
MD20270, MD20310:
The response of the interface in DB43xx.DBB1 and of NC block processing is affected by the
setting in MD20270: $MC_CUTTING_EDGE_DEFAULT and MD20310:
$MC_TOOL_MANAGEMENT_MASK bit 5, 6, 7, and 8.
This sequence described here corresponds to the presetting of the machine data.
Sequence of the tool management without block splitting (machine data setting milling)
Txx Myy ;
2UGHU
([HFXWHWRROFKDQJH
3UHSDUHDWRROFKDQJH
,QWHUPHGLDWHDFNQRZOHGJPHQW
(QGDFNQRZOHGJPHQW
$FNQRZOHGJPHQW2.
Signal description:
① The PLC user program receives a new job. The job "prepare tool change" and the job "execute
tool change" are issued simultaneously. Txx and M206 have been programmed in one NC
block.
② Several intermediate steps are acknowledged. The state of the job remains unchanged. The
positions of the tools are updated using the transfer steps of the acknowledgments from the
tool management.
③ The end acknowledgment OK is returned and the bit for the job is simultaneously reset.
The description of the job ("execute tool change" and "prepare tool change") is not reset. Byte
1 of DB43xx is not overwritten until the next job.
Note
MD20310: $MC_TOOL_MANAGEMENT_MASK
The response of the interface in DB43xx.DBB1 is affected by the setting in MD20310 bit 10.
This sequence described here corresponds to the presetting of the machine data.
This symbolic notation form can only be used for synchronous intermediate and end
acknowledgments, since asynchronous messages do not have a job as a reference.
Transfer of to Comment
step
Magazine Location Magazine Location
1 0 1 0 1 Prepare Tool: The magazine is
positioned at the changing point of the
new tool.
2 0 1 9998 2 Tool change: Tool from magazine to
gripper 1
3 9998 1 9998 3 Tool change: Tool from spindle to
gripper 2
4 9998 2 9998 1 Tool change: Tool from gripper 1 to
spindle
5 9998 3 0 2 Tool change: Tool from gripper 2 to
magazine
Transfer of to Comment
step
Magazine Location Magazine Location
101 1 0 9998 1 "Prepare tool change": The magazine
is positioned at the changing point.
The source position must be entered
by the PLC user program.
102 1 0 9998 2 "Prepare tool change": Tool from
magazine to buffer. The source
position must be entered by the PLC
user program.
See also
In the PLC project on the Toolbox CD you can find examples of transfer steps and their
acknowledgments, for a turning machine with a circular magazine and a milling machine with
a chain magazine and dual gripper:
● Application example for milling machine (Page 371)
● Application example for turning machine (Page 360)
These blocks are function examples for the acknowledgment of different tool management
jobs.
Acknowledging jobs
Many tool movements or tool management jobs can be directly acknowledged using total
acknowledgment at bit 0.0 of the interface, without previous intermediate acknowledgment.
For example:
● Turns of a circular magazine
● Loading/unloading (only for systems without additional buffers such as handling systems,
loaders, etc.)
● Changing manual tools
● Positioning a magazine
● Magazine positioning with a job may only receive a synchronous acknowledgment (end
acknowledgment). Intermediate positions must be reported to the tool management with
asynchronous messages.
● Acknowledgment signals must be reset by the PLC basic program. After an
acknowledgment bit is set, the user interface may not be changed until the feedback
message in DB41xx/DB43xx DBB100!
● Asynchronous messages with two transfer steps must be acknowledged on the tool
change interface (DB42xx).
Overview
It is possible to read up to eight NC variables in one job using the existing NC services
interface (DB1200).
Legend:
n > 0: Location type for virtual location
n = 0: "match all" (buffer)
n = 9999: undefined (no virtual location)
Legend:
n=1 locked
n=2 free (<> occupied)
n=4 reserved for tool in buffer
n=8 reserved for tool to be loaded
n = 16 occupied in left half location
n = 32 occupied in right half location
n = 64 occupied in upper half location
n = 128 occupied in lower half location
Values in DB120x.DBB3001
0 No error
3 Illegal access to object
5 Invalid address
10 Object does not exist
Function
With PI service TMMVTL, it is possible to initiate a job to relocate a tool from the PLC. After
an error-free "PI Start," the tool management performs an empty location search in the target
magazine for the tool on the defined source location. Subsequently the PLC receives a job
for relocating the tool (user interface DB41xx.DBB0).
Parameter assignment
Starting program instance services in the NCK area:
The tool can be specified either via a T number or by means of the location and magazine
numbers. The value -1 is entered at unused specification points.
With the parameter, target location number =-1, a search is made in the complete magazine
for an empty location for the tool according to the search strategy that has been selected. If a
target location is specified, then a check is made as to whether the location with the
specified target location number is free and suitable for the particular tool.
For a target magazine number = -1, a search is made in a buffer for the tool corresponding
to the assignment obtained from $TC_MDP2.
Application
Examples:
● When using buffers to return the tool (for example Toolboy and/or shifter), an explicit
empty location search in the magazine may be needed during the asynchronous return
transport. In this case the PLC does not have to note the original location, the PI service
searches for a suitable location.
● A tool is to be moved from a background magazine to the front magazine.
Programming
For loading, tools are placed directly in the magazine or the spindle; for unloading, they are
removed directly from the magazine. Normally, a single acknowledgment from the operator
or the PLC user program (tool holder is closed again) is sufficient as a message that the
process is complete. There is no need to configure a transfer step. The total
acknowledgment can be set in DB40xx.DBX0.0.
Acknowledgment to tool management:
Acknowledgment Acknowledgment bit Transfer step new Transfer step old Status
step tool tool
xxx DB4000.DBX0.0 -- -- (99)
Loading procedures using handling systems or transporting the tool from the spindle into the
magazine can be performed using further asynchronous messages.
Different loading sequences are described below:
Programming
In MD22562: $MC_TOOL_CHANGE_ERROR_MODE Bit 1=1, additional tools without
magazine allocation have been selected by the NC part program. The selected tool must be
inserted in the machine manually and removed again manually after machining ("manual
tools").
The operator must ensure that the data block for the tool on the spindle is in the NCK, or that
he/she puts the appropriate tool onto the spindle for the data block stored in the NCK.
Note
The responsibility is on the user to comply with the safety regulations via the PLC user
program.
The PLC user program is informed with DB43xx.DBX1.5 and DBX1.6 whether a manual tool
is involved in a tool change job. With alarm 17212: "Channel %1, Manual tool %2, Duplo No.
%3, Load to toolholder %4" or Alarm 17214. "Remove manual tool from spindle/tool holder,"
the operator is requested to execute the tool change.
The alarms are reset after a tool change by the acknowledgment from the PLC.
Starting position 1
The manual tool in the spindle should be exchanged for another manual tool
Job from tool management to the PLC user program (tool change):
DB4300.DBX0.0, DBX1.2, DBX1.5 and DBX1.6 ("Prepare tool change")
Acknowledgment Acknowledgment bit Transfer step for Transfer step for Status
step the new tool the old tool
xxx DB4200.DBXx.x 0 0 1
The job remains otherwise unchanged, the tools are still at the starting positions.
An intermediate step can be inserted for acknowledging the removal of the old tool:
Synchronous acknowledgment: The tool is no longer in the spindle:
Acknowledgment Acknowledgment bit Transfer step for Transfer step for Status
step the new tool the old tool
xxx DB4200.DBXx.x 0 6 105
After intermediate acknowledgment of the empty spindle and insertion of the new tool in the
spindle, the tool change is terminated with a total acknowledgment:
Acknowledgment Acknowledgment bit Transfer step for Transfer step for Status
step the new tool the old tool
DB4200.DBX0.0 (99)
Starting position 2
A manual tool is in the spindle and is to be replaced by a tool from the magazine
Job from tool management to the PLC user program (tool change):
DB4300.DBX0.0, DBX1.2 and DBX1.6 ("Prepare tool change")
Acknowl- Acknowledgment bit Transfer step for the Transfer step for the Status
edgment step new tool old tool
xxx DB4200.DBXx.x 0 0 1
Acknowl- Acknowledgment bit Transfer step for the Transfer step for the Status
edgment step new tool old tool
xxx DB4200.DBXx.x 0 6 105
The spindle is now empty, the old tool is outside the magazine.
Next step: Synchronous acknowledgment, new tool to gripper 1
Acknowl- Acknowledgment bit Transfer step for the Transfer step for the Status
edgment step new tool old tool
xxx DB4200.DBXx.x 3 0 105
Acknowl- Acknowledgment bit Transfer step for the Transfer step for the Status
edgment step new tool old tool
xxx DB4200.DBXx.x 4 0 105
Acknowl- Acknowledgment bit Transfer step for the Transfer step for the Status
edgment step new tool old tool
xxx DB4200.DBXx.x 0 0 1
The step New tool from gripper 1 to spindle can be omitted and replaced by a total
acknowledgment. This also informs the tool management that all tools are in their target
positions.
Acknowl- Acknowledgment bit Transfer step for the Transfer step for the Status
edgment step new tool old tool
DB4200.DBX0.0 (99)
Example file
You can find the program for configuring the magazine in the Toolbox.
The program can be read into the control and should be adjusted for the specific machine
concerned.
Configuration
0DJD]LQH UHYROYHU
7RROKROGHU
6SLQGOH &KDQJLQJSRLQW
/RDGDQGXQORDG
See also
You will find a precise description of the parameters used in the Tool Management Function
Manual of SINUMERIK 840D sl.
Example MAG_CONF_MPF
1. Plant configuration:
– 1 revolver magazine with 8 locations (can be set up in N40)
– 1 loading point
– 3 buffer locations (can be set up in N50, assignments from N540)
2. Part program:
;MAG_CONF_MPF
N10 def int NUM_MAG,MAG_TYPE, LOCATIONS,
PLACE, NUM_BUFFER, NUM_LOAD, PLACE_SEARCH
;
N20 NUM_MAG = 1 ;Number of the magazine
N30 MAG_TYPE = 3 ;Magazine type (1: chain,
3: revolver, 5: box magazine)
N40 LOCATIONS = 8 ;Number of magazine locations
N50 NUM_BUFFER = 1 ;Number of buffers (spindle,
gripper)
N60 NUM_LOAD = 1 ; Number of loading points
N70 PLACE_SEARCH = 257 ; Type of search strategy
;= 257 Bit13=0 no exchange of the old tool on the location of the new tool
;Setting for pickup magazine
;=12289 Bit13=1 exchange old tool on the location of the new tool
;Setting for chain magazine
N80;
N90;
;Check parameters
N100 STOPRE
N110 if ((NUM_MAG==0)or(LOCATIONS==0))
N120 Err1:STOPRE
N130 MSG("Wrong Parameter --> Cancel")
N140 G04 F4
N150 STOPRE
N160 M0
N170 GOTOB Err1
N180 endif
N190; Magazine configuration
N200;
N210;
Acknowledgment steps
Generally, the mechanical sequences on a turning machine are simpler than those for a
milling machine. In the configuration described in the previous chapter without additional
buffer, tool changes can be acknowledged after the mechanical movements without transfer
steps. The PLC user program must detect incoming jobs in the job interfaces and execute
the mechanical movements.
Total acknowledgment to tool management:
Acknowledgment Acknowledgment bit Transfer step new Transfer step old Status
step tool tool
-- DB4000.DBX0.0 -- -- (99)
-- DB4200.DBX0.0 -- -- (99)
An asynchronous message can be used for magazine movements without a job from the tool
management.
Acknowledgment to tool management:
Acknowledgment Acknowledgment bit Transfer step new Transfer step old Status
step tool tool
xxx DB4000.DBXx.x 101 0 204
n is the actual location number (n ≠ 0) to be entered by the PLC user program in the variable transfer
table.
Transfer variables
With MD10717: $MN_T_NO_FCT_CYCLE_NAME (name of cycle to be executed instead of
the T function, e.g. "TCHANGE"), you can set that a cycle is run when the T command is
called. The cycle is run through at every T call, irrespective of whether a new tool or the
already active tool is called. The position of the revolver can be set on the programmed tool
in this cycle (POSM). This is necessary when the revolver has been positioned manually
after a tool selection and the tool has not been deselected. In this case, the NC does not
issue a new job for tool change at the interface.
Sample program
Prerequisite is that the tool management has been informed of each magazine movement.
The example has been created for machine data with the turning technology default setting.
The "Spare tools for tool management" option is not active.
Tag Description
$SC_T T number of the tool (numerical)
$SC_T_Prog Bool variable that shows whether a T word is available in $C_T.
$C_TS Identifier for tool (string)
$C_TS_Prog Bool variable that shows whether an identifier is available in $C_TS.
$C_TE Address extension of the T word
$C_D Programmed D number
$C_D_Prog Bool variable that shows whether an offset number is available in $C_D.
$C_DL Programmed additive/setup offset
$C_DL_Prog Bool variable that shows whether an offset number is available in $C_DL.
In the following example, a job for positioning the magazine with POSM is output at the
interface. During the magazine positioning, the block processing of the NC must be
controlled by the PLC user program. In most cases, it is useful to set the load or feed disable
during this time. As soon as the position setpoint specified in the job is reached
(asynchronous message of the magazine position), the job is terminated with total
acknowledgment.
IF $C_TS_PROG==1 ; T is an identifier
_TNO_NEW=GETT($C_TS,1) ; Querying of T number
IF _TNO_NEW>0 ; Does the T number exist?
_TL_NEW=$A_MYMLN[_TNO_NEW] ; Querying of location number
ENDIF
IF _TL_NEW>0 ; Is the tool in the magazine?
POSM(_TL_NEW) ; Position magazine
ENDIF
T=$C_TS ; T programming without address extension
ENDIF
M17
See also
The function is available irrespective of tool management and is described in full in: Function
Manual, Basic Functions, "Mode Group, Channel, Program Operation, Reset Behavior (K1)."
Magazine configuration
In the magazine configuration the magazine is assigned twice as many locations as actually
exist, e.g. in the case of revolver with 12 locations, 24 locations are set up. Location 1-12 for
the main spindle, location 13-24 for the counterspindle.
The user program positions the magazine in such a way that, for example, the same position
is approached for location 1 and location 13. So each real magazine location corresponds to
a virtual magazine location for the main spindle and a virtual magazine location for the
counterspindle.
Procedure
Read the T number of a tool in gripper 1 and 2:
1. In the PLC user program, enter the parameters in DB1200.
2. In DB1200.DBX0.0, set the start for reading the location states.
Once the order has been successfully executed, the results are entered starting from
DB1200.DBB3000:
Procedure
A tool is to be moved from a buffer (for example, of a gripper) into the magazine. The empty
location search for the tool from gripper 1 (magazine 9998, location 2) is executed with PI
Service TMMVTL and an order to relocate the tool is generated.
In the PLC user program, enter the parameters in DB1200, and in DB1200.DBX4000.0, set
the start signal of the PI service.
DB410x.DBX0.0 delivers an order to relocate the tool from the buffer. The target location in
magazine 1 is in DB4100.DBW12. With it, the PLC user program can execute the necessary
sequence.
Note
The acknowledgment to repeat the order "Prepare tool change" may only be issued
before the end acknowledgment of the "Prepare tool change" order!
Acknowledgment Acknowledgment bit Transfer step new Transfer step old Status
step tool tool
xxx DB4000.DBXx.x 0 0 7
10.8.1 Example: Milling machine with chain magazine and dual gripper
(MAGKONF_EXAMPLE_MPF)
Example file
You can find the program for configuring the magazine in the Toolbox.
The program can be read into the control and should be adjusted for the specific machine
concerned.
Configuration
0DJD]LQH
*ULSSHU
6SLQGOH
&KDQJLQJSRLQW
*ULSSHU
0DJD]LQHORDGLQJSRLQW
/RDGDQGXQORDG
PDJD]LQH
See also
Further information:
● The configuration of a disk-type magazine with fixed-location coding is performed as for
the configuration of a revolver magazine: Example: Turning machine with revolver
magazine (MAGKONF_MPF) (Page 360)
● You will find a precise description of the parameters used in the Tool Management
Function Manual of SINUMERIK 840D sl.
Example MAG_CONF_MPF
1. Plant configuration:
– 1 chain magazine with 8 locations (can be set up in N40)
– 1 loading point
– 3 buffer locations (can be set up in N50, assignments from N540)
2. Part program:
;MAG_CONF_MPF
N10 def int NUM_MAG,MAG_TYPE, LOCATIONS,
PLACE, NUM_BUFFER, NUM_LOAD, PLACE_SEARCH
;
N20 NUM_MAG = 1 ;Number of the magazine
N30 MAG_TYPE = 1 ;Magazine type (1: chain,
3: revolver, 5: box magazine)
N40 LOCATIONS = 8 ;Number of magazine locations
N370 $TC_MAP5[NUM_MAG]=-1
N380 $TC_MAP6[NUM_MAG]=1 ; Number of lines in magazine
N390 $TC_MAP8[NUM_MAG]=0
N400 $TC_MAP9[NUM_MAG]=0
N410 $TC_MAP7[NUM_MAG]=LOCATIONS ; Number of magazine locations
N420 $TC_MAP10[NUM_MAG]=PLACE_SEARCH
;
; Magazine locations
N430 for PLACE=1 to LOCATIONS
N440 STOPRE
N450 $TC_MPP1[NUM_MAG,PLACE]=1 ; Location type
N460 $TC_MPP2[NUM_MAG,PLACE]=0 ; Location type, 0 compatible with
every tool location type
N470 $TC_MPP3[NUM_MAG,PLACE]=1 ; Consider adjacent location On (Off
would be 0)
N480 $TC_MPP4[NUM_MAG,PLACE]=2 ; Location status
N490 $TC_MPP5[NUM_MAG,PLACE]=PLACE ; Location type index
N500 endfor
N510 STOPRE
;
N520; Definition of buffer magazine (always number 9998)
;
N530 $TC_MAP1[9998]=7 ; Magazine type 7: Buffer
N540 $TC_MAP2[9998]="BUFFER"<<NUM_MAG
N550 $TC_MAP3[9998]=17 ; Magazine status
N560 $TC_MAP6[9998]=1 ; Number of lines
N570 $TC_MAP7[9998]=NUM_BUFFER ; Number of locations
;
; Locations in the buffer
;Spindle
N580 $TC_MPP1[9998,1]=2 ; Location type (here spindle)
N590 $TC_MPP2[9998,1]=0 ; Location type (here always 0)
N600 $TC_MPP3[9998,1]=0 ; Consider adjacent location Off
N610 $TC_MPP4[9998,1]=2 ; Location status
N620 $TC_MPP5[9998,1]=1 ; Location type index
;
N630; Gripper
N640 FOR PLACE=2 to NUM_BUFFER
N650 STOPRE
N660 $TC_MPP1[9998,PLACE]=3 ;(here gripper)
N670 $TC_MPP2[9998,PLACE]=0 ;(here always 0)
N680 $TC_MPP3[9998,PLACE]=0 ; Consider adjacent location Off
N690 $TC_MPP4[9998,PLACE]=2 ; Location status
N700 $TC_MPP5[9998,PLACE]=PLACE ; Location type index
N710 endfor
N720 STOPRE
;
;
N730; Definition of loading magazine (always number 9999)
;
N740 $TC_MAP1[9999]=9 ; Magazine type 9: Loading magazine
N750 $TC_MAP2[9999]="LOADING
MAGAZINE"<<NUM_MAG
N760 $TC_MAP3[9999]=17 ; Magazine status
N770 $TC_MAP4[9999]=-1
N780 $TC_MAP5[9999]=-1
N790 $TC_MAP6[9999]=1 ; Number of lines
N800 $TC_MAP7[9999]=NUM_LOAD ; Number of locations
N810 STOPRE;
;
N820; Loading magazine locations
;
N830 for PLACE=1 to NUM_LOAD
N840 STOPRE
N850 $TC_MPP1[9999,PLACE]=7 ; Location type Loading point
N860 $TC_MPP2[9999,PLACE]=0 ; Location type (here always 0)
N870 $TC_MPP3[9999,PLACE]=0 ; Consider adjacent location Off
N880 $TC_MPP4[9999,PLACE]=2 ; Location status
N890 $TC_MPP5[9999,PLACE]=PLACE ; Location type index
N900 endfor
N910 STOPRE
;
;
N920; Offsets (clearances) ; Clearances to magazine
;
; Buffer
N930 for PLACE=1 to NUM_BUFFER
N940 $TC_MDP2[1,PLACE]=0
N950 endfor
N960 STOPRE
;
;Loading points
N970 for PLACE=1 to NUM_LOAD
N980 stopre
N990 $TC_MDP1[1,PLACE]=0
N1000 endfor
The block preprocessing is not interrupted. M6 is used to start the tool change subprogram
(L6) at the same time. As soon as the job for "Prepare tool change" has been acknowledged
and in the tool change subprogram the M code for tool change output has been reached, the
"Execute tool change" job is output to the interface (block splitting).
A tool change command (M206) must always precede a prepare tool change command. A
change command without a previous "Prepare tool change" job will not initiate a job from the
tool management.
You will find the expression 1:1 change in the program sequence. This means that the tool
change will be carried out in a single cycle. The tool from the spindle (old tool) will be set
down at the magazine location of the new tool. No additional magazine positioning is
required. In this case, the target location of the old tool in the tool management job is the
same as the source location of the new tool (DB43xx.DBW6 and DBW8 are equal to DBW18
and DBW20).
A 1:1 change is not possible for:
● Tools with different location types
● Different tool sizes
● Fixed-location tools
By programming T0 in the NC program, a tool change is initiated without a new tool. Only the
spindle tool is transported to the magazine (empty the spindle).
① ... ⑭ refer to the steps in the flow chart below.
You can see the different acknowledgment options from the steps. Job-related
acknowledgments and asynchronous messages are used.
Please take the transfer steps used from the table in Section Example: Acknowledgment
steps (milling machine) (Page 386)
-RESUHSDUHWRRO
FKDQJH
1R
FKDQJHUHTXHVWHG" 0DJD]LQHSRVLWLRQLQJ
/RFDWLRQIURPWKHROGWRROWR
WKHFKDQJLQJSRLQW
<HV
-RESUHSDUHWRROFKDQJH
0DJD]LQHSRVLWLRQLQJ DFNQRZOHGJH
/RFDWLRQIURPWKHQHZWRROWR
WKHFKDQJLQJSRLQW
2OGWRROIURPVSLQGOHWR
-RESHUIRUPWRRO JULSSHU
FKDQJH
2OGWRROIURPJULSSHUWR
PDJD]LQH
1R
FKDQJHUHTXHVWHG"
<HV <HV
7"
2OGWRROIURPWKHVSLQGOHWR
JULSSHUDQGQHZWRROIURPWKH 1R
PDJD]LQHWRJULSSHU
0DJD]LQHSRVLWLRQLQJ
/RFDWLRQIURPWKHQHZWRROWR
WKHFKDQJLQJSRLQW
2OGWRROIURPJULSSHUWR
PDJD]LQHDQGQHZWRROIURP
JULSSHUWRVSLQGOH
1HZWRROIURPPDJD]LQHWR
JULSSHU
(QGDFNQRZOHGJPHQW
1HZWRROIURPJULSSHUWR
VSLQGOH
1: 1 change: The old tool is deposited in the location of the new tool.
Acknowl- Acknowledgment bit Transfer step new Transfer step old Status
edgment tool tool
step
4 DB4200.DBX0.4 101 0 204
Acknowledgment to TM:
n: is here the actual location number (n ≠ 0) to be entered by the PLC user program in the variable
transfer table.
Step 3: Positioning the magazine; location from the old tool to the changing point.
← Previous step: Step 1
Same as Step 2, however, the magazine target location is obtained from DB4300.DBW20
(location number for old tool - target).
Acknowledgment to TM:
Acknowl- Acknowledgment bit Transfer step new Transfer step old Status
edgment tool tool
step
4 DB4200.DBX0.4 101 0 204
n: is here the actual location number (n ≠ 0) to be entered by the PLC user program in the variable
transfer table.
Acknowl- Acknowledgment bit Transfer step new Transfer step old Status
edgment tool tool
step
1 DB4200.DBX0.1 0 0 1
Step 6: Old tool from the spindle to gripper 2 and new tool from the magazine to gripper 1
← Previous step: Step 5
The PLC program controls the machine functions with which the gripper movements, tool
clamping, etc. are performed. As soon as the mechanical movements are completed and
acknowledged in the PLC user program, the tool movements are acknowledged to the tool
management.
Acknowledgment to TM:
Acknowl- Acknowledgment bit Transfer step new Transfer step old Status
edgment tool tool
step
5 DB4200.DBX0.5 1 2 105
Step 7: Old tool from gripper 2 to magazine and new tool from gripper 1 to spindle
← Previous step: Step 6
The PLC program controls the machine functions for the gripper movements, tool clamping,
etc. As soon as the mechanical movements are completed and acknowledged in the PLC
user program, the tool movements are acknowledged to the tool management.
Acknowledgment to tool management:
Acknowl- Acknowledgment bit Transfer step new Transfer step old Status
edgment step tool tool
7 DB4200.DBX0.7 3 4 105
Acknowl- Acknowledgment bit Transfer step new Transfer step old Status
edgment step tool tool
1 DB4200.DBX0.1 0 0 1
Acknowl- Acknowledgment bit Transfer step new Transfer step old Status
edgment step tool tool
8 DB4200.DBX1.0 0 2 105
Acknowl- Acknowledgment bit Transfer step new Transfer step old Status
edgment step tool tool
9 DB4200.DBX1.1 0 4 105
Step 11: T0 ?
← Previous step: Step 10
Request: Is T0 set in the tool change job?
DB43xx.DBX1.3
If only the tool holder should be emptied, the tool change can be completed:
→ continue with Step 8
Do you want to place a new tool in the tool holder?
→ continue with Step 12
Step 12: Magazine position location from new tool to changing point
← Previous step: Step 11
Sequence as in Step 2
Acknowledgment to tool management:
Acknowl- Acknowledgment bit Transfer step new Transfer step old Status
edgment tool tool
step
4 DB4200.DBX0.4 101 0 204
n: is here the actual location number (n ≠ 0) to be entered by the PLC user program in the variable
transfer table.
Acknowl- Acknowledgment bit Transfer step new Transfer step old Status
edgment step tool tool
10 DB4200.DBX1.2 1 0 105
Acknowl- Acknowledgment bit Transfer step new Transfer step old Status
edgment step tool tool
11 DB4200.DBX1.3 3 0 105
n: here is the actual location number (n ≠ 0) to be entered by the PLC user program in the variable
transfer table.
Note: The step numbers ① ... ⑭ refer to the flow chart in Chapter Flow chart: Tool change
(Page 376)
Sample program
Overview
In line with the data segregation in data classes, an archive can be created separately for
each data area and for each data class.
The data class "System" is an exception. This data is set permanently and becomes
effective at the first installation or a default initialization. For this reason, data backup of
system data is unnecessary, as this data class contains no data created during
commissioning or during the machine run-time.
A system archive delivered by Siemens can, for example, contain a new NCK version or an
integrated HMI version or also a cycle hotfix.
NOTICE
Protection of the system data
All system data and data contained in the "System" data class in the HMI, NCK, PLC and
drive areas may not be affected.
System data cannot be changed through operation, by writing from a part program,
subroutine or cycle and by importing an archive.
When you load user data with a USB FlashDrive, the data volume must not be larger than
4 MB!
Identification of archives
Every archive contains the following identifiers:
● Data class: M, I, U
● Type of control: 828D TE or 828D ME
● Time stamp: Date and time when the archive was created
● Version designation: Software version with which this archive was created
● Serial number of the system CompactFlash card
These markings allow filters to be set when reading in, determining which archive may be
read in to which control variant, depending on the data class and the software version.
Data areas
The following data areas are backed up in a commissioning archive:
Components Data
NC data Compile cycles
Standard and user cycles
Definitions and macros
Machine data
Setting data
Option data
Global (GUD) and local (LUD) user data
Tool and magazine data
Protection zone data
R parameters
Work offsets
Compensation data
Part programs
Subroutines
Workpieces
Components Data
PLC data Main program (MAIN)
Data blocks (DBs)
User program
Drive data Binary format or ASCII format
HMI data Texts: PLC alarm texts, cycle alarm texts, part program message texts
from the machine manufacturer
Templates: Individual templates, workpiece templates
Applications: Software applications, for example of the machine
manufacturer
Configurations
Configuration: Configurations, incl. display machine data
Help: Online help files
Version data
Reports: For example, action log, screenshots
Program lists
Dictionaries: For simplified Chinese and traditional Chinese (IME)
Data backups: Channel data, axis data, etc. in ASCII format
Programs on a local drive: Programs that are in the user memory area of
the CompactFlash card.
Note
The commissioning archives are saved taking into account the data classes (ARD file type).
The drive data is saved as binary data which cannot be edited.
or:
/oem/sinumerik/data/archive
● On a USB FlashDrive
NOTICE
USB FlashDrives
USB flash drives are not suitable as persistent memory media.
Overview
Control components can be saved individually or jointly. Creating a separate commissioning
archive for each component is recommended, so that the files can be read in again
independently of each other.
Precondition
The access level "Service" is required.
4. Choose whether the data classes should be "ignored" or "considered" using the
<SELECT> key:
– Select "ignored" to archive all data belonging to the control component.
– Select "considered" to write only the data in the data classes selected under
"Selection" in the archive.
5. Select the control component(s) for the archive.
6. Make use of the option to enter a comment and the creator of the archive.
7. Press the "OK" softkey to create the archive.
The "Create archive: Select archive" window opens.
8. Select a directory or press the "New directory" softkey to create a new subdirectory.
The "New Directory" window opens.
9. Enter a name and confirm with "OK."
The directory is created below the selected folder.
The "Create archive: Name" window opens.
10.Enter a name and confirm with "OK."
An archive file is created in the selected directory.
Precondition
The access level "User" is necessary for reading in an archive.
11.5 This is how you back up just the machine data that have changed
Requirement
The access level "Service" is required.
MD11210 $MN_UPLOAD_MD_CHANGES_ONLY
Backing up just machine data that has changed
= FFH (default setting)
Bit 0
...
Bit 7
Note
Effect of MD11210
MD11210 $MN_UPLOAD_MD_CHANGES_ONLY is only effective for type *.arc archives.
Generating an archive
Procedure:
1. Insert the storage medium (CompactFlash card or USB FlashDrive) in the appropriate slot
at the front of the control.
2. To generate a type *.arc archive press the keys <Ctrl> + <Alt> + C.
Result:
An archive is generated on the storage medium:
The archive name has the following structure: CompleteArchive_Date_Time.arc
Example:
CompleteArchive2010-08-11_08-36-15.arc stands for an archive generated on 11.08.2010 at
8:36:15.
Easy Archive
With "Easy Archive", the SINUMERIK 828D has a fundamentally new procedure for data
archiving. This procedure is tailored exactly to the needs of series machine manufacture.
"Easy Archive" is based on a strict separation between SINUMERIK system software,
customized OEM data (machine data, manufacturer cycles) and operator data (part
programs, tool offsets). There is a further separation for customized data; for data that is the
same for all machines of that type, and for data that has been adjusted for an individual
machine.
This will be clarified with an example:
User example
A machine manufacturer builds a vertical machining center in series. The customized data is
created on a prototype machine. This prototype machine's customized data set will later be
ported to all series machines (cloned). After porting the data, however, individual settings are
made on each individual machine.
90& 90& 90&
,QGLYLGXDOGDWDFODVV 8VHUGDWDFODVV
HJUHIHUHQFHFDPV 3DUWSURJUDPV
72$
&ORQHDUFKLYH =2$
0,8
3DWFKDUFKLYH 0
For example, reference cams and ball bearing spindles are measured and entered as
individual customized data. If an error occurs at the end user, the error is reproduced and
solved on the prototype machine. If a complete archive from the prototype machine is now
transferred to the affected machine, the individual customized data of this machine is
overwritten by the individual customized data of the prototype machine.
For the SINUMERIK 828D, the machine manufacturer's customized data, to which no
individual change has been made, may be archived separately. If this archive is transferred
to the affected machine, it is ensured that the individual customized data and the end user
data are retained. So the machine manufacturer's update process is simplified considerably.
Advantages
The advantage of the "Easy Archive" is that archive creation occurs directly at the
SINUMERIK 828D user interface. So no separate PC is needed for the archive.
By separating the system data from the customized and user data, the SINUMERIK 828D
system updates can be completely carried out by the OEMs, without changes to the
customized data. A system update can be carried out by the end user themselves in a short
time.
Data exchange
Data exchange via the serial interface is possible from the following operating areas:
● "Program manager" operating area
● "Start-up" operating area → "System data" softkey
Press the following softkeys to set the interface parameters:
Note
If the interface is already assigned, e.g. because a modem is connected, data exchange via
the serial interface is not possible and a message is output.
Description of parameters
Interface: COM1
Parity: None (default setting)
Even
Odd
Stop bits: 1 (default setting)
2
Data bits: 5 bits
6 bits
7 bits
8 bits (default setting)
Xon (only for setting Xon/Xoff) 11
Xoff (only for setting Xon/Xoff) 13
End of transmission (hex) 1a
Time monitoring (sec) 4
Deactivating V24
The following machine data should be set to deactivate the interface for data exchange:
● MD51233 $MNS_ENABLE_GSM_MODEM = 0 (Voreinstellung)
The V24 interface is enabled for data transfer.
● MD51233 $MNS_ENABLE_GSM_MODEM = 1
The softkeys for data transfer are then no longer displayed.
The GSM modem is activated using this setting.
Supported languages
Standard languages:
Other languages:
8VHUGRFXPHQWDWLRQ
0DQXIDFWXUHUVHUYLFHGRFXPHQWDWLRQ
0DQXIDFWXUHUVHUYLFHGRFXPHQWDWLRQ
6,180(5,.
'
'VO
6\VWHP0DQXDO &RQILJXUDWLRQ0DQXDO
&WUO(QHUJ\ (0&,QVWDOODWLRQ*XLGHOLQH
Basic infeed
Overall functionality of an infeed with → Basic Line Module, including the additional
components required (filters, switching devices, etc.).
CompactFlash card
As the carrier of all non-volatile data in a SINUMERIK solution line control system, the
CompactFlash card represents the identity of this control system. The CompactFlash card is
a memory card that can be plugged into the → control unit from outside. The CompactFlash
card also contains the following data relevant for the license management:
● → Hardware serial number
● License information including the → license key
Control Unit
Central open and closed-loop control module. The following Control Units are available:
● SIMOTION Control Units, e.g. D425 and D435
● SINAMICS Control Units, e.g. CU320
● SINUMERIK solution line Control Units, e.g. NCU, PPU
Drive
The drive includes the (electric or hydraulic) motor, the actuator (converter, valve), the
control unit, the measuring system and the supply components (line infeed module, pressure
accumulator). For electric drives, a distinction is made between a converter system and an
inverter system. With a converter system (e.g. → MICROMASTER 4), the line infeed, the
actuator, and the control component form a single device from the point of view of the user.
With an inverter system (e.g. → SINAMICS S), the supply is ensured by means of → Line
Modules, thereby realizing a DC link to which the → Inverters (→ Motor Modules) are
connected. The (→ Control Unit) is implemented as a separate device and connected to the
other components by means of → DRIVE-CLiQ.
Drive component
Hardware component connected to a → Control Unit via → DRIVE-CLiQ or in some other
way. Drive components include: → Motor Modules, → Line Modules, → Motors, → Sensor
Modules and → Terminal Modules. The overall arrangement of a Control Unit including the
connected drive components is known as the → Drive unit.
Drive line-up
A drive line-up comprises a → Control Unit as well as the → Motor Modules and → Line
Modules connected via → DRIVE-CLiQ.
Drive parameters
Parameters of a drive axis that include, for example, the parameters of the corresponding
controllers, as well as the motor and encoder data. The parameters of the higher-level
technology functions (positioning, ramp-function generator), however, are called →
Application parameters.
Drive system
A drive system includes all components of a family of products (e.g. SINAMICS) belonging to
a drive. A drive system includes components such as → Line Modules, → Motor Modules,
→ Encoders, → Motors, → Terminal Modules and → Sensor Modules, as well as
complementary components such as reactors, filters, lines, etc.
Drive unit
The drive unit includes all components, which are connected via → DRIVE-CLiQ and
required for carrying out a drive task: → Motor Module → Control Unit → Line Module and the
required → Firmware and → Motors, but not complementary components (such as filters and
reactors). Several → Drives can be implemented in one drive unit. See → Drive system
DRIVE-CLiQ
Abbreviation for "Drive Component Link with IQ".
Communication system for connecting the various components of a SINAMICS drive system,
such as the → Control Unit, → Line Modules, → Motor Modules, → Motors and speed/position
encoders.
DRIVE-CLiQ is based on Industrial Ethernet using twisted-pair lines. The DRIVE-CLiQ line
provides the send and receive signals, as well as the +24 V power supply.
Encoder
Records and makes positions available for electronic processing. Depending on their
mechanical design, encoders can be incorporated in the → Motor (→ Motor encoder) or
mounted on the external mechanics (→ External encoder). Depending on the type of motion,
a distinction is made between rotary encoders (also called shaft encoders) and translatory
encoders (e.g. → Linear encoder). In terms of measured value provision, we distinguish
between → Absolute encoders (code sensors) and → Incremental encoders. See →
Incremental encoder TTL/HTL → Incremental encoder sin/cos 1 Vpp → Resolver.
External encoder
Position encoder that is not built in or mounted on the → Motor, but is attached outside to the
working machine or via a mechanical intermediate element. The external encoder (externally
mounted encoder) is used for direct position detection.
Hardware
In the context of license management of SINUMERIK → software products, hardware refers
to the component of a SINUMERIK control system to which → licenses are assigned on the
basis of its unique identifier. The license information is also saved to non-volatile memory on
this component, e.g. on a → CompactFlash card.
Infeed
Input component of a converter system for generating a DC-link voltage for feeding one or
several → Motor Modules, including all components required, such as → Line Modules, fuses,
reactors, line filters and firmware, as well as proportional computing power (if required) in a
→ Control Unit.
License
A license gives the user the legal right to use a → software product. Evidence of this right is
provided by the following:
● → Certificate of License (CoL)
● → License key
License key
The License Key is the "technical representative" of the sum of all the → licenses that are
assigned to one particular piece of → hardware, which is uniquely marked by its → hardware
serial number.
License number
The license number is the feature of a → license used for its unique identification.
Line Module
A Line Module is a power component which creates the DC-link voltage for one or several →
Motor Modules from a three-phase mains voltage. The following three Line Module types are
used for SINAMICS: → Basic Line Module, → Smart Line Module and → Active Line Module.
The overall function of an infeed, including the required additional components such as →
Line reactor, proportional computing power in a → Control Unit, switching devices, etc. is
called → Basic infeed, → Smart infeed, and → Active infeed.
Motor
For the electric motors that can be driven by → SINAMICS, a basic distinction is made
between rotary and linear motors with regard to their direction of motion, and between
synchronous and induction motors with regard to their electromagnetic operating principle.
For SINAMICS, the motors are connected to a → Motor Module. See → Synchronous motor
→ Induction motor → Motor encoder → External encoder.
Motor encoder
An → Encoder integrated in the motor or attached to the motor, e.g. → Resolver, →
Incremental encoder TTL/HTL or → Incremental encoder sin/cos 1 Vpp. The encoder is used
for detecting the motor speed. In the case of synchronous motors, also for detection of the
rotor position angle (the commutation angle for the motor currents). For drives without an
additional → Direct position measuring system, it is also used as a → Position encoder for
position control. In addition to the motor encoders, there are → External encoders for →
Direct position sensing.
Motor Module
A Motor Module is a power unit (DC-AC inverter) that provides the power supply for the
motor(s) connected to it. Power is supplied via the → DC link of the → Drive unit. A Motor
Module must be connected to a → Control Unit via → DRIVE-CLiQ. The open-loop and
closed-loop control functions of the Motor Module are stored in the Control Unit. There are
Single Motor Modules and → Double Motor Modules.
Option
One option is a SINUMERIK → software product that is not contained in the basic version
and which requires the purchase of a → license for its use.
Parameter
Variable quantity within the drive system that the user can read and, in some cases, write.
For → SINAMICS, a parameter meets all specifications defined for drive parameters in the →
PROFIdrive profile. See → Display parameter → Adjustable parameter
Product
A product is marked by the data below within the license management of SINUMERIK
→ software products:
● Product designation
● Order number
● → License number
Sensor Module
Hardware module for evaluating speed/position encoder signals and providing detected
actual values as numerical values at a → DRIVE-CLiQ socket. There are three mechanical
variants of Sensor Modules:
● SMCxx = Sensor Module Cabinet-Mounted = Sensor Module for the snap-on mounting in
the control cabinet.
● SME = Sensor Module Externally Mounted = Sensor Module with high degree of
protection for mounting outside the control cabinet.
Servo control
This type of closed-loop control enables operation with a high dynamic response and
precision for → Motors with → Motor encoders. In addition to speed control, position control
can be included.
Servo drive
An electric servo drive consists of a motor, a → Motor Module and a → Servo control and, in
most cases, a speed and position encoder. Electric servo drives generally work very
precisely and with a high dynamic response. They are designed for cycle times of up to 100
ms. In many cases, they have a very short-time overload capacity, thus allowing particularly
fast acceleration. Servo drives are available as rotary and as linear drives.
Software product
The term software product is generally used to describe a product that is installed on a piece
of → hardware to process data. Within the license management of SINUMERIK software
products, a corresponding → license is required to use each software product.
User views
User views are user-specific groups of machine data. They are used to call all relevant
machine data in a certain operating state from various areas for processing.
The user views are stored on the CompactFlash card with the following path:
user/sinumerik/hmi/template/user_views
D H
Data area, 390 Hardware serial number, 54
Service Planner, 227 High Speed Cutting (HSC), 89
Data backup, 390
Data classes, 34
Data set I
Adding, 154
I/O module DIP switch, 83
Drive (DDS), 153
Infeed, 124
Encoder (EDS), 153
Initial data table, 227
Modify, 163
Input Method Editor (IME), 45
Motor (MDS), 153
Intermediate acknowledgment, 338, 339
Removing, 160
IP address, 83
DB1800, 229, 230
ISO Dialect, 88
DB9903, 227
DB9904, 228
Definition files, 36
J
Dictionary
Editing, 46 Job status, 325
Importing, 46
Direct connection, 26
Drive L
Circuitry, 174
Language code, 401
Configuration, 118
License, 50, 54
Parameter, 143
License key, 50, 54
DRIVE-CLiQ, 118
License number, 54
Wiring rules, 166
Loading magazine, 308
E M
Easy Archive, 397
Machine data, 85
Easy Extend, 239
Effectiveness, 87
Options bits, 243
Unit, 86
EE_IFC (DB9905), 241
Macros, 36
End acknowledgment, 338, 339
Magazine, 307, 344
Ethernet interface, 21
Configuration, 368
Example
Magazine list, 308
Change manual tool (1), 356
Maintenance interval, 238
Change manual tool (2), 357
Manual tools, 310
Milling machine, 371
MD10715[0]
Milling part program, 372
M_NO_FCT_CYCLE, 328
Turning machine, 360
MD10716[0]
Turning part program, 361
M_NO_FCT_CYCLE_NAME, 328
MD10717
$MN_T_NO_FCT_CYCLE_NAME, 331
F
MD11210
Feedback signal, 316 $MN_UPLOAD_MD_CHANGES_ONLY, 396
MD12986
PLC_DEACT_IMAGE_LADDR_IN, 81
G MD12987
PLC_DEACT_IMAGE_LADDR_OUT, 81
GUD, 36
N T
NC command TCA, 335 TCP/IP, 21
NCK variables, 350 TMMVTL (PI service), 352
Network connection, 26 Tool change, 318, 376
End acknowledgment, 318
Tool list, 308
O Tool management, 305
Optimization objective MD20360/SD54215 dependency, 332
Maximum fault clearance, 185 Toolbox, 13
Moderate fault clearance, 185 Total acknowledgment, 339
Optimal damping, 185 Transfer step, 344
Optimization strategy, 184 Transfer-step table
Option, 50, 54 Constant, 326
Variable, 327
Trigonometric functions, 302
P
Password U
Change, 43
Set, 43 USB FlashDrive, 392
PI service, 352 User example, 397
Pin assignment User interface, 311
Digital inputs/outputs, 172 User views, 87
V POWER_OFF, 271
PRINT, 272
V24
PROPERTY, 278
Deactivate, 400
REQUEST, 279
Interface, 399
SET_ACTIVE, 257
Parameter, 399
SET_INACTIVE, 257
Variable
SOFTKEY_CANCEL, 279
Location state, 351
SOFTKEY_OK, 279
Location type, 350
START_UP, 257
T number, 351
TEST, 257
TEXT, 280
TYPE_CAST, 280
W
UID, 257
Wiring rules DRIVE-CLiQ, 166 UPDATE_CONTROLS, 281
VERSION, 257
WAITING, 272
X
X122 digital inputs/outputs, 171
X132 digital inputs/outputs, 171
XML
Identifiers, 257
Operators, 256
Special characters, 256
Statements, 287
XML identifier
?up, 273
AGM, 257
BOX, 275
CAPTION, 273
CLOSE, 273
CONTROL, 275
CONTROL_RESET, 258
DATA, 259
DATA_ACCESS, 259
DATA_LIST, 260
DEVICE, 257
DRIVE_VERSION, 261
FILE, 261
FORM, 274
FUNCTION, 263
FUNCTION_BODY, 264
IMG, 277
INCLUDE, 265
INIT, 274
LET, 266
MSGBOX, 267
NAME, 257
OP, 268
OPTION_MD, 269
PAINT, 274
PASSWORD, 270
PLC_INTERFACE, 270