840Dsl CNC Commiss Man en-US
840Dsl CNC Commiss Man en-US
840Dsl CNC Commiss Man en-US
Fundamental safety
instructions 1
Introduction 2
SINUMERIK
Requirements for
commissioning 3
SINUMERIK 840D sl
CNC Commissioning: NC, PLC,
Drive Licensing 4
PLC commissioning 5
Commissioning Manual
Commissioning NC-
controlled drives 6
Communication between the
NC and the drive 7
NC commissioning 8
Configuring PLC-controlled
drives 9
Drive tuning 10
Appendix A
Valid for:
SINUMERIK 840D sl/840DE sl
06/2019
A5E44860208B AB
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 into the following categories:
● General documentation/catalogs
● User documentation
● Manufacturer/Service Documentation
Further information
You can find information on the topics at the following address (https://
support.industry.siemens.com/cs/de/en/view/108464614):
● Order documentation / documentation overview
● Additional links for downloading documents
● Using documentation online (find and search in manuals/information)
If there are any questions regarding the technical documentation (e.g. suggestions,
corrections), please send an email to the following address
(mailto:docu.motioncontrol@siemens.com).
mySupport/Documentation
At the following address (https://support.industry.siemens.com/My/ww/en/documentation),
you can find information on how to create your own individual documentation based on
Siemens' content, and adapt it for your own machine documentation.
Training
At the following address (http://www.siemens.com/sitrain), you can find information about
SITRAIN (Siemens training on products, systems and solutions for automation and drives).
FAQs
You can find answers to Frequently Asked Questions in the Service&Support pages at Product
Support (https://support.industry.siemens.com/cs/de/en/ps/faq).
SINUMERIK
You can find information about SINUMERIK at the following address (http://www.siemens.com/
sinumerik).
Target group
This document is intended for commissioning personnel.
The plant or system is installed, connected, and ready to start. The Commissioning Manual
contains all the necessary information or at least references for the following steps, e.g.
configuring the individual components.
Standard scope
This documentation only describes the functionality of the standard version. Additions or
revisions 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 delivery or when
servicing.
For the sake of simplicity, this documentation does not contain all detailed information about all
types of the product, and cannot cover every conceivable case of installation, operation, or
maintenance.
Technical Support
Country-specific telephone numbers for technical support are provided on the Internet at the
following address in the Contact (https://support.industry.siemens.com/sc/ww/en/sc/2090)
area.
EC Declaration of Conformity
The EC Declaration of Conformity for the EMC Directive can be found on the Internet at the
following address (https://support.industry.siemens.com/cs/ww/en/ps/14604/cert).
Preface .........................................................................................................................................................3
1 Fundamental safety instructions.................................................................................................................11
1.1 General safety instructions.....................................................................................................11
1.2 Equipment damage due to electric fields or electrostatic discharge ......................................15
1.3 Warranty and liability for application examples ......................................................................16
1.4 Industrial security ...................................................................................................................17
1.5 Residual risks of power drive systems ...................................................................................19
2 Introduction.................................................................................................................................................21
2.1 Overview of the manuals for SINUMERIK 840D sl ................................................................21
2.2 SINUMERIK 840D sl configuration ........................................................................................22
2.3 Procedure for the initial commissioning .................................................................................24
2.4 Procedure when tuning axes and drives ................................................................................26
3 Requirements for commissioning ...............................................................................................................27
3.1 General prerequisites.............................................................................................................27
3.2 Software and hardware preconditions....................................................................................28
3.3 Position of the interfaces........................................................................................................29
3.4 Power-On and boot-up...........................................................................................................30
3.4.1 NC and PLC memory reset ....................................................................................................30
3.4.2 A general reset is separately performed for the NC and PLC................................................32
3.4.3 Boot completed ......................................................................................................................34
3.5 Access levels .........................................................................................................................35
4 Licensing ....................................................................................................................................................39
4.1 SINUMERIK License Key.......................................................................................................39
4.2 Web License Manager ...........................................................................................................41
4.3 License database ...................................................................................................................42
4.4 How to perform the assignment .............................................................................................43
4.5 Important licensing terms .......................................................................................................44
5 PLC commissioning....................................................................................................................................47
5.1 Connect PG/PC with the PLC ................................................................................................47
5.2 Creating a SIMATIC S7 project (PROFIBUS) ........................................................................48
5.2.1 SIMATIC S7 project overview ................................................................................................48
5.2.2 Inserting SINUMERIK NCU to the HW Config .......................................................................49
5.2.3 Configuring interfaces ............................................................................................................52
5.2.4 Augmenting the machine control panel and handwheel in the HW configuration ..................58
5.2.5 Modifying PROFIBUS machine control panel in OB100 ........................................................60
5.2.6 Configuring the Web server ...................................................................................................62
5.2.7 Inserting an NX to the hardware configuration.......................................................................63
5.2.8 End the hardware configuration and load it to the PLC..........................................................65
5.3 Extending the SIMATIC S7 project (PROFINET)...................................................................66
5.3.1 Requirements when configuring PROFINET .........................................................................66
5.3.2 Sample configuration .............................................................................................................68
5.3.3 Commissioning the PLC.........................................................................................................70
5.3.4 Configuring PROFIsafe ..........................................................................................................76
5.3.5 Complete the PLC project ......................................................................................................78
5.4 Creating a PLC program ........................................................................................................81
5.4.1 Preconditions for creating the PLC program ..........................................................................83
5.4.2 Insert PLC basic program ......................................................................................................83
5.4.3 Modifying machine control panel in OB100............................................................................85
5.5 Download the project to the PLC ...........................................................................................87
5.6 Loading PLC symbols to the controller ..................................................................................89
5.7 First commissioning of the PLC completed............................................................................90
5.8 Configuring a network (NetPro) for PG/PC ............................................................................91
5.8.1 Integrating PG/PC into NetPro ...............................................................................................91
5.8.2 Configuration of the PG/PC interface.....................................................................................92
5.8.3 Assigning interfaces ...............................................................................................................95
5.8.4 Loading the HW config to NCU ..............................................................................................96
6 Commissioning NC-controlled drives .........................................................................................................99
6.1 Configuration examples .........................................................................................................99
6.1.1 Example: Configuration of the drive components ..................................................................99
6.1.2 Example: Parallel connection with TM120 ...........................................................................101
6.2 Terminal assignment............................................................................................................103
6.2.1 NCU terminal assignment ....................................................................................................103
6.2.2 X122 terminal assignment....................................................................................................103
6.2.3 X132 terminal assignment....................................................................................................104
6.2.4 X142 terminal assignment....................................................................................................105
6.2.5 Terminal assignment NX1x.3 ...............................................................................................105
6.2.6 Support for the terminal assignment ....................................................................................106
6.2.7 BICO interconnections .........................................................................................................107
6.3 Guided commissioning of SINAMICS drives........................................................................109
6.3.1 Initializing the system ...........................................................................................................109
6.3.2 Device configuration of the drive system .............................................................................111
6.3.3 Configuring the infeed ..........................................................................................................113
6.3.4 Configuration of two infeeds connected in parallel...............................................................120
6.3.5 Configuring drive components .............................................................................................123
6.3.6 Commissioning catalog motors with encoder using SMC ...................................................125
6.3.7 Commissioning a third-party motor with encoder via SMC ..................................................131
6.3.8 First commissioning of SINAMICS drive ended ...................................................................138
6.4 Manual commissioning of SINAMICS drives........................................................................139
6.4.1 Introduction to commissioning of SINAMICS drives.............................................................139
6.4.2 Activate the factory settings .................................................................................................141
A Appendix...................................................................................................................................................377
A.1 Abbreviations .......................................................................................................................377
A.2 Information about third-party software used.........................................................................379
A.3 Documentation overview SINUMERIK 840D sl....................................................................381
Index.........................................................................................................................................................383
WARNING
Electric shock and danger to life due to other energy sources
Touching live components can result in death or severe injury.
● Only work on electrical devices when you are qualified for this job.
● Always observe the country-specific safety rules.
Generally, the following six steps apply when establishing safety:
1. Prepare for disconnection. Notify all those who will be affected by the procedure.
2. Isolate the drive system from the power supply and take measures to prevent it being
switched back on again.
3. Wait until the discharge time specified on the warning labels has elapsed.
4. Check that there is no voltage between any of the power connections, and between any of
the power connections and the protective conductor connection.
5. Check whether the existing auxiliary supply circuits are de-energized.
6. Ensure that the motors cannot move.
7. Identify all other dangerous energy sources, e.g. compressed air, hydraulic systems, or
water. Switch the energy sources to a safe state.
8. Check that the correct drive system is completely locked.
After you have completed the work, restore the operational readiness in the inverse sequence.
WARNING
Electric shock due to connection to an unsuitable power supply
When equipment is connected to an unsuitable power supply, exposed components may
carry a hazardous voltage. Contact with hazardous voltage can result in severe injury or death.
● Only use power supplies that provide SELV (Safety Extra Low Voltage) or PELV-
(Protective Extra Low Voltage) output voltages for all connections and terminals of the
electronics modules.
WARNING
Electric shock due to equipment damage
Improper handling may cause damage to equipment. For damaged devices, hazardous
voltages can be present at the enclosure or at exposed components; if touched, this can result
in death or severe injury.
● Ensure compliance with the limit values specified in the technical data during transport,
storage and operation.
● Do not use any damaged devices.
WARNING
Electric shock due to unconnected cable shields
Hazardous touch voltages can occur through capacitive cross-coupling due to unconnected
cable shields.
● As a minimum, connect cable shields and the cores of cables that are not used at one end
at the grounded housing potential.
WARNING
Electric shock if there is no ground connection
For missing or incorrectly implemented protective conductor connection for devices with
protection class I, high voltages can be present at open, exposed parts, which when touched,
can result in death or severe injury.
● Ground the device in compliance with the applicable regulations.
WARNING
Spread of fire from built-in devices
In the event of fire outbreak, the enclosures of built-in devices cannot prevent the escape of
fire and smoke. This can result in serious personal injury or property damage.
● Install built-in units in a suitable metal cabinet in such a way that personnel are protected
against fire and smoke, or take other appropriate measures to protect personnel.
● Ensure that smoke can only escape via controlled and monitored paths.
WARNING
Unexpected movement of machines caused by radio devices or mobile phones
When radio devices or mobile phones with a transmission power > 1 W are used in the
immediate vicinity of components, they may cause the equipment to malfunction.
Malfunctions may impair the functional safety of machines and can therefore put people in
danger or lead to property damage.
● If you come closer than around 2 m to such components, switch off any radios or mobile
phones.
● Use the "SIEMENS Industry Online Support app" only on equipment that has already been
switched off.
WARNING
Fire due to inadequate ventilation clearances
Inadequate ventilation clearances can cause overheating of components with subsequent fire
and smoke. This can cause severe injury or even death. This can also result in increased
downtime and reduced service lives for devices/systems.
● Ensure compliance with the specified minimum clearance as ventilation clearance for the
respective component.
NOTICE
Overheating due to inadmissible mounting position
The device may overheat and therefore be damaged if mounted in an inadmissible position.
● Only operate the device in admissible mounting positions.
WARNING
Unexpected movement of machines caused by inactive safety functions
Inactive or non-adapted safety functions can trigger unexpected machine movements that
may result in serious injury or death.
● Observe the information in the appropriate product documentation before commissioning.
● Carry out a safety inspection for functions relevant to safety on the entire system, including
all safety-related components.
● Ensure that the safety functions used in your drives and automation tasks are adjusted and
activated through appropriate parameterizing.
● Perform a function test.
● Only put your plant into live operation once you have guaranteed that the functions relevant
to safety are running correctly.
Note
Important safety notices for Safety Integrated functions
If you want to use Safety Integrated functions, you must observe the safety notices in the Safety
Integrated manuals.
WARNING
Malfunctions of the machine as a result of incorrect or changed parameter settings
As a result of incorrect or changed parameterization, machines can malfunction, which in turn
can lead to injuries or death.
● Protect the parameterization against unauthorized access.
● Handle possible malfunctions by taking suitable measures, e.g. emergency stop or
emergency off.
NOTICE
Equipment damage due to electric fields or electrostatic discharge
Electric fields or electrostatic discharge can cause malfunctions through damaged individual
components, integrated circuits, modules or devices.
● Only pack, store, transport and send electronic components, modules or devices in their
original packaging or in other suitable materials, e.g conductive foam rubber of aluminum
foil.
● Only touch components, modules and devices when you are grounded by one of the
following methods:
– Wearing an ESD wrist strap
– Wearing ESD shoes or ESD grounding straps in ESD areas with conductive flooring
● Only place electronic components, modules or devices on conductive surfaces (table with
ESD surface, conductive ESD foam, ESD packaging, ESD transport container).
Note
Industrial security
Siemens provides products and solutions with industrial security functions that support the
secure operation of plants, systems, machines and networks.
In order to protect plants, systems, machines and networks against cyber threats, it is
necessary to implement – and continuously maintain – a holistic, state-of-the-art industrial
security concept. Products and solutions from Siemens constitute one element of such a
concept.
Customers are responsible for preventing unauthorized access to their plants, systems,
machines and networks. Such systems, machines and components should only be connected
to an enterprise network or the Internet if and to the extent such a connection is necessary and
only when appropriate security measures (e.g. using firewalls and/or network segmentation)
are in place.
For additional information on industrial security measures that can be implemented, please
visit:
Industrial security (https://www.siemens.com/industrialsecurity)
Siemens’ products and solutions undergo continuous development to make them more secure.
Siemens strongly recommends that product updates are applied as soon as they become
available, and that only the latest product versions are used. Use of product versions that are
no longer supported, and failure to apply the latest updates may increase customer’s exposure
to cyber threats.
To stay informed about product updates, subscribe to the Siemens Industrial Security RSS
Feed at:
Industrial security (https://www.siemens.com/industrialsecurity)
WARNING
Unsafe operating states resulting from software manipulation
Software manipulations, e.g. viruses, Trojans, or worms, can cause unsafe operating states
in your system that may lead to death, serious injury, and property damage.
● Keep the software up to date.
● Incorporate the automation and drive components into a holistic, state-of-the-art industrial
security concept for the installation or machine.
● Make sure that you include all installed products into the holistic industrial security concept.
● Protect files stored on exchangeable storage media from malicious software by with
suitable protection measures, e.g. virus scanners.
● On completion of commissioning, check all security-related settings.
● Protect the drive against unauthorized changes by activating the "Know-how protection"
converter function.
&RQILJXUH3/&ORDGEDVLF
SURJUDP
&RQILJXUHGULYHV
1&&RQILJXUHWKHPDFKLQH
&UHDWLQJD3/&SURJUDP
*HQHUDOPDFKLQH
GDWD
&KDQQHOVSHFLILF 'LVSOD\PDFKLQH
PDFKLQHGDWD 1&IXQFWLRQV
GDWD
$[LVPDFKLQHGDWD
&\FOHV *8'PDFURV
352),%86,2
'5,9(&/L4
•••
3RZHUVXSSO\
•••
6HUYRPRWRUV 0DLQVSLQGOHPRWRU
6,180(5,. 6,180(5,.3&8
+7 ,QGXVWULDO(WKHUQHW
33'31
33b'b$b31
6,0$7,&
(7SUR
352),1(7
'5,9(&/L4
6,180(5,.'VO 6,1$0,&66
6,1$0,&66
3RZHUVXSSO\ 1&8%31 0RWRU0RGXOH
&RPEL
ERRNVL]HFRPSDFW
IRUPDW
Note
SINAMICS S120 Combi
The configuration with SINAMICS S120 Combi is permissible only on an NCU 710.3B PN.
Requirement
Once the drives have been commissioned and the axes assigned, you must start tuning the
particular machine or a machine type.
● The drives have been commissioned: the axes move.
● The topology has been checked and is OK.
Limit values
All components are dimensioned for defined mechanical, climatic and electrical environmental
conditions. No limit value may be exceeded, neither during operation, nor during transportation.
Special attention must be paid to the limit values:
● Power supply conditions
● Pollution burden
● Function-impairing gases
● Ambient environmental conditions
● Storage/transport
● Shock stressing
● Vibration stressing
● Ambient temperature
References
You can find further details in the following manuals:
● Installing the SINAMICS S120 drive components: SINAMICS S120 Equipment Manual /
GH2/ (https://support.industry.siemens.com/cs/ww/en/view/109763282)
● Connecting the interfaces: SINUMERIK 840D sl Equipment Manual NCU 7x0.3B PN
(https://support.industry.siemens.com/cs/de/en/view/99922219)
● Connection to NCU
– Network switch to X120
– Ethernet machine control panel to socket X120
– Ethernet connection from PG/PC to X120 or X127 for commissioning the PLC
– Ethernet connection from the TCU to the Ethernet machine control panel
– Optional: Ethernet connection from the PCU to the Ethernet machine control panel
● Software requirements
– CNC software with SINUMERIK Operate
– Optional: SINUMERIK Operate for operation on the PCU
– SIMATIC STEP 7 on PG/PC (engineering system)
– SINUMERIK 840D sl Toolbox for STEP 7 package
– GSD files (Toolbox)
Note
The part numbers of the SINAMICS drives, encoders and motors should be available for
parameterization.
;
;
;;;
;
;
;
;
; ;
;; ;
;
The settings on the PLC switch have the same meaning as for a SIMATIC S7-CPU:
Initial commissioning
In order to achieve a defined state of the complete system, for the initial commissioning of the
NCU, a general reset of the NC and the PLC must be performed.
Note
In the following cases, a general PLC reset must always be performed:
● Initial commissioning
● Module replacement
● General reset request by the PLC
● Upgrading the PLC
Procedure:
1. Set the rotary switch of the NCU to the following settings:
– NCK commissioning switch: Switch position "1"
– PLC mode selector: Switch position "3"
2. Initiate a power-on reset by switching-off the control and switching-on again – or by pressing
the Reset button on the front of the NCU. The NC is shut down and is restarted with the
request for a general reset.
Effect:
– The "STOP" LED flashes.
– The "SF" LED illuminates continuously.
3. Within approx. three seconds, turn the PLC mode selector switch to the positions "2" → "3"
→ "2".
Effect:
– The "STOP" LED first flashes with about 2 Hz and then illuminates continuously.
4. Turn the PLC mode selector switch back to the "0" position.
Effect:
– The "STOP" LED extinguishes.
– The "RUN" LED flashes initially and then illuminates green continuously.
5. Turn the NCK commissioning selector switch back to the "0" position.
Result
The NC has now been generally reset and is in the following state:
● NC
– The user data is deleted.
– The system data is initialized.
– The standard machine data is loaded.
● PLC
The general reset places the PLC in a defined initial state:
– The user data has been deleted (data and program blocks).
– The system data blocks (SDB) have been deleted.
– The diagnostics buffer and the MPI parameters have been reset.
The "RUN" LED illuminates. NC and PLC are in cyclic operation.
Note
PLC general reset
If a general PLC reset is performed using a power-on reset, then the user data must again be
transferred to the PLC, e.g. via a programming device (PG).
After the PLC general reset, no PLC start is performed and at least the following alarm issued:
● Alarm: "2001 PLC not booted"
These alarms have no influence on the next steps.
Alternatives
A PLC general reset can be performed with or without power-on reset. Depending on this,
various states are obtained for the PLC program.
Note
For the general reset without power-on reset, the most recently loaded blocks from the PLC
program are reimported.
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). A power-on reset
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
only provides access to certain areas.
The position of the key-operated switch can be processed by the PLC program, and
appropriately transferred to the NC/PLC interface .
Set password
Procedure:
1. Select the "Commissioning" operating area and press the "Password" softkey.
2. Press the "Set password" softkey. The current key-operated switch setting is displayed first:
3. Enter the password for the desired access level and confirm this input with "OK" or with the
<INPUT> button.
A valid password is acknowledged as set and the access level is set. Invalid passwords will
be rejected.
Pressing the "Delete password" softkey deletes the last valid password and displays the
current key-operated switch setting again.
Note
Delete password
The password can also be deleted via the → PI service: LOGOUT: Function Manual, Basic
Functions
This information can also be found in the online help of SINUMERIK Operate.
Change password
NOTICE
Change password
Observe the following "Rules relating to the password structure" for the selection of the new
password.
Note the following changes in the handling of passwords:
● A password that has been changed cannot be reset to a default password.
● After a software upgrade to version 4.8 SP3, the passwords valid under Linux
apply immediately in the NC.
● In the following cases, the default passwords in the delivery condition are no longer valid
in the NC and have been replaced by the currently valid passwords under Linux:
– After importing a startup archive
– After a memory reset of the NC
Procedure:
1. To change the default password from the delivery condition, press the "Change password"
softkey.
2. The previous password must first be confirmed. After successful authentication, you are
forwarded automatically to the following dialog:
3. Enter the new password and the repetition, and then confirm with the "OK" softkey. If both
passwords match, the new password becomes valid and is adopted by the system.
Password forgotten?
NOTICE
Password forgotten?
Assigning a new password to replace a forgotten password is a very time-consuming process,
in particular, an unavailable password hinders a service job.
Therefore, please take appropriate actions to ensure that the assigned passwords are
available for a service job.
If the password is no longer available, please contact the supplier.
Note
Trial license
A trial license supports "short-term use" of the software in a non-productive context, e.g. use for
testing and evaluation purposes; it can be transitioned into another license.
Overview
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.
Internet links
Web License Manager (http://www.siemens.com/automation/license)
Siemens Industry Mall (http://mall.automation.siemens.com)
Direct access
The direct access in the Web License Manager is made with:
● License number
● Delivery note number
The direct access enables the direct assignment of licenses for which the license numbers are
available, e.g. in the form of a CoL.
Customer login
The customer login in the Web License Manager is made with:
● User name
● Password
The customer login enables the assignment of all the licenses available to the machine
manufacturer that are delivered at the time of the login and have not yet been assigned to any
machine. Here, the license numbers of licenses that can still be assigned need not be directly
at hand, instead these are displayed from within the license database.
Note
Obtaining access data
You can obtain the address data for the customer login from the Siemens Industry Mall under
the associated selected region with: "> Register" (top).
5. Check the details of the selected licenses before confirmation of the assignment process.
Note
After confirmation, the generated license key irrevocably links the selected licenses with the
specified hardware.
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
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.
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 identified by its → hardware
serial number.
License number
The license number is the feature of a → license used for its unique identification.
Option
An 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.
Product
A product is marked by the data below within the license management of SINUMERIK
→ software products:
● Product designation
● Article 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.
Introduction
SIMATIC Manager is a GUI for online/offline editing of S7 objects (projects, user programs,
blocks, hardware stations and tools).
You can perform the following actions with the SIMATIC Manager:
● Manage projects and libraries
● Call STEP 7 tools
● Establish an online connection to the PLC
A corresponding editing tool is started up when you open the relevant objects. The program
editor starts by double-clicking a program block. The block can be processed.
Steps to be taken
A SIMATIC S7 project must be created for the basic commissioning of the PLC, the Ethernet
and PROFIBUS communication as well as the input/output data areas of the NC. To do this,
perform the following steps:
● Create a project
● Insert a SIMATIC station 300
● Insert an NCU to the hardware configuration
● Configuring interfaces
● Insert the machine control panel and handwheel
Note
Loading the PLC (CP840) is essential for the configuration of the data path for saving/restoring
the drive data.
References
The PLC interface signals are described in the SINUMERIK 840D sl NC Variables and Interface
Signals (https://support.industry.siemens.com/cs/de/en/view/109763239)list manual.
Operating sequence
You have started the SIMATIC Manager.
1. To create a new project, select the "File" → "New" menu command in the SIMATIC Manager.
2. Enter the project data:
– Name (for example: SINU_840Dsl)
– Storage location (path)
– Type
3. Confirm the dialog with "OK".
The project window is displayed showing an empty S7 project structure.
Overview
Insert the necessary hardware in the following order in the S7 project:
● Insert a SIMATIC station 300
● Start the hardware configuration
● Insert a SINUMERIK NCU
Operating sequence
Procedure:
1. Select via the context menu (right-click) "Insert new object" > "SIMATIC 300 station".
① Station window:
② Details
③ Hardware catalog
The user interface of the "HW Config" hardware configuration shows the following details:
– Station window:
The station window is split. The upper part displays the structure of the station
graphically, and the lower part provides a detailed view of the selected module.
– Hardware catalog
This catalog also contains the SINUMERIK NCU that you need for configuring the
hardware.
3. Select "NCU 720.3 PN" with the left mouse button and drag it to the "Station design" station
window while keeping the mouse button pressed.
After you release the mouse button, into the dialog, configure the properties of the interfaces of
the communication processor CP provided on the NCU.
Introduction
Configure the following interfaces in the STEP 7 project via which you want to access the NCU:
● Integrated PROFIBUS
● PROFIBUS DP, only with machine control panel for PROFIBUS (Page 60)
● Industrial Ethernet
When creating a new project using the catalog, the configuration of the PROFIBUS interface is
called automatically.
4. The NCU module with SINAMICS S120 is inserted into the HW Config.
Note
With the <F4> key and confirmation of the prompt regarding "Reorganization", you can
reorganize the display in the station window.
Note
Use service interface X127 when commissioning the PLC. The Ethernet interface does not
have to be configured. This interface is already initialized with the IP address 192.168.215.1
For the initial commissioning with a PG/PC, it is necessary to configure an Ethernet interface.
In our example, this involves the interface to socket X120.
1. Double-click "CP 840D sl" in the basic rack of the NCU. The "Properties - CP 840D sl" dialog
opens.
2. After clicking the "Properties" button, a new Ethernet interface can be created.
3. For socket X120, enter the IP address "192.168.214.1" and the Subnet screen form
"255.255.255.0".
4. Create the Ethernet interface using "New" and then "OK".
5. Click "OK" twice.
3. Click "New…" and then the "Net settings" tab in the "New PROFIBUS subnet properties"
dialog.
4. Select the transmission rate of "12 Mbit/s" for the "DP" profile.
5.2.4 Augmenting the machine control panel and handwheel in the HW configuration
5. Click "OK" twice. You can now assign the slots of the machine control panel with e.g.
"Standard + handwheel".
In the next step, configure the Web browser. Then save, compile and load the configuration to
the PLC.
OB100
CALL "RUN_UP" , "gp_par" FB1 / DB7 -- Startup Baseprogram/ Parameters for Base-
program
MCPNum :=1 // An MCP is present
MCP1In :=P#E 0.0
MCP1Out :=P#A 0.0
MCP1StatSend :=P#A 8.0
MCP1StatRec :=
MCP1BusAdr :=6 // PROFIBUS DP address: 6
MCP1Timeout :=
MCP1Cycl :=
MCP2In :=
MCP2Out :=
MCP2StatSend :=
MCP2StatRec :=
MCP2BusAdr :=
MCP2Timeout :=
MCP2Cycl :=
MCPMPI :=FALSE
MCP1Stop :=FALSE
MCP2Stop :=
MCP1NotSend :=FALSE
MCP2NotSend :=
MCPSDB210 :=
MCPCopyDB77 :=
MCPBusType :=B#16#03 // Parameter [3] := PROFIBUS DP
OB100
BHG :=
BHGIn :=
BHGOut :=
...
UDInt :=
UDHex :=
UDReal :=
IdentMcpType :=
IdentMcpLengthIn :=
IdentMcpLengthOut:=
//Insert User program from here
...
An example for the connection via Industrial Ethernet (IE) can be found at: Modifying machine
control panel in OB100 (Page 85)
References
Further information can be found in the "Structure and functions of the base program" section
of the Basic Functions (P3) (https://support.industry.siemens.com/cs/de/en/view/109763231)
Function Manual.
Operating sequence
1. Click the SINUMERIK module in the hardware configuration to open the following dialog.
5. Activate the "Automatic update" if you want the Web pages to be updated automatically. The
"Identification" Web page is excluded from the automatic update.
Introduction
The NX must be wired to the NCU via the DRIVE-CLiQ. A DRIVE-CLiQ socket is permanently
preassigned for each address. The following table shows the wiring:
Operating sequence
An NX component is contained in the example configuration, for the axis to control the spindle.
This component must be integrated in the hardware configuration also when creating the STEP
7 project:
1. Search for the NX module NX15.3 in the hardware catalog under
"PROFIBUS DP" > "SINAMICS" > "SINUMERIK NX…".
2. Left-click to select the "SINUMERIK NX ..." module and drag it to the "PROFIBUS Integrated
DP master system" bus in the "Station design" station window.
3. The "DP Slave Properties" dialog box opens.
Enter the address for the integrated PROFIBUS in this dialog. "15" is proposed for the first
NX in a configuration.
When deleting and reinserting NX modules, while configuring, a new address area is assigned
each time. We recommend that addresses are assigned as follows in order to create a
transparent configuration:
DRIVE-CLiQ interface Address on the integra‐ Start address of the first Start address of the last
ted PROFIBUS slot slot
X100 10 5540 5740
X101 11 5300 5500
X102 12 5060 5260
X103 13 4820 5020
X104 14 4580 4780
X105 15 4340 4540
,VRFKURQRXVDODUP1&.RIWKH3/&31'3
)L[HGPXVWEHVHOHFWHG
KHUH
&ORFNF\FOHVHWWLQJRIWKH6,1$0,&6LQWHJUDWHGRIWKH1&8
PDWFKLQJYDOXHVIRU7LDQG
7R
6HWWLQJRIWKHLVRFKURQRXV352),1(7,2GHYLFH
2QO\1&.KDVWREHVHOHFWHG
LQWKH,2GHYLFHYDOXHV7LDQG
7RDUHDXWRPDWLFDOO\WDNHQ
IURPWKHV\QFKURQRXVPDVWHU
Sample configuration
6ZLWFK
; 352),%1(7
;
; '5,9(&/L4
6,180(5,.'VO 1;
ZLWK6,1$0,&66
&831 •••
3RZHUVXSSO\
6,1$0,&66
6HUYRPRWRUV 0DLQVSLQGOHPRWRU
The SINUMERIK Operate Online Help provides more detailed, context-related infor‐
mation on the network settings.
Basic procedure
Perform the following steps:
● Insert the SINAMICS Control Unit in HW Config.
● Set the sync master and sync slaves.
● Configure the PROFINET interface.
● Configure the isochronous alarms.
● Save the configuration, compile and then download to the PLC.
● Establish the online connection to the target system and assign a device name to the
SINAMICS Control Unit.
3. Keeping the left mouse key pressed, drag the object under "S120 CU320-2 PN" in the
station window to the PROFINET IO system.
4. By double-clicking on the SINAMICS Control Unit, you open the "Properties" dialog box to
enter a device name.
Note
Device name for SINAMICS S120
Ensure that you use a meaningful name as device name for the SINAMICS Control Unit.
5. In this dialog box, you also activate the topology-based device initialization by selecting the
option "Assign IP address by I/O controller". See also: Complete the PLC project (Page 78)
6. Confirm with "OK".
7. In the next step, you configure the required number of axes, the same as in the configuration
example in the previous chapter:
Three servo DOs, a Control Unit and an infeed with the telegrams recommended for
SINUMERIK.
8. Drag the drive objects and drop them into the SINAMICS Control Unit.
10.Select the "Topology" tab to assign the "partner port" to X150 P1 and click "OK" to confirm.
Note for the selection of the cable length that a longer cable length also increases the signal
runtime.
11.Select interface X150 in the SINUMERIK NCU and from the shortcut menu "PROFINET IO
Domain Management...".
12.In the list under "Station/device name", select the SINUMERIK NCU and with a double-click,
open the synchronization dialog in order to define the NCU as "Sync master".
13.In the list under "Station/device name", select the SINAMICS Control Unit and with a double-
click, open the synchronization dialog in order to define the SINAMICS Control Unit as "Sync
slave".
14.The "Send clock [ms]" text box can then be edited. Here, select the same time as has been
set for SINAMICS Integrated of the NCU (DP cycle), for example 2 ms. Confirm with "OK".
15.Select the PLC in the SINUMERIK NCU and open the "Properties" dialog with a double-click.
16.Select the "Clock synchronous alarms" tab and assign the PROFINET IO system number to
the "NCK" line to which you have added the SINAMICS Control Unit.
Requirement
In order to configure PROFIsafe, it is necessary that the "S7 configurations pack" option is
installed.
Configuring PROFIsafe
Procedure:
1. In the hardware catalog, under "DO SERVO", select PROFIsafe telegram 30, and insert it
in the project for the axis for which you wish to configure PROFIsafe.
2. Open properties with a double-click, and enter the start address:
PROFIsafe telegrams must be in the process image with their I/O addresses and must not
be assigned to the isochronous process image partition PIP (1 for PLC, 2 for NC).
Result of the PROFIsafe configuring:
Note
Telegram 701
If further Safety Integrated functions are to be configured for an axis, telegram 701 is also
required. The configuration procedure is the same as for telegram 30.
The functions available for SINUMERIK are described in the Safety Integrated Function
Manual.
Note
Topology-based device initialization
If a topology was defined in HW Config of the S7 project for the complete PROFINET IO
system, then it is no longer necessary to assign the device name ("initialization") by STEP 7. As
a result of the defined topology, the PLC-CPU automatically identifies and "initializes" the
devices, the so-called topology-based device initialization.
Displaying the device name in SINUMERIK Operate
The assigned name is output in the "PROFINET diagnostics" window as device name in
SINUMERIK Operate.
4. Select the desired SINAMICS Control Unit from the list of the accessible nodes
(participants) and enter a name. Select LED flashing in order to identify the drive object.
5. To assign the name, confirm with "OK".
See also
The further procedure matches the configuring process via PROFIBUS:
● Creating a PLC program (Page 81)
● Checking the communication to the drive (Page 211)
Introduction
The PLC program is constructed modularly. It comprises the following parts:
● PLC basic program
The PLC basic program organizes the exchange of signals and data between the PLC
program and the NC, HMI, and machine control panel components. The PLC basic program
is part of the SINUMERIK 840D sl Toolbox.
● PLC program (extension by the machine manufacturer)
The PLC program is the machine-specific part of the machine manufacturer by which the
PLC basic program is extended.
For example, the FB1 (boot block of the PLC basic program) must be supplied with
variables. A description of this can be found in:
PLC program
The entry points for machine-specific components of the PLC program are located in the
following PLC basic program blocks:
● OB100 (restart)
● OB1 (cyclic processing)
● OB40 (process alarm)
2% )%
3/&EDVLFSURJUDP
5HVWDUW
3/&SURJUDP
)%)%)%)%
2% )&
0&3VLJQDOV
3/&EDVLFSURJUDP +7VLJQDOV
)&)&)&
7RROPDQDJHPHQW )&
6SLQGOHFRQWURO
)&
&\FOLFSURFHV
VLQJ 6WDUW$68%
)%)%)%)%
3/&SURJUDP
9DULDEOHUZ3,
)& VHUYLFHV
6WDUGHOWD )&
'LVSOD\FRQWURO+7
)&
)DXOWDQGRSHUDWLRQDO
PHVVDJHV
2% )&
3/&EDVLFSURJUDP
3URFHVVDODUP
3/&SURJUDP
PLC status
The PLC always starts up in RESTART mode, i.e. the PLC operating system runs OB100 after
initialization and starts cyclic operation at the beginning of OB1. No return is made to the
interruption point (for example, in the event of a power failure).
Introduction
You have performed the hardware configuration, have saved and compiled the project and
have created the system data for the PLC. You have installed the Toolbox software that also
contains the libraries for the PLC basic program of an NCU.
Operating sequence to open the library and copy sources, symbols and blocks
You are on the main screen of the SIMATIC Manager:
1. Select the "File" → "Open" menu and then click the "Libraries" tab.
2. Select the library of the PLC basic program, e.g. "bp7x0_45" and confirm the dialog with
"OK".
You have inserted the library and selected the PLC program from "SINU_840Dsl" >
"SINUMERIK" → "PLC 317 2DP" → "S7 program".
&RS\VRXUFHVEORFNVDQGV\PEROV
LQWRWKHIROGHUIRUWKH3/&SURJUDP
Overwrite OB1
Inserting blocks overwrites the existing organization block OB1. Confirm the query as to
whether you want to overwrite the block with "Yes".
You have now created the PLC basic program.
In the next section you will modify some of the data for the machine control panel in OB100.
Introduction
The PLC base program transfers the signals from the machine control panel. To ensure that the
signals are transferred correctly to and from the machine control panel, enter the following
parameters in the OB100 on the FB1. Under "Blocks", double-click OB100 to open the editor
to configure the machine control panel .
Example: MCP1 is connected via Industrial Ethernet (IE).
OB100
BHG :=
BHGIn :=
BHGOut :=
...
UDInt :=
UDHex :=
UDReal :=
IdentMcpType :=
IdentMcpLengthIn :=
IdentMcpLengthOut:=
//Insert User program from here
...
Result
You have completed the configuration of the PLC base program. In the next step, you will load
the project to the PLC.
An example for the connection via PROFIBUS DP can be found at: Modifying PROFIBUS
machine control panel in OB100 (Page 60)
The following are true for a PROFINET machine control panel with handwheel:
MD11350[0] = 5 PROFIBUS/PROFINET
Introduction
For loading the configured PLC project, the following prerequisites must be fulfilled:
Precondition
● An Ethernet network connection exists between STEP7 and the PLC.
● The configuration to be loaded corresponds to the actual station configuration.
● The NCU is active:
– NC is in cyclic mode.
– PLC in RUN or STOP mode.
Supplementary condition
The following supplementary conditions regarding the system data blocks must be observed
when the configuration is loaded:
● HW Config
When loading the configuration via HW Config, only the system modules and their
associated system data blocks selected in HW Config are loaded into the module. However,
global data defined in SDB 210 is not loaded from the HW Config, for example.
You have loaded the HW Config to the module in the previous "End the hardware
configuration and load to the PLC" chapter.
● SIMATIC Manager
When loading the configuration via the SIMATIC Manager all the system data blocks are
loaded into the module.
Note
When the PLC program is loaded in the "RUN" mode, each block loaded becomes active
immediately. This can result in inconsistencies when executing the active PLC program. It
is therefore advised to place the PLC in the "STOP" mode before loading the configuration,
if this has not already been done.
3. If there is no connection to the target system, you must confirm in sequence the following
dialog requests with:
– "OK" for "Check the required sequence of blocks for correct functioning"
– "Yes" for "Do you want to load system data?"
– "Yes" for "Must system data be deleted on the module and replaced by off-line system
data?"
– "No" for "The module is in STOP mode. Do you want to start the module (cold restart)?"
You have loaded the PLC program to the PLC; the PLC is in "STOP" mode.
Note
If the PLC is stopped via the SIMATIC Manager, then it also has to be started via the
SIMATIC Manager. Starting via the PLC mode selector is also possible.
Requirements
You require the SIMATIC STEP 7 software and the "PLC Symbols Generator" program that is
provided in the toolbox.
For blocks that already have a symbolic name, these symbols cannot be overwritten by other
user-defined designations. Only those symbols are transferred from the blocks to the control
without preassigned symbols.
Note
The notation (upper/lower case) of the file name that the program created is mandatory and
must not be changed.
Transmission log
For the generation and transmission of the symbols, a transmission log is created and stored
under the following path: ../log/symbolimport.log
Example:
...
Error importing PLC symbols: skip vdi on 840d: Symbol number 16956
...
Note
Response of the PLC in the case of an NC stop
For a stop of the NC, the PLC normally continues to run and the type of stop response is the
user's responsibility depending on the machine situation. In this special case, the NC can no
longer switch the outputs to zero and the current status is retained because the PLC is still
running.
In order to switch off the outputs or to force a PLC stop, for example, the "NC READY" signal
is evaluated in the PLC program.
Requirements
The following requirements for integrating a PG/PC must be met:
● The NCU is integrated in the S7 project using HW Config (see: Inserting SINUMERIK NCU
to the HW Config (Page 49)).
● The properties of the interfaces are configured (see: Configuring interfaces (Page 52)).
● The machine control panel is inserted (see: Modifying machine control panel in OB100
(Page 85)).
● The configuration has been saved and compiled (see: End the hardware configuration and
load it to the PLC (Page 65)).
● A PLC program has been created.
Procedure:
1. To add a PG/PC, open the S7 project in the SIMATIC Manager.
2. In the menu, select "Extras" → "Configure net" or click the button.
3. Insert the PG/PC with drag&drop under "Stations" from the catalog into the network
configuration.
,QVHUW3*3&XVLQJ
'UDJ 'URS
The inserted "PG/PC" station does not yet contain any interfaces. These are configured in the
next step.
Introduction
Under NetPro, configure the interfaces required for commissioning on the PG/PC:
● PROFIBUS
● Industrial Ethernet
● PROFINET
● MPI
3. Click "OK".
4. Select the subnet "Ethernet(1)" and enter the following IP address and subnet mask for the
PG/PC:
– IP address 192.168.215.2
– Subnet mask 255.255.255.224
5. Deactivate the option "Set MAC address/Use ISO protocol" and confirm with "OK".
6. You can configure additional interfaces via "New".
All configured interfaces can then be viewed under the "Interface" tab:
Introduction
The interfaces configured in the previous chapter must now be assigned in a device-specific
manner to the available hardware interfaces on the PG/PC.
4. To transfer the interfaces from the "Not assigned" area to the "Assigned" area and activate
them, click "Assign" and confirm the subsequent prompt on editing the object properties with
"OK".
5. Now assign the remaining configured PROFIBUS interfaces. From those interfaces
assigned, one must be marked as "active".
6. Select "Ethernet interface" in the "Assigned" field and mark the field next to it as "active".
7. Click "OK" to end the "Properties - PG/PC" dialog.
In NetPro, the PG/PC interface declared as "active" has a yellow background.
8. Select "Save and compile → Save and check all" and confirm the process with "OK".
The next described operating sequence explains how to load this hardware configuration to the
NCU.
Introduction
The newly created network configuration PG/PC must be introduced to the NCU.
You have established a connection to the Ethernet interface (X120 or X127) and you now load
this configuration from the PG/PC to the NCU.
Configuration overview
The commissioning described in this manual is orientated on the following example
configuration of the SINAMICS drive line-up.
● Infeed (Active Line Module)
● NCU 720.3 PN with:
– A Double Motor Module for two motors each with an SMC20 (Sensor Module Cabinet).
– A Single Motor Module for a motor with two SMC20s for the encoders.
● NX 15.3 with:
– A Single Motor Module for a motor with SMI (Sensor Module Integrated)
; ;
;
; ;
; 60& 60&
'5,9(&/L4
60&
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
60&
1;
1&8 $FWLYH/LQH 'RXEOH0RWRU 6LQJOH0RWRU 6LQJOH0RWRU
0RGXOH 0RGXOH 0RGXOH 0RGXOH
'ULYHREMHFW
IRUWKH1;
'ULYHREMHFWV
IRUWKH1&8
=
<
6SLQGOH
References
Additional DRIVE-CLiQ components of the SINAMICS drive line-up can be found in:
SINAMICS S120 Equipment Manual /GH2/ (https://support.industry.siemens.com/cs/ww/en/
view/109763282)
Topology
Application: Four motors connected in parallel
70 60[
;
; ;
$/0 600
[WHPSHUDWXUHLQSXW
; ;
6,180(5,.
; ;
FRQWUROV\VWHP )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).
Two TM120s are required:
● A TM120 is interconnected automatically in series between the Motor Module and the SMx
Sensor Module.
● A TM120 is directly inserted into a Line Module: This requires a manual interconnection by
the commissioning engineer.
Actions
Depending on the topology, the following actions must be performed on the TM120:
1. TM120 between the Motor Module and the SMx Sensor Module
This TM120 evaluates four KTYs => sensor types must be selected by Servo-p4610/TM-
p4100. The associated temperature is output by servo-r4620/TM120-r4105.
2. TM120 directly on the Line Module
This TM120 evaluates four PTCs => sensor types must be selected by TM-p4100. The
associated temperature is output by servo-r4105.
Setting the threshold values in the PTC context:
– TM120-p4102[x]=251 => evaluation Off
– TM120-p4102[x]=120 => evaluation On
Assignment of the TM120 response using fault propagation on the drive => setting of the
propagation by servo-p0609=BICO:<object number>TM120:4105.0
The terminal assignments for terminal strips X122, X132, X142 are listed in the following tables.
In the "pre-assignment" column, the signals for which the associated SINAMICS parameters are set when
configuring a SINAMICS device are marked with "x".
In the "pre-assigned" column, the signals for which the associated SINAMICS parameters are set when
configuring a SINAMICS device are marked with "x".
Those signals for which the associated SINAMICS parameters are set for the SINAMICS device
configuration are marked with "x" in the "Pre-assigned" column.
Introduction
Each drive unit contains a large number of input and output variables as well as internal control
variables. BICO technology (binector connector technology) allows the drive to be adapted to
a wide variety of conditions.
Digital and analog signals, which can be interconnected as required by means of BICO
parameters, are identified by the prefix BI, BO, CI, or CO in their parameter name. These
parameters are identified accordingly in the parameter list or in the function diagrams:
● Binectors (digital): BI: Binector input, BO: Binector output
● Connectors (analog): CI: Connector input, CO: Connector output
To interconnect two signals, a BICO input parameter (signal sink) must be assigned to the
required BICO output parameter (signal source).
References
"Function Plans" section in the SINAMICS S120/S150 List Manual (LH1) (https://
support.industry.siemens.com/cs/ww/en/view/109763271)
System run-up
After the system has powered up, the "Machine" operating area is displayed:
Alarm response
When loading the project, the PLC is brought into the STOP state. The NC interprets this STOP
state, with a corresponding alarm response, as failure of the PLC. A "Reset (po)" is required for
PLC-NC synchronization. The system responds with alarms. To output all alarms, switch to the
"Diagnostics → Alarms" operating area. Additional support for the diagnostics of the drive
system is provided in Chapter Diagnostics → drive system (Page 173).
3. Enter the password for the "Manufacturer" access level and confirm this with "OK".
2. Select "OK" to start the automatic device configuration. The system topology is then
automatically read-out. This operation can take several minutes.
Alternative: Select "Cancel" to carry out manual commissioning (see: Manual
commissioning of SINAMICS drives (Page 139)).
3. The system then requests a Power-On Reset. Confirm with "Yes". This operation can take
several minutes.
4. After the Power-On Reset, switch to the commissioning wizard for the infeed.
Note
Establish a defined initial state
If the device configuration does not start automatically, device configuration has already been
performed:
Load the "Factory settings" to create a defined state or restart. This restores a defined output
state.
Assignment of the components to the drive objects: For example the assignments of the Motor
Modules, motors and encoders to the drive objects and their assignments to the NC machine
axes (only after axis assignment).
Procedure:
1. Select "Change >" to configure the infeed:
2. The characteristic data of the infeed detected by the automatic device configuration is
displayed:
– Enter the device connection voltage: This is the basis for monitoring the line voltage
(p0281 - p0283), whereby an alarm is triggered in the case of an overshoot or
undershoot. (Alarm threshold and shutdown threshold). The actual line voltage is
determined automatically and the adjustment is made based on this value.
– The actual line frequency for the infeed is determined automatically.
– In parameters p0284, p0285, set a threshold above which an alarm is triggered (default
setting of the monitoring: 45 Hz to 65 Hz).
Use a line contactor to ensure galvanic isolation of the drive line-up and the DC link from the
line supply.
The checkbox for the infeed is selected by default. This means that the BICO
interconnection (ON/OFF, both directions) is set with the initial commissioning in
accordance with the default setting. Activate the checkbox in order to restore the default
setting for the terminal wiring.
If you use an external line contactor in front of the infeed, you can control it automatically via
SINAMICS. To do this, set the checkbox to activate the "SINAMICS internal line contactor
control" function.
Control via the PLC is also possible as an alternative. The connection is made via the
reserved terminals displayed.
– X132.12: Output terminal infeed for line contactor control
– X132.4: Input terminal infeed for line contactor feedback signal
It is not possible to internally control the line contactor using a drive object on the NCU, as
the line contactor must be controlled from an external PLC or hardware control.
5. Select "Next step >". All data with which the infeed has been configured is displayed in the
summary:
7. Confirm with "OK ✓" to save the configuration data to a non-volatile memory.
Condition
The SINAMICS S120 supports the parallel connection of Line Modules under the following
conditions:
● Same type
● Same type rating:
Available for following Active Line Modules: 55, 80 and 120 kW
● Same rated voltage
● Same firmware version
The parallel connection of two Active Line Modules in booksize format must be supplied by a
shared line connection and controlled synchronously by a shared Control Unit. The modules
must not be connected to galvanically isolated lines.
Benefits
For space reasons, some applications require the use of Line Modules in booksize format, but
the available performance range with a single booksize Line Module is insufficient for the
application.
The parallel connection of booksize Active Line Modules offers the following advantages:
● Extension of the power range by higher S1 and maximum powers for S120 in booksize
format
● Higher maximum prechargeable DC-link capacity up to 38 mF
● Only a shared DC link with energy exchange between all connected drives is required.
● Usable in Active Mode, Smart Mode and Extended Smart Mode of the infeed
● Commissioning is simple because no additional parameter assignment is required.
– The commissioning engineer sees only a larger Active Line Module.
– No additional effort is required for commissioning and data backup.
Topology
Select the "Commissioning" → softkey "Drive system" → softkey "Topology" operating area: The
two Line Modules are represented in the topology view:
3. Accept the default setting of the line data or adjust the data to the power supply conditions
at the operating site.
4. Accept the default setting for the terminal wiring.
5. Check the configuration in the summary. Press the "Finish >" softkey to complete the
commissioning.
Parameter Meaning
p0108.15 = 1 Parallel connection of function module activated
r0200[0] Current power unit code number of the first ALM
r0200[1] Current power unit code number of the second ALM
… …
r0204[0] Power unit hardware properties of the first ALM
r0204[1] Power unit hardware properties of the second ALM
r7000 = 2 Parallel connection, number of active power units
p7001[0] = 1 Parallel connection, enabling of power units
p7001[1] = 1 Parallel connection, enabling of power units
…
Introduction
The following components are parameterize/configured with the drive wizard:
● Motor
● Encoder
● Interface signals
Parameterizing/configuring
Guided commissioning navigates you through the commissioning of SINAMICS drives with
motors without SMI (Sensor Module Integrated).
For motors without SMI, when parameterizing/configuring, a distinction is made between the
following motor types:
● Catalog motors (standard motors, listed with associated motor data) (Page 125)
● Third-party motors (Page 131)
Note
Motors with SMI (DRIVE-CLiQ) are automatically configured by the drive unit during the
device configuration with a drive data set (DDS), but only with the motor measuring system;
i.e. motors with SMI only have to be configured with the drive wizard when more than one
drive/motor data set (DDS/MDS) or a second (direct) measuring system is required.
Operating sequence
In our example a power section is to be configured with a listed motor and encoder. You are in
the "Commissioning" → "Drive system" → "Drives" menu:
1. The system detects that the drive object has not been commissioned and that an initial
commissioning is required:
2. Press the "Change" vertical softkey. The motor module type is detected and output. Activate
the available function modules.
If a connected brake is detected when the unit is being configured, the system will
automatically activate the brake control and display the default setting "Motor holding brake
acc. to sequence control".
"Brake control diagnostics evaluation": For an AC drive with "Safe Brake Relay," the "Safe
Brake Control" function requires that the type of the brake control be set in parameter p1278,
to "Brake control with diagnostic evaluation" (p1278 = 0). This parameter is automatically
set for booksize components.
Information about the motor temperature sensor is provided in the FAQ (https://
support.industry.siemens.com/cs/document/109736364).
6. Press "Next step >". An identification of the selected encoder is triggered (encoder 1).
The drive unit can identify encoders with EnDat protocol. These encoders are selected in
the encoder list in the following dialogs ("Configuration - Encoder 1" menu).
The entry "No encoder" is selected in the encoder list for encoders that the drive unit cannot
identify. The connected encoder must be configured.
7. Select the motor encoder from the list: Select the encoder with the "Cursor up / Cursor
down" keys. Alternatively, the encoder system can be parameterized manually using the
"Enter data" softkey.
8. Press "Enter data".
Check the encoder data of the connected encoder and confirm with "OK".
– Encoder type
– Incremental tracks
– Zero marks
– Synchronization
10.Set the number of required drive data sets (DDS). The default setting is one drive data set.
11.You can change the settings for the control mode and the PROFIBUS telegram type.
The control mode and the PROFIBUS telegram (Page 216) are generally correctly
preassigned by the drive wizards.
12.Press "Next step >".
13.You can select the 2nd operating condition input 2nd OFF2 (external input for pulse
cancellation).
15.The configuration of a drive with listed motor has completed. You can check the
configuration in the summary.
16.Press the "Finish >" softkey.
Operating sequence
In our example a power section is to be configured with third-party motor and encoder. You are
in the "Commissioning" → "Drive system" → "Drives" menu:
1. The system detects that the drive object has not been commissioned and that an initial
commissioning is required:
4. Select the "Enter motor data" option to select the motor type.
5. Press "Next step >" to select the type of the brake control in the next dialog.
If a connected brake is detected during the unit configuration, the system will automatically
activate the brake control and displays "Brake control according to procedural control".
If more than one encoder has been selected, press "Next step >" successively to
parameterize each individual encoder:
12.Press "Next step >". An identification of the selected encoders is triggered (Encoder 1).
The drive unit can identify encoders with EnDat protocol. Select other encoders in the
encoder list:
13.Press the "Input data" softkey to check or modify the encoder data.
14.Confirm with "OK" and press "Next step >" to continue the commissioning.
The control mode and the PROFIBUS telegram are generally correctly pre-assigned by the
drive wizards.
15.Set the number of required drive data sets (DDS). The default setting: 1 DDS can be
accepted in most cases.
16.Press "Next step >".
You can select the 2nd Operating condition input 2nd OFF2 (external input for pulse
cancellation).
The configuration of the drive (SERVO) with third-party motor is completed. You can check
the configuration in the summary.
18.Press the "Finish >" softkey.
See also
Communication between the NC and the drive (Page 211)
Machine configuration
Note
"Manually commissioning" is recommended for experienced commissioning engineers.
Procedure:
1. Press the <MENU SELECT> key.
See also
The following functions for commissioning the SINAMICS drives can be performed manually:
● Restore the factory settings (Page 141)
● Update the component firmware (Page 143)
● Configure the infeed and drives
● Check and configure the PROFIBUS connection (Page 145)
Introduction
After the commissioning, the "Factory setting >" function can be used reset the drive system to
the factory settings.
NOTICE
Check the voltage
Before restoring the factory settings, ensure that the EP terminal (Enable Pulses) of the infeed
(booksize: X21, chassis: X41) is de-energized.
3. Press the "Drive system" softkey for this example to load the factory settings for all drive
units used in the system (the NCU and NX module).
You must explicitly confirm another prompt with "OK" or "Cancel".
4. Switch the system (de-energized drive system) off and on again. Wait until communication
has been established again with the NC.
Precondition
All NCU/NX components are connected via DRIVE-CLiQ.
Note
Automatic firmware update
As of SINAMICS V2.5, an automatic firmware update is undertaken when powering up the drive
system if required.
The correct firmware update of the SINAMICS components is performed ONLY if ALL were
inserted in the switched-off state. The subsequent insertion of components may ONLY be
performed in the switched-off state.
2. While the firmware update is running, a progress bar informs you about the current process.
In this case, the following messages are output:
Notice !
The process should not be interrupted! Please wait until the automatic firmware update
completes!
A firmware update is performed for the following drive units of the DRIVE-CLiQ components:
CU_I_3.3:1 ... 39%
CU_NX_3.15:1 ... 50%
3. The following messages are output when the firmware update completes:
Firmware update of the DRIVE-CLiQ components completed.
Notice !
Switch the control system and the entire drive system (all hardware components) off and
then on again to activate the firmware.
Then commissioning can be continued.
CU_I_3.3:1 ... 100%
CU_NX_3.15:1 ... 100%
4. Follow this prompt. You can then continue the commissioning of the drive components
(infeed, motor modules, encoders).
Note
Loading firmware for individual components
If only certain components of the drive system have an older firmware version, the update
also starts automatically and needs correspondingly less time.
Introduction
The following unit configuration is performed during the initial commissioning of the drive units:
● Transfer of the DRIVE-CLiQ topology to the drive unit.
With the transfer of the topology, all components connected on the DRIVE-CLiQ are
detected and the drive-internal data traffic is initialized.
● Drive-object assignment for PROFIBUS connection.
The PROFIBUS connection via the relevant telegrams has been specified with the
configuration in the HW Config.
Operating sequence
The drive unit is in the initial commissioning state.
1. Press the "Drive units" softkey in the "Commissioning" > "Drive system" menu.
To start the device configuration for the drive system, confirm the question with "OK ✓".
3. Confirm the following prompt with "Yes ✓" in order to read in the configuration data of the
drive units into the NC with a power on.
4. The unit configuration for the drive units and drive components of the NCU has been
completed.
5. Confirm with "OK ✓" to continue commissioning in the actual dialog "Drive system" → "Drive
units" → "Configuration". The associated components of the selected drive unit are
displayed:
6. Press "Drive unit +". If you have selected the NX, then the components belonging to the NX
are displayed.
7. If you wish to correct or change the settings in the "PROFIBUS" dialog, then press
"PROFIBUS" → "Change >".
8. Press the menu back key to return to the "Drive system overview":
Introduction
Perform the drive configuration with a drive wizard. The following drive components are to be
configured:
● Active Line Module (infeed)
● Motor Module, motor and encoders (drives)
Procedure:
1. Press the corresponding softkey for the drive object to be configured.
– "Infeeds"
– "Drives" for the corresponding drive object (SERVO)
Configuration is performed in the following sequence:
2. Select the component with the "Infeed+/Infeed-" or "Drive+/Drive-" vertical softkey.
3. Press the "Change >" softkey and follow the configuration steps of the drive wizard.
4. Check the power data of the infeed. (Page 113)
Benefits
The data set wizard in SINUMERIK Operate offers the machine manufacturer a simple and
efficient solution for duplicating and modifying data in order to configure the behavior of drives,
motors and encoders:
● Motor data set → MDS0...3
● Drive data set → DDS0...31 (max. 8 per MDS)
● Encoder data sets → EDS0...2
Reusability of the data helps to minimize the configuration effort wherever machine data for the
tuning of different components is to be generated, which is required for the synchronization of
the machine dynamics of the individual components.
Boundary condition
Note
Drive parameters that affect data sets
Default setting p2038 = 0 for interface mode: SINAMICS
When a message frame is selected via p0922, the parameter p2038 influences the device-
specific assignment of the bits in the control and status words.
For p0922 = 100 ... 199, p2038 = 1 is set automatically and the change of p2038 is blocked. This
sets permanently the "SIMODRIVE 611U" Interface Mode with 8 DDS per MDS for these
message frames.
NC/PLC interface
The factory setting is a motor data set MDS0 with a drive data set DDS0. This logic is provided
in the data set wizard in SINUMERIK Operate and corresponds with the first line:
2. After pressing "Add data set", you will be directed to Step 1 of the data set wizard. For
"Number of MDS", select: 4.
3. Press "Next step >" to select the copy source for MDS0:
The data set wizard will guide you through the next steps.
4. The summary is displayed in the final step. Press "Finish >" to accept the changes.
5. Confirm with "OK" to save the data in non-volatile memory. Saving can take several minutes.
6. The "Drives" → "Overview" dialog of the drive object is displayed. The "Select MDS >"
softkey is now available. Press "Select MDS...".
Result
The result is displayed in the "Service drive" overview:
● 4 DDS were created for each MDS.
● Following selection of the data set via PLC program, the selected data set for the drive
object is displayed; in this example MDS2.
Precondition
The "Remove data set" softkey is active under the following conditions:
● Number of DDS > 1 in the MDS ⇒ DDS can be removed.
● Number of MDS > 1 ⇒ MDS can be removed.
3. The summary is displayed in the next step. Press "Finish >" to accept the changes.
When you exit the dialog, press "Yes" to confirm the prompt to save the data to the non-volatile
memory.
Result
The result is displayed in the "Data set overview" dialog:
Open the selection menu with the <INSERT> key. The "OK" softkey will only become active for
adoption of the change after the assignment has actually been changed.
"Trace" function
The "Trace" function is an oscilloscope function that supports you when optimizing,
troubleshooting and analyzing machines. When selecting the function in the operating area
"Diagnostics" → Menu advance key → Softkey "Trace", the list view is opened to insert variables,
whose signals are to be graphically displayed in the trace view.
A dedicated "Session type" should be used for the following variables:
● NC/PLC/servo variables
● Drive parameters
New session
Procedure:
1. Select "New trace (drive/NC) softkey >" to create a new session.
2. Selection for a session with PLC/NC/servo variables:
5. Using the "Settings" softkey, matching the example, select "If variable" to start the trace.
6. Softkey "Quick List" is activated. Select variable $AN_SLTRACE and acknowledge with
"OK".
7. Matching the example, select "If variable" to stop the trace and acknowledge with "OK".
8. Select the "View trace >" softkey to open the trace view.
9. Select the "Start trace" softkey to activate the trace.
10.Execute the part program with "NC Start".
Trace result
The following graphic is displayed after the trace has been stopped:
5. Select the "Zoom +" softkey or the <+> softkey to enlarge the image section.
Using the cursor keys, you can move the image section:
2. Select the "Zoom +" softkey or the <+> softkey to enlarge the image section.
3. Using the cursor keys, you can move the image section:
3. You can undo the action using <CTRL> and the right-hand mouse key.
3. After selecting softkey "X time axis" → and softkey "Scale +" - or directly entering "X
minimum" and "X maximum".
4. Confirm using softkey "✓ Finish".
Key combinations
Key combinations, which function with the control keys as well as on an external keyboard.
List view:
Copy selection.
Insert selection.
Delete selection.
Trace view:
Zoom +
Zoom -
Operating sequence
1. To check the status of the drive, select the "Diagnostics" → "Drive system" operating area:
2. Press the "Details" softkey to display further diagnostics data for a drive object:
3. If faults or warnings are pending for a drive object, change to the list view using the
associated softkey.
Example
To display the online help for a pending fault or warning on SINUMERIK Operate,
the line must be marked (in orange). You can find remedial measures in the online
help.
Definition
The modular machine concept is based on a maximum target topology created offline. The
maximum design of a particular machine type is referred to as the maximum configuration in
which all the machine components that may be used are pre-configured in the target topology.
By deactivating or deleting drive objects (p0105 = 2), sections of the maximum configuration
can be removed. If a component fails, for example, this sub-topology can also be used to allow
a machine to continue running until the spare part is available. In this case, however, no BICO
source must be interconnected from this drive object to other drive objects.
NOTICE
Data backup
To prevent data loss, save the drive data in a commissioning archive, before you make any
changes!
The "Commissioning" → "Drive system" → "Drive unit" operating area provides the following
functions under "Configuration":
● "Configuration" > "Change >" (Page 182)
– Change the name of the drive object
– Change the name of the component
– Change the comparison level
● "Configuration" → "Sort >": (Page 182)
● "Configuration" → "Display options >":
The "Commissioning" → "Drive system" → "Drive unit" operating area provides the following
functions under "Topology":
● "Topology" → "Change >"
– Delete a drive object
– Delete the component
– Enable/disable drive objects
– Drive object: Change name/number
– Component: Change name/number
● "Topology" → "Add component >" (Page 193)
● "Topology" → "Display options >":
Note
Changing the topology does not require that the first commissioning is repeated.
Topology display
As an alternative to displaying the topology in a tabular form, it is shown graphically based on
Create MyConfig .
The following functions are supported:
● Selecting the drive device
● Displaying the actual topology
● Displaying the target topology
● Display to compare the target topology (top, white background) with the actual topology
(bottom, bright blue background)
● A fault description when faults are active
● Increasing or decreasing the size of the view using the zoom function
● Displaying the properties of the selected component
● Identifying a component using an LED
Note
Functional scope of the "Topology display"
The functionality under "Drive system" → "Topology display" is a display function with the
objective of identifying topology errors.
Contrary to this, in the drive unit functionality under "Drive device" → "Topology " (tabular form)
the following additional functions are integrated:
● Activating/deactivating drive objects
● Deleting drive objects
● Adding and deleting components
Target topology
The graphic topology display is shown using the "Target topology" view as example:
A DRIVE-CLiQ port is always simultaneously selected for the component in focus. The Drive-
CLiQ connection at a selected port is graphically highlighted.
Actual topology
The graphic topology display in the case of an error is shown using the "Actual topology" view:
Focus on the component involved to analyze the error that has occurred. To do this, change
into the "Topology comparison" view in order to compare the actual topology (top) with the
saved target topology (bottom).
Component properties
After switching over the vertical softkey bar, the following properties of the focused component
are displayed in the table:
$[LV $;;
'ULYHREMHFW
'2QDPH 6(592B
'2QXPEHU
7\SH >@6(592
'2VWDWXV 'ULYHREMHFWDFWLYH
'2YDULDEOH
&RPSRQHQW
&RPSRQHQWQDPH 60B
&RPSRQHQWQXPEHU
7\SH
&RPSRQHQWVWDWXV >@&RPSRQHQWDFWLYH
'HYLFH
'HYLFHFODVV 6HQVRU0RGXOH
$UWLFOHQXPEHU 6/$$%$
6HULDOQXPEHU 762
&RPSDULVRQOHYHO KLJK
2. Select one of the following sort criteria for the display from:
– Drive object: The display is sorted according to the drive object number.
– Wiring: The display is sorted according to wiring of the drive components in the drive
system.
– Component number: The display is sorted according to the component number.
– Axis number: The display is sorted according to the axis number.
Comparing topologies
Once you have parameterized the drive components, you can check the topology:
1. Select "Commissioning" → "Drive system" → "Drive unit" → "Topology" in the operating area.
2. Set the actual/target topology comparison for "Display options".
The topology of individual drive components is displayed:
3. This means you are supported during the check whether the displayed target topology
matches the actual topology of the system.
Note
You will need the component numbers in order to configure direct measuring systems
manually.
See also
Diagnostics → drive system (Page 173)
3. Navigate with the arrow keys to the drive object / component that is to be changed.
4. Press the "INSERT" key to enter the new designation.
In the example, the drive object is changed from number "3" to number "30".
Note
Effect
The change of the name and number is applied to the data in the target and actual
topologies of the drive software. Changing the comparison level affects the topology
comparison in the drive software.
4. Once successfully deactivated, the drive object and the associated components are grayed
out.
5. If you want to reactivate the drive object, press the "Activate/deactivate drive object" softkey
and follow the instructions in the information text.
Note
General conditions for deactivating:
● If a component is deactivated, only the component with the correct serial number or none
may be inserted.
● If a component with a different serial number is inserted, this is by definition a different
component. If no other component remains, it must certainly be an excess component. This
component is marked as an additional component and alarm 201416 triggered.
3. Press the "Delete component" softkey, in this example: Sensor SM_14 (sin/cos).
A security prompt follows to delete the component.
4. If you are sure, confirm with "OK". The component is deleted from the target topology.
If the component is not yet available in the actual topology, i.e. still connected, an alarm is
output and the component highlighted in red. To see the change in the topology, the "Actual/
target topology comparison" display options must be set.
5. Remove the module.
Adding components
If you connect a new component (e.g. SMC20) via DRIVE-CLiQ to the drive system, the drive
detects the change in the actual topology and displays the actual/target topology difference.
● GRAY: Desired state, drive object / component not plugged in or deactivated in the drive
system. Use the cursor keys to select the required line. The state is indicated in the bottom
part of the window.
● RED: Actual state, drive object/component available in the actual topology.
New components that have not yet been commissioned have a component number > "200";
in this example, the number "210".
The new component must then be configured and assigned to a drive object (Motor Module)
using the drive wizard.
Note
Only plug in (connect) components when the drive unit is switched off.
In the "Topology" dialog, start at the actual state: The new component has not been connected
yet.
Procedure:
1. To connect a new DRIVE-CLiQ component (e.g. SMC20) to a Motor Module, select
"Commissioning" → "Drive system" → "Drive device" → "Topology" in the operating area.
2. Navigate with the arrow keys to the component that should be inserted in the topology and
press the "Add component >" softkey. The system recognizes the new component and
outputs a message.
3. Press "OK" as confirmation to configure and accept this component. Determining the device
configuration may take several minutes.
Depending on the device configuration, you will be prompted to perform further actions or
to cancel:
To adapt the cyclical data traffic between NCK and SINAMICS to the configuration of the
SINAMICS, a RESET must be performed in the NCK and in the drive system. Should a
RESET be performed in the NCK and in the drive system?
4. Press "OK" to confirm that an NCK and drive system reset should be performed. The unit
configuration is finished. The component has been accepted. The following message will
then appear:
5. Press "OK" to include the component in the topology again although it is not yet assigned to
any drive:
– Select "Drive unit" to open the drive wizard. Select the drive and assign the new encoder
in the encoder configuration (Page 123) to the drive.
– Press "OK" to assign this component to the drive later.
Requirements
There are two procedures for replacing components:
1. Replacing SMI or SMx motor components.
2. Replacing an existing Motor Module with a more powerful Motor Module.
Note
Do not make a permanent change in the drive system.
Before you replace the DRIVE-CLiQ component, change the comparison level.
Note
The new SMI/SMx motor component must not yet be inserted!
Operating sequence:
1. You have removed the previous SMI or SMx motor component.
This motor component is missing in the actual topology. SINAMICS indicates this in the form
of a topology error alarm.
The "Commissioning" → "Drive system" → "Drive units" → "Topology" dialog shows the
previous motor component to be replaced in "gray", i.e. present only in the target topology.
2. In the "Commissioning" → "Drive system" → "Drive units" → "Topology" → "Change..." dialog,
remove the SMI/SMx motor component awaiting replacement from the target topology
using the "Delete component" (Page 191) dialog.
NOTICE
Data loss
Save the drive data that has been changed before switching off (for example, to a drive
data archive).
8. Add the new SMI/SMx motor component to the target topology using the "Commissioning"
→ "Drive system" → "Drive units" → "Topology" → "Add component" (Page 193) dialog.
9. Assign the added SMI/SMx motor component via the "Commissioning" → "Drive system" →
"Drives" drive wizard.
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 article number, e.g. a more
powerful module, after 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.
Precondition
To write to Control Unit parameters and drive parameters and activate them, as a minimum, the
"Service" access level is required.
Note
Status p0105 = [2] deactivated without hardware
In the "Drive state overview", only the two states "[1] activated" and "[0] deactivated" are listed
for a drive object.
If a drive object exists with status [2] deactivated without hardware, then the status must be
changed to "[0] deactivated" and then the hardware component must be inserted and
connected.
The backup of the drive parameters for every drive object is saved at:
/user/sinamics/smi/backup
Parameter data of drive objects are copied to the CompactFlash card of the control
system from a Create MyConfig package.
If the configuration parameters are overwritten when subsequently connecting the
motor with DQI encoder for the automatic controller data calculation, then when
activating, these parameters are again written to the drive object.
Replacing a device
Service & Support Portal: (https://support.industry.siemens.com/cs/de/en/view/99457853)
SIMOTICS Service Manual: Encoder replacement for SIMOTICS S- 1FK7 G2, S-1FG1 and
S-1FT7
Using certain parameters from individual drive components, it is also possible to view the
relevant firmware version for:
● SINAMICS S120 system software in parameter r0018
● Firmware version of the drive components in parameter r0975[2,10]
● Firmware version of the Sensor Module in parameter r0148[0…2]
Example:
r0975[2] = 450, r0975[10] = 3000 ⇒ firmware version: 04.80.60.00
Introduction
The line data setting of the power supply must be checked and set in SINAMICS during
commissioning.
● Enter the device connection voltage: This is the basis for monitoring the line voltage (p0281
- p0283), whereby an alarm is triggered in the case of an overshoot or undershoot. (Alarm
threshold and shutdown threshold). The actual line voltage is determined automatically and
the adjustment is made based on this value.
● The actual line frequency for the infeed is determined automatically.
In parameters p0284, p0285, set a threshold above which an alarm is triggered (default
setting of the monitoring: 45 Hz to 65 Hz).
● Quick stop for axes when the voltage dips after a delay time in [ms]:
In the event of a voltage dip, alarm 207862 "External fault 3" followed by alarm 207841
"Infeed operation withdrawn" are triggered, and the associated fault response is initiated
from p2101. If an alarm is not to be initiated for very short voltage dips, this can be configured
with the ON-delay time p2101.
The switch-on delay is not active for each specific drive, but per infeed – and therefore for
all the drives connected to this infeed. This does not affect alarms, for example from the DC
link, and they continue to be triggered.
Introduction
The control optimization in the ALM is also performed with the identification of the ALM. Here,
the inductance and capacity of the DC link are determined and the optimum control data
determined for the set-up converter.
Identification can only be performed after the controller and the drive have been put into
operation.
Topology rules
When wiring components with DRIVE-CLiQ, the following rules apply: The rules are subdivided
into obligatory rules, which must be observed, and optional rules, which enable automatic
topology detection if they are adhered to.
Obligatory rules:
● A maximum of 198 DRIVE-CLiQ node components can be connected for each NCU.
● Up to 16 nodes can be connected to a DRIVE-CLiQ socket.
● A maximum of seven nodes can be connected in one row. A row is always considered from
the perspective of the closed-loop control module.
● Ring wiring is not permitted.
● Components must not be double-wired.
Optional rules:
When the optional rules for the DRIVE-CLiQ wiring are observed the components concerned
will be automatically assigned to the drives:
● For one Motor Module, the related motor encoder must also be connected.
● Due to the improved performance utilization, use as many DRIVE-CLiQ points on the NCU
as possible.
● It is essential that you comply with the optional rules when using the macro. This is the only
way to achieve a proper assignment of the drive components.
1&8
0RWRUFDEOH
0 0 0
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 is only integrated into the actual topology if the DRIVE-CLiQ interfaces X500/x
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.
PROFIBUS telegram 370 for the infeed (ALM) is not supported by SINUMERIK. However,
according to the SINAMICS rule, all DO from parameter p0101 have to be assigned in
parameter p0978. For this reason, the DO number of the infeed should be entered in index 9.
Note
The list of DO involved in process-data exchange is completed by entering the value "0".
The list of drive objects is already preassigned in the following sequence by the system upon
initializing the drive (acceptance of topology): ALM, 1st Motor Module … n, CU; e.g. 2-3-4-5-1.
Components that do not communicate via PROFIBUS automatically have "255" preassigned to
them.
1) Not active
2) Ends the exchange of PZD
The following table describes the assignment of the drive objects in p0978[0…9] for an infeed
without DRIVE-CLiQ connection. This assignment is also done for a drive group with NX
module.
1) Not active
2) Ends the exchange of PZD
1&8
$/0 600 600 600
;
;
;
60& 60&
; ;
; ;
0 0 0
,QIHHG0'ර
&RQWURO8QLW0' 'ULYH0'ර 'ULYH0' 'ULYH0'ර
ර $FWLYH/LQH $[LVSDUDPHWHU ර $[LVSDUDPHWHUOLVW
&RQWURO8QLW 0RGXOHSDUDPHWHU OLVW $[LVSDUDPHWHU
SDUDPHWHUOLVW OLVW OLVW
The component number is assigned by the drive after detection of the DRIVE-CLiQ topology.
The associated component numbers can be found in the "Commissioning" → "Machine data" →
"Drive MD" → "Select axis" operating area:
Speed adjustment
The following parameters can be set in the "Commissioning" → "Machine data" → "Drive MD"
operating area:
Speed adjustment:
● Spindle drive:
p0500 = 102, speed setpoint in p0322 corresponds to setpoint 4000 0000hex
● Feed drive:
p0500 = 101, speed setpoint in p0311 corresponds to setpoint 4000 0000hex
The speed setpoint can be diagnosed in the relevant drive in r2050[1+2] and r2060[1].
SINAMICS STEP 7 (HW Config) General machine data Axis machine data2)
S120 DP slave properties
Component Message frame I/O ad‐ MD13120[0] MD13050 MD13060 MD30110/ MD30130
type and length dress1) I/O address1) [0...5] I/O ad‐ [0...5] mes‐ MD30220 Type of out‐
dress1) sage frame setpoint / put Setpoint
type actual val‐
ue assign‐
ment
MM1 136 - PZD-11/19 4100 4100 136 1 1
MM2 136 - PZD-11/19 4140 4140 136 2 1
MM3 136 - PZD-11/19 4180 4180 136 3 1
Not available 136 - PZD-11/19 4220 4220 136 -- 0
Not available 136 - PZD-11/19 4260 4260 136 -- 0
Not available 136 - PZD-11/19 4300 4300 136 -- 0
CU 391 - PZD-3/7 6500 6500
ALM 370 - PZD-1/1 6514
1)
Do not change preassignment.
2)
The axis-specific machine data for the configuration of the setpoints and actual values is pre-assigned using the "Assign
axis" function.
Default settings
The telegram length in the hardware configuration is preassigned with the associated I/O
addresses. This pre-assignment for SINAMICS corresponds to the following telegrams with the
maximum possible telegram length:
● Telegram 136: for the axes
● Telegram 391: For the CU
● Telegram 370: for the ALM
This ensures that all telegrams can be supplied without change.
Example
The address areas are displayed in the detail view by clicking the "SINAMICS Integrated"
object. Here, for example, address 4100 corresponds to the address entered in
MD13050 $MN_DRIVE-LOGIC_ADRESS[0]. The addresses have a gap of 40 bytes. The
example shows the assignment of the I/O addresses of the PLC configuration to MD13050
$MN_DRIVE-LOGIC_ADRESS[ 0 … 5]:
PROFIBUS connection
The following general machine data is also set by default for the PROFIBUS connection of the
axes to the drive:
● MD13050 $MN_DRIVE_LOGIC_ADDRESS (axis address)
● MD13060 $MN_DRIVE_TELEGRAM_TYPE (telegram type)
● MD13120 $MN_CONTROL_UNIT_LOGIC_ADDRESS (CU address)
The connection of the relevant axes to the drive via PROFIBUS is displayed in the
"Commissioning" → "Drive system" → "Drive units" → "PROFIBUS" operating area.
Example for the connection of relevant axis to the drive:
To change the assignment, press the "Change >" softkey. Then use the arrow softkeys for the
new assignment:
Note
Communication with the drive
To ensure the communication with the drive, the I/O addresses and telegram types set here
must match the settings in the STEP 7 hardware configuration.
Telegram types
Which telegram types are available?
● Standard telegrams
The standard telegrams are structured in accordance with the PROFIdrive Profile V4.1. The
internal process data links are set up automatically in accordance with the telegram number
setting.
● Manufacturer-specific telegrams
The manufacturer-specific telegrams are structured in accordance with internal company
specifications. The internal process data links are set up automatically in accordance with
the telegram number setting.
The telegram length for communication with the drive is specified in the HW Config, and
depends on the required axis functions, e.g. the number of encoders or the functionality of the
deployed drive.
Note
If the telegram length of a drive component is changed in HW Config, the selection of the
telegram type also has to be adapted in the configuration of the interface in the NC.
Telegrams 146, 148, 149 also have an additional control and status word.
Condition
The commissioning of the drives has been completed.
4. Mark the uppermost selection box for the "Setpoint: Axis → drive".
5. Mark the next selection box for the "Actual value: Encoder → axis" and assign a measuring
system in accordance with the table below.
6. Select the drive object from "NC drive number": The associated I/O address from the PLC
configuring is then displayed automatically.
7. Click "OK" to confirm the assignment and write the data.
The numbers in the lines for encoder 1 / encoder 2 indicate the running number of the encoder
on the SINAMICS drive. This number is transferred in the selected telegram to the NC and
assigned to the axis as encoder 1 or encoder 2.
The telegrams in MD13060 $MN_DRIVE_TELEGRAM_TYPE are preassigned with the values
from the HW Config. This preassignment is set correspondingly for the assignment of the drive
Introduction
Generally, a distinction is made between four types of axes:
● Machine axes
Machine axes are the motion units existing on a machine, which can also be designated as
linear or rotary axes, depending on their usable movement.
● Channel axes
The total of all machine, geometry and special axes assigned to a channel is designated as
channel axes. In this context, the geometry and special axes constitute the program-
technological part of the machining process, i.e. they are used for programming in the parts
program. The machine axes constitute the physical part of the machining process, i.e. they
carry out the programmed traversing movements on the machine.
● Geometry axes
The geometry axes constitute the rectangular Cartesian basic coordinate system of a
channel. Generally, (Cartesian arrangement of the machine axes) direct imaging of the
geometry axes to the machine axes is possible. If the arrangement of the machine axes,
however, is not Cartesian at right angles, the imaging is performed using a kinematic
transformation.
● Special axes
Special axes are all other channel axes that are not geometry axes. Unlike for geometry
axes (Cartesian coordinate system), no geometric context is defined for special axes,
neither between additional axes nor with respect to geometry axes.
Note
Geometry and special axes
A maximum of three channel axes can be declared as geometry axes. The geometry axes must
be assigned to the channel axes in ascending order without any gaps. All channel axes that are
not geometry axes are special axes.
Axis assignment
The assignment of geometry axes to channel axes and channel axes to machine axes, as well
as the definition of the names of the different axis types is realized via machine data. The
following diagram illustrates this relationship:
&KDQQHOD[LVQDPHV 0DFKLQHD[HVXVHG
0'0&B$;&21)B&+$1$;B1$0(B7$%>Q@>P@ 0'0&B$;&21)B0$&+$;B86('>Q@>P@
&KDQQHOQ &KDQQHOQ
&KDQQHO &KDQQHO
VWFKDQQHOD[LV >@ ಯ;ರ VWFKDQQHOD[LV >@
QGFKDQQHOD[LV >@ ಯ<ರ QGFKDQQHOD[LV >@
UGFKDQQHOD[LV >@ ಯ=ರ UGFKDQQHOD[LV >@
WKFKDQQHOD[LV >@ ಯ$ರ WKFKDQQHOD[LV >@
WKFKDQQHOD[LV >@ ಯ%ರ WKFKDQQHOD[LV >@
WKFKDQQHOD[LV >@ ಯ8ರ WKFKDQQHOD[LV >@
WKFKDQQHOD[LV >@ ಯ9ರ WKFKDQQHOD[LV >@
WKFKDQQHOD[LV >@ ಯರ WKFKDQQHOD[LV >@
/RJLFDOPDFKLQHD[LVLPDJH
0'01B$;&21)B/2*,&B0$&+$;B7$%>Q@
>@ >@ >@ >@ >@ >@ >@ >@
ಯ1&B$;Qರ
ಯ&7B6/ರ
$[LVFRQWDLQHUQDPHV
0'
01B$;&7B1$0(B7$%>Q@
/RFDOPDFKLQHD[HV
0' $[LVFRQWDLQHUಯ&7ರ >@ ಯ&7ರ
01B$;&21)B0$&+$;B1$0(B7$%>Q@ 0'01B$;&7B$;&21)B$66,*1B7$% >@ ಯ&7ರ
VWPDFKLQHD[LV >@ ಯ$;ರ 1&B$; 6ORW >@ ಯ&7ರ
QGPDFKLQHD[LV >@ ಯ$;ರ >@ ಯ&7ರ
UGPDFKLQHD[LV >@ ಯ$;ರ 1&B$; 6ORW
>@ ಯ&7ರ
WKPDFKLQHD[LV >@ ಯ$;ರ
WKPDFKLQHD[LV >@ ಯ$;ರ 1&B$; 6ORW >@ ಯ&7ರ
WKPDFKLQHD[LV >@ ಯ$;ರ >@ ಯ&7ರ
WKPDFKLQHD[LV >@ ಯರ 1&B$; 6ORW
WKPDFKLQHD[LV >@ ಯರ
1&QB$;P&RQWDLQHUOLQND[LV
/LQND[LV0DFKLQHD[LV$;QRQ1&8
Example
The 5th channel axis "B" in MD20070 is not assigned to a machine axis.
If channel axis gaps are enabled, six machine axes (1 - 4, 5, 6) are available.
If channel axis gaps are not enabled, then there are four machine axes (1 - 4) available.
&KDQQHOD[LVQDPHV 0DFKLQHD[HVXVHG
0'0&B$;&21)B&+$1$;B1$0(B7$%>Q@>P@ 0'0&B$;&21)B0$&+$;B86('>Q@>P@
&KDQQHO &KDQQHO
VWFKDQQHOD[LV >@ ; VWFKDQQHOD[LV >@
QGFKDQQHOD[LV >@ < QGFKDQQHOD[LV >@
UGFKDQQHOD[LV >@ = UGFKDQQHOD[LV >@
WKFKDQQHOD[LV >@ $ WKFKDQQHOD[LV >@
WKFKDQQHOD[LV >@ % &KDQQHOD[LVJDS WKFKDQQHOD[LV >@
WKFKDQQHOD[LV >@ 8 WKFKDQQHOD[LV >@
WKFKDQQHOD[LV >@ 9 WKFKDQQHOD[LV >@
WKFKDQQHOD[LV >@ WKFKDQQHOD[LV >@
Machine axes
Each machine axis, channel axis and geometry axis is assigned an individual name that clearly
identifies the axis. Machine axis names must be unambiguous for the entire NC. The name of
the machine axes are defined via the following machine date:
MD10000 $MN_AXCONF_MACHAX_NAME_TAB [n] (machine axis name)
The specified names and the associated index are used in the following cases:
● Accessing axis-specific machine data (loading, saving, displaying)
● Reference point approach from the parts program G74
● Measuring
● Test point traversing from the parts program G75
● Traversing the machine axis from the PLC
● Display of axis-specific alarms
● Display in the actual-value system (machine-related)
● DRF handwheel function
Channel axes
The name of the channel axes are defined via the following machine date:
MD20080 $MC_AXCONF_CHANAX_NAME_TAB[n] (name of the channel axis in the channel)
Channel axis names must be unambiguous for the entire channel.
Geometry axes
The names of the geometry axes must be absolutely unique throughout the channel, and are
defined using the following machine data:
Drive assignment
The assignment of machine axes to the SERVO drive objects is realized using machine data.
/RFDOPDFKLQHD[HV
0'01B$;&21)B0$&+$;B1$0(B7$%>Q@
$FWXDOVHWSRLQWFKDQQHORIWKHPDFKLQHD[HV
0'0$B&75/287B02'8/(B15>@>Q@ ,2DGGUHVVHVRIWKH6(592GULYHREMHFWV
0'0$B(1&B02'8/(B15>@>Q@ 0'01B'5,9(B/2*,&B$''5(66>Q@
Assignment:
1. Using this machine data, the NC is informed about the I/O addresses of the SERVO drive
objects defined in the PLC project:
MD13050 $MN_DRIVE_LOGIC_ADDRESS[n]
2. Using the following machine data, the setpoint and actual values of the machine axes are
assigned to the relevant drive objects:
– MD30110 $MA_CTRLOUT_MODULE_NR[0]
– MD30220 $MA_ENC_MODULE_NR[0]
The logical drive number m to be entered into both machine data, refers to the I/O address
entered in ① under index n = (m - 1).
3. Using machine data MD10000 $MN_AXCONF_MACHAX_NAME_TAB, the machine axes
in the NC are assigned a unique name. Index n addresses machine axis (n+1).
Range Name
from 9000 to 9999 Display machine data
from 10000 to 18999 General NC machine data
from 19000 to 19999 Reserved
from 20000 to 28999 Channel-specific machine data
from 29000 to 29999 Reserved
from 30000 to 38999 Axis-specific machine data
from 39000 to 39999 Reserved
from 41000 to 41999 General setting data
from 42000 to 42999 Channel-specific setting data
from 43000 to 43999 Axis-specific setting data
from 51000 to 51299 General configuration machine data
from 51300 to 51999 General cycle machine data
from 52000 to 52299 Channel-specific configuration machine data
from 52300 to 52999 Channel-specific cycle machine data
from 53000 to 53299 Axis-specific configuration machine data
from 53300 to 53999 Axis-specific cycle machine data
Effectiveness
The effectiveness of a machine data item specifies when the change becomes active:
References
You can find a description of the machine data and setting data in the SINUMERIK 840D sl list
manual Machine Data and Parameters (https://support.industry.siemens.com/cs/de/en/view/
109763238)
NC commissioning
We recommend the following sequence when commissioning the NC:
Sequence Reference
① Parameter sets of axis/spindle ● Velocities, setpoint/actual-value systems, closed-loop
control (G2)
● Spindles (S1)
② Axis configuration ● Axes, coordinate systems, frames (K2)
● Synchronous spindles (S3)
● Rotary axes (R2)
● Compensations (K3)
③ Parameterizing axis data: Velocities, setpoint/actual-value systems, closed-loop control
● Parameterizing the incremental-rotary measuring system (G2)
/FB1/: A2, A3, G2, K2, R1, S1 in the Basic Functions (https://support.industry.siemens.com/cs/
de/en/view/109763231)Function Manual
/FB2/: K3, P2, S3 in the Extended Functions (https://support.industry.siemens.com/cs/de/en/
view/109763228) Function Manual
Requirement
A dialog is provided in the "Commissioning" → "NC" → "NC memory" operating area which
supports you when partitioning the NC memory. The "Service" access level is required for this.
Memory division
The memory-configuring NC machine data is divided into various function areas, such as tool
management‚ user data‚ zero offsets and memory types. The graphic with the following legend
shows the division of the individual data areas:
Conditions
Only those axes are listed for friction compensation for which MD32490 = 3 or 4 is set.
Software option
In order to use this function a license is required for the following option:
"Friction compensation with adaptive characteristics" (6FC5800-0_S06-0YB0)
Call the function at the control in the "Commissioning" → softkey "Friction compensation"
operating area: The softkey is not shown until the option has been set.
NOTICE
Backing up tuning results
If the power fails during the tuning process, tuning result data can be lost.
⇒ SINUMERIK 840D sl: In order to avoid that tuning results are lost, it is recommended that
you create a commissioning archive with NC data that contains the axis machine data of the
last complete measurement series. You do not have to select the "With compensation data"
option.
⇒ SINUMERIK 828D: In order to avoid that tuning results are lost, it is recommended that you
create a data class archive of the type "INDIVIDUAL" that contains the friction compensation
data of the last complete measurement series.
References
For more information, please refer to the "Compensations" Chapter in the Extended Functions
(K3) (https://support.industry.siemens.com/cs/de/en/view/109763228) Function Manual
Automatic tuning:
Before starting automatic tuning:
For Automatic tuning, in a channel, select several axes that should be automatically tuned one
after the other. The automatic tuning for the selected axes is started for each channel.
Status display:
The following status data is displayed while tuning:
● "waits" for the selected axes, where tuning has still not been started.
● "being tuned" for the axis that is presently being tuned.
● "tuned" for axes, where tuning has already been successfully completed and saved.
Note
Time required (radius, feedrates)
The time required for the automatic tuning is obtained from the selected feedrates and the
radius: Align the feedrates in the channel setting data (Page 238) for the tuning of the axes to
the machining velocities of the machine.
Tuning quality:
The displayed maximum deviation can vary when repeating the tuning process at the same
axis. If, after measurement, the deviation for a feedrate has not improved when compared to
the initial state, compensation values are not written to the axis machine data.
Commissioning archive:
The tuning results in the axis machine data and also the tuning status of the axes are backed
up in the "NC data" commissioning archive. If the commissioning archive with the tuning data
from machine A is read into machine B, then the NC data are completely read in.
● The axis machine data is read in and becomes effective.
● The axis tuning status is read in. Only when selecting the "Friction compensation" dialog, as
a result of the different serial numbers of the system CompactFlash card, you will be
prompted to accept or reject the tuning status.
Manual tuning:
To start manual tuning press the "Manual tuning" softkey. In the next dialog, select the axes
that you wish to tune.
After completing tuning for an axis in the channel, the compensation values are written to the
axis machine data and the status display updated.
⇒ Further actions:
● "Start" softkey to start automatic friction compensation.
● "Manual tuning >" softkey, to start friction compensation with manual input of the
compensation values.
● "OK" softkey to confirm your selection.
● "Cancel" softkey to cancel the selection.
Procedure:
1. The radius and the feedrate for the measurements are preset in the following channel
setting data and apply for all axes in the channel.
2. Press the "Start" softkey to start measurements. A part program is then automatically
generated; this is done by calling CYCLE790 which reverses the axis with the preset
feedrate. Before the part program is started, a check is made as to whether the entered
feedrates can be achieved based on the dynamic response of the axis. If feedrates are
selected to be too high, a message is output that the feedrates should be reduced.
3. If the entered feedrates have been successfully tested and found to be OK, the part program
is opened in order to add additional program instructions. Confirm with "OK" to close the
window and continue.
On completion of the tuning of an axis in the channel, the compensation values are saved in the
axis machine data and the status display is updated. The next axis is then automatically tuned
in this channel.
Note
Gantry axis grouping
For a gantry axis grouping, only the guide axis is displayed. On completion of the tuning, the
compensation values of the guide axis are copied to the synchronous axes.
⇒ Further actions:
● "Start" softkey to start tuning.
● "Graphic" softkey to change to the graphic display.
● "Data list" softkey to switch to the list of axis machine data and channel setting data.
● "Cancel" softkey to cancel tuning.
tuning. The measurement consists of an initialization phase and the actual measuring process.
The current status is displayed at the bottom right in the status line via a progress indicator.
Procedure:
1. Press the "Axis +" or "Axis -" softkey to select the axis for which you activated friction
compensation.
The radius, the feedrate and the direction of rotation for the measurements are preset in the
following channel setting data and apply for all axes in the channel. They can be adapted by
pressing the "Data list" softkey:
2. To start the measurement, press the "Start" softkey. A part program is then automatically
generated and selected by the NC; this is done by calling CYCLE790 which reverses the
axis with the preset feedrate.
Before the part program is started, a check is made as to whether the entered feedrates can
be achieved based on the dynamic response of the axis. If this is not the case, a message
is issued to reduce the feedrates.
3. The part program for the measurement series is then opened if you want to add further
commands. Confirm with "OK" to close the window and continue.
4. Press the NC Start key to start tuning.
5. The first step with the first feedrate of the measurement series is selected. Enter the friction
compensation values in the following entry fields:
7LPHW>V@
0$B)5,&7B9B38/6(B'(&$<B7,0(
For both traversing directions, as default setting, the same compensation values are
entered. By selecting the option "Set reversal points separately", you can enter different
compensation values for an axis, depending on the particular traversing direction.
6. Press the "Next step" softkey to start a new measurement with the next feedrate and enter
new values. If the measurement is repeated, the values appropriate for the feedrate from the
last measurement are proposed.
After the last step, the measuring series is terminated with "OK" and the data is saved.
Note
Incremental value change
Use the following shortcut keys to change the compensation values incrementally:
● The selected entry field is activated with the <INSERT> key, and the color changes.
● The values are changed with different increments with the <Page Up> / <Page Down> keys
and the ↑↓ cursor keys.
● End the input with the <INPUT> key.
⇒ Further actions:
● "Axis +" or "Axis -" softkey to select the axis for which the friction compensation is activated.
● "Start" softkey to start the measurement.
● "Next step" softkey to select the next feedrate.
Requirement
The machine data for activating the friction compensation is set for the Y axis:
● MD32490 = 3
● MD32510 = 1
The Y axis is measured with the following settings:
● Radius 5 mm in SD55820 $SCS_FRICT_OPT_RADIUS
● Feedrates in SD55822[n] $SCS_FRICT_OPT_FEED
● The active time is not adapted.
The following characteristics show the amplitude and the decay time for different acceleration
levels:
&RPSHQVDWLRQYDOXH>PPPLQ@
$FFHOHUDWLRQ>PVt@
'HFD\WLPH>V@
$FFHOHUDWLRQ>PVt@
0$B)5,&7B72548(B67(3
7LPHW>V@
0$B)5,&7B7B38/6(B60227+B7,0(
Enter a factor between -1.0 and 1.0 in MD32588 $MA_FRICT_T_STEP[0...9] for each
acceleration value in order to weight the amplitude of the torque injection pulse.
Benefits
The nodding compensation enhances precision for machining of the workpiece by
compensating for compliance within the machine and is beneficial for traveling column
machines, for example, in that it improves machining accuracy and surface quality.
Software option
You need licenses for the following options in order to use this function:
● To tune a machine axis with a compensation relationship and position-
dependent adaptation:
"Nodding compensation ECO" (6FC5800-0_S20-0YB0)
● For the optimization of more than one compensation relationship:
"Nodding compensation ADVANCED" (6FC5800-0_S21-0YB0)
Call the function at the control in the "Commissioning" → softkey "NC" → softkey "Nodding
compensation" operating area. The softkey is not shown until the option has been set.
Example
Nodding motion in the Z axis when accelerating in the X axis:
Definition of compliance
From the acceleration or deceleration of an axis as the cause for nodding - and the deviation
of an axis as compliance at the position - a factor can be determined, which describes the
interrelationship between the accelerating or decelerating axis motion, and the position
deviation in the compensated axis. No mass is included in the calculation. The compliance
factor is the inverse value of the stiffness.
Measuring technique
There are two techniques that can be selected for determining compliance:
● Milling standardized workpiece and selecting the optimum milling path
For a standardized workpiece, a cycle is available to mill several milling paths with different
compliance factors. The compliance factor can be empirically determined based on the
workpiece surface quality.
For the cycle settings, you can also select face milling for the workpiece in order to carry out
several tests with different compliance factors on one workpiece.
● Determining positional deviations using a probe
The position deviation is precisely measured at different positions. Based on this, the
compliance factor can be calculated once the acceleration or deceleration that has been
achieved is known.
Machine data
Axis machine data for nodding compensation:
For more information, please refer to the "Compensations" section in the Extended Functions
(K3) (https://support.industry.siemens.com/cs/de/en/view/109763228) Function Manual
Note
Active transformation
In order to guarantee a fault-free cycle sequence, active transformations are to be deactivated
before starting the cycle.
For the cycle settings, you can also select face milling for the workpiece in order to carry out
several tests with different compliance factors on one workpiece.
Note
Test run before machining
To perform a test run before machining, enter a suitable value for the infeed depth.
Preconditions
If not yet already available, create a commissioning archive with the drive data and connect the
probe to a free DRIVE-CLiQ interface (Page 193). Only linear measuring systems are permitted
as probes.
NOTICE
Deactivate Safety Integrated temporarily
If axes still have Safety Integrated activated, a message is displayed to inform you that Safety
Integrated must be deactivated in order to configure the probe.
Following configuration of the probe, Safety Integrated must be activated once again.
4. Initiate the trace recording with the "Start trace" softkey. Then initiate the part program with
<NC-Start>.
Note
Starting the trace
Once trace recording has been initiated by the trigger in the part program, it is no longer
possible to cancel the recording process.
Before tuning
The nodding motion of the Z axis when traversing in the Y direction is measured with a probe:
After tuning
Measurement with a compliance value of 20 μm:
8.6 Adaptations
Benefits
The "Intelligent load adjustment" function is used to optimize the following characteristics of a
machine tool by adapting dynamic response and control parameters:
● Shorter machining times
● Increased dynamic response
● Greater accuracy
● Enhanced precision
The machine manufacturer is supported in the commissioning of the function by dialogs on the
user interface: "Commissioning" → softkey "NC" → Menu forward key → softkey"Adaptations"
operating area. The softkey is not shown until the option has been set.
Condition
Software option
In order to use this function a license is required for the following option:
"Intelligent load adjustment" (6FC5800-0_S11-0YB0)
Function description
The"Intelligent load adjustment" function adjusts the dynamic response and control parameters
to the current value of the moment of inertia or the mass of the axis. Adaptations are switched
on and off by means of CYCLE782.
The following dynamic response and control parameters can be adapted:
● Acceleration: DYNNORM, DYNPOS, DYNROUGH, DYSEMIFIN, DYNFINISH, DYNPREC
● Jerk: DYNNORM, DYNPOS, DYNROUGH, DYSEMIFIN, DYNFINISH, DYNPREC
● Servo gain factor (position controller gain)
$FFHOHUDWLRQ '<11250
>@
ZLWKDGDSWDWLRQ
ZLWKRXWDGDSWDWLRQ
-PLQ -PD[
0RPHQWRILQHUWLD>NJP@
Supplementary conditions
Please note the following supplementary conditions:
● The "Moment of inertia estimator" function module (bit r0108.30) can be used to determine
the moment of inertia of the axis (Example).
● For the adaptation of the drive adaptation factors 1 ... 4, telegram (Page 216) 146, 148 or
149 is required.
● The "Controller parameter adaptation" function module (bit r0171.29) is activated.
● The following conditions apply to the adaptation of "APC / APC ECO Tv (p3769)" and "APC /
APC ECO filter (p3766)":
– A SINUMERIK license for the "Advanced Position Control" (6FC5800-0_M13-0YB0)
option is required to use the "Advanced Position Control (APC)" function module (bit
r0108.7) with SINUMERIK.
– A SINUMERIK license for the "Advanced Position Control ECO"
(6FC5800-0_M12-0YB0) option is required to use the "Active Vibration Suppression
(AVS/APC-ECO)" function module (bit r0108.19) with SINUMERIK.
Benefits
The "Intelligent dynamic response adjustment" function is used to optimize the following
characteristics of a machine tool by adapting control parameters:
● Shorter machining times
● Increased dynamic response
● Greater accuracy
● Enhanced precision
The machine manufacturer is supported in the commissioning of the function by dialogs on the
user interface: "Commissioning" → softkey "NC" → Menu forward key → softkey"Adaptations"
operating area. The softkey is not shown until the option has been set.
Condition
Software option
In order to use this function a license is required for the following option:
"Intelligent dynamic response adjustment" (6FC5800-0_S23-0YB0)
Function description
The "Intelligent dynamic response adjustment" function adjusts the control parameters for axes
with a stability that changes at different positions or at different traversing velocities as a
function of the position or velocity.
Supplementary conditions
Please note the following supplementary conditions:
● The associated input axis must be referenced for position-dependent adaptation.
● For the adaptation of the drive adaptation factors 1 ... 4, telegram (Page 216) 146, 148 or
149 is required.
● The "Controller parameter adaptation" function module (bit r0171.29) is activated.
● The following conditions apply to the adaptation of "APC / APC ECO Tv (p3769)" and "APC /
APC ECO filter (p3766)":
– A SINUMERIK license for the "Advanced Position Control" (6FC5800-0_M13-0YB0)
option is required to use the "Advanced Position Control (APC)" function module (bit
r0108.7) with SINUMERIK.
– A SINUMERIK license for the "Advanced Position Control ECO"
(6FC5800-0_M12-0YB0) option is required to use the "Active Vibration Suppression
(AVS/APC-ECO)" function module (bit r0108.19) with SINUMERIK.
Basic procedure
The following procedure is recommended for commissioning the "Intelligent load adjustment"
function:
● Set licensed SINUMERIK Option S11 for the "Intelligent load adjustment" function.
The SINAMICS "Moment of inertia estimator" function module (bit r0108.30) can be used to
determine the moment of inertia of the axis.
● Set licensed SINUMERIK Option S23 for the "Intelligent dynamic response adjustment"
function.
● Enter the adaptation in the "Adaptations – Overview" dialog, "New >" softkey.
● Enable adaptation with "Reset (po)".
Note
No adaptation active
Without active adaptation, the dynamic response and control parameters in the machine data
are effective.
The description of the function module can be found in the SINAMICS S120 Function Manual
(https://support.industry.siemens.com/cs/ww/en/view/109763287) "Drive Functions".
A description of the SINAMICS parameters can be found in the SINAMICS S120/S150 List
Manual. (https://support.industry.siemens.com/cs/ww/en/view/109763271)
The online help on SINUMERIK Operate shows you how to enter adaptations.
Adaptations – Overview
Example of an adaptation:
⇒ Additional actions:
● Press the "New >" softkey to enter a new adaptation table.
● Press the "Change >" softkey to change values or the number of table rows.
● Press the "Filter >" softkey to filter the overview by individual columns.
Objective
The acceleration (DYNROUGH) of the X axis should be adapted as a function of the moment
of inertia of the X axis.
Enter adaptation
Procedure:
1. In the operating area, select "Commissioning" → "NC" → Menu forward key → "Adaptations"
and then the "New >" softkey. The "Enter adaptation" dialog is opened.
2. Select the mode, and the X axis as input axis.
3. Select "Acceleration (DYNROUGH)" as output variable.
4. Expand the table to enter the following values:
5. Press the "Accept" softkey to display the adaptation in the "Adaptations - Overview" dialog.
6. A "Reset (po)" is required to activate the values in the machine data.
Result
The adaptation table is shown in the "Adaptations - Overview" dialog:
System utilization
The channel-specific system utilization is displayed in the "Diagnostics" → Menu forward key →
"System utilization" operating area:
Note
PLC axes with special functions
Guided commissioning, e.g. for vector control, is not provided by the wizard in SINUMERIK
Operate. To do this, the STARTER commissioning software appropriate for the version can be
used.
PLC axes can only be used with the "basic positioning" (EPOS) function module if
commissioning takes place via STARTER.
Supported versions
Note
The SINUMERIK CNC software V4.9x supports the following Control Units with SINAMICS
firmware V5.2:
● CU310-2 DP / CU310-2 PN
● CU320-2 DP / CU320-2 PN
Quantity framework
SINUMERIK 840D sl
Scaling 710.3B PN 720.3B PN 730.3B PN
Drives (drive control DOs) in total2): 15 40 50
● Of which assigned to the NC, maximum : 2) 8 31 31
● Resulting from this, those not assigned to the 7 9 19
NC, minimum:
● Not assigned to the NC, maximum: 15 40 50
Drive units (DO1) with drive control objects, in to‐ 9 13 15
tal2):
● Of which at the virtual, integrated PROFIBUS, 4 6 6
maximum3):
● Of which at the virtual, integrated PROFIBUS, 1 1 1
minimum:
● Of which at the DP interface1) minimum: 5 7 9
● Of which at the DP interface1) maximum: 8 12 14
1)
X126: PROFIBUS DP of the integrated PLC; X136: PROFIBUS DP/MPI of the integrated PLC
2)
The sum is monitored using alarm 380077
Supplementary conditions
The extended operator control options for the PLC drives produce the following supplementary
conditions:
● Because the PLC drives create an additional communication load, the number of these drive
objects (DO) is limited depending on the NCU ⇒ observe the quantity framework:
● Alarm 380077 "PROFIBUS/PROFINET: Too many DOs: currently %2, maximum %3 in DO
group %1"
● Depending on the versions used, the texts displayed for the SINAMICS parameters and
messages may be incomplete.
● If the drives are assigned to the NC and distributed across several buses, such as DP and
DP integrated, then it must be ensured that each isochronous bus has the same cycle clock
settings. It is also true for the time of day synchronization via NC with telegram 390 that the
cycle settings match for each isochronous bus.
● A DO1 drive unit is required for the internal virtual PROFIBUS DP3 for access to the onboard
I/O including probe.
Note
PROFIBUS DP (X126)
The following should be observed for all drive units connected to an external PROFIBUS DP:
● In the configuration, the user must take into account the supply as well as the switch-on and
switch-off behavior in interaction with the other axes and their supply.
● For the terminal wiring, observe the "Machine Configuration Guidelines" System Manual. In
the simplest case, the feedback signal of the Line Module must be connected to the PLC-
controlled drives (see also: Terminal assignment (Page 103)).
Overview
The SINAMICS drive system for PLC-drives communicates with the PLC via the PROFIBUS
DP X126 interface. The commissioning described in this chapter orientates itself on the
following example configuration of the SINAMICS drive line-up:
352),%86,2
'5,9(&/L4
&8'3 •••
3RZHUVXSSO\
6HUYRPRWRUV
0DLQVSLQGOHPRWRU
Overview
The following steps are carried out when commissioning drives controlled from a PLC for the
first time:
1. PLC commissioning
2. Creating a PLC program
3. Commissioning drives controlled from a PLC
4. Commissioning NC ⇔ drive communication
Precondition
● You have connected the PG/PC to the PLC (see Connect PG/PC with PLC (Page 47)).
● You have started the SIMATIC Manager and created a project (see
SIMATIC S7 project overview (Page 48)).
● You have inserted a SIMATIC Station-300 in the project (see
Adding SINUMERIK NCU to the HW Config (Page 49)).
● You have started HW Config.
● On the integrated PROFIBUS you have configured an NCU and NX15.3.
Interfaces
The PLC must be notified about the PROFIBUS interfaces of SINAMICS. You generate a
SIMATIC S7 project using the SIMATIC Manager.
To do this, perform the following steps:
● Insert an S120 CU320-2 DP in HW Config.
● Configure the properties of the PROFIBUS interface.
● Compile the configuration and then download it to the PLC.
Note
The SINUMERIK Toolbox must be installed.
2. Keeping the left mouse key pressed, drag the "S120 CU320-2 DP" in the station window to
PROFIBUS (1): DP master system.
3. After releasing the mouse key, configure the properties of the SINAMICS PROFIBUS
interface:
8. In the "DP Slave Properties" of the CU320-2 DP under the "Clock synchronization" tab,
activate the option "Synchronize drive to equidistant DP cycle".
9. In the "DP Slave Properties" dialog box, select the "Configuration" tab.
10.Select in the "Overview" the telegrams required for the individual objects (axes and
CU320-2 DP):
– "Siemens telegram 2, PZD-4/4" for example, for speed-controlled axes
– "Siemens telegram 390, PZD-2/2" for CU320-2 DP
Note
SIEMENS telegram 390 is required for the time stamp of alarms from the PLC.
11.Change under "Configuration" to the "Details" view in order to display the associated
generated input and output addresses for the individual objects:
Result
Requirements
This chapter describes the configuration of PLC drives that are not to be operated as NC axes.
The following expansions of the function blocks are required in the PLC program: You will need
additional S7 function blocks from the SINAMICS toolbox ≥ V2.1. This Zip file contains a
manual in several languages.
The SINAMICS Toolbox is available in the Internet at the following link: SINAMICS Toolbox
V2.1 (http://support.automation.siemens.com/WW/view/en/25166781)
6. Edit the OB1, FC70 and FC73 blocks in accordance with the following examples.
Example of OB1:
…
CALL FC70
CALL FC73
…
Example of FC70:
7. You have now finished programming the PLC program. Load the project to the PLC
(Page 87).
8. To synchronize the PLC and NC, a system reset (po) is required:
– NCU: RUN LED is continuously lit green.
– NCU: Status display shows a "6" with a flashing dot.
– SINAMICS CU320-2 DP: LED RDY flashes slowly green (0.5 Hz)
⇒ PLC and NC are in cyclic operation.
2. Confirm with "OK". You will then be guided through the individual steps of the automatic
device configuration.
3. In the "Machine configuration" overview, press the "Drives without NC assignment" softkey
to display all drive objects:
Diagnostics
The status is likewise displayed in the "Diagnostics" → "Axis diagnostics" → "Service axis"
operating area with the selection "Drives without NC axis assignment".
Check configuration
The PLC alarms of the drives must have an identical time stamp with the NC.
For the configuration in the hardware configuration, define the associated Siemens telegram
390 for the SINAMICS CU. The corresponding logical input and output addresses of this
communication interface are entered in the following machine data item:
● MD13120[n] CONTROL_UNIT_LOGIC_ADDRESS
● MD13120[1]...[5] are reserved for NX expansion modules.
Note
You can view these logical addresses in the HW configuration when configuring the
properties of SINAMICS components under "Details".
Procedure:
1. Check the logical address for SINAMICS CU in the "Commissioning" → "Machine data" →
"General MD" operating area and enter, for example, the following value:
MD13120[6] = 288
2. Press the "Reset (po)" softkey to accept the changed machine data.
This completes the commissioning of the PLC drives.
Introduction
This section only partially describes how a PLC drive can be integrated in a safety-related
application. In this case, the published supplement of the PROFIdrive profile that includes drive-
based safety functions via the PROFIsafe supplement with telegram 30 is used.
Basic procedure
The following steps are necessary to integrate drive-based safety functions:
● Configuration with SIMATIC Manager under HW Config.
● Embedding in safe programmable logic (SPL).
References
For the implementation, reference is made to the following function manuals for safety
functions which are binding for the safety-related version:
● SINUMERIK 840D sl Safety Integrated Function Manual
● "Control via PROFIsafe" section in the SINAMICS S120 Safety Integrated (FHS) (https://
support.industry.siemens.com/cs/ww/en/view/109763292) Function Manual
Requirement
In order to configure PROFIsafe, it is necessary that the "S7 Configurations Pack" option is
installed.
2. Under the "Details" tab, set the input/output addresses. The PROFIsafe option requires an
additional 6 bytes.
Introduction
The following machine data and files must be taken into account when embedding telegram 30
in a safe programmable logic:
● NC machine data
● Drive machine data
● "safe.SPF" file
● PLC program expansion
NC machine data
The SPL PROFIsafe configuration for the basic safety functions STO without SSI are then
shown:
Precondition
Once the drives have been commissioned and the axes assigned, you must start tuning the
particular machine or a machine type.
● The commissioning of the drives has been completed.
● The topology has been checked and is OK.
Tuning procedure
Depending on the requirements, the following tuning procedure is recommended: Procedure
when tuning axes and drives (Page 26)
Especially efficient procedure: Tuning, utilizing all default settings of the automatic servo tuning:
● Example: How to tune the X1 axis (Page 293)
● Example: How to tune the Z1 axis (Page 297)
● Example: This is how you start to tune the path interpolation (Page 300)
Procedure for experts:
● Tuning using the automatic servo tuning with manual parameter settings:
Example for experts: Axis tuning (Page 307)
● Tuning using measuring functions and manual parameter settings of the position controller,
speed controller and current controller:
– Example: Setting the filter for the following error (speed control loop) (Page 319)
– Examples for the measuring methods (position control loop) (Page 323)
– Example, function generator: Speed setpoint after the filter (Page 327)
The SINUMERIK Operate Online Help provides more detailed, context-related in‐
formation on the parameterization of the "Automatic Servo Tuning".
References
Further information can be found in the Basic Functions (A3), (G2) (https://
support.industry.siemens.com/cs/de/en/view/109763231) Function Manual
Commissioning → Tuning/test
The following functions are available to support the commissioning:
● Automatic servo tuning
● Measuring functions (Page 311) (current control loop, speed control loop, position control
loop)
● Function generator (Page 325)
● Circularity test (Page 330)
● Characteristic curves for the hydraulic module (if present)
● Active filters (Page 329)
Diagnosis → Trace
With the "Trace (Page 159)" function, you select the NC variables, PLC variables or drive
variables whose signal chart is to be visualized:
● Trace for PLC/NC//servo variables
Recording and graphical representation of the signal values with respect to time, such as
actual position value, following error, etc.
● Trace for drive variables
Recording and graphical representation of the signal values with respect to time from the
drive system, such as e.g. speed actual value, current actual value etc.
Interpolation axes
For axes which make up an interpolation group, additional tuning steps should be undertaken,
e.g.:
● Path interpolation (Page 300) with the automatic servo tuning.
● Circularity test (Page 330)
● Adjust servo gain factor.
● When using feedforward control, transfer equivalent time constants of the slowest axis
(highest value) in all interpolating axes.
Software option
In order to use this function a license is required for the following option: "Call AST
from the part program" (6FC5800-0_S10-0YB0)
With the option "Assign this HMI for "Call AST from the part program"", you select SINUMERIK
Operate to perform the automatic servo tuning in the AUTO mode:
● ☑ If this option is selected, the current SINUMERIK Operate performs the automatic servo
tuning.
● ☐ If this option is not selected, a different SINUMERIK Operate performs the automatic
servo tuning.
References
Description of the cycles and syntax in the "Automatic Retuning" Chapter in the Special
Functions (T4) (https://support.industry.siemens.com/cs/de/en/view/109763229) Function
Manual
For the "Axis" strategy, select which controller should be tuned. When doing this, the tuned,
closed control loop can be measured to check the results. When selecting the "User-defined
strategy (108)" for the axis, all the options are active and can be set:
Further strategies are available in the selection list and can be combined with a tuning
objective. The "Adapt strategy" softkey can be used to activate and set the individual options.
The most important settings are: Tuning aggressiveness and minimum integral time Tn.
● Tuning aggressiveness:
This parameter determines the setting of Kp and Tn based on stability limits. The phase
margin and amplitude margin values are pre-assigned according to this setting.
– Default setting = 0.5
– Min = 0 [maximum stability]
– Max = 1 [maximum aggressiveness]
● Minimum integral time Tn:
This parameter prevents automatic servo tuning from setting the integrator time of the speed
control loop too low. If the automatic servo tuning sets a value lower than this parameter has
set, the actual value used will be limited to the value set by the minimum integral time Tn.
A higher integral time ensures a more rugged closed-loop control if changes to the weight
or the moment of inertia are expected. This is recommended for direct drives and main
spindles of turning machines.
– Default setting = 10 ms
– Min = 0.5 ms
– Max = 100 ms
● Pole/zero point identification as from frequency:
This parameter sets the lower limit value of the frequency range, through which the
automatic servo tuning searches for natural frequency modes: Pole and zero points on the
controlled system. This parameter is intended to prevent measurement noise in the low
frequency range being incorrectly marked as the pole or zero position. The frequencies
identified as pole or zero positions play a role in the estimation of the total inertia of the axis.
For this reason, it is important that the lowest natural frequency of the axis is correctly
identified by the automatic servo tuning.
On large machines with low frequency vibration modes, it may be necessary to reduce the
15 Hz default value of this parameter. The reduction of this parameter may have to be
accompanied by a reduction in the bandwidth of the measurement of the speed-controlled
system.
Default setting: 15 Hz
The value for reducing the servo gain factor and its upper limit depend on the selected tuning
objective.
● Reduce servo gain factor
The maximum servo gain factor is calculated from the automatic servo tuning; in the
process, no overshoot is allowed with the position controller. The maximum servo gain
factor is the value that does not result in any overshoot. The maximum servo gain factor can
be reduced to increase ruggedness against mechanical changes. A reserve of 40% is set
for the tuning objective "moderate responsiveness". Furthermore, the servo gain factor is
limited to 4 mm/min.
– Default setting = 0.6
– Min = 0.1
– Max = 1 (no reduction)
● Feedforward control mode: Torque feedforward control is recommended.
When telegram 136 is used, the torque feedforward control allows the highest contour
precision to be achieved.
Tuning objective
The default settings for speed and position controllers are adapted by selecting the tuning
objective.
● Maximum responsiveness:
The speed and position controller gain (servo gain factor) is tuned 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.
Condition: The machine must have a rigid design; the dynamic masses do not change
significantly.
● Moderate responsiveness (= default):
This controller dynamic response is sufficient for the majority of machines and applications.
The setting is more rugged than "Maximum responsiveness".
Application: The inertia or the load mass of the axes does not change much and therefore
this setting is suitable for numerous applications.
● Conservative/robust responsiveness:
Only weak control gains are selected in order to ensure as high a level of ruggedness as
possible.
The speed controller is tuned so that it achieves maximum damping to prevent oscillations
and to achieve good position controller gain.
Application: Recommended for machines on which the mechanical axis system or the load
mass can change significantly. Also suitable for axes that respond with oscillations, e.g.
main spindles on turning machines or large axes with high load mass.
Recommended for applications with low requirements on the machining time.
Requirement
This example shows how to tune the X1 axis using the "Automatic servo tuning" function. In this
case, the following machine configuration is assumed:
WARNING
Avoiding unwanted axis movements
Automatic servo tuning is based on the analysis of measurements. These measurements
require the axis to move.
Ensure that all axes are in a safe position and no collisions will occur during the traversing
motion that is required.
Number of measurements
For tuning purposes, the following measurements are taken with the speed controller:
Speed controlled system:
● Overall bandwidth: Preliminary measurement in both directions
● Overall bandwidth: Measurement in both directions
● Reduced bandwidth: Preliminary measurement in both directions
● Reduced bandwidth: Measurement in both directions
Mechanical system motor to DMS:
● Measurement in both directions
3UHVV1&67$57WRFRQWLQXHRUSUHVV0&35HVHWWRFDQFHO
WKHPHDVXUHPHQW
$FDQFHOHGPHDVXUHPHQWFDQEHUHSDUDPHWHUL]HGDQG
UHVWDUWHG
9. Before the measurements are taken, you will be prompted to press NC start. After the
successful completion of the measurements, the tuned values of the parameters are output:
"Speed controller" softkey to check the speed controller parameters.
10.If you agree with the tuned values, confirm with the "Accept" softkey.
11.OR: Enter suitable values in the "Manual" column.
12.After accepting the measurement results, tuning is complete.
13.After completion of the measurement, you can display the complete tuning log: "Tuning log"
softkey.
X1 axis result
After confirming with "OK", you get the following result:
3UHVV1&67$57WRFRQWLQXHRUSUHVV0&35HVHWWRFDQFHO
WKHPHDVXUHPHQW
$FDQFHOHGPHDVXUHPHQWFDQEHUHSDUDPHWHUL]HGDQG
UHVWDUWHG
8. If you agree with the tuned values, confirm with the "Accept" softkey.
9. OR: Enter new values manually and repeat the measurements.
11.After completion of the measurement, you can display the complete tuning log: "Tuning log"
softkey.
Z1 axis result
After confirming with "OK", you get the following result:
10.3.5 Example: This is how you start to tune the path interpolation
2. Press the "Select strategy" softkey to check the strategy for the interpolation. We
recommend that you use strategy 1105:
4. After the "Path interpolation tuning completed" message is output, confirm with "OK".
Then you can switch back and forth between the parameter view (softkey: "Parameters")
and the graphical view (softkey: "Bode diagrams").
With the " >>" softkey, you can switch the vertical softkey bar to access the following
selection:
– Softkey: "Retune"
– Softkey: "Back to tuned"
$XWRPDWVHUYRWXQLQJ
127(7KHFRUUHFWPDWFKLQJRIWKHD[HVIRUWKHSDWKLQWHUSRODWLRQ
UHTXLUHVDGGLWLRQDOPHDVXUHVDIWHUFRPSOHWLRQRIWKHDXWRPDWLF
WXQLQJRIDOOD[HV
)XUWKHUGHWDLOVLQWKHORJ
Result
If you want to accept the interpolation result, confirm with "Accept". "Cancel" will start the
interpolation again.
To check which values the parameters have been set to for tuning purposes, press "<< Back".
Example of a report
The report is output in the language set on the control system:
Machine
Optimal standalone:
--- (violet) Calc. closed Position control loop without FFW
--- (blue) Measured position control loop
Optimal standalone: Frequency XX_D filter Counter fre‐ Counter at‐ Res. Act.
amping quency tenuation
DS PT1 3999
DS PT1 3999
Optimal self-optimized Frequency XX_D filter Counter fre‐ Counter at‐ Res. Act.
standalone axis: amping quency tenuation
None
Initial platform configura‐ Frequency XX_D filter Counter fre‐ Counter at‐ Res. Act.
tion: amping quency tenuation
None
Optimal standalone:
--- (violet) Closed speed control loop calculated
--- (blue) Closed speed control loop measured
Optimal standalone: Frequency XX_D filter Counter fre‐ Counter at‐ Res. Act.
amping quency tenuation
SW PT2 2000 0.707 X X
SW Second order 540.1 0.7071 540.1 0.04158 X
SW Second order 1213 0.4158 1213 0.172 X
SW PT2 387 0.707 X
Optimal self-optimized Frequency XX_D filter Counter fre‐ Counter at‐ Res. Act.
standalone axis: amping quency tenuation
SW PT2 2000 0.707 X X
SW Second order 540.1 0.7071 540.1 0.04158 X
SW Second order 1213 0.4158 1213 0.172 X
SW PT2 387 0.707 X
Initial platform configura‐ Frequency XX_D filter Counter fre‐ Counter at‐ Res. Act.
tion: amping quency tenuation
SW Second order 500 2.182 550 0.1093 X X
The parameters for the speed controller (including current setpoint filter) are calculated an the
basis of the measured speed-controlled systems and the specified tuning objective. The
parameters are not transferred into the drive until the axis tuning has been completed, or a
measurement for checking has been performed. The "Speed" settings are applied.
Measure speed control loop for checking:
The closed speed controller is measured with the new parameters. To do this, the new
parameters are written to the drive.
Measure mechanical system:
Measure the transmission link between the motor encoder and direct encoder (e.g. linear
scale). This does not include any influence on the closed-loop control. Using this measurement,
the position control loop can be calculated with closed-loop control on the direct encoder.
Tune position controller: without parameters
Servo gain factor and feedforward control are tuned on the basis of the prior measurements.
The tuning objective is also applied. The "Position" settings are applied. If a second encoder is
setup, then the position control is always calculated as if this second encoder is used for the
position control.
Control measurement position control loop:
The closed position controller is measured with the new parameters. To do this, the new speed
and position control parameters are written to the drive and the NC. The feedforward control
must be disabled for this measurement. Depending on the option setting, this is the reason that
a message is output to press the reset button on the machine control panel. After the
measurement, the feedforward control is reactivated; this why another request for a reset (re)
is issued after the measurement .
⇒ Checking the measurement data quality: without parameters
The software for automatic tuning checks whether the excitation and offset velocity were
sufficient, and then outputs an appropriate message.
⇒ Measurement parameters:
Individual measurement parameters can be entered for each of the following measurements:
● Measure speed setpoint step for the mechanical model
● Measure speed-controlled system
● Measure speed-controlled system with reduced bandwidth
● Measure speed control loop for speed controller-controlled system model
● Measure speed control loop for checking
● Measure mechanical system
● Control measurement position control loop
⇒ Additional actions:
● Press the "Adapt strategy" softkey to adapt the default values to a predefined strategy. The
values of the pre-defined strategy are assigned to the user-defined strategy (108). All
parameters can be set in the "User-defined strategy". The tuning objective "Moderate
responsiveness" is the default setting for the "User-defined strategy".
● Press the "Meas. parameters >" softkey to adapt the parameters for a measurement. This
softkey can only be used when selecting the "User-defined strategy".
● Press the "Speed" and "Position" softkeys to toggle between speed controller and position
controller when selecting a strategy.
● "Cancel" and "OK" softkeys to cancel or accept the new settings.
Size Unit
Velocity ● Metric system:
Specification in mm/min for translatory or rpm for rotary movements
● Inch system:
Specification in inches for translatory or rpm for rotary movements
Distance ● Metric system:
Specification in mm for translatory or degrees for rotary movements
● Inch system:
Specification in inches for translatory or degrees for rotary movements
Time Specified in ms
Frequency Specified in Hz
NOTICE
Avoiding collisions
When traversing movements are carried out within the framework of measuring functions, no
software limit switches and working area limitations are monitored, since these are carried out
in follow-up mode.
Prior to starting traversing movements, the user must therefore ensure that the axes are
positioned such that the traversing limits specified within the framework of the measuring
functions are sufficient to prevent collision with the machine.
Note
<JOG> mode must be selected when measuring functions are started.
Functionality
The current control loop only needs to be measured for diagnostic purposes if there is a fault
or if there is no standard data for the motor / power unit combination (third-party motor).
For SINAMICS S120, it is possible to measure the input/output behavior of the current control
loop directly in the speed controller without needing to open it. For this reason, measurements
in the speed controller are preferable. The user is made aware of this advantage as red text in
the center of the "Measurement selection" dialog.
The preferred method for measuring the dynamic response of the current controller is the
"Reference frequency response with active speed controller" measuring type. The other
measuring types are only for experts or for comparison measurements of motors not decoupled
from the mechanical components.
NOTICE
Safety measures for hanging/suspended axes
For hanging/suspended axes, measuring the current control loop requires that users apply
special safety measures, for instance:
● Perform the measurement using external weight compensation.
● Perform the measurement without external weight compensation, e.g. by safely and
reliably clamping/locking the drive.
Measuring method
For the following measuring types, the current setpoint filter is not involved:
Measurement
The measurement sequence is divided into the following steps:
1. Set the traversing range monitoring and release logic.
2. Select the measuring type:
Functionality
The response characteristics for the motor measurement system are analyzed when
measuring the speed control loop. Various measurement parameter lists are available
depending on the basic measurement setting which has been selected.
The predefined processes for the speed control loop are listed below. As in the current
controller range, the excitation and measurement signals in the speed controller range refer to
the SINAMICS S120 drive. The speed controller measurements differ in terms of the excitation,
which can either be a disturbing torque, a speed setpoint before the filter or a speed setpoint
after the filter. This is comparable with parameter p0480 for values 2, 3 or 5.
A distinction is made in the table between the input node and the excitation point. The input
node only determines which signal is considered as the input for the subordinate system to be
measured.
Measuring functions
The following measuring functions are available for measuring the speed control loop:
Reference frequency response (af‐ PBRS Speed setpoint after the Actual speed value mo‐
ter the speed setpoint filter) filter tor
Reference frequency response (be‐ PBRS Speed setpoint before Actual speed value mo‐
fore the speed setpoint filter) the filter tor
Setpoint step (after the speed set‐ PBRS ● Speed setpoint after Actual speed value mo‐
point filter) the filter tor
● Actual torque value
Disturbance frequency response PBRS Torque setpoint (func‐ Actual speed value mo‐
(disturbance after the current set‐ tion generator) tor
point filter)
Disturbance variable step (disturb‐ Jump ● Torque setpoint Actual speed value mo‐
ance after the current setpoint filter) (function generator) tor
● Actual torque value
Speed-controlled system (excita‐ PBRS Actual torque value Actual speed value mo‐
tion after the current setpoint filter) tor
Reference frequency response, PBRS Speed setpoint after the Torque-generating ac‐
current control loop filter tual current value
APC open control loop * PBRS Speed setpoint after the APC controller output
filter (r3777[1])
APC closed control loop * PBRS Speed setpoint after the Actual speed value
filter from the direct meas‐
urement system
APC mechanical system * PBRS Actual speed value mo‐ Actual speed value
tor encoder from the direct meas‐
urement system
*)
APC-related inputs appear only when the SINAMICS APC function module is activated. The status of
the APC controller is determined depending on the measurement procedure.
Measurement sequence
The measurement sequence is divided into the following steps:
1. Set the traversing range monitoring and release logic.
2. Select the measuring type and the measured variable:
4. To start the measurement and display the measurement result: "Start measurement"
softkey.
In the example shown, the speed control loop has not yet been tuned.
5. A suitable filter parameterization is used to tune the dynamic response. Press the "Active
filter" softkey. The following figure shows the standard settings for a low-pass filter at 1999
Hz:
After using the filter, the following tuned measurement curve results for the speed control
loop:
10.4.3 Example: Setting the filter for the following error (speed control loop)
Requirement
The X axis is measured with the following settings:
● With feedrates in SD55822[0...5] $SCS_FRICT_OPT_FEED for step 1 ... 6 and
SD55822[6...8] $SCS_FRICT_OPT_FEED = 0 for step 7 ... 9
● Radius 8 mm in SD55820 $SCS_FRICT_OPT_RADIUS
6. Repeat this process for all steps. Press "OK" to save the data.
Result
The following graphic shows the characteristic curves of the X axis for various radiuses:
Functionality
The predefined processes for the position control loop are listed in the following table. The
position controller measurements are performed in the NC. The measurements support three
excitation variants: Position setpoint, speed setpoint, torque setpoint and torque feedforward
control. In cases with two configured measuring systems, the selection of the signal output
node supports encoder 1, encoder 2, and the active encoder.
Measurement sequence
The measurement sequence is divided into the following steps:
1. Set the traversing range monitoring and release logic.
2. Select the measuring type and the measured variable. For example, "Reference frequency
response".
3RVLWLRQ
$PSOLWXGH
7LPH
6HWWOLQJWLPH 5LVHWLPH
Solid line At maximum axis acceleration, the velocity changes (almost) according to a
step function.
Dashed line This characteristic corresponds to a realistic, finite value. The offset com‐
ponent is excluded from the display graphic in order to emphasize the tran‐
sient processes.
Figure 10-10 Signal characteristic for position control
With measuring type "Setpoint ramp", the following machine data influences the measurement
result:
● MD32000 $MA_MAX_AX_VELO (maximum axis velocity)
The maximum axis velocity limits the ramp gradient (velocity limitation). The drive does not
reach the programmed end position (amplitude).
● MD32300 $MA_MAX_AX_ACCEL (maximum axis acceleration)
The maximum axis acceleration limits the velocity change (acceleration limitation).
CAUTION
Protection of the machine
In normal cases the machine data corresponds exactly with the load capacity of the machine
kinematics and should not be changed (increased) as part of the measurements:
● MD32000 $MA_MAX_AX_VELO (maximum axis velocity)
● MD32300 $MA_MAX_AX_ACCEL (maximum axis acceleration)
● Settling time
This value represents the delay between measured data recording / test setpoint output and
the injection of the offset.
● Rise time
The position setpoint is specified with the "Setpoint ramp" basic setting according to the
selected ramp duration.
● Offset
The step is stimulated from standstill or starting from the constant traverse speed set in this
parameter. If an offset value other than zero is input, the test excitation takes place during
the traverse. For the sake of clarity, the displayed position actual value does not include this
constant component.
Function description
The function generator can be used, for example, to perform the following tasks:
● Measuring and optimizing closed-loop control circuits
● Comparing the dynamic properties of coupled drives
● Specifying a straightforward traversing profile without traversing program
The function generator can be used to generate various signal forms.
In the Servo mode, the setpoint can additionally be supplied into the control structure in
accordance with the currently selected mode, for example, as a current setpoint, disturbing
torque or speed setpoint. Any influence of overlaid closed-loop control circuits is suppressed
automatically.
Position of the application points:
To activate the function generator, select "Commissioning" operating area → "Automatic servo
optimization" → "Function generator".
NOTICE
Starting/stopping the function generator
The motion of the drive is not monitored when the function generator is activated.
With the corresponding ramp-function generator parameter settings (e.g. offset), the axis can
traverse to the end stop.
The travel-release drive test can be performed by the PLC with or without active monitoring of
the axis:
● With PLC
● Without PLC
The NC monitors the position and stops the function generator when the axis position goes
beyond the specified upper or lower limit. The scaling can be changed while the function
generator is running.
Operating mode of the function generator for servo and vector:
● Connector output
Operating modes of the function generator only for servo:
● Current setpoint after the filter
● Disturbing torque
● Speed setpoint after the filter
● Current setpoint before the filter
● Speed setpoint before the filter
Periodic or non-periodic signals with different waveforms are generated by the function
generator. The curve parameters vary depending on the signal type.
Further actions:
● "Axis +", "Axis -" or "Direct selection >" softkeys to select the axis on which the signal is
applied (that to be excited).
● "Start" softkey to start the function generator.
Example
Function generator with "Speed setpoint after filter" connection point:
Parameter description for the connection point "speed setpoint after filter":
The bars in the upper line indicate the traversing path, the actual position and the software limit
switches. The value for the absolute position is displayed in the first line of the table.
● Status indicates whether the axis is referenced, and whether sufficient space is available to
the software limit switch. If the measurement parameter results in an excessively long
traversing distance, so that before the end of the measurement, a software limit switch
would be reached, then this is displayed in color, in the "Status" row:
– "Fault" + red: The measurement is not possible, as the software limit switch would be
passed.
– "Caution" + yellow: The measurement is possible, but there is only a limited distance
remaining.
– "No reference point + yellow: The axis is not referenced, the user must check the
traversing distance.
– "OK" + green: The axis is referenced, and a measurement is possible as the traversing
distance lies within the software limit switch.
● Waveform: Depending on the selection (square wave, staircase, triangular, PBRS,
sinusoidal)
● Amplitude and offset velocity can either be entered as an absolute number or as a
percentage. The amplitude can be specified to be either positive or negative.
– Amplitude: Velocity in [mm/min]
– Amplitude %: Velocity in %
– Offset: Constant velocity in [mm/min]
– Offset %: Constant velocity in %
● Period: In [ms]
● Pulse width: In [ms]
● Ramp-up time: In [ms]
● Upper/lower limit: The limiting of the output signal to the minimum and maximum value can
be set. If the signal characteristic is greater than the upper limit value, the signal is cut off
above the limit.
● Upper/lower limit %:
● Sample time: Time in [ms] until the measurement starts: 0.125 ms (default setting).
Further actions:
● Softkey "<< back", to return to the function generator overview.
Filter types
The graphical user interface for the display and processing of filters actively available in the
SINAMICS converter can be found under "Active filter":
*) A negative value is often set here in order to attain attenuation of the notch frequency.
Automatic generation and representation of frequency response functions (dB amplitude and
degree phase compared to frequency) provides the user with immediate feedback for each
filter parameter. The units for the filter type and the limits for the parameters are defined directly
by the metadata for the corresponding drive parameters.
Benefits
The circularity test serves to set and assess the dynamic response for interpolating axes and
to analyze the contour accuracy on the quadrant transitions (circular contours) achieved by
means of friction compensation. The circularity test is used to check the interpolation of the
axes which work together. This function measures a circle with reference to the motor or to the
direct measuring system. Alignment of the machine-mechanical equipment is not taken into
account in the result. This gives the commissioning engineer the option of separating problems
with the controller tuning from mechanical problems.
The following axis machine data and parameters are checked with this procedure:
● MD32200, MD32400, MD32402, MD32410, MD32490, MD32500, MD32510, MD32520,
MD32540 MD32620, MD32640, MD32810, MD32900, MD32910, MD32930, MD32940
● p1421 bis p1426, p1400, p1433, p1434
The following compensations should be disabled if this procedure is carried out:
● MD32450 backlash compensation
● MD32500 friction compensation
● MD32700 leadscrew error compensation
● MD32710 Enable sag compensation
● MD32750 Temperature compensation type
Note
MD32450 $MA_BACKLASH: Backlash compensation must be adjusted using an external
device, such as a circularity test or gauge.
Result
The best contour results are achieved when the circular form test results are in the correct
actual size, shape and minimum p/p deviation between a combined interpolation of the axes (X-
Y, X-Z, Y-Z).
An NC program in the MDA operating mode and the circularity test function are used to
measure and evaluate these results. The "worst case" of a circle radius and the path velocity
must lead to a realistic radial acceleration of which the machine is capable.
Circularity tests of machine manufacturers usually use a radius of 100 mm or 150 mm with
feedrate speeds that are determined by the machine manufacturer. The machine manufacturer
determines the specifications for an acceptable result.
High-speed processes generally have higher requirements for testing circles with high-speed
milling machines and can range from circle radii of 10 - 25 mm and feedrates of 5 - 10 m/min.
For high-speed milling machines, the results are generally acceptable if the P/P deviation
≤ 0.010 mm and the actual size of the circle is equal to the programmed radius – or in the worst-
case scenario – to the path velocity.
Setting parameters
Perform measurement
Procedure:
1. In the "Commissioning" operating area select the "Optim./test" softkey → "Circularity test"
softkey.
2. Select the axes that are intended to be measured with the <SELECT> key or with the "Axis
+"/"Axis -" softkeys.
3. Set the parameters for the measurement: "Radius" and "Feed"
The "Measurement time" display field shows the measurement time calculated from the
"Radius" and "Feed" values for recording the actual position values during the circular
movement:
If the measurement time is not sufficient then only parts of the circle are portrayed. The
measurement 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 measurement time calculated from this exceeds the time range that can be displayed
(maximum measurement time = position controller cycle frequency * 2048), an appropriate
sample time is calculated for recording (n * position controller cycle frequency), so that a
complete circle can be displayed.
5. To automatically generate a program, with which you traverse the selected axes, press
softkey "Generate circle program". The program is displayed for checking purposes and
must be confirmed. Ensure that the axes can be traversed according to the program and that
the traversing paths are free.
6. To start the measurement, press the "Start" softkey. The softkeys cannot be used while the
measurement is being performed - with the exception of the "Stop" softkey.
Displaying a graphic
To display the measurement result as a graphic, press the "Graphic" softkey.
⇒ additional actions:
● Press softkey "Full screen" to display the graphic on a full screen.
If the active "Full screen" softkey is activated a second time, you will return to the previous
display with graphic and display information.
● Press the "Tuning" softkey to carry out additional tuning adaptations. On a new softkey bar,
you can navigate directly to the following areas:
– "Service axis" in the operating area "Diagnostics"
– "Axis machine data"
– "Drive machine data"
– "User views"
● To start the measurement, press the "Start" softkey.
● To stop the measurement, press the "Stop" softkey.
● Press the "Load" softkey to display parameters or the graphic of a measurement.
● Press the "Save" softkey to save parameters or the graphic of a measurement.
The graphic can be saved as a pixel graphic in the PNG or BMP format. The measurement
data are saved in the xml format as *.sud. The following path is set as default path: user/
sinumerik/hmi/log/optimization/circular
● With softkey "<< Back", you return to dialog "Circularity test - measurement".
The MD32400 $MC_AX_JERK_ENABLE axial jerk limitation is set via a time constant and is
always active.
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:
@Additional values
P 30: 1000 [Accuracy (1/P30))
@Physical units
P 40: 5370 [Text number radius unit]
P 41: 5381 [Text number feed unit]
P 42: 6165 [Text number Resolution unit]
P 43: 5346 [Text number DeltaRadius unit]
P 44: 0 [New: Operate: Basislengthunit]
@Abscissa
Ai: [Abscissa values i : 0..P23]
@Ordinate
Oi: [Ordinate values i : 0..P23]
@Radius
Ri: [Radius values i : 0..P23]
Software option
In order to use this function a license is required for the following option:
"Advanced Position Control" (6FC5800-0AM13-0YB0)
Software option
In order to use this function a license is required for the following option:
"Advanced Position Control ECO" (6FC5800-0AM12-0YB0)
If the oscillation reduction is not effective, another mode can be activated which can specifically
compensate machine base-related oscillation.
It is recommended first to deactivate the oscillation damping of junction ② and to activate the
APC filter for the machine base-related oscillation.
If the filters for the machine base-related oscillation are also ineffective, the causes may be:
1. The vibration does not occur in the axis direction.
2. The vibration cannot be measured on the motor.
3. The vibration is not measured with Advanced Position Control ECO.
For a machine equipped with SINUMERIK 840D sl and a second measuring system for the
axis, it is recommended to install the Advanced Position Control function module with two
encoders.
Decision-making support
When is Advanced Position Control needed with a second encoder?
● If the damping achieved by "Advanced Position Control ECO" is inadequate.
● If the motor cannot attenuate the vibration - even with a weak speed controller.
Possible reasons:
● The leadscrew pitch is too small, e.g. 5 mm
● The Gear factor motor/load revolutions is very high, e.g. p0433 ≥ 30
● The drive train has too much self-locking.
● The Tool Center Point is so far from the motor that the vibrations can only be measured by
a nearby direct measuring system.
Components data
NC data ● 3D collision model
● Compile cycles
● Cycles
– User cycles
– Manufacturer cycles
– Standard cycles
● Definitions
● NC active data
– User data (GUD, LUD)
– Machine data
– Compensation data (measuring system error compensation,
friction compensation, sag / angularity error compensation)
– Zero offsets
– Option data
– R parameters
– Protection zones
– Setting data
– Tool and magazine data
– Initialization program (INI)
● Part programs
● Subprograms
● Workpieces
● Comments
NC data with compensation Note: It only makes sense to archive machine-specific compensation
data data if the commissioning file is reloaded into the same controller.
NC data with compile cycles The compile cycles ( * .elf) option is displayed only if compile cycles are
also available.
PLC data ● OB (organization blocks)
● FB (function blocks)
● FC (functions)
● DB (data blocks)
● SFB (system function blocks)
● SFC (system functions)
● SDB (system data blocks).
Note: System data blocks are only used to back up the hardware config‐
uration (not the programming logic).
Components data
Drive data ● Binary or ASCII format
● Extended selection: Drive units
HMI data ● Applications: User, manufacturer
● Data backups: Commissioning data, network topology
● Easy Extend
● Settings
● Help
● PLC project
● Reports: Action log, screenshots etc.
● Safety Integrated (acceptance test)
● Texts
● Version data
● Templates
● Dictionaries: For Chinese simplified and Chinese traditional (IME)
NOTICE
Ensure data consistency
The creation of a commissioning file with PLC data while the PLC is in RUN state (cyclic
operation) may result in an inconsistent PLC image in the commissioning archive. After this
commissioning archive has been copied back, the data inconsistency in the PLC program may
under certain circumstances result in a PLC stop.
Requirement
The following access levels are required:
● In order to create a commissioning archive, at least access level 4 (key-operated switch 3)
is required.
● In order to import a commissioning archive, at least access level 2 (service) is required.
It is not permissible that the default setting in MD11230 $MN_MD_FILE_STYLE is changed in
order to guarantee that a commissioning file with access level 2 (service) can be read in:
Generate line checksum and MD numbers.
To prevent a topology error, Control Unit parameter p9906 (topology comparison level of all
components) should be set to "Medium" in order to import a commissioning archive.
Procedure:
1. To create a commissioning archive, select: "Commissioning" operating area → forward key
→ "Commissioning archives" → "Creating a commissioning archive" option:
Note
USB FlashDrive
USB FlashDrives are not suitable as persistent memory media.
Application
The "Manage data" function is used to support and simplify the commissioning and provides
functions for backup, load and comparison of machine, setting, compensation and drive 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 the basis for copying DO
for SINAMICS drives.
Managing data
The "Manage data" function offers the following options:
● Transfer data within the controller
● Save data to a file
● Load data in a file
● Compare data
The function is called from "Commissioning" → "Machine data" → "Manage data".
Example of "Transfer data within the controller":
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
NOTICE
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).
NOTICE
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
Select the data sources to compare the data. For instance, compare the actual data in the
control system with data saved in a file.
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.
– Parameters that do not exist in both data sources, are displayed.
– The same parameters are not displayed.
Introduction
The CNC software on the CompactFlash card can be newly installed or upgraded.
● A reinstallation is required if there is no CNC software on the CompactFlash card (see
Section New installation (Page 351)).
● An upgrade is required if an older CNC software is available on the CompactFlash card (see
Chapter Upgrading (Page 358))
Literature
"Generate Service System" section in the Operating System NCU (IM7) (https://
support.industry.siemens.com/cs/de/de/view/109481527/en) Commissioning Manual
Introduction
No CNC software was installed on the CompactFlash Card. The CompactFlash Card is empty.
You have the following options of initiating a new installation of the CNC software:
● Automatic installation using USB-FlashDrive
● Installation using USB-FlashDrive
● Installation using WinSCP on PG/PC
● Installation using VNC Viewer on PG/PC
Flow diagram
$XWRPDWLFLQVWDOODWLRQRI
WKH&1&VRIWZDUHE\
86%IODVKGULYH 6,01&.!
3/&!
,QVHUW86%IODVKGULYHLQWR
,QVWDOODWLRQRIWKH1&8 1&8 ;
VHUYLFHV\VWHPRQ86%
IODVKGULYH
1&83RZHU21
,V86%IODVKGULYHDYDLODEOH !5'</('IODVKHVJUHHQ
ZLWK1&8VHUYLFHV\VWHP" 1R DSSUR[bV
<HV
2SHQ:LQGRZV 5'</('UHG"
([SORUHU
6HHHUURUFDXVHLQ
WKHDXWRH[HFORJILOH
1R
,QVHUW86%IODVKGULYHLQWR HJ&RPSDFW)ODVK
3&3* 3DWKRQGHOLYHU\'9' FDUGWRRVPDOO
?9ROBKPLVO?VWDQGDUG H[SRUW ?
HPHUJHQF\BERRWV\VBQFX? 1R
VZBXSGDWH?DXWRH[HFVK 5'</('2))"
&RS\DXWRH[HFVK
DQGFQFVZ!WJ]WR <HV
86%IODVKGULYH URRW 1&83RZHU2))
IROGHU
5HPRYH86%IODVKGULYH
5HQDPH
6,01&.!
FQFVZ!WJ]
3/&!
WRIXOOWJ]
1&83RZHU21
5HPRYH86%IODVK
GULYH
3/&JHQHUDOUHVHW
1&83RZHU2)) 6,01&.!
3/&!
1&8
3RZHU2))" 1R
(1'
Flow diagram
,QVWDOODWLRQRIWKH
&1&VRIWZDUH
XVLQJ86%IODVK
GULYH
,QVWDOODWLRQRIWKH
1&8VHUYLFHV\VWHP
RQ86%IODVKGULYH
86%IODVKGULYH
DYDLODEOHZLWK1&8 1R
VHUYLFHV\VWHP
2SHQ:LQGRZV
([SORUHU
,QVHUW86%IODVKGULYH
LQWR3&3*
1RWLFH)LOHQDPHRI
FQFVZ!WJ]ORZHUFDVH
&RS\FQFVZ!WJ] RQO\
WR86%IODVKGULYH
URRWIROGHU
5HPRYH86%IODVK ,QVHUW86%IODVKGULYHLQWR
GULYH 1&8 ;
1&83RZHU2)) 6\VWHP
1R 6\VWHP3&8"
7&8"
1&83RZHU
1R
2))" &RQQHFWWKHVWDQGDUG3&
NH\ERDUGWRWKH86%)URQWRI
3&8RU23[
6,01&.! 6,01&.!
3/&! 3/&!
1&83RZHU2))
5HPRYH86%IODVK
1&83RZHU21 GULYH
0DLQ0HQX) 6,01&.!
5HVWRUH1&86RIWZDUH 3/&!
)5HFRYHUIURP86% 1&83RZHU21
)5HFRYHUV\VWHP 3/&JHQHUDOUHVHW
IURPVHOHFWHGILOH
6,01&.!
)2.FRQWLQXH 3/&!
)WRFRQILUP ,QSXW7&8QDPH
,3DGGUHVV
1R
'LVSOD\6\QFLQJ
GLVNGRQH"
(1'
Figure 12-3 Installing the control software using USB-FlashDrive - continued (TCU system)
&RQQHFW3&8;[[[!
1&8;
1&83&8
3RZHU21
%RRW3&8LQVHUYLFHPRGH :;3
NH\!PDQXIDFWXUHUSDVVZRUG
6WDUW:LQ6&3 6WDUW91&YLHZHU
GHVNWRSLFRQ GHVNWRSLFRQ
&RQQHFWWR
0DLQ0HQX)
5HVWRUH1&86RIWZDUH
/RJLQWR
ZLWKXVHUDGPLQ
3DVVZRUG6815,6( )5HFRYHUIURP86%
)5HFRYHUV\VWHP
IURPVHOHFWHGILOH
0HQX&RPPDQGV
!2SHQWHUPLQDO
)2.FRQWLQXH
$Q\GDWDRQWKH&RPSDFW 3RVVLEOHHUURU
)ODVKFDUGDUHGHOHWHG VF(5525XQNQRZQRSWLRQ )WRFRQILUP
IXOOGDWDFQFVZ!WJ]
&DXVH6SDFHPLVVLQJEHWZHHQ
,QSXWVFUHVWRUHIXOO IXOODQGGDWD
GDWDFQFVZ!WJ] 'LVSOD\6\QFLQJGLVN
GRQH" 1R
SURPSW
UHDSSHDUV" 1R 1&83RZHU2))
6,01&.!
5HPRYH86%IODVKGULYH
3/&!
6,01&.!
3/&!
(1'
1&83RZHU21
3/&JHQHUDOUHVHW
Figure 12-4 Installing the control software using USB-FlashDrive - continued (PCU system)
Flow diagram
,QVWDOODWLRQRIWKH&1&
VRIWZDUHXVLQJ:LQ6&3
RQ3&3*
GDWDFRUUHVSRQGVWRWKH
86%IODVKGULYHRQ1&8;
,QVWDOODWLRQRIWKH
,V86%IODVKGULYH $Q\GDWDRQWKH&)FDUGDUH
1&8VHUYLFHV\VWHP
DYDLODEOHZLWK1&8VHUYLFH GHOHWHG
1R RQ86%IODVKGULYH
V\VWHP"
3RVVLEOHHUURU6F(5525
XQNQRZQRSWLRQ
IXOOGDWDFQFVZ!WJ]
1&83RZHU2))
1&83RZHU2))"
1R 'LVSOD\6\QFLQJGLVN
GRQH" 1R
,QVHUW86%IODVKGULYHLQWR
1&8 ; 1&83RZHU2))
1&83:521 6,01&.!
,IDFRQQHFWLRQLVQRW
3/&!
HVWDEOLVKHGGHDFWLYDWHDQG
WKHQUHDFWLYDWH/RFDO$UHD
6WDUW:LQ6&3RQ3&3* &RQQHFWLRQXQGHU1HWZRUN
FRQQHFWLRQV 1&83RZHU21
/RJLQWR 3/&JHQHUDOUHVHW
ZLWKXVHUDGPLQ
SDVVZRUG6815,6(
6,01&.!
3/&!
0HQX&RPPDQGV!
2SHQWHUPLQDO
(1'
Flow diagram
,QVWDOODWLRQRIWKH&1&
VRIWZDUHXVLQJ91&
9LHZHURQ3&3*
0DLQ0HQX)
5HVWRUH1&86RIWZDUH
,QVWDOODWLRQRIWKH )5HFRYHUIURP86%
,V86%IODVKGULYH
1&8VHUYLFHV\VWHP
DYDLODEOHZLWK1&8
1R RQ86%IODVKGULYH
VHUYLFHV\VWHP" )5HFRYHUV\VWHP
IURPVHOHFWHGILOH
&RS\FQFVZ!WJ] )2.FRQWLQXH
WR86%IODVKGULYH
URRWIROGHU
)WRFRQILUP
1&83RZHU2))
'LVSOD\6\QFLQJGLVN
1&83RZHU GRQH" 1R
2))" 1R
1&83RZHU2))
,QVHUW86%IODVKGULYH
LQWR1&8 ;
5HPRYH86%IODVK
GULYH
&RQQHFW1&8 ; !
3&3*
6,01&!
3/&!
1&83RZHU21
1&83RZHU21
6WDUW91&9LHZHURQ
3&3*
3/&JHQHUDOUHVHW
,IDFRQQHFWLRQLVQRWHVWDEOLVKHG
91&VHUYHULQSXW 6,01&!
GHDFWLYDWHDQGWKHQUHDFWLYDWH
3/&!
/RFDO$UHD&RQQHFWLRQXQGHU
1HWZRUNFRQQHFWLRQV
(1'
12.1.2 Upgrading
Upgrade options
You have the following options of upgrading the CNC software:
● Automatic upgrade using USB-FlashDrive
● Upgrade using USB-FlashDrive
● Upgrade using WinSCP on PG/PC
● Upgrade using VNC Viewer on PG/PC
Note
An upgrade is possible as of CNC software 2.xx. An upgrade from other software versions
is not permitted. In this case, a new installation is required.
Before the upgrade, you can backup the complete CompactFlash card. Using Restore, you
can write back this backup to the CompactFlash card.
Note
The licenses are permanently assigned to the CompactFlash card (card ID) and can only be
used on this card.
The license key can be read back via Web License Manager (Page 41) using the card number.
Automatic upgrading
For an automatic upgrade with autoexec.sh from the USB-FlashDrive, the CompactFlash card
is first backed up.
The backup file "card_img.tgz" is saved under the following directory:
/machines/[machine name+serial number of the CompactflashCard]
An existing data backup is not overwritten. In this case, the operation is exited with an error. The
upgrade is made once the backup has been successfully completed.
12.1.2.1 Backup/Restore
Introduction
Before the upgrade, you can backup the complete CompactFlash Card. Using Restore, you
can write back this backup to the CompactFlash Card.
Flow diagram
$XWRPDWLFEDFNXSRI
WKHFRPSOHWH
6,01&.!
&RPSDFW)ODVK&DUG
3/&!
,QVHUW86%)ODVK'ULYHLQ1&8
;
,QVWDOODWLRQRIWKH1&8
VHUYLFHV\VWHPRQWKH
86%)ODVK'ULYH
1&83RZHU21
86%)ODVK'ULYHZLWK
1&8VHUYLFHV\VWHP
!5'</('IODVKHVJUHHQ
! 1R DSSUR[VHFRQGV
DYDLODEOH"
<HV
2SHQ:LQGRZV 5'</('UHG"
([SORUHU
6HHHUURUFDXVHLQ
WKHDXWRH[HFORJILOH
3DWKRQGHOLYHU\'9'
1R HJ&RPSDFW)ODVK
,QVHUW86%)ODVK'ULYHLQ
3&3* ?9ROBKPLVO?VWDQGDUG H[SRUW &DUGWRRVPDOO
?HPHUJHQF\BERRWV\VBQFX?VZB
XSGDWH?DXWRH[HFVK
1R
&RS\DXWRH[HFVKWR
5'</('2))"
86%)ODVK'ULYH URRW
GLUHFWRU\
<HV
FDUGBLPJWJ]
EDFNXSILOHFUHDWHG
5HPRYH86%
RQ86%)ODVK'ULYH
)ODVK'ULYH
1&83RZHU2))
1&83RZHU2))
5HPRYH86%
1&8 )ODVK'ULYH
3RZHU
2))"
1R
6,01&.!
3/&!
(1'
Flow diagram
$XWRPDWLFUHVWRUDWLRQ 6,01&.!
RIWKHFRPSOHWH
&RPSDFW)ODVK&DUG
3/&!
,QVHUW86%)ODVK'ULYHLQ
,QVWDOODWLRQRIWKH
1&8 ;
1&8VHUYLFH
V\VWHPRQWKH86% 1&83RZHU21
)ODVK'ULYH
!5'</('IODVKHV
86%)ODVK'ULYHZLWK1&8 JUHHQ DSSUR[
VHUYLFHV\VWHP ERRWVWLFN VHFRQGV
DYDLODEOH"
1R
<HV
5'</('UHG"
2SHQ:LQGRZV 6HHHUURUFDXVHLQ
([SORUHU WKHDXWRH[HFORJILOH
1R HJ&RPSDFW)ODVK
3DWKRQGHOLYHU\'9'
?9ROBKPLVO?VWDQGDUG &DUGWRRVPDOO
,QVHUW86%
)ODVK'ULYHLQ H[SRUW ?HPHUJHQF\BERRWV\VB
3&3* QFX?VZBXSGDWH?DXWRH[HFVK
5'</('2))" 1R
&RS\DXWRH[HFVK
WR86%)ODVK'ULYH <HV
URRWGLUHFWRU\
1&83RZHU2))
FDUGBLPJWJ]LVWKHEDFNXS
ILOHFUHDWHGZLWK%DFNXS 5HPRYH86%
&RS\FDUGBLPJBWJ] &RPSDFW)ODVK&DUG )ODVK'ULYH
WR86%)ODVK'ULYH
URRWGLUHFWRU\
6,01&.!
3/&!
5HQDPH
FDUGBLPJWJ]DV 3/&JHQHUDOUHVHW
IXOOWJ]
5HPRYH86% /RDG1&3/&GULYH
)ODVK'ULYH DUFKLYH
1&83RZHU2)) 6,01&.!
3/&!
1&83RZHU
2))" 1R
(1'
Flow diagram
$XWRPDWLFXSJUDGHRIWKH
&1&VRIWZDUHXVLQJ86%
IODVKGULYH 6,01&ැ
3/&ැ
&UHDWH1&3/&GULYH
,QVHUW86%IODVKGULYH
DUFKLYHRQ&RPSDFW)ODVK
LQWR1&8 ;
FDUGDQGRU86%IODVK YLDSDWFKFDEOH 5-
GULYH WR1&8;
,3 1&83RZHU21
/RDG3/&SURMHFWWR
3&3* 67(3 2QO\LIQHZ7RROER[
QHFHVVDU\ 5'</('IODVKHV
JUHHQ DSSUR[bV
,QVWDOODWLRQRIWKH1&8
VHUYLFHV\VWHPRQ
86%IODVKGULYH <HV
,V86%IODVKGULYH 5'</('UHG"
DYDLODEOHZLWK1&8
1R (UURUFDXVHLQWKH
VHUYLFHV\VWHP"
DXWRH[HFORJILOH HJ
1R
&RPSDFW)ODVKFDUG
WRRVPDOO
2SHQ:LQGRZV
([SORUHU
5'</('2))"
1R
,QVHUW86%IODVKGULYH 3DWKRQGHOLYHU\'9'
LQWR3&3* 9ROBKPLVO?VWDQGDUG
1&83RZHU2))
?HPHUJHQF\BERRWV\VBQFX? 1HZ7RROER["
1R
&RS\DXWRH[HFVK VZBXSGDWH?DXWRH[HFVK
5HPRYH86%IODVK
DQGFQFVZ!WJ]WR
GULYH
86%IODVKGULYH URRW
2SHQ 67(3 3/&
IROGHU
6,01&ැ SURMHFW7RROER[
3/&ැ ES[B[[
5HPRYH86%IODVK 6,01&ැ
GULYH 3/&ැ /RDG3/&SURMHFW
6HWSDVVZRUG
1&83RZHU2)) /RDGGULYHDUFKLYH
1&83RZHU
2))" 1R
/RDG1&DUFKLYH
(1'
Flow diagram
8SJUDGHWKH&1&
VRIWZDUHZLWKD86%
IODVKGULYH
&UHDWH1&3/&GULYH
DUFKLYHRQ&RPSDFW)ODVK
FDUG3&8DQGRU86% YLDSDWFKFDEOH 5- WR1&8
IODVKGULYH ;,3
/RDG3/&SURMHFW
WR3&3* 67(3 2QO\LIQHZ7RROER[
QHFHVVDU\
,V86%IODVKGULYH ,QVWDOODWLRQRIWKH1&8
DYDLODEOHZLWK1&8 VHUYLFHV\VWHPRQ86%
1R IODVKGULYH
VHUYLFHV\VWHP"
2SHQ:LQGRZV
([SORUHU
,QVHUW86%IODVK
GULYHLQWR3&3*
1RWLFH)LOHQDPHRIFQFVZ!WJ]
ORZHUFDVHRQO\
&RS\FQFVZ!WJ]WR
86%IODVKGULYH URRW
IROGHU
5HPRYH86%IODVK
GULYH
6\VWHP7&8" 6\VWHP3&8"
1R
1&83RZHU2))
1&83RZHU &RQQHFWWKHVWDQGDUG3&
2))" 1R NH\ERDUGWRWKH86%)URQWRI
3&8RU23[
1&83RZHU21
0DLQ0HQX)8SGDWH
1&86RIWZDUH
)8SGDWHV\VWHP
VRIWZDUHIURP86%
PHPRU\VWLFN
)8SGDWHV\VWHP
VRIWZDUHE\VHOHFWHGILOH
)2.FRQWLQXH
1RWLFH'RQRWRYHUZULWH
)WRFRQILUP EORFNVZLWKXVHUSURJUDP
HJ2%2%HWF
/RDG1&DUFKLYH
'LVSOD\6\QFLQJGLVN
1R
GRQH"
1HZ7RROER["
1R
&RS\QHZ7RROER[
6,01&.! ES[B[[EORFNVWR
3/&! /RDG3/&DUFKLYH
WKH3/&SURMHFW
1&83RZHU21
/RDG3/&SURMHFW
3/&JHQHUDOUHVHW
6,01&.!
3/&!
/RDGGULYHDUFKLYH
6HWSDVVZRUG
(1'
Figure 12-11 Upgrading the CNC software using USB-FlashDrive - continued (TCU system)
&RQQHFW
3&8;[[[!1&8;
1&83&8;3RZHU
21
%RRW3&8LQVHUYLFHPRGH :LQGRZV;3
NH\!PDQXIDFWXUHUSDVVZRUG
6WDUW:LQ6&3 6WDUW91&YLHZHU
GHVNWRSLFRQ GHVNWRSLFRQ
/RJLQWR &RQQHFWWR
ZLWKXVHU
PDQXIDFW3:
6815,6( 0DLQ0HQX)
3RVVLEOHHUURUVF(5525 8SGDWH1&86RIWZDUH
XQNQRZQRSWLRQ
0HQX&RPPDQGV
XSGDWHGDWDFQFVZ!WJ]
!2SHQWHUPLQDO )8SGDWHV\VWHPVRIWZDUH
&DXVH6SDFHPLVVLQJ IURP86%PHPRU\VWLFN
EHWZHHQXSGDWHDQGGDWD
)8SGDWHV\VWHP
,QSXWVFUHVWRUHXSGDWH VRIWZDUHE\VHOHFWHGILOH
GDWDFQFVZ!WJ]
)2.FRQWLQXH
)WRFRQILUP
SURPSW
UHDSSHDUV"
1R
'LVSOD\6\QFLQJGLVN
GRQH" 1R
1&83RZHU2))
5HPRYH86%IODVK 1R
GULYH 1HZ7RROER["
/RDG3/&DUFKLYH
6,01&.!
3/&!
2SHQ 67(3
1RWLFH'RQRWRYHUZULWH
3/&SURMHFW
1&83RZHU21 EORFNVZLWKXVHUSURJUDP
7RROER[ES[B[[
HJ2%2%HWF
3/&JHQHUDOUHVHW &RS\QHZ7RROER[
ES[B[[EORFNVWR
6,01&.! WKH3/&SURMHFW /RDGGULYHDUFKLYH
3/&!
/RDGLQJ /RDG3/&SURMHFW
1&DUFKLYH
(1'
Figure 12-12 Upgrading the CNC software using USB-FlashDrive - continued (PCU system)
Flow diagram
8SJUDGHWKH&1& ,IDFRQQHFWLRQLVQRWHVWDEOLVKHG
VRIWZDUHXVLQJ GHDFWLYDWHDQGWKHQUHDFWLYDWH
:LQ6&3RQ3&3* /RFDO$UHD&RQQHFWLRQXQGHU
1HWZRUNFRQQHFWLRQV
&UHDWH1&3/&GULYH
/RJLQWR
DUFKLYHRQ&RPSDFW)ODVK YLDSDWFKFDEOH ZLWKXVHUDGPLQ
FDUG3&8DQGRU86% 5- WR1&8; SDVVZRUG6815,6(
IODVKGULYH ,3
GDWDFRUUHVSRQGVWRWKH
/RDG3/&SURMHFW 2QO\LIQHZ7RROER[ 86%IODVKGULYHRQ1&8;
WR3&3* 67(3 QHFHVVDU\ &RPPDQGVPHQX
86%IODVKGULYH ැ2SHQWHUPLQDO 3RVVLEOHHUURU
VF(5525XQNQRZQRSWLRQ
XSGDWHGDWDFQFVZ!WJ]
,QSXWVFUHVWRUHXSGDWH &DXVH6SDFHPLVVLQJEHWZHHQ
,QVWDOODWLRQRIWKH GDWDFQFVZ!WJ] XSGDWHDQGGDWD
,V86%IODVKGULYH
1&8VHUYLFHV\VWHP
DYDLODEOHZLWK1&8 1R RQ86%IODVKGULYH
VHUYLFHV\VWHP"
&RS\FQFVZ!WJ] 'LVSOD\6\QFLQJ
WR86%IODVKGULYH GLVNGRQH" 1R
URRWIROGHU
1&83RZHU2))
1&83RZHU2)) 5HPRYH86%IODVK
GULYH
1&83RZHU 1HZ7RROER["
2))" 1R 1R
6,01&.ැ
3/&ැ
2SHQ 67(3
,QVHUW86%IODVKGULYH
3/&SURMHFW
LQWR1&8 ; 1&83RZHU21 7RROER[ES[B[[
6WDUW:LQ6&3RQ3&3* 6HWSDVVZRUG
/RDG3/&SURMHFW
/RDG1&DUFKLYH
/RDGGULYHDUFKLYH
1RWLFH'RQRWRYHUZULWH
EORFNVZLWKXVHUSURJUDP (1'
HJ2%2%HWF
Flow diagram
8SJUDGHWKH&1&
VRIWZDUHXVLQJ91&
9LHZHURQ3&3* 91&VHUYHULQSXW
,IDFRQQHFWLRQLVQRWHVWDEOLVKHG
GHDFWLYDWHDQGWKHQUHDFWLYDWH
/RFDO$UHD&RQQHFWLRQXQGHU
&UHDWH1&3/&GULYH
0DLQPHQX) 1HWZRUNFRQQHFWLRQV
DUFKLYHRQ&RPSDFW YLDSDWFKFDEOH 5- 8SGDWH1&8VRIWZDUH
)ODVKFDUG&8DQGRU WR1&8;ZLWK
86%IODVKGULYH ,3
)8SGDWHV\VWHPVRIWZDUH
/RDG3/&SURMHFW IURP86%PHPRU\VWLFN
2QO\LIQHZ7RROER[
67(3 WR3&3* 1&83RZHU21
QHFHVVDU\
)8SGDWHV\VWHP
VRIWZDUHE\VHOHFWHGILOH 3/&JHQHUDOUHVHW
)2.FRQWLQXH 6,01&ැ
,VWKH1&8VHUYLFH 3/&ැ
,V86%IODVKGULYH
V\VWHPLQVWDOOHGRQ
DYDLODEOHZLWK1&8 1R )WRFRQILUP
86%IODVKGULYH"
VHUYLFHV\VWHP" 6HWSDVVZRUG
/RDG1&DUFKLYH
&RS\FQFVZ!WJ] 'LVSOD\6\QFLQJ
GLVNGRQH" 1R
WR86%IODVKGULYH
URRWIROGHU
1&83RZHU2)) 1HZ7RROER["
1R
5HPRYH86%IODVK
1&83RZHU2)) GULYH 2SHQ3/&SURMHFW
67(3 7RROER[
1&83RZHU ES[B[[
2))" 1R
6,01&ැ
3/&ැ
&RS\QHZEORFNV
IURP7RROER[ /RDG3/&DUFKLYH
,QVHUW86%IODVKGULYH
ES[B[[WRWKH3/&
LQWR1&8 ;
SURMHFW
&RQQHFW1&8 ;
DQG3&3* /RDG3/&SURMHFW
1RWLFH'RQRWRYHUZULWH
EORFNVZLWK3/&SURJUDP
1&83RZHU21 HJ2%2%HWF
/RDGGULYHDUFKLYH
6WDUW91&9LHZHURQ
3&3*
(1'
Figure 12-14 Upgrading the CNC software using VNC Viewer on PC/PG
Precondition
The "Create MyConfig" software on PG/PC is the precondition to configure a package.
Basic procedure
The descriptions for automatically reinstalling/upgrading using Create MyConfig include the
basic steps for configuring and subsequent automatic execution at the control system. The
"Create MyConfig" software has integrated online help.
Preconditions
The following preconditions must be met for the CompactFlash card of the NCU:
● The CompactFlash card of the NCU is empty or contains executable NCU software.
If any CNC software and possibly irrelevant user data are on the CompactFlash card, then
these are lost when the software is newly installed.
● You have a <name>.tgz file (cnc-sw.tgz ) with the actual software.
● You want to initiate a new installation of the NCU via a USB FlashDrive.
● If the CompactFlash card is empty or does not contain executable CNC software, you need
a USB FlashDrive with installed "NCU Service System".
Operating sequence
In order to configure a package for the reinstallation of the CNC software with "Create MyConfig
Expert":
1. Start the "Create MyConfig Expert" software.
With this software you configure an Installer package that initiates a reinstallation from the
USB Flashdrive to the CompactFlash card of the NCU.
2. Create a new project via the menu "Project" > "New".
5. In the context menu, select > right mouse button > "Edit mode for all dialog boxes" >
"Automatic".
6. In the "CNC software" window under "Installation", select the "New installation" mode.
8. Create a package "<name>.usz" via the menu "File" > "Transfer" > "Linux package (NCU)
and select as target path the root directory of the USB FlashDrive.
Create MyConfig Expert saves the project, performs a validation run, creates and saves the
package under the specified target path.
A "<name>.usz" package is then located in the root directory of the USB FlashDrive.
Depending on the configuration in the previous step, the "<name>.tgz" file is also located
next to the package.
Note
The USB FlashDrive must only be bootable if the CompactFlash card of the NCU does not
contain executable CNC system software.
9. Insert the USB FlashDrive into a USB socket (X125 or X135) of the NCU.
10.Switch the control system off and on again.
Provided that when configuring you configured the "Edit mode of all dialogs" > "Automatic",
then the package is automatically executed when the control system boots-up. The dialogs
are displayed, but require no operator actions.
The CNC software has been installed once the package has been completed.
A logbook about the activities that have been performed can be saved. The logbook
documents all activities performed during the new installation.
11.Switch-off the control system.
12.Remove the USB FlashDrive.
13.Commissioning work can continue after the control system has been switched on.
Introduction
Note
For details on upgrading the CNC software versions, read the "siemensd.rtf" (German) or
"siemense.rtf" (English) file on the product CD of Create MyConfig.
When the software is upgraded, all user data is kept on the CompactFlash card and in the
control areas NC, PLC, and drives. The NC and drive data is automatically transferred into the
new CNC software version. Archives neither have to be created nor imported again.
The "NCK commissioning switch" and "PLC mode selector switch" remain during the upgrade
in position "0".
In conjunction with an upgrade, using the same package, the automatic generation of a backup
can be configured, which is then stored on the USB FlashDrive. It is not necessary to first
generate an archive.
Note
After the CNC software has been upgraded, adaptations may be required. Using the Create
MyConfig Expert, these adaptations can also be configured and therefore automatically
executed.
For information about the necessary adaptations, please refer to the upgrade instructions of the
respective CNC software versions.
Operating sequence
In order to configure a package for the upgrade of the CNC software with "Create MyConfig
Expert":
1. You have started the "Create MyConfig Expert" software.
Using this software, you configure a package that initiates an upgrade of the CNC software
on the CompactFlash card of the NCU.
2. You have created a new project via the menu "Project" > "New".
5. In the context menu, select > right mouse button > "Edit mode for all dialog boxes" >
"Automatic".
6. In the "CNC software" window under "Installation", select the "Upgrade" mode.
8. Create a package "<name>.usz" via the menu "File" > "Transfer" > "Linux package (NCU)
and select as target path the root directory of the USB FlashDrive.
Create MyConfig Expert saves the project, performs a validation run, creates and saves the
package under the specified target path.
A "<name>.usz" package is then located in the root directory of the USB FlashDrive.
Depending on the configuration in the previous step, the "<name>.tgz" file is also located
next to the package.
9. Insert the USB FlashDrive into a USB socket (X125 or X135) of the NCU.
10.Switch the control system off and on again.
Provided that when configuring you configured the "Edit mode of all dialogs" → "Automatic",
then the package is automatically executed when the control system boots-up. The CNC
software has been upgraded and all data is available again after the package has been
completed on the NCU.
A logbook about the activities that have been performed can be saved. The logbook
documents all activities performed during the upgrade.
11.Switch-off the control system.
12.Remove the USB FlashDrive.
13.The machine is ready for operation again after switch-on.
MD Machine Data
MDI MDI mode (Manual Data Automatic): Enter program blocks manually and execute
MM Motor Module
MCP Machine Control Panel
NC Numerical Control: Numerical control
PIO Process Image Output
PII Process Image Input
PCU PC Unit: computer unit
PELV Protective Extra Low Voltage
PG Programming device
PLC Programmable Logic Control: (component of the CNC)
PM Power Module
PUD Program global User Data
RAM Random Access Memory: Program memory that can be read and written
REF POINT Function for approaching the reference point in JOG mode.
REPOS Function for repositioning in JOG mode
SD Setting Data
SLM Smart Line Module
SMC Sensor Module Cabinet Mounted
SME Sensor Module Externally Mounted
TEACH IN Function for creating programs in interactive mode with the machine in MDI and
AUTO modes
TCU Thin Client Unit
USB Universal Serial Bus
XML Extensible Markup Language
is or includes a copy or modification of this software and in all copies of the supporting
documentation for such software.
THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR AT&T MAKES ANY
REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE
MERCHANTABILITY OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR
PURPOSE.
This product includes software developed by the University of California, Berkeley and its
contributors.
QLocale's data is based on Common Locale Data Repository v1.6.1.
Note
You can find additional information on the product DVD in the Readme_OSS file about the third-
party software used.
6,180(5,. 6,180(5,.
SINUMERIK documentation
Manual Title
Equipment Manual NCU 7x0.3B PN SIOS (https://
support.industry.siemens.com/cs
/de/en/view/99922219)
Function Manual Basic functions SIOS (https://
support.industry.siemens.com/cs
/de/en/view/109763231)
Function Manual Extended functions SIOS (https://
support.industry.siemens.com/cs
/de/en/view/109763228)
Function Manual Special functions SIOS (https://
support.industry.siemens.com/cs
/de/en/view/109763229)
Function Manual Synchronized actions SIOS (https://
support.industry.siemens.com/cs
/de/en/view/109763230)
Lists Manual Machine data and parameters SIOS (https://
support.industry.siemens.com/cs
/de/en/view/109763238)
Lists Manual NC variables and interface signals SIOS (https://
support.industry.siemens.com/cs
/de/en/view/109763239)
SIMOTICS Service Manual 1FK7, 1FT7 encoder replacement SIOS (https://
support.industry.siemens.com/cs
/de/en/view/99457853)
Manual Title
Equipment Manual Booksize power units /GH2/ (https://
support.industry.siemens.com/cs
/ww/en/view/109763282)
Commissioning Manual Commissioning with Startdrive /IH1/ (https://
support.industry.siemens.com/cs
/ww/en/view/109763294)
Lists Manual Parameters, function diagrams, faults /LH1/ (https://
and alarms support.industry.siemens.com/cs
/ww/en/view/109763271)
Function Manual Drive functions /FH1/ (https://
support.industry.siemens.com/cs
/ww/en/view/109763287)
Function Manual Safety Integrated /FHS/ (https://
support.industry.siemens.com/cs
/ww/en/view/109763292)
Filter, 284
Example, 329
Type, 329 L
Firmware update, 144
License, 44
Firmware version
License database, 42
Sensor Module, 201
License information, 39
SINAMICS S120, 200
License key, 39, 45
Friction compensation
License number, 45
Automatic sequence, 234
Line checksum, 344
Example, 238
Manual sequence, 235
Torque injection pulse, 240
Tuning quality:, 233
M
Velocity injection pulse, 234, 235 Machine axes, 221
Function generator MD13160 $MN_SINAMICS_MAX_SLAVE_ADDRES
Connection point, 326 S, 263
Parameter, 328 Measuring functions, 311
Positioning monitoring, 326 Cancel, 312
Start, 312
Monitoring the line voltage, 202
G
Geometry axes, 221
N
NCK commissioning switch, 30
H NCU interfaces, 29
Nodding compensation
Hardware configuration, 51
deactivate, 245
Hardware reference, 39
Measuring technique, 243
Hardware serial number, 39, 44
Option, 242
Part program, 248
Trace, 247
I
Infeed
Configuration, 114 O
Initial commissioning, 113
Option, 45
Line data, 201
Overview, 119
Parallel connection, 121
Power data, 116
P
Saving the configuration, 119 Parameter
Summary, 118 Speed setpoint before/after filter, 328
Terminal wiring, 117 Password
Intelligent dynamic response adjustment change, 37
Function, 253 Rules, 36
Option, 253 Set, 36
Intelligent load adjustment PLC
Function, 251 Changing the operating state, 343
Option, 251 Communication setup, 47
Interpolation, 300 Mode selector switch, 30
Interpolation axes, 285 Position control loop, 284
Isochronous operation, 67 Measurement sequence, 322
Isochronous Real Time (IRT), 66 Measuring procedure, 320
S U
SIMATIC Manager, 47
Upgrade
SIMATIC S7 project, 48
Create MyConfig, 372
SINUMERIK 840D sl Toolbox, 28
Service system, 351
Software product, 39
User views, 230
Speed adjustment, 209
Speed control loop, 284
Measuring method, 315
Speed controller strategy, 289
W
System utilization, 259 Web License Manager, 41
T
Technology
Milling, 230
Turning, 230
Telegram
Manufacturer-specific, 216
Number of encoders, 219
Standard, 216
Terminal assignment, 106
Inputs/outputs, 106
NCU - X122, 103, 104
NCU - X132, 104, 105
NCU - X142, 105
NX1x.3, 106
Third-party motor, 131
Topology
Delete the component, 191
Obligatory rules, 203