Siemens SINUMERIK 840D sl Commissioning Manual

Siemens SINUMERIK 840D sl Commissioning Manual

Cnc commissioning: nc, plc, drive
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents
SINUMERIK
SINUMERIK 840D sl
CNC Commissioning: NC, PLC,
Drive
Commissioning Manual
Valid for:
SINUMERIK 840D sl/840DE sl
CNC software
Version
12/2019
A5E48312804B AA
4.93
Preface
Fundamental safety
instructions
Introduction
Requirements for
commissioning
Licensing
PLC commissioning
Commissioning NC-
controlled drives
Communication between the
NC and the drive
NC commissioning
Configuring PLC-controlled
drives
Drive tuning
Saving and managing data
New installation / upgrading
Appendix
1
2
3
4
5
6
7
8
9
10
11
12
A
Table of Contents
loading

Summary of Contents for Siemens SINUMERIK 840D sl

  • Page 1 Commissioning NC- controlled drives Communication between the NC and the drive NC commissioning Configuring PLC-controlled drives Drive tuning Saving and managing data New installation / upgrading Appendix Valid for: SINUMERIK 840D sl/840DE sl CNC software Version 4.93 12/2019 A5E48312804B AA...
  • Page 2 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.
  • Page 3: Preface

    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).
  • Page 4 Note regarding the General Data Protection Regulation Siemens observes standard data protection principles, in particular the principle of privacy by design. For this product, this means: this product does not process / store any personal data, only technical functional data (e.g. time stamps). If a user links this data with other data (e.g.
  • Page 5: Table Of Contents

    Warranty and liability for application examples ..............16 Industrial security ........................17 Residual risks of power drive systems ...................19 Introduction..............................21 Overview of the manuals for SINUMERIK 840D sl ..............21 Industry Online Support ......................22 SINUMERIK 840D sl configuration ..................24 Procedure for the initial commissioning .................26 Procedure when tuning axes and drives ................28...
  • Page 6 Table of contents 5.2.3 Configuring interfaces ......................56 5.2.4 Augmenting the machine control panel and handwheel in the HW configuration ....62 5.2.5 Modifying PROFIBUS machine control panel in OB100 ............64 5.2.6 Configuring the Web server ....................65 5.2.7 Inserting an NX to the hardware configuration...............66 5.2.8 End the hardware configuration and load it to the PLC............69 Extending the SIMATIC S7 project (PROFINET)..............70...
  • Page 7 Table of contents 6.4.2 Activate the factory settings ....................145 6.4.3 Firmware update of the drive components................147 6.4.4 Automatic device configuration ....................149 6.4.5 Commissioning using a drive wizard..................153 Configuring data sets ......................154 6.5.1 Data sets - overview......................154 6.5.2 Adding a data set .........................155 6.5.3 Remove data set ........................159 6.5.4...
  • Page 8 Table of contents 7.6.2 Axis names...........................228 7.6.3 Drive assignment .........................229 NC commissioning............................231 Machine and setting data .....................231 Procedure when commissioning the NC ................233 Memory configuration......................235 Friction compensation with adaptive characteristics ............236 8.4.1 Axis selection and status display ..................237 8.4.2 Friction compensation - automatic tuning ................238 8.4.3 Friction compensation - manual tuning ................239 8.4.4...
  • Page 9 Table of contents 10.2 Function overview for the tuning ..................292 10.3 Automatic servo tuning......................293 10.3.1 Setting the options for the measurement procedure ............293 10.3.2 Selecting the tuning strategy....................296 10.3.3 Example: This is how you tune the X axis................300 10.3.4 Example: This is how you tune the Y axis................304 10.3.5 Example: This is how you start to tune the path interpolation..........307 10.3.6...
  • Page 10 Table of contents 12.2 With the help of the "Create MyConfig" software ..............372 12.2.1 Reinstallation with Create MyConfig ..................372 12.2.2 Upgrade with Create MyConfig ....................376 Appendix..............................381 Abbreviations ........................381 Information about third-party software used.................383 Index.................................385 CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 11: Fundamental Safety Instructions

    Fundamental safety instructions General safety instructions 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. ●...
  • Page 12 Fundamental safety instructions 1.1 General safety instructions 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.
  • Page 13 ● 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...
  • Page 14 Fundamental safety instructions 1.1 General safety instructions 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.
  • Page 15: Equipment Damage Due To Electric Fields Or Electrostatic Discharge

    Fundamental safety instructions 1.2 Equipment damage due to electric fields or electrostatic discharge Equipment damage due to electric fields or electrostatic discharge Electrostatic sensitive devices (ESD) are individual components, integrated circuits, modules or devices that may be damaged by either electric fields or electrostatic discharge. NOTICE Equipment damage due to electric fields or electrostatic discharge Electric fields or electrostatic discharge can cause malfunctions through damaged individual...
  • Page 16: Warranty And Liability For Application Examples

    Fundamental safety instructions 1.3 Warranty and liability for application examples Warranty and liability for application examples Application examples are not binding and do not claim to be complete regarding configuration, equipment or any eventuality which may arise. Application examples do not represent specific customer solutions, but are only intended to provide support for typical tasks.
  • Page 17: Industrial Security

    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.
  • Page 18 Fundamental safety instructions 1.4 Industrial security 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. ●...
  • Page 19: Residual Risks Of Power Drive Systems

    Fundamental safety instructions 1.5 Residual risks of power drive systems Residual risks of power drive systems When assessing the machine- or system-related risk in accordance with the respective local regulations (e.g., EC Machinery Directive), the machine manufacturer or system installer must take into account the following residual risks emanating from the control and drive components of a drive system: 1.
  • Page 20 Fundamental safety instructions 1.5 Residual risks of power drive systems CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 21: Introduction

    Introduction Overview of the manuals for SINUMERIK 840D sl Commissioning steps Commissioning is split up into two steps: Figure 2-1 Commissioning procedure Section 1: ● Commissioning Manual: CNC commissioning: NC, PLC, drive ● Function Manual: PLC (Part 1), Basic Functions, Axes and Spindles, Technologies ●...
  • Page 22: Industry Online Support

    Introduction 2.2 Industry Online Support Industry Online Support SINUMERIK ● Equipment Manual NCU 7x0.3B PN (https://support.industry.siemens.com/cs/de/ en/view/99922219) ● List Manual Machine data (https:// support.industry.siemens.com/cs/ww/en/view/109769179) ● List Manual NC variables (https://support.industry.siemens.com/cs/de/en/ view/109769139) ● List Manual System variables (https:// support.industry.siemens.com/cs/ww/en/view/109769180) ● Service Manual SIMOTICS S-1FK7 G2, S-1FT7 - Encoder replacement (https://support.industry.siemens.com/cs/de/en/view/...
  • Page 23 SINAMICS S120 ● Function Manual Drive functions (https:// support.industry.siemens.com/cs/ww/en/view/109763287) ● Function Manual Safety Integrated (https:// support.industry.siemens.com/cs/ww/en/view/109763292) You can find other documents under Siemens Industry Online Support SIOS (https:// support.industry.siemens.com/cs). CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 24: Sinumerik 840D Sl Configuration

    Introduction 2.3 SINUMERIK 840D sl configuration SINUMERIK 840D sl configuration SINUMERIK 840D sl configuration with SINAMICS S120 Booksize • • • • • • Figure 2-2 Example: Configuration with SINAMICS S120 Booksize CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 25 Introduction 2.3 SINUMERIK 840D sl configuration SINUMERIK 840D sl configuration with SINAMICS S120 Combi Figure 2-3 Example: Configuration with SINAMICS S120 Combi Note SINAMICS S120 Combi The configuration with SINAMICS S120 Combi is permissible only on an NCU 710.3B PN.
  • Page 26: Procedure For The Initial Commissioning

    Introduction 2.4 Procedure for the initial commissioning Procedure for the initial commissioning Checking the system The mechanical and electrical installation of the system must be completed. The following is important when starting commissioning: ● The control system with its components boots error-free. ●...
  • Page 27 Introduction 2.4 Procedure for the initial commissioning Reinstallation of the CNC software Procedure Reference to Chapter ① Install the CNC software on the CompactFlash card using → New installation / upgrade (Page 355) one of the following media: ● Bootable USB FlashDrive ●...
  • Page 28: Procedure When Tuning Axes And Drives

    Introduction 2.5 Procedure when tuning axes and drives Procedure when tuning axes and drives Precondition 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. ●...
  • Page 29 Reference to the corresponding chapter: Compensation in space (option) Volumetric Compensation System (RMCC/VCS) Volumetric compensation interface (option) Volumetric compensation interface (RMCCI/VCI) Chapter "Compensations" in the Function Manual "Monitoring and Compensating (https:// support.industry.siemens.com/cs/ww/en/view/109767451)" CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 30 Introduction 2.5 Procedure when tuning axes and drives CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 31: Requirements For Commissioning

    ● Structure of the drive components: SINAMICS S120 Booksize Power Units (https:// support.industry.siemens.com/cs/ww/en/view/109766188) Equipment Manual ● Interfaces at the control system: SINUMERIK 840D sl Equipment Manual NCU 7x0.3B PN (https://support.industry.siemens.com/cs/de/en/view/99922219) CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 32: Software And Hardware Preconditions

    Requirements for commissioning 3.2 Software and hardware preconditions Software and hardware preconditions Requirements for commissioning For the commissioning of SINUMERIK 840D sl, the following points are required: ● Hardware requirements – NCU with TCU – CompactFlash card – Dual fan/battery module for NCU –...
  • Page 33: Position Of The Interfaces

    Requirements for commissioning 3.3 Position of the interfaces Position of the interfaces Interfaces on the NCU The NCU has the following interfaces: X100 ... X105 DRIVE-CLiQ for SINAMICS drive components X124 +24 V DC external power supply X125, X135 only for commissioning and servicing X120 Industrial Ethernet for connection to a system network...
  • Page 34: Power-On And Boot-Up

    Requirements for commissioning 3.4 Power-On and boot-up Power-On and boot-up 3.4.1 NC and PLC memory reset SVC/NCK and PLC rotary switches The NCU has two rotary switches in the lower section of the front panel. Meaning of the settings at the rotary switch SVC/NCK: Switch position NC operating mode Normal power-up of the NC...
  • Page 35 Requirements for commissioning 3.4 Power-On and boot-up 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: ●...
  • Page 36: A General Reset Is Separately Performed For The Nc And Plc

    Requirements for commissioning 3.4 Power-On and boot-up 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. ●...
  • Page 37 Requirements for commissioning 3.4 Power-On and boot-up The NCU is in the following state after an error-free boot-up: ● The NC is in cyclic operation. ● The static memory of the NC is deleted. ● The machine data is preassigned standard values. Alternatives A PLC general reset can be performed with or without power-on reset.
  • Page 38: Boot Completed

    Requirements for commissioning 3.4 Power-On and boot-up General PLC reset with power-on reset Carry out the following actions to execute a general PLC resetwith a power-on reset: 1. Turn the PLC mode selector on the front of the NCU to position "3" (MRES). 2.
  • Page 39: Access Levels

    Requirements for commissioning 3.5 Access levels Access levels Access to functions and machine data The access concept controls access to functions and data areas. Access levels 0 to 7 are available, where 0 represents the highest level and 7 the lowest level. Access levels 0 to 3 are locked using a password and 4 to 7 using the appropriate key-operated switch.
  • Page 40 Note Delete password The password can also be deleted via the PLC → PI service: LOGOUT → Function Manual "PLC (https://support.industry.siemens.com/cs/ww/en/view/109767449)". Rules relating to the password structure The following rules must be observed when assigning a new password: ● The password has a length of between 8 and 32 characters.
  • Page 41 Requirements for commissioning 3.5 Access levels 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: ●...
  • Page 42 Requirements for commissioning 3.5 Access levels 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.
  • Page 43: Licensing

    Licensing SINUMERIK License Key Basic information on license keys If a license is required for a product, then with the purchase of the license the purchaser receives a CoL as proof for the rights to use this product and a corresponding license key as to the "technical representative"...
  • Page 44 Licensing 4.1 SINUMERIK License Key CompactFlash card as a spare part If the CompactFlash card of a SINUMERIK controller is replaced, for example, because of defective hardware, the license key loses its validity and the system is no longer operational. In case of defective hardware of the CompactFlash card, contact the "Technical Support".
  • Page 45: Web License Manager

    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.
  • Page 46: 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). CNC Commissioning: NC, PLC, Drive...
  • Page 47: How To Perform The Assignment

    Licensing 4.4 How to perform the assignment How to perform the assignment Assigning a license to a piece of hardware 1. Determine the hardware serial number and the product name ("type of hardware") on the user interface via the licensing dialog: Commissioning >...
  • Page 48: Important Licensing Terms

    Licensing 4.5 Important licensing terms Important licensing terms Certificate of License (CoL) The CoL is the proof of the → license. The product may only be used by the holder of the → license or authorized persons. The CoL includes the following data relevant for the license management: ●...
  • Page 49 Licensing 4.5 Important licensing terms 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.
  • Page 50 Licensing 4.5 Important licensing terms CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 51: Plc Commissioning

    PLC commissioning Connect PG/PC with the PLC 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 ●...
  • Page 52: Creating A Simatic S7 Project (Profibus)

    Note Loading the PLC (CP840) is essential for the configuration of the data path for saving/restoring the drive data. Additional information about the interface signals is provided in SINUMERIK 840D sl "PLC (https://support.industry.siemens.com/cs/ww/en/view/109767449)" Function Manual. Operating sequence You have started the SIMATIC Manager.
  • Page 53: Inserting Sinumerik Ncu To The Hw Config

    PLC commissioning 5.2 Creating a SIMATIC S7 project (PROFIBUS) 5.2.2 Inserting SINUMERIK NCU to the HW Config Overview Insert the necessary hardware in the following order in the S7 project: ● Insert a SIMATIC station 300 ● Start the hardware configuration ●...
  • Page 54 PLC commissioning 5.2 Creating a SIMATIC S7 project (PROFIBUS) 3. Double-click the symbol. The HW Config for introducing required hardware is started. 4. In the menu, select "View" > "Catalog". The catalog with the modules is displayed. ① Station window: ②...
  • Page 55 PLC commissioning 5.2 Creating a SIMATIC S7 project (PROFIBUS) Inserting a SINUMERIK NCU With the operating sequence described below, you insert the NCU 720.3 PN as example: 1. Select "View" > "Catalog". 2. Search for the module in the catalog under "SIMATIC 300" → "SINUMERIK" → "840D sl" > "NCU 720.3 PN".
  • Page 56: Configuring Interfaces

    PLC commissioning 5.2 Creating a SIMATIC S7 project (PROFIBUS) 5.2.3 Configuring interfaces 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 64) ●...
  • Page 57 PLC commissioning 5.2 Creating a SIMATIC S7 project (PROFIBUS) 4. The NCU module with SINAMICS S120 is inserted into the HW Config. Note With the key and confirmation of the prompt regarding "Reorganization", you can reorganize the display in the station window. 5.
  • Page 58 PLC commissioning 5.2 Creating a SIMATIC S7 project (PROFIBUS) 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.
  • Page 59 PLC commissioning 5.2 Creating a SIMATIC S7 project (PROFIBUS) Setting the isochronous mode on the PROFIBUS DP Procedure for configuring the PROFIBUS DP interface in the STEP 7 project: 1. Left-click to select an NCU, and while holding down the mouse button drag it to the "Station design"...
  • Page 60 PLC commissioning 5.2 Creating a SIMATIC S7 project (PROFIBUS) 5. Click "Options" and then the "Isochronous mode" tab. 6. To enable reproducible access to peripherals (for handwheel mode), the PROFIBUS DP must have a constant bus cycle time. The following entries are necessary under Isochronous mode: –...
  • Page 61 PLC commissioning 5.2 Creating a SIMATIC S7 project (PROFIBUS) 7. Click "OK" three times. 8. The NCU module with SINAMICS S120 is inserted in the HW Config. Note With the key and confirmation of the prompt regarding "Reorganization", you can reorganize the display in the station window.
  • Page 62: Augmenting The Machine Control Panel And Handwheel In The Hw Configuration

    PLC commissioning 5.2 Creating a SIMATIC S7 project (PROFIBUS) 5.2.4 Augmenting the machine control panel and handwheel in the HW configuration Sequence and requirements Configuring sequence for a PROFIBUS machine control panel: 1. Configuring the properties of the PROFIBUS DP interface. 2.
  • Page 63 PLC commissioning 5.2 Creating a SIMATIC S7 project (PROFIBUS) 5. Click "OK" twice. You can now assign the slots of the machine control panel with e.g. "Standard + handwheel". 6. In the hardware catalog, select "SINUMERIK MCP" → "Standard+Handwheel" and drag it to slot 1.
  • Page 64: Modifying Profibus Machine Control Panel In Ob100

    PLC commissioning 5.2 Creating a SIMATIC S7 project (PROFIBUS) 5.2.5 Modifying PROFIBUS machine control panel in OB100 Configuring the machine control panel 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.
  • Page 65: Configuring The Web Server

    An example for the connection via Industrial Ethernet (IE) can be found at: Modifying machine control panel in OB100 (Page 89) Additional information can be found in Chapter "Structure and Basic Program Functions" of the "PLC (https://support.industry.siemens.com/cs/ww/en/view/109767449)" Function Manual. 5.2.6 Configuring the Web server Operating sequence 1.
  • Page 66: Inserting An Nx To The Hardware Configuration

    PLC commissioning 5.2 Creating a SIMATIC S7 project (PROFIBUS) 3. Activate the option: "Activate the Web server on this module". After loading the configuration data, the Web server of the CPU is started to read information from the PLC. 4. Select the language for language-dependent texts to be loaded into the CPU. The number of available languages is CPU-dependent.
  • Page 67 PLC commissioning 5.2 Creating a SIMATIC S7 project (PROFIBUS) 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.
  • Page 68 PLC commissioning 5.2 Creating a SIMATIC S7 project (PROFIBUS) 5. Confirm the wiring notification with "OK". 6. After releasing the mouse key, you have inserted the NX module: When deleting and reinserting NX modules, while configuring, a new address area is assigned each time.
  • Page 69: End The Hardware Configuration And Load It To The Plc

    PLC commissioning 5.2 Creating a SIMATIC S7 project (PROFIBUS) 5.2.8 End the hardware configuration and load it to the PLC End the hardware configuration and load the to the PLC The project must be saved and compiled to exit the overall configuration and generate the system data for the PLC: 1.
  • Page 70: Extending The Simatic S7 Project (Profinet)

    PLC commissioning 5.3 Extending the SIMATIC S7 project (PROFINET) Extending the SIMATIC S7 project (PROFINET) 5.3.1 Requirements when configuring PROFINET PROFINET IO IRT (Isochronous Real Time) I/O modules and drives can use the isochronous PROFINET IO IRT. In addition to IRT, an RT communication is also possible by default.
  • Page 71 PLC commissioning 5.3 Extending the SIMATIC S7 project (PROFINET) Settings for isochronous operation NC-controlled drives connected via PROFINET must be operated isochronously with the same cycle clocks (Tdp, Ti and To) as the drives, which are connected via the integrated PROFIBUS. The cycle clock settings are made in STEP 7 (HW Config).
  • Page 72: Sample Configuration

    PLC commissioning 5.3 Extending the SIMATIC S7 project (PROFINET) 5.3.2 Sample configuration Configuration via PROFINET The SINAMICS S120 drives communicate via PROFINET interfaces X150 P1 and X150 P2 with the NCU. The drives assigned to the SINAMICS CU3x0-2 can be operated NC-controlled or PLC-controlled.
  • Page 73 PLC commissioning 5.3 Extending the SIMATIC S7 project (PROFINET) Sample configuration Figure 5-1 Configuration with 3 PROFINET axes Communication with the drive For instance, to establish a network connection from the plant/system network (X120) to the drive network (X150), we recommend that an alias IP address is allocated. In the operating area, select "Commissioning"...
  • Page 74: Commissioning The Plc

    PLC commissioning 5.3 Extending the SIMATIC S7 project (PROFINET) 5.3.3 Commissioning the PLC 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. ●...
  • Page 75 PLC commissioning 5.3 Extending the SIMATIC S7 project (PROFINET) 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.
  • Page 76 3. Infeed (optional) To do this, the following telegrams are recommended: – SIEMENS telegram 136, PZD-15/19 for a servo DO for an NC-controlled axis. – SIEMENS telegram 390, PZD-2/2 for the Control Unit: Telegram 390 is required for the time synchronization between the drive and the control system.
  • Page 77 PLC commissioning 5.3 Extending the SIMATIC S7 project (PROFINET) 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.
  • Page 78 PLC commissioning 5.3 Extending the SIMATIC S7 project (PROFINET) 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]"...
  • Page 79 PLC commissioning 5.3 Extending the SIMATIC S7 project (PROFINET) 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. 17.Double-click the "Details" button to open the "NCK" dialog: Here, enter "2"...
  • Page 80: Configuring Profisafe

    PLC commissioning 5.3 Extending the SIMATIC S7 project (PROFINET) 4. Confirm with "OK". 5. The following message is output regarding isochronous mode, which you must confirm with "Yes": 5.3.4 Configuring PROFIsafe Requirement In order to configure PROFIsafe, it is necessary that the "S7 configurations pack" option is installed.
  • Page 81 PLC commissioning 5.3 Extending the SIMATIC S7 project (PROFINET) 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.
  • Page 82: Complete The Plc Project

    PLC commissioning 5.3 Extending the SIMATIC S7 project (PROFINET) 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.
  • Page 83 PLC commissioning 5.3 Extending the SIMATIC S7 project (PROFINET) 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"...
  • Page 84 PLC commissioning 5.3 Extending the SIMATIC S7 project (PROFINET) 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: ●...
  • Page 85: Creating A Plc 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.
  • Page 86 PLC commissioning 5.4 Creating a PLC program Figure 5-3 PLC program structure 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).
  • Page 87: Preconditions For Creating The Plc Program

    PLC commissioning 5.4 Creating a PLC program ● Update the system status list ● Evaluate the parameterization objects of modules (as of SD100) and output the default parameters to all modules ● Process restart OB (OB100) ● Read in the process input image (PII) ●...
  • Page 88 PLC commissioning 5.4 Creating a PLC program 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.
  • Page 89: Modifying Machine Control Panel In Ob100

    PLC commissioning 5.4 Creating a PLC program 5.4.3 Modifying 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.
  • Page 90 PLC commissioning 5.4 Creating a PLC program OB100 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.
  • Page 91: Download The Project To The Plc

    PLC commissioning 5.5 Download the project to the PLC Download the project to the PLC Introduction For loading the configured PLC project, the following prerequisites must be fulfilled: Precondition ● An Ethernet network connection exists between STEP7 and the PLC. ●...
  • Page 92 PLC commissioning 5.5 Download the project to the PLC Operating sequence for loading system blocks into the module 1. To load the configuration of the system blocks change to the SIMATIC Manager. 2. In the SIMATIC Manager in the PLC directory, select the directory "Blocks" > right mouse button >...
  • Page 93: Loading Plc Symbols To The Controller

    PLC commissioning 5.6 Loading PLC symbols to the controller Loading PLC symbols to the controller 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.
  • Page 94: First Commissioning Of The Plc Completed

    PLC commissioning 5.7 First commissioning of the PLC completed First commissioning of the PLC completed First commissioning of the PLC completed To synchronize the PLC and NC, an NC reset (po) is required. The PLC and NC are in the following state after a reset (po): ●...
  • Page 95: Configuring A Network (Netpro) For Pg/Pc

    PLC commissioning 5.8 Configuring a network (NetPro) for PG/PC Configuring a network (NetPro) for PG/PC 5.8.1 Integrating PG/PC into NetPro 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 53)).
  • Page 96: Configuration Of The Pg/Pc Interface

    PLC commissioning 5.8 Configuring a network (NetPro) for PG/PC 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.
  • Page 97 PLC commissioning 5.8 Configuring a network (NetPro) for PG/PC Configuring interfaces on the PG/PC Procedure: 1. Mark the symbol "PG/PC" under NetPro. 2. Select "Object properties" . 3. In the displayed "Properties - PG/PC" dialog, select the "Interfaces" tab to configure the required interfaces.
  • Page 98 PLC commissioning 5.8 Configuring a network (NetPro) for PG/PC 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.
  • Page 99: Assigning Interfaces

    PLC commissioning 5.8 Configuring a network (NetPro) for PG/PC 5.8.3 Assigning interfaces 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. Operating sequence for assigning an Ethernet interface 1.
  • Page 100: Loading The Hw Config To Ncu

    PLC commissioning 5.8 Configuring a network (NetPro) for PG/PC 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.
  • Page 101 PLC commissioning 5.8 Configuring a network (NetPro) for PG/PC Operating sequence for loading HW config to the NCU 1. Change from "NetPro" to "HW Config". 2. Click the "Download to module" button. The two communication partners are automatically marked in the "Select target module" dialog 3.
  • Page 102 PLC commissioning 5.8 Configuring a network (NetPro) for PG/PC CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 103: Commissioning Nc-Controlled Drives

    Commissioning NC-controlled drives Configuration examples 6.1.1 Example: Configuration of the drive components 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: –...
  • Page 104 6.1 Configuration examples Figure 6-1 SINAMICS S120 example configuration Additional information about DRIVE-CLiQ components of the SINAMICS drive line-up is provided in: SINAMICS S120 Booksize Power Units (https://support.industry.siemens.com/cs/ww/en/view/ 109766188) Equipment Manual CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 105: Example: Parallel Connection With Tm120

    Commissioning NC-controlled drives 6.1 Configuration examples 6.1.2 Example: Parallel connection with TM120 Topology Application: Four motors connected in parallel M1 ... M4 Motor 1 ... motor 4 One KTY and three PTC in series are connected for each motor. Sensor Module (motor encoder) Active Line Module Double Motor Module Single Motor Module...
  • Page 106 Commissioning NC-controlled drives 6.1 Configuration examples 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.
  • Page 107: Terminal Assignment

    Commissioning NC-controlled drives 6.2 Terminal assignment Terminal assignment 6.2.1 NCU terminal assignment With the drive device configuration, the following terminals are pre-assigned on the NCU: ● X122 ● X132 ● X142 The terminal assignments for terminal strips X122, X132, X142 are listed in the following tables. 6.2.2 X122 terminal assignment Terminal...
  • Page 108: X132 Terminal Assignment

    Commissioning NC-controlled drives 6.2 Terminal assignment Terminal Signal name Function Pre-assign‐ ment X122.5 DI16 Freely available X122.6 DI17 Freely available X122.7 Ground for terminals 1...6 X122.8 Ground for terminals 9, 10, 12, 13 X122.9 DI/DO 8 Status safe standstill group 1 SH/SBC - Group 1 SINAMICS Safety Integrated X122.10...
  • Page 109: X142 Terminal Assignment

    Commissioning NC-controlled drives 6.2 Terminal assignment Terminal Signal name Function Pre-assign‐ ment X132.11 Ground for terminals 9, 10, 12, 13 X132.12 DI/DO 14 Input 2. Operating condition OFF2 drives Input, external zero mark 3 Input probe 2 - central measurement Input probe 2 - distributed measurement Infeed, control line contactor X132.13...
  • Page 110: Support For The Terminal Assignment

    Commissioning NC-controlled drives 6.2 Terminal assignment The SINAMICS device configuration sets the following preassignment: Number Function Signal Pre-assign‐ ment X122.1 DI 0 Input ON/OFF1 infeed (if one infeed with a DRIVE-CLiQ con‐ nection is operated at the NX) Input infeed operation - "infeed ready signal" (if no infeed with DRIVE-CLiQ connection is operated at the NX) X122.2 DI 1...
  • Page 111: Bico Interconnections

    Commissioning NC-controlled drives 6.2 Terminal assignment Figure 6-2 Interconnection of the digital inputs/outputs 6.2.7 BICO interconnections 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.
  • Page 112 The following dialog provides support for the BICO interconnection of the components on the SINAMICS drive line-up: Figure 6-3 Example: Interconnections Additional information is provided in Chapter "Function diagrams" in the SINAMICS S120/S150 List Manual (https://support.industry.siemens.com/cs/ww/en/view/109763271) CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 113: Guided Commissioning Of Sinamics Drives

    Commissioning NC-controlled drives 6.3 Guided commissioning of SINAMICS drives Guided commissioning of SINAMICS drives 6.3.1 Initializing the system 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.
  • Page 114 Commissioning NC-controlled drives 6.3 Guided commissioning of SINAMICS drives 3. Enter the password for the "Manufacturer" access level and confirm this with "OK". 4. Press the "Reset (po)" softkey and confirm with "Yes". The PLC then goes into the RUN state, and the commissioning of the SINAMICS drives is started with the device configuration.
  • Page 115: Device Configuration Of The Drive System

    Commissioning NC-controlled drives 6.3 Guided commissioning of SINAMICS drives 6.3.2 Device configuration of the drive system Automatic initial commissioning Procedure: 1. After the complete drive system has run-up, a dialog box for automatic device configuration is displayed: "A device configuration must be performed for the drive system (all drive units)." 2.
  • Page 116 Commissioning NC-controlled drives 6.3 Guided commissioning of SINAMICS drives 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. 5. Confirm with "OK", the "Configuration" dialog box then appears. Note Establish a defined initial state If the device configuration does not start automatically, device configuration has already been...
  • Page 117: Configuring The Infeed

    Commissioning NC-controlled drives 6.3 Guided commissioning of SINAMICS drives Configuration after initial commissioning The "Configuration" dialog contains a list of the connected components of the selected drive unit: 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).
  • Page 118 Commissioning NC-controlled drives 6.3 Guided commissioning of SINAMICS drives Procedure: 1. Select "Change >" to configure the infeed: 2. The characteristic data of the infeed detected by the automatic device configuration is displayed: The following functions can also be activated: –...
  • Page 119 Commissioning NC-controlled drives 6.3 Guided commissioning of SINAMICS drives – This option is selected if a Voltage Sensing Module has been detected. – If you activate the external brake control module option, the monitoring of the brake control module is activated. This requires the appropriate terminal wiring (parameter p3866 to terminal X21.4 for S120 Booksize,) to have been established, otherwise alarm 206900 is output.
  • Page 120 Commissioning NC-controlled drives 6.3 Guided commissioning of SINAMICS drives 3. Select "Next step >". The power data of the infeed is configured here: – When the checkbox is selected, the line/DC link identification is activated once the infeed pulse enable has been activated (p3410). The infeed then switches to operational mode. Note DC link identification If the line supply environment changes or the components on the DC link change (e.g.
  • Page 121 Commissioning NC-controlled drives 6.3 Guided commissioning of SINAMICS drives 4. Select "Next step >". 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.
  • Page 122 Commissioning NC-controlled drives 6.3 Guided commissioning of SINAMICS drives 5. Select "Next step >". All data with which the infeed has been configured is displayed in the summary: Select the option save "Text in the ../A_INF_02.txt file". 6. Select "Finish >" to complete the infeed configuration. CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 123 Commissioning NC-controlled drives 6.3 Guided commissioning of SINAMICS drives 7. Confirm with "OK ✓" to save the configuration data to a non-volatile memory. 8. Then the following overview (multiple pages) is displayed: CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 124: Configuration Of Two Infeeds Connected In Parallel

    Commissioning NC-controlled drives 6.3 Guided commissioning of SINAMICS drives 6.3.4 Configuration of two infeeds connected in parallel 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 ●...
  • Page 125 Commissioning NC-controlled drives 6.3 Guided commissioning of SINAMICS drives Topology Select the "Commissioning" → softkey "Drive system" → softkey "Topology" operating area: The two Line Modules are represented in the topology view: Infeeds connected in parallel The system detects that the infeed has not yet been commissioned and that initial commissioning is required: 1.
  • Page 126 Commissioning NC-controlled drives 6.3 Guided commissioning of SINAMICS drives 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.
  • Page 127: Configuring Drive Components

    = 1 Parallel connection, enabling of power units … Further information can be found in: ● SINAMICS S120 Drive Functions (https://support.industry.siemens.com/cs/ww/en/view/ 109763287) Function Manual, Chapter "Function modules" → "Parallel connection of power units". ● SINAMICS S120 Application example (https://support.industry.siemens.com/cs/ww/en/ view/109759667) "Parallel connection Active Line Modules in booksize format"...
  • Page 128 Commissioning NC-controlled drives 6.3 Guided commissioning of SINAMICS drives 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 129) ● Third-party motors (Page 135) 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;...
  • Page 129: Commissioning Catalog Motors With Encoder Using Smc

    Commissioning NC-controlled drives 6.3 Guided commissioning of SINAMICS drives 6.3.6 Commissioning catalog motors with encoder using SMC 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.
  • Page 130 "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). CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 131 Commissioning NC-controlled drives 6.3 Guided commissioning of SINAMICS drives 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"...
  • Page 132 Commissioning NC-controlled drives 6.3 Guided commissioning of SINAMICS drives 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.
  • Page 133 Commissioning NC-controlled drives 6.3 Guided commissioning of SINAMICS drives 9. Press "Next step >". 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 220)are generally correctly preassigned by the drive wizards.
  • Page 134 Commissioning NC-controlled drives 6.3 Guided commissioning of SINAMICS drives 14.Press "Next step >". 15.The configuration of a drive with listed motor has completed. You can check the configuration in the summary. 16.Press the "Finish >" softkey. 17.Confirm the query with "Yes". 18.The next section describes how you can configure a drive with a third-party motor and a second encoder.
  • Page 135: Commissioning A Third-Party Motor With Encoder Via Smc

    Commissioning NC-controlled drives 6.3 Guided commissioning of SINAMICS drives 6.3.7 Commissioning a third-party motor with encoder via SMC 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.
  • Page 136 Commissioning NC-controlled drives 6.3 Guided commissioning of SINAMICS drives 3. Press "Next step >". 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".
  • Page 137 Commissioning NC-controlled drives 6.3 Guided commissioning of SINAMICS drives 6. Press "Next step >". 7. Enter the data for the connected motor. 8. If you have activated the "Replacement circuit diagram data" option, press "Next step >" to open the following dialog: 9.
  • Page 138 Commissioning NC-controlled drives 6.3 Guided commissioning of SINAMICS drives 10.Press "Next step >". 11.Press "Next step >". If more than one encoder has been selected, press "Next step >" successively to parameterize each individual encoder: CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 139 Commissioning NC-controlled drives 6.3 Guided commissioning of SINAMICS drives 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. CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 140 Commissioning NC-controlled drives 6.3 Guided commissioning of SINAMICS drives 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.
  • Page 141 Commissioning NC-controlled drives 6.3 Guided commissioning of SINAMICS drives 17.Press "Next step >". 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. 19.Confirm the query with "Yes". If the system detects additional drive objects that have not yet been commissioned, you will be prompted to commission the next SERVO.
  • Page 142: First Commissioning Of Sinamics Drive Ended

    Commissioning NC-controlled drives 6.3 Guided commissioning of SINAMICS drives 6.3.8 First commissioning of SINAMICS drive ended Initial commissioning of the drives completed The initial commissioning of the SINAMICS S120 drives is completed. The unit configuration and parameterization has been completed successfully: ●...
  • Page 143: Manual Commissioning Of Sinamics Drives

    Commissioning NC-controlled drives 6.4 Manual commissioning of SINAMICS drives Manual commissioning of SINAMICS drives 6.4.1 Introduction to commissioning of SINAMICS drives Machine configuration Note "Manually commissioning" is recommended for experienced commissioning engineers. CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 144 Commissioning NC-controlled drives 6.4 Manual commissioning of SINAMICS drives Procedure: 1. Press the key. 2. Select the "Commissioning" operating area. 3. Press the "Drive system" softkey. CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 145: Activate The Factory Settings

    Commissioning NC-controlled drives 6.4 Manual commissioning of SINAMICS drives See also The following functions for commissioning the SINAMICS drives can be performed manually: ● Restore the factory settings (Page 145) ● Update the component firmware (Page 147) ● Configure the infeed and drives ●...
  • Page 146 Commissioning NC-controlled drives 6.4 Manual commissioning of SINAMICS drives Loading the factory settings Procedure: 1. You are in the "Commissioning" > "Drive system" operating area. 2. Press the "Factory settings >" softkey. 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).
  • Page 147: Firmware Update Of The Drive Components

    Commissioning NC-controlled drives 6.4 Manual commissioning of SINAMICS drives 4. Switch the system (de-energized drive system) off and on again. Wait until communication has been established again with the NC. 5. A message appears that an initial commissioning is required (Alarm 120402). You have the following options in this dialog: –...
  • Page 148 Commissioning NC-controlled drives 6.4 Manual commissioning of SINAMICS drives Loading firmware for the entire drive system Procedure: 1. Switch on the system. During run-up, it will be detected that an older firmware version is present. This causes the update to start automatically and the firmware is loaded from the CompactFlash card to all DRIVE-CLiQ components of the drive system (NCU and NX).
  • Page 149: Automatic Device Configuration

    Commissioning NC-controlled drives 6.4 Manual commissioning of SINAMICS drives 6.4.4 Automatic device configuration 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.
  • Page 150 Commissioning NC-controlled drives 6.4 Manual commissioning of SINAMICS drives 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.
  • Page 151 Commissioning NC-controlled drives 6.4 Manual commissioning of SINAMICS drives 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.
  • Page 152 Commissioning NC-controlled drives 6.4 Manual commissioning of SINAMICS drives 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": CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 153: Commissioning Using A Drive Wizard

    Commissioning NC-controlled drives 6.4 Manual commissioning of SINAMICS drives 6.4.5 Commissioning using a drive wizard 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) Operating sequence for drive configuration To start the drive configuration, select the "Commissioning"...
  • Page 154: Configuring Data Sets

    ● "Remove data set" if additional data sets have already been created. ● "Modify data set" You can find additional information in the "Basic Functions (https:// support.industry.siemens.com/cs/ww/en/view/109767455)" Function Manual. 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.
  • Page 155: Adding A Data Set

    Commissioning NC-controlled drives 6.5 Configuring data sets 6.5.2 Adding a data set 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: NC/PLC interface MDS/DDS DB31, ...
  • Page 156 Commissioning NC-controlled drives 6.5 Configuring data sets Example: Add a data set Procedure: 1. Select "Add data set" to add 4 motor data sets with 1 drive data set respectively (line 4 highlighted in blue in the figure at the top): 2.
  • Page 157 Commissioning NC-controlled drives 6.5 Configuring data sets 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. CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 158 Commissioning NC-controlled drives 6.5 Configuring data sets 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"...
  • Page 159: Remove Data Set

    Commissioning NC-controlled drives 6.5 Configuring data sets 6.5.3 Remove data set 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. CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 160 Commissioning NC-controlled drives 6.5 Configuring data sets Example: Remove a data set Procedure: 1. Select the "Remove data set" softkey: In Step 1, select the number of DDS which are to be deleted for each MDS. In this example, 1 MDS. 2.
  • Page 161 Commissioning NC-controlled drives 6.5 Configuring data sets Result The result is displayed in the "Data set overview" dialog: CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 162: Modify Data Set

    Commissioning NC-controlled drives 6.5 Configuring data sets 6.5.4 Modify data set Example: Modify data set If more than one encoder is assigned to the drive object, one encoder data set is assigned to each encoder. To change assignment of the data sets, select the "Modify data sets" softkey: Open the selection menu with the ...
  • Page 163: Diagnostics → Trace

    Commissioning NC-controlled drives 6.6 Diagnostics → Trace Diagnostics → Trace 6.6.1 Selecting variables for tracing "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"...
  • Page 164: Example: Trace Session With Servo Variables

    Commissioning NC-controlled drives 6.6 Diagnostics → Trace Example of a trace session with PLC variables (Page 172) Example of a trace session with drive variables (Page 174) Key combinations (Page 175) 6.6.2 Example: Trace session with servo variables Trace session sequence The trace session is subdivided into the following steps: ●...
  • Page 165 Commissioning NC-controlled drives 6.6 Diagnostics → Trace Creating a new session Procedure: 1. Select operating area "Diagnostics" → Menu forward key → "Trace" softkey. The list view opens: 2. Select softkey "Insert variable >" to open the list of variables. 3.
  • Page 166 Commissioning NC-controlled drives 6.6 Diagnostics → 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.
  • Page 167: Example: Zooming In/Zooming Out

    Commissioning NC-controlled drives 6.6 Diagnostics → Trace Trace result The following graphic is displayed after the trace has been stopped: Select the "≪ Back" softkey to save the session. Select what you wish to save with the "Save trace >" softkey: Variables and settings with or without recorded values (graphic).
  • Page 168 Commissioning NC-controlled drives 6.6 Diagnostics → Trace 5. Select the "Zoom +" softkey or the <+> softkey to enlarge the image section. Using the cursor keys, you can move the image section: 6. You can undo the action using keys + : CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 169 Commissioning NC-controlled drives 6.6 Diagnostics → Trace Alternative: Zoom with image section Procedure: 1. Select the "Zoom area >" softkey, to select a defined zoom area: 2. Select the "Zoom +" softkey or the <+> softkey to enlarge the image section. 3.
  • Page 170 Commissioning NC-controlled drives 6.6 Diagnostics → Trace Alternative: Zoom using the mouse Procedure: 1. While keeping the key pressed, using theleft-handmouse key, drag the section of the screen that you wish to zoom into: 2. Zoom result after releasing the left-hand mouse key: 3.
  • Page 171: Example: Changing The Scale

    Commissioning NC-controlled drives 6.6 Diagnostics → Trace 6.6.4 Example: Changing the scale Changing the scale Procedure: 1. Select the "≪ Back" softkey to exit the zoom area. 2. Select the "Scale >" softkey to scale the graphic in the X and Y axes: 3.
  • Page 172: Example: Positioning The Cursor

    Commissioning NC-controlled drives 6.6 Diagnostics → Trace 6.6.5 Example: Positioning the cursor Positioning the cursor Procedure: 1. Select the "Cursors >" softkey and position the active cursor A at the required position. 2. Select the "Cursor B >" softkey and position the active cursor B at the required position. 3.
  • Page 173 Commissioning NC-controlled drives 6.6 Diagnostics → Trace 3. For example, select the following PLC signals: 4. Under "Settings", enter a recording duration of 50 seconds, for example. 5. Select softkey "View trace" followed by "Start trace". The outputs are set and reset while tracing. 6.
  • Page 174: Example: Trace Session With Drive Variables

    Commissioning NC-controlled drives 6.6 Diagnostics → Trace 6.6.7 Example: Trace session with drive variables Record the drive trace Procedure: 1. Open a new session for drive variables. 2. From the list, insert parameter r722 "CU digital inputs status": 3. Select the "Settings" softkey to enter the trigger condition: 4.
  • Page 175: Key Combinations To Use The Trace

    Commissioning NC-controlled drives 6.6 Diagnostics → Trace 7. Select softkey "View trace" followed by "Start trace". 8. The trace starts, if r722.1=1 and r722.2=1 are set ⇒ decimal value 6 and stops, which means if the trigger condition is satisfied. 6.6.8 Key combinations to use the trace Key combinations...
  • Page 176 Commissioning NC-controlled drives 6.6 Diagnostics → Trace With the cursor quickly to the right. Move the cursor quickly to the left. Zoom + Zoom - Undo the last action. CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 177: Diagnostics → Drive System

    Commissioning NC-controlled drives 6.7 Diagnostics → drive system Diagnostics → drive system 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.
  • Page 178 Commissioning NC-controlled drives 6.7 Diagnostics → drive system SINAMICS faults and alarms SINAMICS alarms can be of the alert (A = Alert) or fault (F = Fault) type: ● To activate the fault and warning buffer output for SINAMICS, set MD13150 $MN_SINAMICS_ALARM_MASK to the hexadecimal value "D0D".
  • Page 179: Modular Machine

    Commissioning NC-controlled drives 6.8 Modular machine Modular machine 6.8.1 What does "modular machine" mean? 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.
  • Page 180 Commissioning NC-controlled drives 6.8 Modular machine The "Commissioning" → "Drive system" → "Drive unit" operating area provides the following functions under "Configuration": ● "Configuration" > "Change >" (Page 186) – Change the name of the drive object – Change the name of the component –...
  • Page 181 Commissioning NC-controlled drives 6.8 Modular machine Drive unit - topology CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 182 Commissioning NC-controlled drives 6.8 Modular machine 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 –...
  • Page 183: Example: Topology Display (Graphic)

    Commissioning NC-controlled drives 6.8 Modular machine Example: Components without DRIVE-CLiQ To display components, which are not connected via DRIVE-CLiQ, in the "Display options", under "Filter" select the "off" option: 6.8.2 Example: Topology display (graphic) Topology display As an alternative to displaying the topology in a tabular form, it is shown graphically based on Create MyConfig .
  • Page 184 Commissioning NC-controlled drives 6.8 Modular machine 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: ●...
  • Page 185 Commissioning NC-controlled drives 6.8 Modular machine Actual topology The graphic topology display in the case of an error is shown using the "Actual topology" view: Figure 6-5 Actual topology - with error Precondition: It is assumed that the target topology has no error. As a consequence, the errors are only displayed in the actual topology.
  • Page 186: Modify Configuration

    Commissioning NC-controlled drives 6.8 Modular machine 6.8.3 Modify configuration Drive unit - Configuration "Change >" Procedure: 1. Press the "Change > " softkey to change the configuration. "Cancel" can be used backup the drive data if it does not yet exist. 2.
  • Page 187 Commissioning NC-controlled drives 6.8 Modular machine Drive unit - Configuration "Sort >" Procedure: 1. Press the "Sort >" softkey to open the display of the sort criteria. 2. Select one of the following sort criteria for the display from: – Drive object: The display is sorted according to the drive object number. –...
  • Page 188: Check Topology

    Commissioning NC-controlled drives 6.8 Modular machine 6.8.4 Check topology 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.
  • Page 189: Changing Topology

    Commissioning NC-controlled drives 6.8 Modular machine 6.8.5 Changing topology Drive unit - Topology "Change >" Procedure: 1. Press the "Change > " softkey to change the topology. "Cancel" backs up the drive data if it does not yet exist. 2. If a data backup is available, confirm with "OK". CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 190 Commissioning NC-controlled drives 6.8 Modular machine 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...
  • Page 191: Activating Or Deactivating A Drive Object

    Commissioning NC-controlled drives 6.8 Modular machine 6.8.6 Activating or deactivating a drive object Activating/deactivating drive objects Operating sequence: 1. Select with the arrow keys a drive object. 2. Press the "Activate/deactivate drive object" softkey 3. Follow the instructions in the information text. CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 192 Commissioning NC-controlled drives 6.8 Modular machine 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. Example series commissioning When commissioning several machines (series) of the same type, a drive object that is not present is marked with p0105 = 0.
  • Page 193: Deleting A Drive Object

    Commissioning NC-controlled drives 6.8 Modular machine 6.8.7 Deleting a drive object Deleting a drive object Procedure: 1. Navigate with the arrow keys to the drive object that is to be deleted. 2. Press the "Delete drive" softkey. A security prompt follows to delete the drive object. CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 194 Commissioning NC-controlled drives 6.8 Modular machine 3. If a data backup is available, confirm with "OK". The drive object is deleted from the target topology. 4. The see the change in the topology, the "Actual/target topology comparison" display options must be set: Result: The module can now be removed.
  • Page 195: Delete The Component

    Commissioning NC-controlled drives 6.8 Modular machine 6.8.8 Delete the component Delete the component Procedure: 1. You are in the "Topology" dialog and have selected the "Change" mode: 2. Navigate with the arrow keys to the component to be deleted. If you select a component, the "Delete component" softkey is active. CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 196 Commissioning NC-controlled drives 6.8 Modular machine 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.
  • Page 197: Adding Components

    Commissioning NC-controlled drives 6.8 Modular machine 6.8.9 Adding components 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. ●...
  • Page 198 Commissioning NC-controlled drives 6.8 Modular machine 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 >"...
  • Page 199: Replacing A Sinamics S120 Component

    Commissioning NC-controlled drives 6.8 Modular machine 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.
  • Page 200 Commissioning NC-controlled drives 6.8 Modular machine The following preconditions are satisfied: ● The two Motor Modules are of the same type. ● The serial number is different: ⇒ In this case, another configuration is not required. ● The difference between the two Motor Modules, for example, is 9 A instead of 5 A. Note Do not make a permanent change in the drive system.
  • Page 201: Example: Subsequently Installing A Component

    Commissioning NC-controlled drives 6.8 Modular machine 8. Add the new SMI/SMx motor component to the target topology using the "Commissioning" → "Drive system" → "Drive units" → "Topology" → "Add component" (Page 197) dialog. 9. Assign the added SMI/SMx motor component via the "Commissioning" → "Drive system" → "Drives"...
  • Page 202 Commissioning NC-controlled drives 6.8 Modular machine Overview of the drive state Using the "Activate drives" softkey, in the "Drive state overview" open a table listing all of the drive objects, which shows the actual state of parameter p0105: "Activate/deactivate drive objects".
  • Page 203 – Press the softkey "Accept" to activate the parameters and to execute a restart the system Reset (po). 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 CNC Commissioning: NC, PLC, Drive...
  • Page 204: Tips For Commissioning The Sinamics Drives

    Commissioning NC-controlled drives 6.9 Tips for commissioning the SINAMICS drives Tips for commissioning the SINAMICS drives 6.9.1 Displaying the firmware version of the drive components Firmware version of the drive components To check the version of the drive components, select in the "Commissioning" operating area → "Drive system"...
  • Page 205: Check The Line Data Of The Infeed

    Commissioning NC-controlled drives 6.9 Tips for commissioning the SINAMICS drives 6.9.2 Check the line data of the infeed Checking and setting the power data Finally, after commissioning the drive system, check the power data of the infeed module. In the operating area "Commissioning"...
  • Page 206: Mains And Dc Link Identification Of The Infeed Module

    Commissioning NC-controlled drives 6.9 Tips for commissioning the SINAMICS drives ● The actual line frequency for the infeed is determined automatically. In parameter p0284, p0285 you set the warning threshold at which an alarm is triggered (presetting of the monitoring function: 45 Hz to 65 Hz). ●...
  • Page 207: Rules For Wiring The Drive-Cliq Interface

    Commissioning NC-controlled drives 6.9 Tips for commissioning the SINAMICS drives Manual identification Further identification methods: ● p3410 = 4 (identify and save controller setting with L adaptation) An identification run for the total inductance and DC link capacitance is initiated when the pulses are next enabled: Two measurement routines with different current magnitudes.
  • Page 208 Commissioning NC-controlled drives 6.9 Tips for commissioning the SINAMICS drives 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. ●...
  • Page 209: Drive-Object Assignment For Profibus Connection

    Commissioning NC-controlled drives 6.9 Tips for commissioning the SINAMICS drives 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.
  • Page 210 Commissioning NC-controlled drives 6.9 Tips for commissioning the SINAMICS drives p0978[7] = 2 Infeed (ALM) p0978[8] = 0 p0978[n] = 0 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.
  • Page 211 Commissioning NC-controlled drives 6.9 Tips for commissioning the SINAMICS drives Assignment of p0978[0…9] for infeed without DRIVE-CLiQ connection: Component Index p0978 List of drive objects 1. Motor Module 2. Motor Module 3. Motor Module not found not found not found ALM (only if protocol 370 is available) not found not found...
  • Page 212 Commissioning NC-controlled drives 6.9 Tips for commissioning the SINAMICS drives Example: Drive group Using the example of a SINAMICS S120 drive line-up, the significance of the drive components on drive objects is shown: Each drive object has its own parameter list. Drive object DO3 comprises the following components: ③...
  • Page 213: Adjusting Speed And Brake Behavior

    Commissioning NC-controlled drives 6.9 Tips for commissioning the SINAMICS drives 6.9.6 Adjusting speed and brake behavior 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 ●...
  • Page 214 Commissioning NC-controlled drives 6.9 Tips for commissioning the SINAMICS drives CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 215: Communication Between The Nc And The Drive

    Communication between the NC and the drive Overview of NC and drive communication What will be configured next? The initial commissioning of the PLC and SINAMICS drives is completed. The machine data that communicates with the drive is: ● General machine data General machine data required for communication with the drive via PROFIBUS that has been preset with default values.
  • Page 216: Configuring The Communication To The Drive

    Communication between the NC and the drive 7.2 Configuring the communication to the drive Configuring the communication to the drive 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: ●...
  • Page 217 Communication between the NC and the drive 7.2 Configuring the communication to the drive 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].
  • Page 218: Configuring The I/O Address And Telegram

    Communication between the NC and the drive 7.3 Configuring the I/O address and telegram Configuring the I/O address and telegram PROFIBUS connection The following general machine data is also set by default for the PROFIBUS connection of the axes to the drive: ●...
  • Page 219 Communication between the NC and the drive 7.3 Configuring the I/O address and telegram Figure 7-3 Change 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. CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 220: Process Data Transfer Between The Nc And Drive

    Communication between the NC and the drive 7.4 Process data transfer between the NC and drive Process data transfer between the NC and drive 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.
  • Page 221 ● Receive words: Control words or setpoints ● Send words: Status words or actual values Further details are found in the following SINAMICS Manuals: ● SINAMICS S120 Function Manual (FH1) (https://support.industry.siemens.com/cs/ww/en/ view/109763287) in the Section "Communication" ● SINAMICS S120/S150 List Manual (LH1) (https://support.industry.siemens.com/cs/ww/en/ view/109763271) in the Section "Function block diagrams"...
  • Page 222: Drives: Assign Axis

    Communication between the NC and the drive 7.5 Drives: Assign axis Drives: Assign axis Condition The commissioning of the drives has been completed. Assigning drive and axis Procedure: 1. Press the "Drive system" → "Drives" softkeys in the "Commissioning" operating area. 2.
  • Page 223 Communication between the NC and the drive 7.5 Drives: Assign axis 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.
  • Page 224 Communication between the NC and the drive 7.5 Drives: Assign axis to an axis. The following also applies to a setpoint assignment: MD30130 $MA_CTRLOUT_TYPE[ ] = 1. Selecting the assignment procedure Select from the following procedures in the "Assignment Procedure" dialog: ●...
  • Page 225: Configuring Machine Axes

    Communication between the NC and the drive 7.6 Configuring machine axes Configuring machine axes 7.6.1 Axis assignment 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.
  • Page 226 Communication between the NC and the drive 7.6 Configuring machine 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: Figure 7-4 Axis assignment...
  • Page 227 Communication between the NC and the drive 7.6 Configuring machine axes Channel axis gaps Normally, using MD20070, a channel axis is assigned to one machine axis. Not every channel axis must be assigned to a machine axis. Each channel axis with MD20070 [n] = 0 is not assigned any machine axis and represents a channel axis gap.
  • Page 228: Axis Names

    Communication between the NC and the drive 7.6 Configuring machine axes Figure 7-5 Axis configuration with channel axis gap 7.6.2 Axis names 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:...
  • Page 229: Drive Assignment

    Communication between the NC and the drive 7.6 Configuring machine axes MD20060 $MC_AXCONF_GEOAX_NAME_TAB [n] (geometry axis in the channel) The names for channel and geometry axes are used in the part program for programming general traversing movements and to describe the workpiece contour. ●...
  • Page 230 Communication between the NC and the drive 7.6 Configuring machine axes 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: –...
  • Page 231: Nc Commissioning

    NC commissioning Machine and setting data Setting machine data Adaptation of the control at the machine is performed using the machine and setting data. ● The machine data (MD) is divided into the following areas: – General machine data – Channel-specific machine data –...
  • Page 232 Changes to the setting data always take effect immediately. A complete description of the machine data and setting data is provided in the List Manual Machine Data and Parameters (https://support.industry.siemens.com/cs/ww/en/view/ 109769179) CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 233: Procedure When Commissioning The Nc

    NC commissioning 8.2 Procedure when commissioning the NC Procedure when commissioning the NC NC commissioning We recommend the following sequence when commissioning the NC: Procedure Reference ① Parameter sets of axis/spindle ● Velocities, setpoint/actual value systems, closed-loop control ● Spindles ②...
  • Page 234 – Various NC/PLC interface signals and functions ● "Monitoring and Compensating" (https://support.industry.siemens.com/cs/ww/en/view/ 109767451) – Axis monitoring functions – Compensations ● "Axes and Spindles" (https://support.industry.siemens.com/cs/ww/en/view/109767454) Function Manual – Velocities, setpoint/actual value systems, closed-loop control – Positioning axes – Homing – Spindles –...
  • Page 235: Memory Configuration

    NC commissioning 8.3 Memory configuration Memory configuration 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‚...
  • Page 236: Friction Compensation With Adaptive Characteristics

    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.
  • Page 237: Axis Selection And Status Display

    NC commissioning 8.4 Friction compensation with adaptive characteristics 8.4.1 Axis selection and status display What is displayed in this dialog? In the dialog "Axis selection for automatic tuning", for each channel, select the axes for automatic friction compensation. Automatic tuning: Before starting automatic tuning: For Automatic tuning, in a channel, select several axes that should be automatically tuned one after the other.
  • Page 238: Friction Compensation - Automatic Tuning

    NC commissioning 8.4 Friction compensation with adaptive characteristics 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.
  • Page 239: Friction Compensation - Manual Tuning

    NC commissioning 8.4 Friction compensation with adaptive characteristics 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. Designation Unit Machine data Radius (linear axis) SD55820 $SCS_FRICT_OPT_RADIUS Radius (rotary axis) °...
  • Page 240 NC commissioning 8.4 Friction compensation with adaptive characteristics 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.
  • Page 241 NC commissioning 8.4 Friction compensation with adaptive characteristics 5. The first step with the first feedrate of the measurement series is selected. Enter the friction compensation values in the following entry fields: Input field Unit Machine data Amplitude [mm/min] MD32571 $MA_FRICT_VELO_STEP or [°/min] Decay time MD32574 $MA_FRICT_V_PULSE_DECAY_TIME...
  • Page 242: Data List

    NC commissioning 8.4 Friction compensation with adaptive characteristics ● "Previous step" softkey to return to the previous feedrate. ● "Data list" softkey to switch to the list of machine data. ● "Cancel" softkey to cancel the recording and reject the entries. ●...
  • Page 243 NC commissioning 8.4 Friction compensation with adaptive characteristics Step 4 of 8: 140 mm/min Amplitude: 23.848 mm/min Decay time: 0.038 s Step 5 of 8: 1060 mm/min Amplitude: 84.688 mm/min Decay time: 0.015 s Step 6 of 8: 1410 mm/min Amplitude: 90.018 mm/min Decay time: 0.014 s Step 7 of 8: 1770 mm/min...
  • Page 244: Friction Compensation With Torque Injection Pulse

    NC commissioning 8.4 Friction compensation with adaptive characteristics 8.4.6 Friction compensation with torque injection pulse Parameterizing machine data The following axis machine data must be parameterized in order to use an acceleration- dependent torque injection pulse also for friction compensation: Designation Unit Machine data...
  • Page 245 NC commissioning 8.4 Friction compensation with adaptive characteristics 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. CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 246: Nodding Compensation

    NC commissioning 8.5 Nodding compensation Nodding compensation 8.5.1 Measuring technique and machine data 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: ●...
  • Page 247 MD37326 $MA_NOCO_ADAPT_POS_AX_2 MD37336 $MA_NOCO_ADAPT_POS_AX_3 MD37318 $MA_NOCO_COMPLIANCE_1 Nodding compensation compliance fac‐ MD37328 $MA_NOCO_COMPLIANCE_2 MD37338 $MA_NOCO_COMPLIANCE_3 Additional information is provided in Chapter "Compensations" in the "Monitoring and Compensating (https://support.industry.siemens.com/cs/ww/en/view/109767451)" Function Manual. CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 248: Nodding Compensation - Overview

    NC commissioning 8.5 Nodding compensation 8.5.2 Nodding compensation - overview What is displayed in this dialog? A summary of the following data is provided in the "Nodding compensation" overview: ● Accelerating axis: Axis, which results in nodding motion. ● Compensated axis: Machine axis, whose nodding motion is compensated. ●...
  • Page 249: Determining Compliance From The Best Milling Path

    NC commissioning 8.5 Nodding compensation Activating/deactivating nodding compensation To analyze the effect of the nodding compensation on the machining, you can deactivate individual or all compensation relationships without deleting the original parameterization. Deactivation is useful for the following applications: ● Diagnostics and problem analysis: The effect of a specific compensation relationship on the workpiece surface should be tested.
  • Page 250: Nodding Compensation - Manually Enter

    NC commissioning 8.5 Nodding compensation 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. Accelerating axis: Geometry axes X, Y, Z Compensated axis: Machining plane G17: Z axis Type of machining: [no] path milling only...
  • Page 251: Determining Compliance Using A Probe

    NC commissioning 8.5 Nodding compensation Procedure without adaptation: 1. Select first the accelerating axis and then the compensated axis. This can also be the same axis. 2. If no position dependency exists, then accept the default setting "No". 3. Enter the compliance factor. Procedure with adaptation: 1.
  • Page 252 NC commissioning 8.5 Nodding compensation 3. Create a part program which comprises the following components: – Trigger tag $AN_CUTRACE – Dwell time of at least 200 ms in order that the offset of the probe can be taken into consideration in the graphic representation. –...
  • Page 253: Example: Traveling Column Machine

    NC commissioning 8.5 Nodding compensation 8.5.6 Example: Traveling column machine Before tuning The nodding motion of the Z axis when traversing in the Y direction is measured with a probe: CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 254 NC commissioning 8.5 Nodding compensation After tuning Measurement with a compliance value of 20 μm: CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 255: Adaptations

    NC commissioning 8.6 Adaptations Adaptations 8.6.1 Intelligent load adjustment – function 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 ●...
  • Page 256 NC commissioning 8.6 Adaptations ● Torque feedforward control ● Drive adaptation factor 1 ... 4: A maximum of 4 drive variables from parameter p2782[0...3] "Mode adaptation" can be adapted. – Kp speed controller P gain adaptation speed – Tn speed controller integral time adaptation speed –...
  • Page 257: Intelligent Dynamic Response Adjustment - Function

    NC commissioning 8.6 Adaptations Constraints 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 220) 146, 148 or 149 is required.
  • Page 258 NC commissioning 8.6 Adaptations 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. The following control parameters can be adapted: ●...
  • Page 259: Commissioning The Function

    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.
  • Page 260 NC commissioning 8.6 Adaptations Adaptations – Overview Example of an adaptation: In this dialog, all adaptations are shown in a tabular overview. The dynamic response and control parameters can be adjusted as functions of the following input variables: ● Moment of inertia ●...
  • Page 261: Example: Enter An Adaptation For Acceleration

    NC commissioning 8.6 Adaptations ● Press the "Diagnostics" softkey to display the currently effective values. ● Press the "Delete" softkey to delete the selected adaptation table. 8.6.4 Example: Enter an adaptation for acceleration Objective The acceleration (DYNROUGH) of the X axis should be adapted as a function of the moment of inertia of the X axis.
  • Page 262 NC commissioning 8.6 Adaptations Result The adaptation table is shown in the "Adaptations - Overview" dialog: CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 263: Jerk Filter

    NC commissioning 8.7 Jerk filter Jerk filter 8.7.1 Putting a jerk filter into operation Benefits Reducing the mechanical vibrations generated in the machine can enable a higher surface quality to be achieved. When milling freeform surfaces, it can be advantageous to smooth the position setpoint characteristics of the machine axes by means of a jerk filter.
  • Page 264: Entering New Jerk Filter

    The online help of SINUMERIK Operate supports you when entering jerk filters. Additional information on the input of jerk filters and the switchover of position setpoint filter chains is provided in the Axes and Spindles (https://support.industry.siemens.com/cs/ww/en/ view/109767454) Function Manual. 8.7.2...
  • Page 265 You can find additional information on CALCFIR in the NC Programming (https:// support.industry.siemens.com/cs/ww/en/view/109767448) Programming Manual. Double moving average calculation Enter the time constants for the delay time for the selected axis.
  • Page 266 NC commissioning 8.7 Jerk filter Use the "Change" softkey to adjust the parameters of the jerk filter. The filter type is activated in the following axis machine data using a "Reset (po)": MD32402 $MA_AX_JERK_MODE = x2 in the 1st position setpoint filter ladder MD32402 $MA_AX_JERK_MODE = 2x in the 2nd position setpoint filter ladder ⇒...
  • Page 267: Diagnosis → System Utilization

    NC commissioning 8.8 Diagnosis → System utilization Diagnosis → System utilization System utilization The channel-specific system utilization is displayed in the "Diagnostics" → Menu forward key → "System utilization" operating area: Total system utilization in milliseconds [ms]: MD10050 $MN_SYSCLOCK_CYCLE_TIME (system base cycle) Component Current value display Position controller...
  • Page 268 NC commissioning 8.8 Diagnosis → System utilization CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 269: Configuring Plc-Controlled Drives

    Configuring PLC-controlled drives Introduction Commissioning of PLC-controlled drives The following tools support the commissioning of PLC-controlled drives: ● SINUMERIK Operate: – Guided commissioning (Page 113) with the drive wizard for drive objects. – Manual commissioning (Page 143) performed by experienced commissioning engineers.
  • Page 270: Configuration Via Profibus

    ● CU320-2 DP / CU320-2 PN The following applies to PLC-controlled drives: ● Controlled directly from the PLC program. ● Integration in the part program sequence by means of auxiliary functions (H command). Quantity framework SINUMERIK 840D sl Scaling 710.3B PN 720.3B PN 730.3B PN Drives (drive control DOs) in total ●...
  • Page 271 Configuring PLC-controlled drives 9.2 Configuration via PROFIBUS Extending the quantity framework With MD13160 $MN_SINAMICS_MAX_SLAVE_ADDRESS >0, all SINAMICS drives whose bus address or device number (n +1) is greater than the entered value (n) are operated on the PLC as standard slaves according to the PROFIdrive profile and are not included in the NC quantity framework according to the above table.
  • Page 272: Example: Configuration Of The Drive Components

    Configuring PLC-controlled drives 9.2 Configuration via PROFIBUS 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.
  • Page 273: Commissioning The Plc

    Configuring PLC-controlled drives 9.2 Configuration via PROFIBUS In this section, the following will be put into operation: ● CU320-2 DP with an infeed (Line Module) and a Double Motor Module. 9.2.3 Commissioning the PLC Overview The following steps are carried out when commissioning drives controlled from a PLC for the first time: 1.
  • Page 274 Configuring PLC-controlled drives 9.2 Configuration via PROFIBUS Inserting an S120 CU320-2 DP component Procedure: 1. Navigate in the catalog to "PROFIBUS DP" → "SINAMICS" → "SINAMICS S120" → "S120 CU320-2 DP": 2. Keeping the left mouse key pressed, drag the "S120 CU320-2 DP" in the station window to PROFIBUS (1): DP master system.
  • Page 275 Configuring PLC-controlled drives 9.2 Configuration via PROFIBUS 3. After releasing the mouse key, configure the properties of the SINAMICS PROFIBUS interface: 4. Confirm with "OK". 5. In the "Version" selection box, select the firmware version of the Control Unit. Note The firmware version must match the version of the CompactFlash card on the CU320-2 DP.
  • Page 276 – "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. CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 277 Configuring PLC-controlled drives 9.2 Configuration via PROFIBUS 11.Change under "Configuration" to the "Details" view in order to display the associated generated input and output addresses for the individual objects: 12.Confirm with "OK". To support automatic device commissioning, the input and output addresses must be identical because the addresses in the PLC program are required for the FB283.
  • Page 278 Configuring PLC-controlled drives 9.2 Configuration via PROFIBUS Result Saving/compiling/loading into the module Procedure: 1. Select the "Station" → "Save and compile" menu. 2. Click the "Load in module" button to load the configuration to the PLC (Page 69). In the next step, you create the PLC program. CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 279: Creating A Plc Program

    P#DBno.DBXm.n byte x Here, generally the axis DB is used, i.e. in the pointer, the same DB number must be specified as formal parameter "NR_ACHS_DB". The length of the pointer is 30 bytes for Siemens telegram 136. RD_PZD Any P#Mm.n byte x Target range for process data, slave →...
  • Page 280 Configuring PLC-controlled drives 9.3 Creating a PLC program 6. Edit the OB1, FC70 and FC73 blocks in accordance with the following examples. Example of OB1: … CALL FC70 CALL FC73 … Example of FC70: CALL FB283, DB283 NR_ACHS_DB := 111 LADDR := 272 //Logical I/O address LADDR_DIAG := 8186...
  • Page 281: Commissioning Plc Drives

    Configuring PLC-controlled drives 9.4 Commissioning PLC drives Commissioning PLC drives Automatic device configuration Procedure: 1. Select the "Commissioning" → "Drive system" operating area. 2. Confirm with "OK". You will then be guided through the individual steps of the automatic device configuration. 3.
  • Page 282 Configuring PLC-controlled drives 9.4 Commissioning PLC drives Diagnostics The status is likewise displayed in the "Diagnostics" → "Axis diagnostics" → "Service axis" operating area with the selection "Drives without NC axis assignment". CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 283: Checking The Communication To The Drive

    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: ●...
  • Page 284: Safety Functions For Plc Drives

    (https:// support.industry.siemens.com/cs/ww/en/view/109763292) Function Manual ● Product announcement (https://support.industry.siemens.com/cs/de/en/view/109748675) – SINUMERIK 840D sl Safety Integrated Function Manual – SINUMERIK 840D sl Safety Integrated plus Commissioning Manual 9.6.1 Configuring PROFIsafe Requirement In order to configure PROFIsafe, it is necessary that the "S7 Configurations Pack" option is installed.
  • Page 285 Configuring PLC-controlled drives 9.6 Safety functions for PLC drives Configuring the operating sequence for PROFIsafe Procedure: 1. For this telegram, select the PROFIsafe telegram 30 in the "Option" selection field. 2. Under the "Details" tab, set the input/output addresses. The PROFIsafe option requires an additional 6 bytes.
  • Page 286 Configuring PLC-controlled drives 9.6 Safety functions for PLC drives 4. To change the "F_Dest_Add" parameter, select "F_Dest_Add" in the "Parameter Name" column and click the "Change value ..." button. 5. Check the following values/settings: – The value of the "F_Dest_Add" parameter must be entered as a hexadecimal value in p9610 and p9810 of the corresponding drive (e.g.
  • Page 287: Example: Embedding In Safe Programmable Logic (Spl)

    Configuring PLC-controlled drives 9.6 Safety functions for PLC drives Result of the PROFIsafe configuring 9.6.2 Example: Embedding in safe programmable logic (SPL) Introduction The following machine data and files must be taken into account when embedding telegram 30 in a safe programmable logic: ●...
  • Page 288 Configuring PLC-controlled drives 9.6 Safety functions for PLC drives NC machine data The SPL PROFIsafe configuration for the basic safety functions STO without SSI are then shown: Archive excerpt Comment CHANDATA(1) N10385 $MN_PROFISAFE_MASTER_ADDRESS='H50007d2' N10386 $MN_PROFISAFE_IN_ADDRESS[0]='H50000c8' ;=> entry from HW Config N10387 $MN_PROFISAFE_OUT_ADDRESS[0]='H50000c8' ;=>...
  • Page 289 Configuring PLC-controlled drives 9.6 Safety functions for PLC drives Program example Comment "CU320_A".Speed_Control.WR_PZD_DREHZAHL.STW1.Aus1 ; CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 290 Configuring PLC-controlled drives 9.6 Safety functions for PLC drives CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 291: Drive Tuning

    – Example, function generator: Speed setpoint after the filter (Page 331) The SINUMERIK Operate Online Help provides more detailed, context-related in‐ formation on the parameterization of the "Automatic Servo Tuning". Further information can be found in: ● "Axes and Spindles (https://support.industry.siemens.com/cs/ww/en/view/109767454)" Function Manual ● "Monitoring and Compensating (https://support.industry.siemens.com/cs/ww/en/view/ 109767451)"...
  • Page 292: Function Overview For The Tuning

    Drive tuning 10.2 Function overview for the tuning 10.2 Function overview for the tuning Commissioning → Tuning/test The following functions are available to support the commissioning: ● Automatic servo tuning ● Measuring functions (Page 316) (current control loop, speed control loop, position control loop) ●...
  • Page 293: Automatic Servo Tuning

    Drive tuning 10.3 Automatic servo tuning 10.3 Automatic servo tuning Which functions are available? The following options are available for automatically tuning an axis: ● Selection of an individual axis for tuning ● Selection of a strategy from many options ●...
  • Page 294 Drive tuning 10.3 Automatic servo tuning Condition for AUTO mode 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: ●...
  • Page 295 ● The manufacturer cycles are available, and when required a parameter set switchover is set Additional information about the cycles and a description of the syntax are provided in Chapter "Automatic Retuning" in the "Axes and Spindles (https://support.industry.siemens.com/cs/ww/ en/view/109767454)" Function Manual. CNC Commissioning: NC, PLC, Drive...
  • Page 296: Selecting The Tuning Strategy

    Drive tuning 10.3 Automatic servo tuning 10.3.2 Selecting the tuning strategy Default setting for "Axis" strategy For a predominantly automatic sequence in the JOG mode the following selection is recommended: Select a tuning strategy for axis, speed controller and position controller using softkey "Select strategy >".
  • Page 297 Drive tuning 10.3 Automatic servo tuning Example for "Axis": Strategy 108 When selecting "User-defined strategy (108)" for the axis, all options are active and can be set using the "Adapt strategy" softkey: Figure 10-3 User-defined strategy (108) - example Further, additional strategies that can be combined with a tuning objective are available in the list.
  • Page 298 Drive tuning 10.3 Automatic servo tuning 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. –...
  • Page 299 Drive tuning 10.3 Automatic servo tuning Example for "Position": Strategy 203 Figure 10-5 Strategy: Position control loop - example The value for reducing the servo gain factor and its upper limit depends on the selected tuning objective. ● Reduce servo gain factor The maximum servo gain factor is calculated from the automatic servo tuning;...
  • Page 300: Example: This Is How You Tune The X Axis

    Drive tuning 10.3 Automatic servo tuning ● 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.
  • Page 301 Drive tuning 10.3 Automatic servo tuning WARNING Avoiding unwanted axis movements Automatic servo tuning is based on the analysis of measurements. These measurements require the axis to move. Carefully ensure that all axes are in a safe position and no collisions will occur during the traversing motion that is required.
  • Page 302 Drive tuning 10.3 Automatic servo tuning 4. In dialog "Axis selection", select the X axis: 5. Start the measurement with the "Tune" softkey. 6. Confirm the "Axis park position" with "OK". Two measurements are performed. CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 303 Drive tuning 10.3 Automatic servo tuning 7. Follow the instructions by pressing . After the measurements have been successfully made, the tuned values of the parameters are output: 8. Softkey "Accept", to activate the parameters and exit tuning. 9. OR: Enter suitable values in column "Manual" and confirm using softkey "Accept", to activate the parameters and exit tuning: 10.After completion of the measurement, you can display the complete tuning log: "Tuning log"...
  • Page 304: Example: This Is How You Tune The Y Axis

    Drive tuning 10.3 Automatic servo tuning Result for the X axis After confirming with "OK", you get the following result: 10.3.4 Example: This is how you tune the Y axis Tuning the Y axis WARNING Avoiding unwanted axis movements Automatic servo tuning is based on the analysis of measurements. These measurements require the axis to move.
  • Page 305 Drive tuning 10.3 Automatic servo tuning Procedure: 1. The options and strategies that have been set remain valid. 2. In dialog "Axis selection" select the Y axis: 3. Start the measurement with the "Tune" softkey. 4. Confirm the "Axis park position" with "OK". Two measurements are performed. 5.
  • Page 306 Drive tuning 10.3 Automatic servo tuning 7. OR: Enter suitable values in column "Manual" and confirm using softkey "Accept", to activate the parameters and exit tuning: 8. After completion of the measurement, you can display the complete tuning log: "Tuning log" softkey.
  • Page 307: Example: This Is How You Start To Tune The Path Interpolation

    Drive tuning 10.3 Automatic servo tuning 10.3.5 Example: This is how you start to tune the path interpolation Interpolation of the axes Procedure: 1. Softkey "Path interpolation", to select the axes for path interpolation. Softkey "Tune" to start measurements. 2. Softkey "Select strategy", to check the interpolation strategy: The following parameters are adapted: –...
  • Page 308 Drive tuning 10.3 Automatic servo tuning You set a user-defined strategy for path interpolation using softkey "Adapt strategy". 3. Once tuning has been completed, the tuned values are shown for the following parameters: Softkey ">>", to switch over the vertical softkey bar for further processing: –...
  • Page 309 Drive tuning 10.3 Automatic servo tuning Result The tuned axis data are activated in the associated machine data using softkey "Accept": Documenting the result The following reports are available to document the measurement results: ● After each individual axis has been tuned ●...
  • Page 310: Example For Experts: Axis Tuning

    Drive tuning 10.3 Automatic servo tuning 10.3.6 Example for experts: Axis tuning Axis: User-defined strategy (108) Manual setting of the measurement parameters The tuning objective can be directly entered in "Speed" or "Position". Alternatively, a predefined strategy (102, etc.) can be selected, accepted with "Adapt strategy" and then changes can be made.
  • Page 311 Drive tuning 10.3 Automatic servo tuning The following functions are deactivated if they are used: ● Axis: MD32220 $MA_POSCTRL_INTEGR_ENABLE = 0 MD32610 $MA_VELO_FFW_WEIGHT = 1.0 (should always be 1) MD32930 $MA_POSCTRL_OUT_FILTER_ENABLE = 0 ● Drive: If the Advanced Position Control (APC) function module is activated: p3700.0 = 0 Velocity control configuration: p1400.5 = 0 The speed controller adaptation is deactivated.
  • Page 312 Drive tuning 10.3 Automatic servo tuning 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.
  • Page 313: Spindle Optimization (Automatic)

    Drive tuning 10.4 Spindle optimization (automatic) 10.4 Spindle optimization (automatic) Benefits The automatic spindle optimization function supports you in the following scenarios: ● Controller optimization in the various modes: Axis mode and spindle mode. To this end, the speed controller, position controller, and feedforward control are optimized. ●...
  • Page 314 Drive tuning 10.4 Spindle optimization (automatic) Optimization strategy Different optimization strategies are used, depending on the operating range of the spindle: ● A robust setting is selected for speed controller and position controller for the spindle operation and tapping. The optimization aggressiveness is reduced for the spindle and the servo gain factor is limited to 3 [1000/min].
  • Page 315 Drive tuning 10.4 Spindle optimization (automatic) Constraints The operating range is currently limited to the following: ● Only one gear stage can be optimized. ● The spindle cannot be optimized in axis mode. ● Only one spindle can be selected for the path calibration when tapping. CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 316: Measuring Functions (Manual Tuning)

    Drive tuning 10.5 Measuring functions (manual tuning) 10.5 Measuring functions (manual tuning) Explanation of the measuring functions A range of measuring functions allows the time and frequency response of drives and controls to be displayed in graphical form on the screen. For this purpose, test signals with an adjustable interval are connected to the drives.
  • Page 317 Drive tuning 10.5 Measuring functions (manual tuning) Preconditions for starting measuring functions To ensure that no erroneous traversing movements due to part programs can be carried out, the measuring functions have to be started in mode. 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.
  • Page 318: Measurement Of Current Control Loop

    Drive tuning 10.5 Measuring functions (manual tuning) ● No controller enabling command ● Canceling drive enable ● Canceling traversing enable ● Selection of parking (in position-controlled operation). ● Feed override = 0% ● Spindle override = 50% ● Change in operating mode (JOG) or operating mode JOG not selected ●...
  • Page 319 Drive tuning 10.5 Measuring functions (manual tuning) Measuring procedure For the following measuring types, the current setpoint filter is not involved: Measuring type Measured quantities Recommended measuring type for experts: This measuring type is recommended for vertical axes. Torque-generating current setpoint (input) ●...
  • Page 320: Speed Control Loop Measurement

    Drive tuning 10.5 Measuring functions (manual tuning) 3. Press the "Meas. parameters >" softkey to adapt the parameters for a measurement. Measurement parameters: – Amplitude: Magnitude of the test signal amplitude. Given in percent of the peak torque. Values from 1 % to 5 % are suitable. –...
  • Page 321 Drive tuning 10.5 Measuring functions (manual tuning) Measuring functions The following measuring functions are available for measuring the speed control loop: Measuring type Waveform Measured variable (in‐ Measured value (out‐ put) put) Reference frequency response (af‐ PBRS Speed setpoint after the Actual speed value mo‐...
  • Page 322 Drive tuning 10.5 Measuring functions (manual tuning) Measurement sequence The measurement sequence is divided into the following steps: 1. Set the traversing range monitoring and release logic. 2. Select the type of measurement: 3. Press softkey "Meas. parameters >" to set the parameters. 4.
  • Page 323 Drive tuning 10.5 Measuring functions (manual tuning) 5. A suitable filter parameterization is used to tune the dynamic response. Press the "Active filter" softkey. The following diagram shows the standard settings for a lowpass filter at 1999 Hz and a bandstop filter: 6.
  • Page 324: Example: Setting The Filter For The Following Error (Speed Control Loop)

    Drive tuning 10.5 Measuring functions (manual tuning) 10.5.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 ...
  • Page 325 Drive tuning 10.5 Measuring functions (manual tuning) Predefined measuring procedure The following measuring procedures are available for measuring the position control loop: Process Curve form Excitation Input signal Output signal point Reference frequen‐ PRBS Position set‐ Position setpoint Position actual value cy response point Position actual value en‐...
  • Page 326 Drive tuning 10.5 Measuring functions (manual tuning) Measurement sequence The measurement sequence is divided into the following steps: 1. Set the traversing range monitoring and release logic. 2. Select the type of measurement: 3. Press softkey "Meas. parameters >" to set the parameters. 4.
  • Page 327: Examples For The Measuring Methods (Position Control Loop)

    Drive tuning 10.5 Measuring functions (manual tuning) 10.5.5 Examples for the measuring methods (position control loop) Measuring type: Reference frequency response The reference frequency response measurement determines the transfer behavior of the position controller in the frequency range. The position actual value is taken from the active measuring system.
  • Page 328 Drive tuning 10.5 Measuring functions (manual tuning) 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.
  • Page 329: Function Generator

    Drive tuning 10.5 Measuring functions (manual tuning) ● 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.
  • Page 330 Drive tuning 10.5 Measuring functions (manual tuning) 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.
  • Page 331: Example, Function Generator: Speed Setpoint After The Filter

    Drive tuning 10.5 Measuring functions (manual tuning) ● "Stop" softkey to stop the function generator. ● "Parameter" softkey to adapt the parameter belonging to the connection point. 10.5.7 Example, function generator: Speed setpoint after the filter Example Function generator with connection point "Speed setpoint after filter": Description of parameters Parameter at the connection point "Speed setpoint after filter": CNC Commissioning: NC, PLC, Drive...
  • Page 332 Drive tuning 10.5 Measuring functions (manual tuning) 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. ●...
  • Page 333: Define Filter

    Drive tuning 10.6 Define filter 10.6 Define filter 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": Filter type Parameter 1 Parameter 2 Parameter 3 Parameter 4 PT1 low pass Time constant...
  • Page 334: Circularity Test

    Drive tuning 10.7 Circularity test 10.7 Circularity test 10.7.1 Circularity test: Function 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.
  • Page 335: Circularity Test: Performing The Measurement

    Drive tuning 10.7 Circularity test 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.
  • Page 336 Drive tuning 10.7 Circularity test Enter the following parameters to carry out a measurement: ● "Measurement": Selection of the two axes that are intended to be measured and selection of the measurement system. Parked encoders are not displayed for selection. ●...
  • Page 337: Circularity Test: Examples

    Drive tuning 10.7 Circularity test Displaying a graphic To display the measurement result as a graphic, press the "Graphic" softkey. Figure 10-9 Circularity test - display ⇒ additional actions: ● Press softkey "Full screen" to display the graphic on a full screen. If the active "Full screen"...
  • Page 338 Drive tuning 10.7 Circularity test Machine data for setpoint filter: ● MD32402 $MC_AX_JERK_MODE = Type 2 is recommended, type 1 is preset for compatibility reasons. Parameterizing a pure band-stop filter is expressly not recommended. ● MD32402 $MA_AX_JERK_MODE (filter type) and MD32410 $MA_AX_JERK_TIME > 0 is effective only if MD32400 $MA_AX_JERK_ENABLE = 1 is set.
  • Page 339 Drive tuning 10.7 Circularity test Parameters / machine data X axis Z axis p1463 SPEEDCTRL_REF_MODEL_FREQ 106.3 106.3 p1440 NUM_SPEED_FILTERS MD32610 $MC_VELO_FFW_WEIGHT MD32620 $MC_FFW_MODE MD32810 $MC_EQUIV_SPEEDCTRL_TIME 0.0022 0.0022 MD32400 $MC_AX_JERK_ENABLE MD32402 $MC_AX_JERK_MODE MD32410 $MC_AX_JERK_TIME 0.012 0.012 Example 2 for optimization This circle shows the effect of a slightly different time constant for the axial jerk filter. The time constant is adapted in order to correct this type of error: Parameters / machine data X axis...
  • Page 340: Circularity Test: Saving Data

    Drive tuning 10.7 Circularity test X1: active measuring system Parameter Z1: active measuring system Radius: 10.00000 mm Feedrate: 3000.00000 mm/min Measurement 1257 ms time: active measuring system active measuring system Representation Resolution: 0.01000 mm Representation: mean radius Radius: 9.98971 mm Delta R: 75.67665 μm 10.7.4...
  • Page 341 Drive tuning 10.7 Circularity test @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 [Abscissa values i : 0..P23]...
  • Page 342: Decision-Making Support For Apc And Apc Eco

    Drive tuning 10.8 Decision-making support for APC and APC ECO 10.8 Decision-making support for APC and APC ECO Conditions for Advanced Position Control There is a vibration on the load side of the axis (carriage, table) in the axis direction: ●...
  • Page 343 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.
  • Page 344 Drive tuning 10.8 Decision-making support for APC and APC ECO CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 345: Saving And Managing Data

    Saving and managing data 11.1 Saving data Time of the data backup The following times are recommended for performing a data backup: ● After commissioning ● After changing machine-specific settings ● After replacing a hardware component ● Before a software upgrade ●...
  • Page 346 Saving and managing data 11.1 Saving data What data is saved? Components data NC data ● 3D collision model ● Compile cycles ● Cycles – User cycles – Manufacturer cycles – Standard cycles ● Definitions ● NC active data – User data (GUD, LUD) –...
  • Page 347: Backup Of Plc Data

    Saving and managing data 11.1 Saving data 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 ●...
  • Page 348: Creating A Commissioning Archive

    Saving and managing data 11.1 Saving data Operating sequence for instantaneous image If you cannot create an original image, you can save an instantaneous image as an alternative. 1. Set the PLC to the STOP operating state. 2. Archive the PLC data. 3.
  • Page 349 Saving and managing data 11.1 Saving data Procedure: 1. To create a commissioning archive, select: "Commissioning" operating area → forward key → "Commissioning archives" → "Creating a commissioning archive" option: 2. Select the data to be backed up: – NC data: With/without compensation data –...
  • Page 350: Managing Data

    Saving and managing data 11.2 Managing data 11.2 Managing data 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).
  • Page 351: How To Transfer Data Within The Controller

    Saving and managing data 11.2 Managing data 11.2.1 How to transfer data within the controller Transfer data within the control NOTICE Protection of the machine For safety reasons, the machine and setting data should only be transferred when the enable is locked.
  • Page 352: How To Compare Data

    Saving and managing data 11.2 Managing data Loading data from a file 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.
  • Page 353: Example: Importing/Exporting Sinamics Lists

    Overview of SINAMICS lists The following data are processed using the Import/export SINAMICS lists options: ● Motor data list of a "third-party motor" (= not a Siemens motor) ● Valve data list of a SINAMICS S120 Hydraulic Linear Actor Module...
  • Page 354 Saving and managing data 11.2 Managing data CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 355: New Installation / Upgrading

    ● WinSCP and VNC Viewer For a reinstallation/upgrade, you require a bootable USB FlashDrive as an NCU service system. Additional information is provided in Chapter "Generate service system" in the Operating system NCU (IM7) (https://support.industry.siemens.com/cs/de/de/view/109481527/en) Commissioning Manual 12.1.1 New installation Introduction No CNC software was installed on the CompactFlash Card.
  • Page 356: Automatic Installation Of The Cnc Software Using Usb-Flashdrive

    New installation / upgrading 12.1 With the help of an NCU service system 12.1.1.1 Automatic installation of the CNC software using USB-FlashDrive Flow diagram Figure 12-1 Automatic installation using USB-FlashDrive CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 357: Installation Of The Cnc Software Using Usb-Flashdrive

    New installation / upgrading 12.1 With the help of an NCU service system 12.1.1.2 Installation of the CNC software using USB-FlashDrive Flow diagram Figure 12-2 Installing the control software using USB-FlashDrive CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 358 New installation / upgrading 12.1 With the help of an NCU service system Flow diagram - installation of the system TCU (1) continued Figure 12-3 Installing the control software using USB-FlashDrive - continued (TCU system) CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 359 New installation / upgrading 12.1 With the help of an NCU service system Flow diagram - installation of the system PCU (2) continued Figure 12-4 Installing the control software using USB-FlashDrive - continued (PCU system) CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 360: Installation Of The Cnc Software Using Winscp On Pc/Pg

    New installation / upgrading 12.1 With the help of an NCU service system 12.1.1.3 Installation of the CNC software using WinSCP on PC/PG Flow diagram Figure 12-5 Installation using WinSCP on PG/PC CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 361: Installation Of The Cnc Software Using Vnc Viewer On Pc/Pg

    New installation / upgrading 12.1 With the help of an NCU service system 12.1.1.4 Installation of the CNC software using VNC Viewer on PC/PG Flow diagram Figure 12-6 Installation using VNC Viewer on PG/PC CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 362: Upgrading

    New installation / upgrading 12.1 With the help of an NCU service system 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 ●...
  • Page 363: Backup/Restore

    New installation / upgrading 12.1 With the help of an NCU service system 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...
  • Page 364 New installation / upgrading 12.1 With the help of an NCU service system Automatic backup of the complete CompactFlash Card Flow diagram Figure 12-7 Automatic backup of the complete CompactFlash Card CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 365 New installation / upgrading 12.1 With the help of an NCU service system Automatic restoration of the complete CompactFlash Card Flow diagram Figure 12-8 Automatic restoration of the complete CompactFlash Card CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 366: Automatic Upgrade Of The Cnc Software Using Usb-Flashdrive

    New installation / upgrading 12.1 With the help of an NCU service system 12.1.2.2 Automatic upgrade of the CNC software using USB-FlashDrive Flow diagram Figure 12-9 Automatic upgrade of the CNC software using USB-FlashDrive CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 367: Upgrading The Cnc Software Using Usb-Flashdrive

    New installation / upgrading 12.1 With the help of an NCU service system 12.1.2.3 Upgrading the CNC software using USB-FlashDrive Flow diagram Figure 12-10 Upgrading the CNC software using USB-FlashDrive CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 368 New installation / upgrading 12.1 With the help of an NCU service system Flow diagram - continued system TCU (1) Figure 12-11 Upgrading the CNC software using USB-FlashDrive - continued (TCU system) CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 369 New installation / upgrading 12.1 With the help of an NCU service system Flow diagram - continued PCU system (2) Figure 12-12 Upgrading the CNC software using USB-FlashDrive - continued (PCU system) CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 370: Upgrading The Cnc Software Using Winscp On Pc/Pg

    New installation / upgrading 12.1 With the help of an NCU service system 12.1.2.4 Upgrading the CNC software using WinSCP on PC/PG Flow diagram Figure 12-13 Upgrading the CNC software using WinSCP on PG/PC CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 371: Upgrading The Cnc Software Using Vnc Viewer On Pc/Pg

    New installation / upgrading 12.1 With the help of an NCU service system 12.1.2.5 Upgrading the CNC software using VNC Viewer on PC/PG Flow diagram Figure 12-14 Upgrading the CNC software using VNC Viewer on PC/PG CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 372: With The Help Of The "Create Myconfig" Software

    New installation / upgrading 12.2 With the help of the "Create MyConfig" software 12.2 With the help of the "Create MyConfig" software 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.
  • Page 373 New installation / upgrading 12.2 With the help of the "Create MyConfig" software 3. Activate the "NCU" area under the "Package" tab. 4. Activate the "NCU software" window from the "Dialogs" tab. CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 374 New installation / upgrading 12.2 With the help of the "Create MyConfig" software 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. 7.
  • Page 375 New installation / upgrading 12.2 With the help of the "Create MyConfig" software 8. Create a package ".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.
  • Page 376: Upgrade With Create Myconfig

    New installation / upgrading 12.2 With the help of the "Create MyConfig" software 12.2.2 Upgrade with Create MyConfig 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.
  • Page 377 New installation / upgrading 12.2 With the help of the "Create MyConfig" software 3. Activate the "NCU" area under the "Package" tab. 4. Activate the "NCU software" window from the "Dialogs" tab. CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 378 New installation / upgrading 12.2 With the help of the "Create MyConfig" software 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. 7.
  • Page 379 New installation / upgrading 12.2 With the help of the "Create MyConfig" software 8. Create a package ".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.
  • Page 380 New installation / upgrading 12.2 With the help of the "Create MyConfig" software CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...
  • Page 381: Appendix

    Appendix Abbreviations Compressed format for XML Active Line Module Advanced Position Control (SINUMERIK option M13) AUTO AUTO mode: Continuous and automatic execution of programs BERO Proximity limit switch Binector Input BICO Binector Connector Binector Output Connector Input Computerized Numerical Control:Computerized numerical control Connector Output Certificate of License Communication Processor: Communications processor...
  • Page 382 Appendix A.1 Abbreviations Machine Data MDI mode (Manual Data Automatic): Enter program blocks manually and execute Motor Module Machine Control Panel Numerical Control: Numerical control Process Image Output Process Image Input PC Unit: computer unit PELV Protective Extra Low Voltage Programming device Programmable Logic Control: (component of the CNC) Power Module...
  • Page 383: Information About Third-Party Software Used

    Appendix A.2 Information about third-party software used Information about third-party software used Copyright 1995 Sun Microsystems, Inc. Printed in the United States of America. All Rights Reserved. This software product (LICENSED PRODUCT), implementing the Object Management Group's "Internet Inter-ORB Protocol", is protected by copyright and is distributed under the following license restricting its use.
  • Page 384 Appendix A.2 Information about third-party software used 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.
  • Page 385: Index

    Index Current control loop, 292 Measuring procedure, 319 CYCLE791, 250 Access levels, 39 Adaptations Moment of inertia, 255 Overview, 260 Data backup Position, 258 Point in time, 345 Velocity, 258 Data set Assigning device names, 83 Add, 156 Assignment procedure, 224 Boundary condition, 154 Automatic servo tuning, 292, 293 Drive (DDS), 154...
  • Page 386 Index Isochronous Real Time (IRT), 70 Factory settings, 146 Filter, 292 Jerk filter Example, 333 Benefits, 263 Type, 333 Commissioning, 264 Firmware update, 148 Double moving average calculation, 265 Friction compensation FIR low pass, 264 Automatic sequence, 238 Moving average calculation, 265 Example, 242 Manual sequence, 239 Torque injection pulse, 244...
  • Page 387 Tuning 1 axis, 238 SIMATIC Manager, 51 2 axes, 238 SIMATIC S7 project, 52 Tuning functions, 292 SINUMERIK 840D sl Toolbox, 32 Tuning objective Software product, 43 Conservative/robust responsiveness, 300 Speed adjustment, 213 Maximum responsiveness, 300 Speed control loop, 292...
  • Page 388 Index Web License Manager, 45 CNC Commissioning: NC, PLC, Drive Commissioning Manual, 12/2019, A5E48312804B AA...

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents