Siemens SINUMERIK 804D sl Commissioning Manual

Cnc part 1 nck, plc, drive
Table of Contents

Advertisement

SINUMERIK SINAMICS
SINUMERIK 804D sl
SINAMICS S120
CNC Part 1 (NCK, PLC, drive)
Commissioning Manual
Valid for
control
SINUMERIK 840D sl/840DE sl
drive
SINAMICS S120
Software
NCU Software for 840D sl/840DE sl
11/2006
6FC5397-2AP10-2BA0
Version
1.4
Preface
Introduction
Safety information
Requirements for
commissioning
Example configuration
Power on and boot up
Connect PG/PC with the
PLC
PLC commissioning
Commissioning SINAMICS
drives
Commissioning
communication NCK<->Drive
NCK start-up
Optimize the drive.
Managing user data
Tips
Licensing
Fundamentals
Appendix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
A

Advertisement

Table of Contents
loading

Summary of Contents for Siemens SINUMERIK 804D sl

  • Page 1 Preface Introduction Safety information SINUMERIK SINAMICS Requirements for commissioning SINUMERIK 804D sl SINAMICS S120 Example configuration CNC Part 1 (NCK, PLC, drive) Power on and boot up Commissioning Manual Connect PG/PC with the PLC commissioning Commissioning SINAMICS drives Commissioning communication NCK<->Drive NCK start-up Optimize the drive.
  • Page 2 Trademarks All names identified by ® are registered trademarks of the Siemens AG. The remaining trademarks in this publication may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
  • Page 3: Preface

    An overview of publications, which is updated monthly and also provides information about the language versions available, can be found on the Internet at: http://www.siemens.com/motioncontrol Select "Support" → "Technical Documentation" → "Overview of Publications". The Internet version of DOConCD (DOConWEB) is available at: http://www.automation.siemens.com/doconweb...
  • Page 4 Europe and Africa time zone: A&D Technical Support Phone: +49 (0) 180 / 5050 - 222 Fax: +49 (0) 180 / 5050 - 223 Internet: http://www.siemens.com/automation/support-request E-mail: mailto:adsupport@siemens.com Asia and Australia time zone A&D Technical Support Tel.: +86 1064 719 990...
  • Page 5 The EC Declaration of Conformity for the EMC Directive can be found/obtained • in the internet: http://www.ad.siemens.de/csinfo under the Product/Order No. 15257461 • at the relevant branch office of the A&D MC Business Division of Siemens AG CNC Part 1 (NCK, PLC, drive) Commissioning Manual, 11/2006, 6FC5397-2AP10-2BA0...
  • Page 7: Table Of Contents

    Table of contents Preface ..............................3 Introduction.............................. 13 Commissioning manuals for SINUMERIK 840D sl ..............13 Principle representation of SINUMERIK 840D sl components for commissioning......15 Initial commissioning procedure....................19 Safety information............................ 21 Danger notices ..........................21 ESD notices ..........................23 Requirements for commissioning......................25 General prerequisites........................25 Software and hardware requirements..................26 Communication interfaces ......................28...
  • Page 8 Table of contents First commissioning of the PLC completed................. 61 Commissioning SINAMICS drives......................63 Introduction to commissioning of SINAMICS drives ..............64 Quick Commissioning NCU (topology takeover)................. 65 Quick Commissioning NX (topology takeover) ................67 Activate the factory settings ......................69 Updating the component firmware ....................
  • Page 9 Table of contents 10.5.11 Axis monitoring...........................141 10.5.12 Axis homing..........................149 10.5.12.1 Incremental measuring system ....................149 10.5.12.2 Distancecoded reference marks ....................153 10.5.12.3 Absolute encoders ........................155 10.5.12.4 Interface signals and machine data ...................158 10.6 Parameterization of spindle data ....................161 10.6.1 Setpoint/actual value channels of spindle..................161 10.6.2 Gear stages..........................161 10.6.3...
  • Page 10 Table of contents 13.10.1 Overview PROFIBUS machine control panel on the HMI............220 13.10.2 Configuration of the properties of the network interface for PROFIBUS ........220 13.10.3 Load GSD file (contains machine control panel) ..............223 13.10.4 Adding a machine control panel and handwheel in HW Config..........223 13.10.5 Modifying PROFIBUS machine control panel in OB100............
  • Page 11 Table of contents 15.6.2 Handling the machine data ......................281 15.7 Protection levels.........................282 15.7.1 Protection level fundamentals....................284 15.8 Axis data ............................285 15.8.1 Axis configuration........................286 15.8.2 Axis assignment.........................289 15.8.3 Axis names..........................291 15.8.4 Setpoint/actual value channels ....................293 15.9 Spindle data ..........................296 15.9.1 Spindle modes ...........................296 15.9.2 Default mode setting ........................298 15.9.3...
  • Page 12 Table of contents Table 10-19 Indexing axes: Interface signals....................131 Table 10-20 Position control: Machine data ....................135 Table 10-21 Speed setpoint matching: Machine data................... 138 Table 10-22 Drift compensation: Machine data .................... 138 Table 10-23 Velocities: Machine data ......................140 Table 10-24 Velocities: Setting data......................
  • Page 13: Introduction

    Introduction Commissioning manuals for SINUMERIK 840D sl Introduction The commissioning manuals for SINUMERIK 840D sl are divided into: • CNC: NCK, PLC, drive • CNC: Base software and HMI-embedded • CNC: ShopMill • CNC: ShopTurn Basic steps for commissioning SINUMERIK 840D sl Commissioning a SINUMERIK 840D sl is performed in 2 basic steps: 1.
  • Page 14 Introduction 1.1 Commissioning manuals for SINUMERIK 840D sl Commissioning overview The following figure is a schematic representation of the commissioning steps that are described in the first step (1) and in step (2): Figure 1-1 Commissioning overview CNC Part 1 (NCK, PLC, drive) Commissioning Manual, 11/2006, 6FC5397-2AP10-2BA0...
  • Page 15: Principle Representation Of Sinumerik 840D Sl Components For Commissioning

    Introduction 1.2 Principle representation of SINUMERIK 840D sl components for commissioning Principle representation of SINUMERIK 840D sl components for commissioning Introduction In principle, an NCU 7x0 contains the following components: • HMI • NCK • PLC • Drive • CP The HMI contained in the NCU is designated as internal HMI or as HMI-Embedded/ShopMill/ShopTurn/HMI sI.
  • Page 16 Introduction 1.2 Principle representation of SINUMERIK 840D sl components for commissioning Commissioning NCU 7x0 with internal HMI The following figure illustrates an example of a hardware and software arrangement for the commissioning of an NCU 7x0 with internal HMI. Figure 1-2 Principle representation SINUMERIK 840D sl CNC Part 1 (NCK, PLC, drive) Commissioning Manual, 11/2006, 6FC5397-2AP10-2BA0...
  • Page 17 Introduction 1.2 Principle representation of SINUMERIK 840D sl components for commissioning Commissioning NCU 7x0 with external HMI The following figure illustrates an example of a hardware and software arrangement for the commissioning of an NCU 7x0 with PCU 50.3 with external HMI. Figure 1-3 Principle representation of SINUMERIK 840D sl with PCU 50.3 CNC Part 1 (NCK, PLC, drive)
  • Page 18 Introduction 1.2 Principle representation of SINUMERIK 840D sl components for commissioning Schematic representation of the NCU 7x0 The following figure is a schematic representation of the NCU 7x0: Figure 1-4 Schematic representation of NCU 7x0 CNC Part 1 (NCK, PLC, drive) Commissioning Manual, 11/2006, 6FC5397-2AP10-2BA0...
  • Page 19: Initial Commissioning Procedure

    Introduction 1.3 Initial commissioning procedure Initial commissioning procedure Introduction The mechanical and electrical installation of the system must be completed. At the start of installation and start-up, it is important for the control and its components to run-up properly and essential that the system complies with the application EMC Guidelines. Commissioning steps The steps required for installation and start-up are described below.
  • Page 21: Safety Information

    Safety information Danger notices The following notices are intended firstly for your personal safety and secondly to prevent damage occurring to the product described or any connected devices and machines. Non- observance of the warnings can result in severe personal injury or property damage. Danger Only appropriately qualified personnel may commission/start-up SINUMERIK equipment.
  • Page 22 Repairs to devices that have been supplied by our company may only be carried out by SIEMENS customer service or by repair centers authorized by SIEMENS. When replacing parts or components, only use those parts that are included in the spare parts list.
  • Page 23: Esd Notices

    Safety information 2.2 ESD notices ESD notices Caution The modules contain electrostatically sensitive devices. Discharge yourself of electrostatic energy before touching the components. The easiest way to do this is to touch a conductive, grounded object immediately beforehand (for example, bare metal parts of control cabinet or the protective ground contact of a socket outlet).
  • Page 25: Requirements For Commissioning

    Requirements for commissioning General prerequisites General All components are dimensioned for defined mechanical, climatic and electrical environmental conditions. No limit value may be exceeded, neither during operation, nor during transportation. Limit values In particular, the following must be observed: • Power supply conditions •...
  • Page 26: Software And Hardware Requirements

    Requirements for commissioning 3.2 Software and hardware requirements • You can find all the instructions on how to connect the Ethernet interface here: Equipment Manual NCU • To initialize an Ethernet, see also: HMI commissioning; TCU commissioning Software and hardware requirements Requirements For the commissioning of SINUMERIK 840D sl, the following points are required: •...
  • Page 27 Requirements for commissioning 3.2 Software and hardware requirements • Hardware prerequisites – CompactFlash Card with software for internal HMI, NCK, PLC and drive attached in – Dual ventilator fan/battery module (MLFB 6FC5348-0AA02-0AA0) to NCU (see following figure) Figure 3-1 Dual fan/battery module CNC Part 1 (NCK, PLC, drive) Commissioning Manual, 11/2006, 6FC5397-2AP10-2BA0...
  • Page 28: Communication Interfaces

    Requirements for commissioning 3.3 Communication interfaces Communication interfaces Introduction The figure below identifies the interfaces on the NCU that can be used for communication with the components involved in the installation and startup phase. They are: • X120 Ethernet interface for TCU and/or PCU (a network switch or hub enables expansion) •...
  • Page 29: Commissioning Tool On Pg/Pc

    Requirements for commissioning 3.4 Commissioning tool on PG/PC Table 3-1 Network configuration Component socket Which network? IP address Subnet ID TCU/PCU 50.3 and X120 Ethernet 192.168.214.1 255.255.255.0 currently PC/PG for commissioning of internal HMI Factory network X130 Ethernet Assigned by DHCP server, for example 10.10.255.200 PG/PC for...
  • Page 31: Example Configuration

    Example configuration Overview The commissioning described in this manual orientates itself on an example configuration of the SINAMICS drive group. The following figure roughly shows the components. • A NCU 710 with: – A single motor module for one motor with SMI (Sensor Module Integrated) –...
  • Page 33: Power On And Boot Up

    Power on and boot up Operating and display elements for run-up Introduction The figure below shows the operating and display elements of the NCU, which are important for switch-on and run-up of the SINUMERIK 840D sl: • Various error and status LEDs •...
  • Page 34 Power on and boot up 5.1 Operating and display elements for run-up Note When you turn the start-up switch or operating mode switch, then the status display indicates the selected number/letters! LED display The following LED displays indicate states at the NCU •...
  • Page 35: Nck And Plc General Reset

    Power on and boot up 5.2 NCK and PLC general reset NCK and PLC general reset Introduction On initial startup of the PLC, a general reset of the PLC has to be performed after the NCU has been switched on and booted. To obtain a defined output state of the complete system (NCK and PLC), the NCK must also be deleted.
  • Page 36 Power on and boot up 5.2 NCK and PLC general reset Notes Note If a hardware RESET or POWER ON is triggered in switch position "3" on the PLC mode selector, then the complete SRAM of the PLC is initialized and the diagnostic buffer is not deleted.
  • Page 37: Boot Completed

    Power on and boot up 5.3 Boot completed Boot completed Introduction After an error-free boot of the NCU, it displays the following: • Number "6" and a flashing point • LED RUN illuminates GREEN continuously To resume the startup on the user interface of the HMI, the following operator input sequence steps are necessary: Operator input sequence steps for entry into startup 1.
  • Page 39: Connect Pg/Pc With The Plc

    Connect PG/PC with the PLC Start SIMATIC Manager Introduction SIMATIC Manager is a GUI for online/offline editing of S7 objects (projects, user programs, blocks, hardware stations and tools). The SIMATIC Manager lets you • manage projects and libraries, • call STEP 7 tools, •...
  • Page 40: Setting Up The Communication

    Connect PG/PC with the PLC 6.2 Setting up the communication Setting up the communication Introduction To load the configuration into the PLC, the communications connection (Ethernet) from PG/PC to the PLC required for the loading must be secured. Operator input sequence steps for establishing a communications connection to the PLC The communications connection to the PLC may be set from PG/PC via SIMATIC Manager with the following operator input sequence steps: 1.
  • Page 41: Plc Commissioning

    PLC commissioning Creating a SIMATIC S7 project Introduction It is necessary to create an S7 project for the basic commissioning of the PLC, the Ethernet and PROFIBUS communication as well as the input/output data areas of the NCK. To do this you will have to perform the following operations: •...
  • Page 42: Creating A Project

    PLC commissioning 7.1 Creating a SIMATIC S7 project What is different for the PLC configuration for SINUMERIK 840D sl? The following points on the PLC project configuration of a SINUMERIK 840Di are different: • PLC address area for PROFIBUS drive communication starts with 4100 and cannot be changed to smaller values.
  • Page 43: Inserting A Simatic Station 300

    PLC commissioning 7.1 Creating a SIMATIC S7 project 7.1.2 Inserting a SIMATIC station 300 Introduction Before you introduce required hardware to the S7 project, the following steps are needed: • Insert a SIMATIC station 300 in the project • Starting HW-Config Operating steps 1.
  • Page 44: Insert Ncu 7X0 In Hw Config

    PLC commissioning 7.1 Creating a SIMATIC S7 project Figure 7-2 HW-Config 7.1.3 Insert NCU 7x0 in HW config Introduction The user interface of "HW config" mostly displays (see the following figure): • Station window: The station window is split. The upper part displays the structure of the station graphically, and the lower part provides a detailed view of the selected module.
  • Page 45: Configuring The Properties Of The Network Interfaces

    PLC commissioning 7.1 Creating a SIMATIC S7 project Figure 7-3 NCU 720.1 in the catalog 3. Select NCU 720.1 with the left mouse button, hold the mouse button down and drag to the "Station design" station window. After you release the mouse button, configure in the dialog box the interface properties of processor CP 840D sl located on NCU 720.1 (see next chapter).
  • Page 46 PLC commissioning 7.1 Creating a SIMATIC S7 project Steps for PROFIBUS DP 1. You used the left mouse button to select NCU 720.1 and while holding down the mouse button you dragged it to the "Station design" station window. 2. After you release the mouse button, configure the properties of PROFIBUS DP interface for socket X126 (machine control panel) in the dialog box (see figure below).
  • Page 47 PLC commissioning 7.1 Creating a SIMATIC S7 project Figure 7-5 HW config with NCU 720.1 Next, specify the properties for the Ethernet interface. CNC Part 1 (NCK, PLC, drive) Commissioning Manual, 11/2006, 6FC5397-2AP10-2BA0...
  • Page 48 PLC commissioning 7.1 Creating a SIMATIC S7 project Operating steps for the Ethernet interface Note Use socket X127 for commissioning of the PLC for the external HMI. No configuration of the Ethernet interface is required for this. This interface is set with IP address 192.168.215.1 as a default.
  • Page 49 PLC commissioning 7.1 Creating a SIMATIC S7 project The interface of socket X120 is used for the current commissioning of the internal HMI. The IP address must be changed. 1. For socket X120, enter the IP address "192.168.214.1" and the Subnet screen form "255.255.255.0".
  • Page 50 PLC commissioning 7.1 Creating a SIMATIC S7 project Steps for the integrated PROFIBUS The integrated PROFIBUS for communication with the SINAMICS S120 requires a common Subnet ID. This Subnet ID has to be introduced to the external HMI in the MMC.ini. 1.
  • Page 51: Insert Nx In Hw Config

    PLC commissioning 7.1 Creating a SIMATIC S7 project 7.1.5 Insert NX in HW Config Introduction A NX component is contained in the example configuration, for the axis to control the spindle. This component must also be inserted in the HW Config when creating the SIMATIC-S7 project.
  • Page 52 PLC commissioning 7.1 Creating a SIMATIC S7 project The following table contains the wiring: Integrated PROFIBUS address DRIVE-CLiQ Socket DRIVE-CLiQ Socket NCU720 NCU710 X100 X100 X101 X101 X102 X102 X103 X103 X104 X105 1. Enter the address and press "OK". Figure 7-10 Insert NX 2.
  • Page 53: End Hardware Configuration And Load To The Plc

    PLC commissioning 7.1 Creating a SIMATIC S7 project 7.1.6 End hardware configuration and load to the PLC End hardware configuration and load to the PLC To end the overall configuration and generate the system data for the PLC, the project must be saved and compiled.
  • Page 54: Creating A Plc Program

    PLC commissioning 7.2 Creating a PLC program Creating a PLC program Introduction The operator input sequence steps below for the creation of a PLC program describe how to create a basic program. The SIMATIC STEP7 documentation describes how to modify and extend an application program.
  • Page 55 PLC commissioning 7.2 Creating a PLC program 2. Select the library for the PLC basic program, e.g. "bp7x0_11" and confirm the dialog with "OK". You have inserted the library and selected the PLC program under "PLC-Erst-IBN 840D sl > SINUMERIK > PLC 317 2DP > S7 Program" (see figure below). Figure 7-14 Copy the PLC program 3.
  • Page 56: Modifying Ethernet Machine Control Panel In Ob100

    PLC commissioning 7.2 Creating a PLC program 7.2.2 Modifying Ethernet machine control panel in OB100 Introduction The PLC basic program automatically transfers the machine control panel signals (MCP signals) and the addresses of the MCP in the HW config if the configuration is set up as laid out below.
  • Page 57: Loading The Project To The Plc

    PLC commissioning 7.3 Loading the project to the PLC Loading the project to the PLC Introduction For loading the configured PLC project, the following prerequisites must be fulfilled: Requirement • An Ethernet network connection exists between STEP7 and the PLC. •...
  • Page 58 PLC commissioning 7.3 Loading the project to the PLC Operator input sequence steps for loading system blocks into the module 1. To load the configuration of the system blocks change to the SIMATIC Manager. 2. Choose in the SIMATIC Manager in the PLC directory, the directory "Blocks > right mouse button>...
  • Page 59: Carry Out Nck Reset

    PLC commissioning 7.4 Carry out NCK reset Carry out NCK reset Introduction On the HMI the "Commissioning" menu contains: Figure 7-16 "Commissioning" menu Note If you have an Etrhernet machine control panel with Ethernet hand wheel, a "7" for "Ethernet" must be entered for the hand wheel in the general machine data MD11350[0] HAND WHEEL_SEGMENT.
  • Page 60 PLC commissioning 7.4 Carry out NCK reset Figure 7-17 Alarm responses A "NCK Reset" is required for PLC-NCK synchronization. Steps for initiating an NCK reset 1. Press the key and select the "Commissioning" menu. 2. Press the "NCK Reset" softkey. 3.
  • Page 61: First Commissioning Of The Plc Completed

    PLC commissioning 7.5 First commissioning of the PLC completed First commissioning of the PLC completed First commissioning of the PLC completed You have completed the first commissioning of the PLC. The PLC and NCK are in the following state: • LED RUN illuminates GREEN continuously. •...
  • Page 63: Commissioning Sinamics Drives

    Commissioning SINAMICS drives Introduction You have completed commissioning of the PLC. Commissioning of the drive parameters occurs via HMI in the operating area "Commissioning". Startup sequence The basic commissioning of the SINAMICS drives should be carried out in the following sequence: 1.
  • Page 64: Introduction To Commissioning Of Sinamics Drives

    Commissioning SINAMICS drives 8.1 Introduction to commissioning of SINAMICS drives Introduction to commissioning of SINAMICS drives Introduction Commissioning of the SINAMICS drives is done in the operating area "Commissioning". Introduction to commissioning of SINAMICS drives 1. After having completed commissioning of the PLC, you proceed from the following operating interface.
  • Page 65: Quick Commissioning Ncu (Topology Takeover)

    Commissioning SINAMICS drives 8.2 Quick Commissioning NCU (topology takeover) Quick Commissioning NCU (topology takeover) Introduction Quick Commissioning of the SINAMICS drives in connection with the HMI allows the following: • Takeover of the drive-set topology into the NCK All connected components are detected and drive-internal data transfer is initialized. •...
  • Page 66 Commissioning SINAMICS drives 8.2 Quick Commissioning NCU (topology takeover) Figure 8-5 Topology matching 3 Figure 8-6 Topology matching 4 4. Confirm the information with "OK". Topology matching for drive components of the NCU has been completed. The following components, recognized in the drive group, are displayed: Figure 8-7 "Drive units"...
  • Page 67: Quick Commissioning Nx (Topology Takeover)

    Commissioning SINAMICS drives 8.3 Quick Commissioning NX (topology takeover) Quick Commissioning NX (topology takeover) Introduction You have completed a topology takeover of the associated drive components for the NCU. You have inserted a NX in the HW Config for the NCU. If you change to the "Drive system"...
  • Page 68 Commissioning SINAMICS drives 8.3 Quick Commissioning NX (topology takeover) Figure 8-9 Topology matching completed 4. Close the information with "OK". Operating sequence via the "Drive units" menu 1. You are in the "Drive units" menu (see last figure "Drive units menu" after topology matching).
  • Page 69: Activate The Factory Settings

    Commissioning SINAMICS drives 8.4 Activate the factory settings Activate the factory settings Introduction Prior to making factory settings, make sure that the PLC has stopped sending enables to the drive. Procedure for activating factory settings 1. These can be found in the "Commissioning > Drive systems > Drive units" menu. 2.
  • Page 70: Updating The Component Firmware

    Commissioning SINAMICS drives 8.5 Updating the component firmware Updating the component firmware Introduction Prior to initial startup, all SINAMICS components should have the same firmware version. The required software is part of the SINAMICS-SW and is stored on the CompactFlash card. An update of individual components may become necessary, after component replacement for example, and is required if the drive-specific alarm A01006 "Firmware update required for DRIVE-CLiQ component <No.>“...
  • Page 71: Commissioning Using A Drive Wizard

    Commissioning SINAMICS drives 8.6 Commissioning using a drive wizard Commissioning using a drive wizard Introduction Drive configuration is done with a drive wizard on the HIM. The following drive components are to be configured: • Active Line Modules (infeed) • Motor module, motor and encoders (drives) Drive configuration The drive configuration can be opened by selecting "Commissioning >...
  • Page 72: Parameterization Of Infeed

    Commissioning SINAMICS drives 8.6 Commissioning using a drive wizard 8.6.1 Parameterization of infeed Introduction You want to configure/parameterize the active line module of your SINAMICS> You have selected the menu "Commissioning > Drive systems > Infeed". You are in the following menu: Figure 8-12 Menu "Infeed >...
  • Page 73 Commissioning SINAMICS drives 8.6 Commissioning using a drive wizard 5. Follow the drive wizard with the horizontal softkey "Next >". 6. The default values in the following dialogs are standard values an can be taken over with "Next >". Figure 8-14 Menu "Infeed >...
  • Page 74 Commissioning SINAMICS drives 8.6 Commissioning using a drive wizard Figure 8-16 Menu "Infeed > Configuration" "BICO terminal wiring" (Next 3) Figure 8-17 Menu "Infeed > Configuration" "Summary" (Next 4) 7. This completes the configuration for the infeed. You can check the configuration in the summary.
  • Page 75 Commissioning SINAMICS drives 8.6 Commissioning using a drive wizard Figure 8-18 Menu "Infeed > Configuration" "Finish" 9. Press the "Recall" key in order to configure the drives in the next step. CNC Part 1 (NCK, PLC, drive) Commissioning Manual, 11/2006, 6FC5397-2AP10-2BA0...
  • Page 76: Parameterization Of The Drives

    Commissioning SINAMICS drives 8.6 Commissioning using a drive wizard 8.6.2 Parameterization of the drives Introduction The following components are parameterize/configured with the drive wizard: • Motor module (power section) • Motor • encoder Parameterizing/configuring You are in the "Commissioning > Drive systems" menu Figure 8-19 "Drive systems"...
  • Page 77: Drives With Externally Supplied Motor

    Commissioning SINAMICS drives 8.6 Commissioning using a drive wizard 8.6.2.1 Drives with externally supplied motor Introduction If a motor module (power section) is connected to a motor of which the sensor is controlled via the SMC (Sensor Module Cabinet), i.e. not with a SMI (Sensor Module Integrated), then you have various configuration options at your disposal.
  • Page 78 Commissioning SINAMICS drives 8.6 Commissioning using a drive wizard Figure 8-21 Menu "Drives > Configuration" "Motor module" (Change) 4. The drive wizard identifies the power section (Motor module). You can enter a name of your own choice. 5. Follow the drive wizard with the horizontal softkey "Next >". 6.
  • Page 79 Commissioning SINAMICS drives 8.6 Commissioning using a drive wizard Figure 8-23 Menu "Drives > Configuration" "Motor holding brake" (Next 2) 9. You can select brake control in the dialog "Configuration motor holding brake". If a connected brake is recognized during takeover of topology, the system will automatically activate brake control and will by default display "Brake control after sequence control"...
  • Page 80 Commissioning SINAMICS drives 8.6 Commissioning using a drive wizard Figure 8-25 Menu "Drives > Configuration" "Replacement circuit diagrams" (Next 4) 14. You can enter additional motor data. 15. Press "Next >". Figure 8-26 Menu "Drives > Configuration" "Sensor" (Next 5) 16.
  • Page 81 Commissioning SINAMICS drives 8.6 Commissioning using a drive wizard Figure 8-27 Menu "Drives > Configuration" "Sensor 1" (Next 6) 18. Select the motor sensor from the list: 19. Press "Next >". Figure 8-28 Menu "Drives > Configuration" "Control type/setpoints" (Next 7) 20.
  • Page 82 Commissioning SINAMICS drives 8.6 Commissioning using a drive wizard Figure 8-29 Menu "Drives > Configuration" "BICO connection" (Next 8) 23. Select the assignment for the terminal for Input 2. AUS2 (see NCU 7x0 and NX1x Terminal Assignment (Page 270) ). 24.
  • Page 83 Commissioning SINAMICS drives 8.6 Commissioning using a drive wizard 27. Confirm the query with "Yes". Figure 8-32 Menu "Drives > Configuration" 28. In the next step you will parameterize a drive module with SMI motor. CNC Part 1 (NCK, PLC, drive) Commissioning Manual, 11/2006, 6FC5397-2AP10-2BA0...
  • Page 84: Drives With Smi (Drivecliq)

    Commissioning SINAMICS drives 8.6 Commissioning using a drive wizard 8.6.2.2 Drives with SMI (DriveCLiQ) Introduction You have a drive object with a power section (Single/double motor module), controlling a SMI motor. In the following operating steps you will configure/parameterize the power section, SMI motor and sensor.
  • Page 85 Commissioning SINAMICS drives 8.6 Commissioning using a drive wizard Figure 8-34 Menu "Drives > Configuration" "Motor module (SMI)" (Change) 4. The drive wizard identifies the power section (Motor module). You can enter a name of your own choice. Follow the drive wizard with the horizontal softkey "Next >". 5.
  • Page 86 Commissioning SINAMICS drives 8.6 Commissioning using a drive wizard Figure 8-36 Menu "Drives > Configuration" "Motor holding brake (SMI)" (Next 2) 8. Selection of brake control. If a connected brake is recognized during takeover of topology, the system will automatically activate brake control and will by default display "Brake control after sequence control"...
  • Page 87 Commissioning SINAMICS drives 8.6 Commissioning using a drive wizard Figure 8-38 Menu "Drives > Configuration" "Sensor 1 (SMI)" (Next 4) 12. The drive wizard automatically recognizes the sensor. 13. Press "Next >". Figure 8-39 Menu "Drives > Configuration" "Control type/setpoints (SMI)" (Next 5) 14.
  • Page 88 Commissioning SINAMICS drives 8.6 Commissioning using a drive wizard Figure 8-40 Menu "Drives > Configuration" "BICO connections (SMI)" (Next 6) 17. Select the assignment for the terminal for Input 2. AUS2 (see NCU 7x0 and NX1x Terminal Assignment (Page 270) ). 18.
  • Page 89 Commissioning SINAMICS drives 8.6 Commissioning using a drive wizard Figure 8-42 Menu "Drives > Configuration" 21. Select the drive module with the vertical softkeys "Drive+/Drive-" in order to configure additional drive modules. The configuration is again started with the vertical softkey "Change". When you have completed the configuration, check the data for power supply in the next step and change, if necessary.
  • Page 90: Checking/Setting Power Supply Data Settings

    Commissioning SINAMICS drives 8.7 Checking /setting power supply data settings Checking/setting power supply data settings Introduction The power supply data settings must be checked/set in the SINAMICS during commissioning. Procedure for checking/setting power supply data. Proceed as follows to check/set power supply data in the SINAMICS: 1.
  • Page 91: Identification/Optimization "Alm > Infeed/Configuration

    Commissioning SINAMICS drives 8.8 Identification /Optimization "ALM > Infeed/Configuration" Identification/Optimization "ALM > Infeed/Configuration" Introduction On identification of the ALM, control optimization in the ALM is also carried out. Here, the inductance and capacity of the DC link are determined and the optimum control data determined for the set-up converter.
  • Page 92: First Commissioning Of Sinamics Drive Ended

    Commissioning SINAMICS drives 8.9 First commissioning of SINAMICS drive ended First commissioning of SINAMICS drive ended First commissioning of SINAMICS drive ended You have completed the first commissioning of the SINAMICS drives. The acceptance of the topology has been successfully completed: •...
  • Page 93: Commissioning Communication Nck<->Drive

    Commissioning communication NCK<->Drive Introduction The first commissioning of the PLC and SINAMICS drives is completed. What will be configured next? You will configure the NCK machine data, which communicates with the drive. These are: • General machine data General machine data required for communication with the drive, which have been preset with default values.
  • Page 94 Commissioning communication NCK<->Drive 8.9 First commissioning of SINAMICS drive ended Assigning general and axis-specific machine data The following table illustrates using the example of an SINAMICS S120 module structure (one NCU (CU), one ALM, three motor modules (MM)) the assignment of the NCK machine data for input/output address/telegram/setpoint/actual value: SINAMICS STEP7 (HW-config) DP slave...
  • Page 95: Configuration Input/Output Address And Telegram

    Commissioning communication NCK<->Drive 9.1 Configuration input/output address and telegram Configuration input/output address and telegram Introduction Following general machine data is preassigned with a default value (also see previous table). • MD13050 DRIVE_LOGIC_ADDRESS (axis address)) • MD13060 DRIVE_TELEGRAM_TYPE (telegram type) • MD13120 CONTROL_UNIT_LOGIC_ADDRESS (address CU) Note No adjustment is necessary here since these values correspond to those preassigned values in HW Config.
  • Page 96: Commissioning Communication Nck<->Drive Completed

    Commissioning communication NCK<->Drive 9.3 Commissioning communication NCK<->Drive completed 11. Select the next axis in each case with Axis+ and continue with Step 3 for the next drive. Commissioning communication NCK<->Drive completed Commissioning communication NCK<->PLC completed You have placed the following in operation: •...
  • Page 97: Nck Start-Up

    NCK start-up 10.1 Overview Commissioning NCK Introduction The parameterization of NCK regarding the connected machine occurs by setting system variables. These system variables are called: • Machine data (MD) • Setting data (SD). See also Overview of machine and setting data (Page 278) 10.2 System data 10.2.1...
  • Page 98 NCK start-up 10.2 System data MD9011 DISPLAY_RESOLUTION_INCH (INCH unit system display resolution) can be used to configure the display resolution for position values with inch setting. This allows you to display up to six decimal places with the inch setting. For the programming of parts programs, the input resolutions listed in the Programming Guide apply.
  • Page 99: Table 10-1 Resolutions: Machine Data

    NCK start-up 10.2 System data Display resolution In MD9004 DISPLAY_RESOLUTION (display resolution), you can set the number of decimal places after the decimal point for the position values on the operator panel. Input and display limit values Limitation of the input values depends on the display features and on the input options on the operator panel.
  • Page 100: Normalization Of Phys. Units Of Machine Data And Setting Data

    NCK start-up 10.2 System data 10.2.2 Normalization of phys. units of machine data and setting data Standard Machine and setting data having a physical unit are interpreted in the input/output units listed in the table "Scaling physical units of machine and setting data" by default, depending on the scaling system (metric/inch).
  • Page 101: Table 10-3 Bit Number And Index For User Definition

    NCK start-up 10.2 System data The following applies: Input/output unit selected= MD: SCALING_FACTORS_USER_DEF[n] * internal unit In MD10230 SCALING_FACTORS_USER_DEF[n], the selected I/O device must be entered expressed in the internal units mm, 1 degree and 1 sec. Table 10-3 Bit number and index for user definition Physical unit MD10220 bit number MD10230 index n Linear position...
  • Page 102: Table 10-4 Normalization Of Phys. Units Of Machine Data And Setting Data: Machine Data

    NCK start-up 10.2 System data Index 2 specifies the "linear velocity" (see above). Example 2: In addition to the change in example 1, the machine data input/output of linear accelerations is to be performed in ft/s , instead of m/s (initial state).
  • Page 103: Modifying Scaling Machine Data

    NCK start-up 10.2 System data 10.2.3 Modifying scaling machine data The scaling of machine data having physical units is defined by the following machine data: • MD10220 SCALING_USER_DEF_MASK (activation of scaling factors) • MD10230 SCALING_FACTORS_USER_DEF (scaling factors of physical quantities) •...
  • Page 104: Loading Default Machine Data

    NCK start-up 10.2 System data 10.2.4 Loading default machine data The default machine data can be loaded in different ways. HMI startup HMI startup via the HMI standard user interface: Menu command Window > Diagnosis > NC/PLC • Button: "Delete NCK Data" •...
  • Page 105: Switching Over The Measuring System

    NCK start-up 10.2 System data 10.2.5 Switching over the measuring system The unit system is switched over for the entire machine using a softkey in the HMI Advanced operating area "MACHINE". The switchover is only accepted if: • MD10260 CONVERT_SCALING_SYSTEM=1 •...
  • Page 106: Table 10-5 Switching Over The Unit System: Machine Data

    NCK start-up 10.2 System data • GUDs (Global User Data) • LUDs (Local User Data) • PUDs (Program global User Data) • Analog inputs/outputs • Data exchange via FC21 are not converted automatically. The user is prompted to take the current valid measuring system MD10240 SCALING_SYSTEM_IS_METRIC into consideration.
  • Page 107: Traversing Ranges

    NCK start-up 10.2 System data 10.2.6 traversing ranges Computational resolution and traversing ranges The range of values of the traversing ranges directly depends on the selected computational resolution (see Subsection "Resolution"). With the default assignment of the machine data for the computational resolution •...
  • Page 108: Cycle Times

    NCK start-up 10.2 System data 10.2.8 Cycle times On the SINUMERIK 840D sl the system clock cycle, the position controller cycle, and the interpolation cycle of the NC are based on the DP cycle time configured in STEP 7 HW config.
  • Page 109 NCK start-up 10.2 System data Figure 10-1 Position control cycle offset compared to PROFIBUS DP cycle Key to Fig. above: :CPU time required by position controller :DP cycle time: DP cycle time :Data Exchange Time: Total transfer time for all DP slaves :Master time: Offset of the start time for NCK position controller GC: Global Control: Broadcast message for cyclic convergence of the equidistance between DP master and DP slaves...
  • Page 110 NCK start-up 10.2 System data The position-control cycle offset selected is too large. The cyclic PROFIBUS communication with the drives started before the position controller had finished. The position controller requires more CPU time than available within the DP cycle. –...
  • Page 111: Table 10-8 Cycle Times: Machine Data

    NCK start-up 10.2 System data Machine data Table 10-8 Cycle times: Machine data Number Identifier Name / remarks Reference General ($MN_ ... ) 10050 SYSCLOCK_CYCLE_TIME System clock cycle/only display data; is always equal to the equidistant PROFIBUS DP cycle. Note: For SINUMERIK solution line for display only! 10060 POSCTRL_SYSCLOCK_TIME_RATIO...
  • Page 112: Nck Utilization

    NCK start-up 10.2 System data 10.2.9 NCK utilization Introduction You can view utilization of system resources for the NCK on the HMI under the menu "Diagnostics > Service displays > System resources". Figure 10-2 NC utilization The following machine data is taken into consideration for displayed runtimes (see Chapter Cycle times (Page 108) ): •...
  • Page 113 NCK start-up 10.2 System data Note The current, minimum and maximum utilization of the NCK is displayed. In order to have sufficient reserves for program processing, maximum utilization in reset condition when pressing the <Reset> key should be in the range of 60-65%. •...
  • Page 114: Velocities

    NCK start-up 10.2 System data 10.2.10 Velocities Max. axis velocity or spindle speed The maximum possible axis velocities and spindle speeds depend on the machine design, drive dynamics and the encoder limit frequency of the individual drives. Max. progr. tool path velocity The maximum programmable tool path velocity results from the maximum axis velocities of the axes involved in the path programmed.
  • Page 115 NCK start-up 10.2 System data (for the computational resolution, see Chapter "Resolutions" If V is not reached, no traversing movement is carried out. Literature Function Manual Basic Functions; Velocities, traversing ranges, accuracy: Velocities CNC Part 1 (NCK, PLC, drive) Commissioning Manual, 11/2006, 6FC5397-2AP10-2BA0...
  • Page 116: Memory Configuration

    10.3 Memory configuration Introduction On the SINUMERIK 840D sl, the persistent data are divided into various independent areas: • SIEMENS • Vendor • Users SRAM For historical reasons, SRAM is still named as the memory medium at various points in relation to persistent data.
  • Page 117 Legend Description User In addition to part programs and OEM cycles, can be set via User MD 18353: $MM_M_FILE_MEM_SIZE. SIEMENS cycles Siemens AG Reserved Siemens AG RAM in NCK User RAM in NCK, contains the system and user data accessed by the User NCK during program execution.
  • Page 118: Parameter Sets Of Axis/Spindle

    NCK start-up 10.4 Parameter sets of axis/spindle 10.4 Parameter sets of axis/spindle Per machine axis, six parameter sets are available. They are used as follows • on an axis: for accommodation of the own dynamic response to another machine axis, e.g. when tapping or thread cutting on the relevant spindle.
  • Page 119: Table 10-9 Parameter-Set-Dependent Machine Data

    NCK start-up 10.4 Parameter sets of axis/spindle Figure 10-4 Validity of parameter sets for axis and spindle modes Remarks on the "Axis" column: Switch-over applies to G33 as well as for G34, G35, G331 and G332. Machine data The following machine data of a machine axis depend on the parameter set: n = parameter set number (0 ...
  • Page 120: Parameterize Axis Data

    NCK start-up 10.5 Parameterize axis data 10.5 Parameterize axis data See also Configure axis data - overview (Page 285) Axis assignment (Page 289) Axis names (Page 291) 10.5.1 Incremental measuring system settings Rotary measuring system The diagrams below show the general possibilities of arranging a rotary incremental measuring system with regard to motor and load, as well as the resulting values for the appropriate machine data.
  • Page 121 NCK start-up 10.5 Parameterize axis data Linear axis with sensor on load Figure 10-6 Linear axis with sensor on load Rotary axis with encoder on motor Figure 10-7 Rotary axis with encoder on motor CNC Part 1 (NCK, PLC, drive) Commissioning Manual, 11/2006, 6FC5397-2AP10-2BA0...
  • Page 122: Table 10-10 Incremental Measuring Systems: Machine Data

    NCK start-up 10.5 Parameterize axis data Linear axis with encoder on the machine Figure 10-8 Linear axis with encoder on the machine Machine data Table 10-10 Incremental measuring systems: Machine data Number Identifier Name / remarks Reference Axisspecific ($MA_ ... ) 30240 ENC_TYPE[n] Actual value acquisition modes...
  • Page 123: Table 10-11 Linear Measuring Systems: Machine Data

    NCK start-up 10.5 Parameterize axis data Linear axis with linear scale Figure 10-9 Linear axis with linear scale Machine data Table 10-11 Linear measuring systems: Machine data Number Identifier Name / remarks Reference axisspecific ($MA_ ... ) 30240 ENC_TYPE[n] Actual value acquisition modes 1=incremental raw signal encoder 30242 ENC_IS_INDEPENDENT[n]...
  • Page 124: Parameterization Of Absolute Measuring Systems

    NCK start-up 10.5 Parameterize axis data 10.5.2 Parameterization of absolute measuring systems Encoder types The following encoder types are currently supported: • Single-turn absolute value encoder • Multi-turn absolute value encoder with EnDat protocol and incremental sinusoidal encoder signals A and B, e.g. Haidenhain EQN 1325.
  • Page 125: Table 10-12 Measuring Systems: Machine Data

    NCK start-up 10.5 Parameterize axis data Linear axis with absolute value encoder on motor Figure 10-10 Linear axis with absolute value encoder on motor Rotary axis, modulo axis and spindle with absolute value sensor on motor Figure 10-11 Rotary axis, modulo axis and spindle with absolute value sensor on motor Machine data Table 10-12 Measuring systems: Machine data Number...
  • Page 126: Dsc (Dynamic Servo Control)

    NCK start-up 10.5 Parameterize axis data Number Identifier Name / remarks Reference 31030 LEADSCREW_PITCH[n] Leadscrew pitch 31040 ENC_IS_DIRECT[n] Encoder is connected directly to the machine 31050 DRIVE_AX_RATIO_DENOM[n] Denominator load gearbox 31060 DRIVE_AX_RATIO_NUMERA[n] Numerator load gearbox 31070 DRIVE_ENC_RATIO_DENOM[n] Measuring gearbox denominator 31080 DRIVE_ENC_RATIO_NUMERA[n] Measuring gearbox numerator...
  • Page 127: Table 10-13 Dsc: Machine Data

    NCK start-up 10.5 Parameterize axis data If DSC operation is switched ON or OFF, it might be necessary to adjust the following machine data: • MD32200 POSCRTL_GAIN (K factor) • MD32610 VELO_FFW_WEIGHT (feedforward control factor) • MD32810 EQUIV_SPEEDCTRL_TIME (substitute time const. of the closed speed control loop).
  • Page 128: Rotary Axes

    NCK start-up 10.5 Parameterize axis data 10.5.4 Rotary axes Rotary axes A machine axis is parameterized as a rotary axis in • MD30300 IS_ROT_AX (rotary axis) = 1 The machine data is a scaling machine data. A change results in a conversion of all machine data of the machine axis with length-related units.
  • Page 129: Positioning Axes

    NCK start-up 10.5 Parameterize axis data Setting data Table 10-15 Rotary axes: Setting data Number Identifier Name Reference General ($SN_ ...) 41130 JOG_ROT_AX_SET_VELO JOG speed for rotary axes Axisspecific ($SA_ ... ) 43430 WORKAREA_LIMIT_MINUS Working area limitation minus 43420 WORKAREA_LIMIT_PLUS Working area limitation plus Literature Function Manual Expanded Functions;...
  • Page 130: Indexed Axes/"Hirth" Axes

    NCK start-up 10.5 Parameterize axis data Number Identifier Name Reference axisspecific ($MA_ ... ) 30450 IS_CONCURRENT_POS_AX Concurrent positioning axis 32060 POS_AX_VELO Feedrate for positioning axis Interface signals Table 10-17 Positioning axes: Interface signals DB number Bit, byte Name Reference Axis/spindle-specific Signals from PLC to axis/spindle 31,...
  • Page 131: Table 10-18 Indexing Axes: Machine Data

    NCK start-up 10.5 Parameterize axis data assigns the machine axis the relevant table of indexing positions and also defines the machine axis as an indexing axis. Indexing position tables The indexing positions are stored in one of two possible tables. •...
  • Page 132: Position Controller

    NCK start-up 10.5 Parameterize axis data 10.5.7 Position controller Control loops The closed-loop control of a machine axis consists of the cascaded closed-loop control circuits of current controller, speed controller and position controller. Figure 10-12 Control loops Traversing direction If the axis does not traverse into the desired direction, the appropriate adaptation is made in •...
  • Page 133 NCK start-up 10.5 Parameterize axis data Definition of the KV factor The K factor is defined as the ratio of velocity in m/min and the resulting following error in This means for a K factor of 1 that at a velocity of 1m/min, a following error of 1mm results. •...
  • Page 134 NCK start-up 10.5 Parameterize axis data Checking the loop gain If a K factor is already known for a machine type in question, this can be set and checked. For checking, reduce the acceleration of the axis in • MD32300 MAX_AX_ACCEL (Axis acceleration) to make sure that the drive does not reach its current limit when accelerating and decelerating.
  • Page 135 NCK start-up 10.5 Parameterize axis data • MD32300 MAX_AX_ACCEL (Axis acceleration) This value should allow the axes to be accelerated and positioned fast and accurately, while ensuring that the machine is not loaded unduly. Default values The default values of the acceleration are in the range from 0.5 m/s to 2 m/s Checking the acceleration The sign of a properly adjusted acceleration of a machine axis is acceleration and...
  • Page 136: Speed Setpoint Matching

    NCK start-up 10.5 Parameterize axis data Number Identifier Name / remarks Reference 32420 JOG_AND_POS_JERK_ENABLE Enabling jerk limitation 32430 JOG_AND_POS_MAX_JERK Axial jerk 32431 MAX_AX_JERK Maximum axial jerk when traversing along the path 32900 DYN_MATCH_ENABLE[n] Dynamic response adaptation 32910 DYN_MATCH_TIME [n] Time constant for dynamic matching 36400 CONTROL_TOL Contour monitoring...
  • Page 137 NCK start-up 10.5 Parameterize axis data Note The max. upper limit for the speed setpoint is set in machine data • MD36210 CTRLOUT_LIMIT (maximum speed setpoint) [%] Calculation of the motor speed If the motor speed required for speed setpoint matching is not known directly, it can be calculated as follows with reference to the required axis velocity (linear axis) or load speed (rotary axis/spindle): •...
  • Page 138: Drift Compensation

    NCK start-up 10.5 Parameterize axis data • MD32200 POSCTRL_GAIN (K factor) [(m/min)/mm] The actual following error is shown in the axis-specific service data: HMI: Operating area switchover > Diagnosis > Service displays > Service axis/spindlel Machine data Table 10-21 Speed setpoint matching: Machine data Number Identifier Name / remarks...
  • Page 139 NCK start-up 10.5 Parameterize axis data is the limit velocity up to which a machine axis can accelerate (rapid traverse limiting). It depends on the machine and drive dynamics and the limit frequency of actual-value acquisition. The max. axis velocity is used for traversing in the parts program when rapid traverse (G00) is programmed.
  • Page 140 NCK start-up 10.5 Parameterize axis data Notice Depending on MD30300 IS_ROT_AX[n], the velocities have to be entered in mm/min, inch/min, or rpm. If the velocities are changed, MD36200 AX_VELO_LIMIT[n] (threshold value for velocity monitoring) must be adapted accordingly. Machine data Table 10-23 Velocities: Machine data Number Identifier...
  • Page 141: Axis Monitoring

    NCK start-up 10.5 Parameterize axis data 10.5.11 Axis monitoring Static monitoring functions The static monitoring functions with reference to a machine axis are: Exact stop coarse Window around the setpoint position within which exact stop coarse is detected. • MD36000 STOP_LIMIT_COARSE (exact stop coarse) •...
  • Page 142 NCK start-up 10.5 Parameterize axis data • Alarm: "26000 Clamping monitoring" Figure 10-14 Static monitoring functions Working area limitation The permissible working area of the machine axes can be adapted to the particular machining situation using the "dynamic" working area limitation. •...
  • Page 143 NCK start-up 10.5 Parameterize axis data • MD36120 POS_LIMIT_MINUS2 (2nd software limit switch minus) • MD36130 POS_LIMIT_PLUS2 (2nd software limit switch plus) • IS: DB31,... DBX12.2 (2nd software limit switch minus) • IS: DB31,... DBX12.3 (2nd software limit switch plus) •...
  • Page 144 NCK start-up 10.5 Parameterize axis data Speed setpoint monitoring The speed setpoint monitoring prevents that the max. admissible motor speed is exceeded. It must be set such that the max. velocity (rapid traverse) can be reached and, in addition, a certain control margin remains.
  • Page 145 NCK start-up 10.5 Parameterize axis data Figure 10-17 Speed setpoint calculation Notice The limitation of the speed setpoint will turn the control loop into a nonlinear control loop. Generally, this will result in deviations from the contour and longer dwelling of the machine axis within the speed setpoint limitation.
  • Page 146 NCK start-up 10.5 Parameterize axis data Error response • Alarm: "25050 Contour monitoring" and stopping the machine axis using a speed setpoint ramp whose characteristic is set in • MD36610 AX_EMERGENCY_STOP_TIME (Time for braking ramp when an error occurs) Cause of errors/error handling Contour errors are caused by signal distortions in the position control loop.
  • Page 147 NCK start-up 10.5 Parameterize axis data Notice The axis affected must be re-referenced. Encoder zero mark monitoring The zero mark monitoring of the encoder of a machine axis checks whether pulses were lost between two zero mark passes. Via • MD36310 ENC_ZERO_MONITORING (Zero mark monitoring) is used to enter the number of detected zero mark errors at which the monitoring is to respond.
  • Page 148 NCK start-up 10.5 Parameterize axis data • MD36510 ENC_DIFF_TOL (measuring system synchronism tolerance) Error response • Alarm: "25105 Measuring systems are not synchronous" and stopping the machine axes using a speed setpoint ramp whose characteristic is set in • MD36610 AX_EMERGENCY_STOP_TIME (Time for braking ramp when an error occurs) Figure 10-18 Monitoring for SINUMERIK 840D sl: Notice MD36620 SERVO_DISABLE_DELAY_TIME (Switchoff delay servo enable)
  • Page 149: Axis Homing

    NCK start-up 10.5 Parameterize axis data 10.5.12 Axis homing referencing When referencing a machine axis, the actual position value system of the machine axis is synchronized with the machine geometry. Depending on the encoder type used, the machine axis is referenced with or without traversing movements. Reference point approach For all machine axes which are not equipped with an encoder providing an absolute actual position value, referencing is carried out by traversing the machine axis to a reference point;...
  • Page 150 NCK start-up 10.5 Parameterize axis data Figure 10-19 Signal chart: Referencing with an incremental measuring system (principle) Phase-independent data The following machine data and interface signals are independent with respect to the individual phases of reference point approach: • MD11300 JOG_INC_MODE_LEVELTRIGGRD (INC/REF in jog mode) •...
  • Page 151 NCK start-up 10.5 Parameterize axis data • IS: DB31, ... DBX4.7/DBX4.6 ("Traversing keys plus/minus") • IS: DB31, ... DBX12.7 ("Reference point approach delay") • IS: DB31, ... DBX60.4, DBX60.5 ("Referenced/synchronized 1, 2") Properties of phase 1: • The feedrate override (feedrate switch) is active. •...
  • Page 152 NCK start-up 10.5 Parameterize axis data • IS: DB31, ... DBX12.7 ("Reference point approach delay") = 0 a max. distance parameterized in the machine data: • MD34060 REFP_MAX_MARKER_DIST (max. distance to the reference mark) without the zero mark being detected, the machine axis stops and the following alarm is displayed: Alarm 20002 "Zero mark missing"...
  • Page 153: Distancecoded Reference Marks

    NCK start-up 10.5 Parameterize axis data 10.5.12.2 Distancecoded reference marks Distancecoded reference marks When clearance-coded reference marks are used, referencing is divided into 2 phases: 1. Synchronize by overriding 2 reference marks 2. Traverse to target point Figure 10-20 Signal chart: Distance-coded reference marks (principle) Phase-independent data The following machine data and interface signals are independent with respect to the individual phases of reference point approach:...
  • Page 154 NCK start-up 10.5 Parameterize axis data Phase 1: Synchronize by overriding 2 reference marks The following machine data and interface signals are relevant: • MD34010 REFP_CAM_DIR_IS_MINUS (approach reference cam in negative direction) • MD34040 REFP_VELO_SEARCH_MARKER (referencing velocity) • MD34060 REFP_MAX_MARKER_DIST (maximum distance between 2 reference marks) •...
  • Page 155: 10.5.12.3 Absolute Encoders

    NCK start-up 10.5 Parameterize axis data Determining the absolute machine actual position, e.g., can be performed by traversing the machine axis to a known position (fixed stop). Alternatively, it can be measured at any position (laser interferometer). 2. Calculating the absolute offset Linear measurement system non-inverse to machine system: Absolute offset = machine actual position + actual position of the measuring system Linear measuring system inverse to machine system:...
  • Page 156 NCK start-up 10.5 Parameterize axis data The SINUMERIK 840D sl supports the following types of calibration: • Operator-assisted calibration • Automatic calibration using probe • Calibration using BERO The calibration using the probe and BERO is described in: Literature Function Manual Basic Functions; Reference point approach: Automatic adjustment with measuring probe, adjustment with BERO Operator-assisted calibration During operator-assisted calibration, the machine axis of the absolute encoder is moved to...
  • Page 157 NCK start-up 10.5 Parameterize axis data – Select JOG > REF mode – Select machine axis – Press traverse direction key Note Pressing the traverse direction key does not move the machine axis! The NC then calculates the reference point offset and enters it in the machine data: •...
  • Page 158: 10.5.12.4 Interface Signals And Machine Data

    NCK start-up 10.5 Parameterize axis data Notice The status of the absolute encoder is only automatically reset to 1 = "encoder not calibrated" by the NCK on gear change: • MD34210 $MA_ENC_REFP_STATE[n] = 1 In all other cases, it is the sole responsibility of the NCK user to indicate the uncalibrated state of the absolute value encoder by manually resetting the status to "encoder not calibrated"...
  • Page 159 NCK start-up 10.5 Parameterize axis data Machine data Table 10-26 Referencing: Machine data Number Name of Identifier Name Referenc General ($MN_ ... ) 11300 JOG_INC_MODE_LEVELTRIGGRD INC/REF in jog/continuous mode Channelspecific ($MC_ ... ) 20700 REFP_NC_START_LOCK NC start disable without reference point axisspecific ($MA_ ...
  • Page 160 NCK start-up 10.5 Parameterize axis data Number Name of Identifier Name Referenc 34300 ENC_REFP_MARKER_DIST[n] Reference marker distance with distance- coded scales [encoder number] 34310 ENC_MARKER_INC[n] Interval between two reference marks with distance-coded scales [encoder no.] 34320 ENC_INVERS[encoder] Linear measuring system inverse to machine system [encoder number] 34330 REFP_STOP_AT_ABS_MARKER[n]...
  • Page 161: Parameterization Of Spindle Data

    NCK start-up 10.6 Parameterization of spindle data 10.6 Parameterization of spindle data See also Spindle data overview (Page 296) Spindle modes (Page 296) Default mode setting (Page 298) Axis mode (Page 299) More information on spindles (Page 302) 10.6.1 Setpoint/actual value channels of spindle Parameterization of the setpoint/actual value channels of a spindle is identical to parameterization of the setpoint and actual value channels of an axis.
  • Page 162: Spindle Measuring Systems

    NCK start-up 10.6 Parameterization of spindle data • MD35130 GEAR_STEP_MAX_VELO_LIMIT[n] (n for gear stage) • MD35135 GEAR_STEP_PC_MAX_VELO_LIMIT (n for gearbox step with position control) • MD35140 GEAR_STEP_MIN_VELO_LIMIT[n] (n for gear stage) • MD35200 GEAR_STEP_SPEEDCTRL_ACCEL[n] (acceleration in speed-control mode) • MD35210 GEAR_STEP_POSCTRL_ACCEL[n] (acceleration in position control mode) For further information on parameter sets, see above, Subsection: Parameter blocks for axis/spindle.
  • Page 163 NCK start-up 10.6 Parameterization of spindle data • Pulse multiplication = 128 • Internal precision = 1000 [increment/degree] • Sensor ratio = 1:1 • Load ratio = 1:1 The machine data are set acc. to the values above: • MD10210 INT_INC_PER_DEG (computational resolution) = 1,000 [incr./degree] •...
  • Page 164: Speeds And Setpoint Adjustment For Spindle

    NCK start-up 10.6 Parameterization of spindle data One encoder increment corresponds to 0.54932 internal increments. One encoder increment corresponds to 0.00054932 degrees (highest possible positioning resolution). Gear stage 2 One encoder increment corresponds to 1.3733 internal increments. One encoder increment corresponds to 0.0013733 degrees (highest possible positioning resolution).
  • Page 165 NCK start-up 10.6 Parameterization of spindle data Figure 10-21 Example for speed ranges for automatic gear stage selection (M40) Speeds for conventional operation The speeds of the spindle in conventional mode are entered in the machine data: • MD32010 JOG_VELO_RAPID (rapid traverse in jog mode) •...
  • Page 166 NCK start-up 10.6 Parameterization of spindle data 31060 DRIVE_AX_RATIO_NUMERA Numerator load gearbox 32010 JOG_VELO_RAPID Rapid traverse in the JOG mode 32020 JOG_VELO JOG axis velocity 35010 GEAR_STEP_CHANGE_ENABLE Gear stage change possible 35020 SPIND_DEFAULT_MODE Basic spindle setting 35030 SPIND_DEFAULT_ACT_MASK Activate initial spindle setting 35040 SPIND_ACTIVE_AFTER_RESET Spindle active after reset...
  • Page 167: Position Spindle

    NCK start-up 10.6 Parameterization of spindle data 10.6.5 Position spindle The NC provides an oriented spindle stop function with which the spindle can be moved into a certain position and held there (e.g. for tool changing purposes). Several programming commands are available for this function which define the approach and program processing.
  • Page 168: Synchronizing Spindle

    NCK start-up 10.6 Parameterization of spindle data Interface signals Table 10-30 Spindle positioning: Interface signals DB number Bit, byte Name Reference Axis-specific Signals from axis/spindle to PLC 31, ... 60.6 Position reached with exact stop "fine" 31, ... 60.7 Position reached with exact stop "coarse" 31, ...
  • Page 169 NCK start-up 10.6 Parameterization of spindle data Notice If the spindle encoder is not mounted directly on the spindle and there are speed- transforming gears between the encoder and spindle (e.g. encoder mounted on motor), then a reference cam signal connected to the drive module must be used for synchronization.
  • Page 170: Spindle Monitoring

    NCK start-up 10.6 Parameterization of spindle data 10.6.7 Spindle monitoring Axis/spindle stops If the speed drops below the speed set in machine data MD36060 STANDSTILL_VELO_TOL (max. speed "Axis/Spindle stopped"), the interface signal NST DB31,... DBX61.4 (Axis/Spindle stopped) is set. With MD35510 SPIND_STOPPED_AT_IPO_START set (Traverse enabled with "Spindle stopped"), track traverse is enabled.
  • Page 171 NCK start-up 10.6 Parameterization of spindle data Programmed Spindle speed limitations The following functions can be used to specify a spindle speed limitation in an indexing program. • G25 S... (min. spindle speed) • G26 S... (max. spindle speed) The limitation is active in all operating modes. The following function LIMS=...
  • Page 172 NCK start-up 10.6 Parameterization of spindle data Figure 10-22 Ranges of spindle monitoring functions/speeds Literature Function Manual Basic Functions; Spindles: Spindle monitoring CNC Part 1 (NCK, PLC, drive) Commissioning Manual, 11/2006, 6FC5397-2AP10-2BA0...
  • Page 173: Spindle Data

    NCK start-up 10.6 Parameterization of spindle data 10.6.8 Spindle data Machine data Table 10-33 Spindle: Machine data Number Name of identifier Name Reference General ($MN_ ... ) 12060 OVR_SPIND_IS_GRAY_CODE Spindle override with Gray coding 12070 OVR_FACTOR_SPIND_SPEED Evaluation of spindle speed override switch 12080 OVR_REFERENCE_IS_PROG_FEED Override reference velocity...
  • Page 174 NCK start-up 10.6 Parameterization of spindle data Number Name of identifier Name Reference 35120 GEAR_STEP_MIN_VELO[n] Minimum speed for gear change 35130 GEAR_STEP_MAX_VELO_LIMIT[n] Maximum speed of gear stage 35140 GEAR_STEP_MIN_VELO_LIMIT[n] Minimum speed of gear stage 35150 SPIND_DES_VELO_TOL Spindle speed tolerance 35160 SPIND_EXTERN_VELO_LIMIT Spindle speed limitation via PLC 35200...
  • Page 175 NCK start-up 10.6 Parameterization of spindle data Interface signals Table 10-35 Spindle: Interface signals DB number Bit, byte Name Reference Axis-specific Signals from PLC to axis/spindle 31, ... Feed override 31, ... Override active 31, ... Position measuring system 2 31, ...
  • Page 176 NCK start-up 10.6 Parameterization of spindle data DB number Bit, byte Name Reference 31, ... 83.2 Setpoint speed increased 31, ... 83.1 Setpoint speed limited 31, ... 83.0 Speed limit exceeded 31, ... 84.7 Active spindle control mode 31, ... 84.6 Active spindle mode oscillation mode 31, ...
  • Page 177: Optimize The Drive

    Optimize the drive. Introduction In the operational area Commissioning > Optimization/Test you have the option to optimize the drives. The following functions are available: • Current controller • Speed controller • Position controller • Function generator • Circularity test • Servo trace This chapter provides instructions on parameterization.
  • Page 179: Managing User Data

    Managing user data Introduction Once commissioning of the NCK, PLC and drive has been completed, you can manage the modified data using the functions below: • Save/Archive user data • Series commissioning • Upgrading, as series commissioning User data The following user data can be managed: Table 12-1 User data NCK/HMI...
  • Page 180: User Data Backup

    Managing user data 12.1 User data backup 12.1 User data backup Introduction Data is backed up by means of the HMI. SINUMERIK solution line components can either be backed up individually or jointly. You can select from: • NCK (NC) •...
  • Page 181: Preassignments When Saving Plc Data

    Managing user data 12.3 Preassignments when saving PLC data • Following commissioning • After changing machine-specific settings • After service, e.g., after replacement of a hardware component, software upgrade, etc. • Before activation of memory-configuring machine data. A warning prompting you to back up is displayed automatically.
  • Page 182: Series Commissioning

    Managing user data 12.4 Series commissioning 3. Set the PLC to the RUN operating status. Operating sequences for inconsistent image An inconsistent image results if a series-commissioning file with PLC data is created and the PLC is in the RUN state (cyclic operation). The data blocks of the PLC are saved at different times with contents that under certain circumstances may meanwhile have changed.
  • Page 183 Managing user data 12.4 Series commissioning Operating sequences 1. Open the menu to create a series-commissioning file: Operating range "Services > ETC key ">" > "Series IBN". 2. Create an archive for the series-commissioning file: You can select which data you wish to save as the archive contents: –...
  • Page 185: Tips

    Tips 13.1 Configuration of the properties of the network interface for PROFIBUS Introduction In the STEP7 project, you configure the network interfaces PROFIBUS DP, via which you want to reach the machine control panel: Steps for PROFIBUS DP 1. You used the left mouse button to select NCU 720.1 and while holding down the mouse button you dragged it to the "Station design"...
  • Page 186 Tips 13.1 Configuration of the properties of the network interface for PROFIBUS Figure 13-2 Properties of the PROFIBUS interface 5. Click on "Options" and then on the "Equidistance" tab (see figure below). Figure 13-3 Equidistance 6. To enable reproducible access to peripherals (for hand wheel mode), the PROFIBUS DP must have constant bus cycle time.
  • Page 187 Tips 13.1 Configuration of the properties of the network interface for PROFIBUS 8. Module NCU 720.1 with SINAMICS S120 is inserted into the HW config (see figure below). Note With the <F4> key and confirmation of the question regarding "Reorganize", you can reorganize the display in the station window.
  • Page 188: Separate Nck And Plc General Reset

    Tips 13.2 Separate NCK and PLC general reset 13.2 Separate NCK and PLC general reset Introduction If necessary, you can execute NCK or PLC general reset separately. To do so, proceed as follows: Operator input sequence steps - NCK general reset 1.
  • Page 189 Tips 13.2 Separate NCK and PLC general reset 5. After LED STOP lights up, place the PLC mode selector at position "0". – LED STOP goes out and LED RUN (GREEN) lights up. – PLC has had a general reset and is in cyclic transmission. Operator input sequence steps for PLC general reset without hardware RESET or POWER ON By using the following operator input sequence steps you can generate a PLC general reset without RESET/POWER ON:...
  • Page 190: Configuring The Communication Between The Plc And The Drive

    Tips 13.3 Configuring the communication between the PLC and the drive 13.3 Configuring the communication between the PLC and the drive Telegram lengths and I/O addresses Note In the HW Config, a telegram length and the associated I/O addresses is preassigned per default.
  • Page 191 Tips 13.3 Configuring the communication between the PLC and the drive entered in MD13050 DRIVE-LOGIC_ADRESS[0]. The addresses have a gap of 40 bytes. The following figure shows how the default values MD13050 DRIVE- LOGIC_ADRESS[0…5] correspond to the input/output addresses for standard configuration of the PLC.
  • Page 192: Integrating Pg/Pc Into The Network (Netpro)

    Tips 13.4 Integrating PG/PC into the network (NetPro) 13.4 Integrating PG/PC into the network (NetPro) Introduction To carry out routing functions, it is necessary to integrate a PG/PC in the SIMATIC Manager under NetPro and to configure the interfaces. Requirements You have to have carried out the following as laid out in the previous chapters: •...
  • Page 193: Integrating Pg/Pc Into Netpro

    Tips 13.4 Integrating PG/PC into the network (NetPro) 13.4.1 Integrating PG/PC into NetPro Introduction To enable the communication between PG/PC <-> HMI via Ethernet, the PC/PG is to be included in the network configuration of the system. To integrate the PG/PC, proceed from the following starting situation in the SIMATIC Manager.
  • Page 194 Tips 13.4 Integrating PG/PC into the network (NetPro) Figure 13-8 Insert PG/PC The newly inserted symbol PG/PC does not yet contain any interfaces. Next, configure the interfaces. CNC Part 1 (NCK, PLC, drive) Commissioning Manual, 11/2006, 6FC5397-2AP10-2BA0...
  • Page 195: Pg/Pc Interface Configuration

    Tips 13.4 Integrating PG/PC into the network (NetPro) 13.4.2 PG/PC interface configuration Introduction Under NetPro, configure the interfaces required for commissioning at the PG/PC. These may include the following interfaces: • Ethernet for the communication for NCU socket X127 • PROFIBUS Operator input sequence steps for configuring interfaces 1.
  • Page 196 Tips 13.4 Integrating PG/PC into the network (NetPro) Operator input sequence steps - Configuring interfaces at PG/PC 1. Click on "New…" to configure the Ethernet interface first. 2. In the type selection field, select "Industrial Ethernet" (see figure below). Figure 13-10 Type Industrial Ethernet 3.
  • Page 197 Tips 13.4 Integrating PG/PC into the network (NetPro) Figure 13-12 Configured interfaces The configured interfaces must be assigned in a device-specific manner to the available hardware interfaces on the PG/PC. The operator input sequence steps are laid out in the following chapter. CNC Part 1 (NCK, PLC, drive) Commissioning Manual, 11/2006, 6FC5397-2AP10-2BA0...
  • Page 198: Assigning Interfaces

    Tips 13.4 Integrating PG/PC into the network (NetPro) 13.4.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. The following operator input sequence steps detail the assignment of the Ethernet interface. Operator input sequence steps for assigning an Ethernet interface 1.
  • Page 199 Tips 13.4 Integrating PG/PC into the network (NetPro) Figure 13-14 Assigning Ethernet interface 5. Now assign the remaining configured interfaces (PROFIBUS). From those interfaces assigned, one must be marked as "active". 6. Select "Ethernet interface" in the field "Assigned" and mark the field next to it as "active". 7.
  • Page 200 Tips 13.4 Integrating PG/PC into the network (NetPro) Figure 13-15 Configured PG/PC in the network configuration 8. Select "Save and compile > Save and check all" and confirm the process with "OK". The subsequent operator input sequence steps describe loading this hardware configuration to NCU.
  • Page 201: Loading The Hw Config To Ncu

    Tips 13.4 Integrating PG/PC into the network (NetPro) 13.4.4 Loading the HW config to NCU Introduction The newly created network configuration PG/PC must be introduced to NCU. You have established a connection to the Ethernet interface (X120 or X127) and you load this configuration from the PG/PC to the NCU using the operator-input sequence steps laid out below.
  • Page 202: Tips For Commissioning Sinamics Drives

    Tips 13.5 Tips for commissioning SINAMICS drives 13.5 Tips for commissioning SINAMICS drives Introduction This chapter describes instructions and tips on: • Component exchange SINAMICS S120 • Diagnostics for pending alarms • Drive module parameter RESET, individual • Drive module version display 13.5.1 Component exchange SINAMICS S120 Introduction...
  • Page 203: Diagnostics For Pending Alarms

    Tips 13.5 Tips for commissioning SINAMICS drives 13.5.2 Diagnostics for pending alarms Introduction Alarms - these are warnings and faults - can be viewed in SINAMICS S120 via parameters. Warnings Pending warnings are indicated by parameter r2122 of the relevant drive components in question.
  • Page 204: Drive Module Parameter Reset, Individual

    Tips 13.5 Tips for commissioning SINAMICS drives 13.5.3 Drive module parameter RESET, individual Introduction The factory setting (parameter RESET) may be set for each drive module individually. Note Not just the motor and encoder data are reset. All the configured Binector-Connector logic operations (releases, probe signals) and telegram type are also deleted.
  • Page 205 Tips 13.5 Tips for commissioning SINAMICS drives Firmware version drive components The firmware version of all individual components is read out individually in parameters r975[2] and r975[10] for each drive component (NCU, ALM, power unit). Example: r975[2] = 230, r975[10] = 700 -> "230" & "700" -> firmware version is 02.30.07.00 Firmware version of all SMC or SMI modules The firmware version of all SMC or SMI modules is read out in parameter r148[0…2] on the relevant motor module.
  • Page 206: Overview - Assignment Of Sinamics And Nck Machine Data For Communication Via Profibus

    Tips 13.6 Overview - Assignment of SINAMICS and NCK machine data for communication via PROFIBUS 13.6 Overview - Assignment of SINAMICS and NCK machine data for communication via PROFIBUS Assignment of SINAMICS and NCK machine data for communication The table below uses a sample to SINAMICS S120 component configuration to illustrate the assignment of the communication parameters.
  • Page 207 Tips 13.6 Overview - Assignment of SINAMICS and NCK machine data for communication via PROFIBUS Figure 13-16 Assignment CNC Part 1 (NCK, PLC, drive) Commissioning Manual, 11/2006, 6FC5397-2AP10-2BA0...
  • Page 208: Commissioning Nx <-> Drive

    Tips 13.7 Commissioning NX <-> Drive 13.7 Commissioning NX <-> Drive Introduction The commissioning of a drive group with NX module is done using the steps that are described in the sections on commissioning. In particular the following sections are concerned: •...
  • Page 209 Tips 13.7 Commissioning NX <-> Drive – Instead of the drive components macro call-up, you carry out the following work steps in order to match the topology: NX p97=1 (actual topology accepted into setpoint topology), NX p9=0 (restart of the controller), wait until NX p3988>=680.
  • Page 210 Tips 13.7 Commissioning NX <-> Drive – In the next step, you enter the axis component number for the setpoint and actual value. – Under "Axis-MD" with "Axis+", you select the corresponding axis. The following axis machine data must be adapted for each axis: MD30110 CTRLOUT_MODULE_NR (setpoint channel) MD30220 ENC_MODUL_NR (actual-value channel) MD30130 CTRLOUT_TYPE (Type of output setpoint)
  • Page 211: Update The Component Firmware With A Macro

    Tips 13.8 Update the component firmware with a macro 13.8 Update the component firmware with a macro Introduction Prior to initial commissioning, all SINAMICS components should have the same firmware version. The requried software is part of the SINAMICS system software and is stored on the CF card.
  • Page 212 Tips 13.8 Update the component firmware with a macro Please note: Note The update may run for several minutes depending on the system configuration. Do not switch off the system before the macro is completed! p7829 may NO LONGER be "1". During the execution of the special macro 150399 "component update", the upper LED flashes for the SINAMICS module being processed at the moment (or the only LED for the SMC module) alternating RED-GREEN.
  • Page 213: Configuration Of The Drive With Macros

    Tips 13.9 Configuration of the drive with macros 13.9 Configuration of the drive with macros Introduction The drive components can usually be configured using configuration macros and/or the drive wizard for HMI Advanced. Drive configuration It describes in detail how to configure the drive using configuration macros. Start an appropriate macro;...
  • Page 214: Drive Components Macro Call

    Tips 13.9 Configuration of the drive with macros 13.9.1 Drive components macro call Macro call For commissioning, you have to select the corresponding macro from the available system project design. Procedure for calling macros Start the macro with the following operation: 1.
  • Page 215: Reading The Drive Topology

    Tips 13.9 Configuration of the drive with macros See also Procedure for calling ACX macros (Page 267) 13.9.2 Reading the drive topology Introduction The drive topology is read automatically during successfull completion of a configuration macro. All connected components are detected and drive-internal data transfer initialized. After the successful acceptance of the topology, the color of all the upper LEDs on the drive modules changes from YELLOW to GREEN.
  • Page 216: Drive-Object Assignment For Profibus Connection

    Tips 13.9 Configuration of the drive with macros Figure 13-17 Topology You will need the component numbers in order to configure direct measuring systems manually. 13.9.4 Drive-object assignment for PROFIBUS connection Introduction PROFIBUS telegrams (internal PROFIBUS HW Config) are used to specify the process data to be exchanged between the NCK and the drives.
  • Page 217 Tips 13.9 Configuration of the drive with macros Note The list of DOs involved in process-data exchange is completed by entering a value of "0". Components that are available, but do not communicate on PROFIBUS, must be preset to "255". The list of drive objects is already pre-assigned in the following order by the system upon initializing the drive (acceptance of topology): •...
  • Page 218 Tips 13.9 Configuration of the drive with macros Note The following table describes the assignment of the drive objects in the p978[0…9] for an infeed without Drive-CLiQ connection. This assignment is also done for a drive group with NX module. Table 13-2 Assignment p978[0…9] for infeed without Drive-CLiQ connection Component...
  • Page 219: Configuring Data Sets And The Profibus Protocol

    Tips 13.9 Configuration of the drive with macros 13.9.5 Configuring data sets and the PROFIBUS protocol Introduction The following parameters can be set for the Motor Modules on all six drive objects using the macro 100116: • Two encoder data sets in p140=2 •...
  • Page 220: Profibus Machine Control Panel On The Hmi

    Tips 13.10 PROFIBUS machine control panel on the HMI 13.10 PROFIBUS machine control panel on the HMI 13.10.1 Overview PROFIBUS machine control panel on the HMI Configuration of the PROFIBUS machine control panel The following is essential for a PROFIBUS machine control panel on the HMI: •...
  • Page 221 Tips 13.10 PROFIBUS machine control panel on the HMI – the "Network settings" tab in the "Properties new subnet PROFIBUS Subnet" dialog box. 4. Select the transmission rate "12 Mbps" for the "DP" profile (see figure below). Figure 13-19 Properties of the PROFIBUS interface 5.
  • Page 222 Tips 13.10 PROFIBUS machine control panel on the HMI – The fields "Time Ti" and "Time To" must contain a value "< 2ms". 7. Click on "OK" three times. 8. Module NCU 720.1 with SINAMICS S120 is inserted into the HW config (see figure below).
  • Page 223: Load Gsd File (Contains Machine Control Panel)

    Tips 13.10 PROFIBUS machine control panel on the HMI 13.10.3 Load GSD file (contains machine control panel) Introduction To expand the machine control panel, you need the device data (GSD file) with the SINUMERIK MCP. This file contains information that a DP master system requires to link the MCP as DP slave in its PROFIBUS configuration.
  • Page 224 Tips 13.10 PROFIBUS machine control panel on the HMI Figure 13-22 Machine control panel in HW Config 6. In the hardware catalog under "SINUMERIK MCP" click with the left mouse button to select the "Standard+Hand wheel" option and drag it to Slot 1 (see figure below). Figure 13-23 Standard+Handwheel for slot You have configured a machine control panel with handwheel in HW Config.
  • Page 225: Modifying Profibus Machine Control Panel In Ob100

    Tips 13.10 PROFIBUS machine control panel on the HMI 13.10.5 Modifying PROFIBUS machine control panel in OB100 Introduction The PLC basic program automatically transfers the machine control panel signals (MCP signals) and the addresses of the MCP in the HW config if the configuration is set up as laid out below.
  • Page 227: Licensing

    Licensing 14.1 Import licensing terms The terms below are important for understanding the license management of SINUMERIK software products. Term Description Software product "Software product" is generally used to describe a product that is installed on a piece of hardware to process data. Within the license management of SINUMERIK software products, a corresponding license is required to use each software product.
  • Page 228 Licensing 14.1 Import licensing terms Term Description Hardware serial number The hardware serial number is a permanent part of the CF Card. It is used to identify a control system uniquely. The hardware serial number can be determined by: CoL (see: Certificate of License > "Note") •...
  • Page 229: Overview

    License Key is generated from the license numbers of the system software, the options, as well as the hardware serial number. Here, access occurs to a license database administered by Siemens A&D via the Internet. Finally, the license information including the License Key is transferred to the hardware.
  • Page 230: Web License Manager

    To conclude the assignment, the License Key must be entered manually at the control system via the HMI user interface. Internet address The Internet address of the Web License Managers is: http://www.siemens.com/automation/license 14.4 Automation License Manager The Automation License Manager can be used to assign all the licenses required for a piece of hardware (license-requirement comparison).
  • Page 231: Cf Card And Hardware Serial Numbers

    Note Customer login You can obtain a customer login via Siemens A&D Mall at menu item: "Registration". The Internet address is: http://mall.automation.siemens.com/ Currently, access is not yet possible for all countries.
  • Page 232 Licensing 14.6 CF Card and hardware serial numbers Automation License Manager Thus, the hardware serial number is always decisive during the transfer of license information to a control system in Automation License Manager and not the set IP address of the control system with which Automation License Manager is currently communicating.
  • Page 233: Sinumerik License Key

    Licensing 14.7 SINUMERIK License Key 14.7 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 234: Assigning Via Web License Manager

    The assignment of a license to a piece of hardware cannot be reversed via the Web License Manager. 2. Go to the Internet page of the Web License Manager: http://www.siemens.com/automation/license 3. Login via "Direct access": – License number –...
  • Page 235: You Can Execute An Assignment Via Customer Login As Follows

    Licensing 14.8 Assigning via Web License Manager Note License Key via e-mail If you have an e-mail address, you can have the option (checkbox) of receiving the License Key by e-mail. Advantage: the entry of the License Key to the control system is simplified.
  • Page 236 The assignment of a license to a piece of hardware cannot be reversed via the Web License Manager. 2. Go to the Internet page of the Web License Manager: http://www.siemens.com/automation/license 3. Login via "Customer login": – User name –...
  • Page 237: Assigning Via Automation License Manager

    Licensing 14.9 Assigning via Automation License Manager 14.9 Assigning via Automation License Manager 14.9.1 Function Overview The following figure provides an overview of the functions available and the sequence in which they should be applied. CNC Part 1 (NCK, PLC, drive) Commissioning Manual, 11/2006, 6FC5397-2AP10-2BA0...
  • Page 238: Installing The Automation License Manager

    (PC/PG). Note The Automation License Manager is used for all Siemens A&D products, e.g. SIMATIC STEP7. As versions of the Automation License Manager are upwards compatible, we always recommend using the version with the highest version number, irrespective of the source of supply (e.g.
  • Page 239: Enabling/Disabling Sinumerik Plug-Ins

    Licensing 14.9 Assigning via Automation License Manager 14.9.3 Enabling/disabling SINUMERIK plug-ins Background All of the plug-ins enabled for the Automation License Manager scan the relevant communication interfaces when booting and after specific operator inputs. If there is a large number of enabled plug-ins, this can result in a significantly longer boot and refresh time for the user interface.
  • Page 240: Assigning Parameters To The Tcp/Ip Communication With A Control System

    General communication parameters The default general communication parameters for the HMI basic software are stored in the following initialization file: <installation drive>:\Siemens\Sinumerik\HMI-Advanced\mmc2\MMC.INI User-specific communication parameters The user-specific communication parameters for the HMI basic software are stored in the following initialization file: <installation drive>:\Siemens\Sinumerik\HMI-Advanced\user\MMC.INI...
  • Page 241 Licensing 14.9 Assigning via Automation License Manager Statements NcddeDefaultMachineName = AddressParameter NcddeMachineNames = AddressParameter [ AddressParameter ] ADDRESS0 = IP address, LINE=10,NAME=/NC, SAP=030d, PROFILE=CLT1__CP_L4_INT ADDRESS1 = IP address, LINE=10,NAME=/PLC, SAP=0201, PROFILE=CLT1__CP_L4_INT ADDRESS2 = IP address, LINE=10, NAME=/DRIVE0, SAP=0900, PROFILE=CLT1__CP_L4_INT ADDRESS3 = IP address, LINE=10, NAME=/DRIVE1, SAP=0a00, PROFILE=CLT1__CP_L4_INT ADDRESS4 = IP address, LINE=10, NAME=/DRIVE2, SAP=0b00, PROFILE=CLT1__CP_L4_INT ADDRESS5 = IP address, LINE=10, NAME=/DRIVE3, SAP=0c00, PROFILE=CLT1__CP_L4_INT ADDRESS6 = IP address, LINE=10, NAME=/DRIVE4, SAP=0d00, PROFILE=CLT1__CP_L4_INT...
  • Page 242 1. Close the Automation License Manager. (See note "Changing the IP address" above.) 2. Open the file: <installation drive>:\Siemens\Sinumerik\HMI-Advanced\user\MMC.INI with a text editor. 3. In the [ GLOBAL ] section, replace the current address string with the section name for the SINUMERIK control system with which the Automation License Manager should communicate after booting.
  • Page 243: How To Refresh The Navigation View: "Manage

    Licensing 14.9 Assigning via Automation License Manager 14.9.5 How to refresh the navigation view: "Manage" Background After actions which add or remove elements in the navigation area of the navigation view: "Manage" of the Automation License Manager (e.g. deletion of a control image (offline), enabling/disabling of plug-ins), the view is normally refreshed automatically.
  • Page 244: Creating A Control Image (Offline)

    Licensing 14.9 Assigning via Automation License Manager Requirements The license information can only be displayed if the Automation License Manager is communicating with the relevant SINUMERIK control system. Procedure with current control system (online) Perform the following actions to display the license information for the control system currently connected to the Automation License Manager: 1.
  • Page 245: Performing A License Requirement Alignment For A Piece Of Hardware

    Licensing 14.9 Assigning via Automation License Manager – Intranet or PTP link to control system: Transferring license information from the control image (offline) to the control system (online) in the Automation License Manager • The license information for a control system should be saved as an archive file for the purpose of archiving or customer support.
  • Page 246 Licensing 14.9 Assigning via Automation License Manager Requirements The following requirements must be met for the license requirement alignment: • The address data for the customer login (personalized login) is available: – User name – Password • Control (online) or control image (offline) An "online"...
  • Page 247: Transferring License Information For A Control Image (Offline) To A Control System (Online)

    Licensing 14.9 Assigning via Automation License Manager 14.9.9 Transferring license information for a control image (offline) to a control system (online) Background It is essential to transfer the license information for a control image (offline) to a control system (online), i.e. the hardware for a SINUMERIK control, for the following reasons: •...
  • Page 248: Internet Links

    Licensing 14.10 Internet links 14.10 Internet links Overview of Internet links used: Topic Address Web License Manager http://www.siemens.com/automation/license Siemens A&D Mall: Customer login http://mall.automation.siemens.com/ Download server http://software-download.automation.siemens.com CNC Part 1 (NCK, PLC, drive) Commissioning Manual, 11/2006, 6FC5397-2AP10-2BA0...
  • Page 249: Fundamentals

    Fundamentals 15.1 Basic information on SINAMICS S120 See also Small SINAMICS Glossary (Page 307) 15.1.1 Rules for wiring the DRIVE-CLiQ interface Introduction When wiring components with DRIVE CLiQ, the following rules apply: The rules are subdivided into obligatory rules, which must be observed, and optional rules, which enable automatic topology detection if they are adhered to.
  • Page 250 Fundamentals 15.1 Basic information on SINAMICS S120 Figure 15-1 Optional rules • For one motor module, the related motor encoder must also be connected. • Due to the improved performance utilization, use as many of the DRIVE-CLiQ points on the NCU as possible. •...
  • Page 251: Drive Objects (Do's) And Drive Components

    Fundamentals 15.1 Basic information on SINAMICS S120 15.1.2 Drive Objects (DO's) and Drive components Introduction The components that belong to the drive group are refelcted in the parameterization in a drive object. Each drive object has its own parameter list. General procedure The figure below uses the example of a SINAMICS S120 drive group to illustrate the meaning of the drive components and drive objects.
  • Page 252 Fundamentals 15.1 Basic information on SINAMICS S120 Figure 15-2 Drive group CNC Part 1 (NCK, PLC, drive) Commissioning Manual, 11/2006, 6FC5397-2AP10-2BA0...
  • Page 253: Bico Interconnection

    Fundamentals 15.1 Basic information on SINAMICS S120 15.1.3 BICO interconnection Introduction Each drive unit contains a large number of interconnectable 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 254 Fundamentals 15.1 Basic information on SINAMICS S120 Visualization of BICO connections on the HMI In the "Commissioning > Drive systems > Drives/Drive units > Connections" menu you can perform a BICO connection of the SINAMICS drive group associated components. Figure 15-3 "Connections"...
  • Page 255: Transfer Telegrams

    Fundamentals 15.2 Transfer telegrams 15.2 Transfer telegrams Introduction The transfer telegrams from NCK to the drive are transferred via an internal PROFIBUS on the NCU. They are: • Send telegrams (drive->NCK) • Receive telegrams (drive->NCK) Telegrams The telegrams are standard telegrams with pre-defined assignment of the process data. These telelgrams are interconnected in the drive object using BICO technology.
  • Page 256: Structure Of The Telegram With The Process Data For Sinumerik 840D Sl

    Fundamentals 15.2 Transfer telegrams Note If you change the message frame length of a drive component in HW config, you also must adjust the selection of the message frame type in the configuration of the interface in the NCK. What types of message frames are available? •...
  • Page 257 Fundamentals 15.2 Transfer telegrams Note The telegram types 116, 390 and 391 are preset by default via HW Config. It is recommended not to change these. Telegrams for receiving The following table contains the structure of the telegrams with the process data for receiving the control words and setpoints (NCK->drive).
  • Page 258: Process Data For Receiving And Sending

    Fundamentals 15.2 Transfer telegrams PZD sending word Message frame 116 Message frame 390 Message frame 391 PZD 11 G2_ZSW PZD 12 G2_XIST1 PZD 13 PZD 14 G2_XACT2 PZD 15 PZD 16 LOAD PZD 17 TORQUE PZD 18 POWER PZD 19 CURR 15.2.2 Process data for receiving and sending...
  • Page 259 Fundamentals 15.2 Transfer telegrams Note The drive signals are interconnected to the PZD automatically when a telegram type is allocated (parameter p922). Process data for sending The process data for the control words and setpoints are interconnected in the send buffer. Overview of status words and actual values The table below provides an overview of the process data that are interconnected as source at the transmit buffer.
  • Page 260: Control- And Status-Word Bits For Nck<->Drive Communication

    Fundamentals 15.3 Control- and status-word bits for NCK<->drive communication 15.3 Control- and status-word bits for NCK<->drive communication 15.3.1 NCK to drive Introduction The NCK transfers data to the drive using message frames via a PROFIBUS interface (internal PROFIBUS). Setpoints exist for speed control and torque and are preceded by a control word in the message frame.
  • Page 261 Fundamentals 15.3 Control- and status-word bits for NCK<->drive communication Signal provided by NCK VDI interface Remarks Bit in Meaning (PLC) STW1 Is "1", "TRUE", if the NC can No signal Control from the PLC control the associated drive AND the drive itself requests that control (ZSW1.bit9) Always "0", "FALSE"...
  • Page 262: Drive To Nck

    Fundamentals 15.3 Control- and status-word bits for NCK<->drive communication Signal provided by NCK VDI interface (PLC) Remarks Bit in Meaning STW2 DB(AX).DBX21.4 Bit B Motor changeover, bit1 Motor selection in progress DB(AX).DBX21.5 Motor selection in progress Master sign-of-life No signal Master sign-of-life 15.3.2 Drive to NCK...
  • Page 263 Fundamentals 15.3 Control- and status-word bits for NCK<->drive communication Meaning Bit in Remarks VDI interface (PLC) Signal processing in the NCK ZSW1 Control from the PLC Signal is primarily set No signal The NCK itself then sets the by the drive. associated STW1.bit9, if the drive in the NC is known to be "operational"...
  • Page 264 Fundamentals 15.3 Control- and status-word bits for NCK<->drive communication Meaning Bit in Remarks VDI interface (PLC) Signal processing in the NCK ZSW2 PLC interface for signalW Meaning Bit in Remarks VDI interface (PLC) Signal processing in the NCK signal Ramp-up function completed DB(AX).DBX94.2 Ramp-up function completed M<Mx...
  • Page 265: Macros For Commissioning

    Fundamentals 15.4 Macros for commissioning 15.4 Macros for commissioning Introduction For the sake of simplifying the drive commissioning, macros are included in the SW. The starting and processing of these ACX macros in the commissioning phase allows the drive group attached to the NCU to be largely pre-configured. Advantage Advantage of using macros: •...
  • Page 266 Fundamentals 15.4 Macros for commissioning Table 15-4 Macros for commissioning Number File name Description pm000001.acx Line Module with DRIVE CLiQ: Interconnection p0840 (infeed) • Interconnection 2. OFF 3 (rapid stop) • Reserving input and output terminals for two SH/SBC groups •...
  • Page 267: Procedure For Calling Acx Macros

    Fundamentals 15.4 Macros for commissioning 15.4.2 Procedure for calling ACX macros Introduction Warning Prior to starting the macro for the drive configuration, all drive releases (ON/OFF1, OFF2, OFF3, etc.) must be switched off. Process when calling a macro The principle processes for calling an individual macro are laid out below. These steps include: •...
  • Page 268 Fundamentals 15.4 Macros for commissioning Figure 15-4 Process macro call for update (left) and for configuration (right) CNC Part 1 (NCK, PLC, drive) Commissioning Manual, 11/2006, 6FC5397-2AP10-2BA0...
  • Page 269 Fundamentals 15.4 Macros for commissioning Occurring operator errors Operator errors that frequently occur when starting macros include: • incorrect status of p9 • active release to the modules Note If you have doubts, load the factory settings prior to executing a macro. See also Activate the factory settings (Page 69) Update the component firmware with a macro (Page 211)
  • Page 270: Ncu 7X0 And Nx1X Terminal Assignment

    Fundamentals 15.4 Macros for commissioning 15.4.3 NCU 7x0 and NX1x Terminal Assignment Introduction The following terminals are preassigned with the configuration macros for the commissioning: • NCU 7x0 – X122 – X132 • NX1x – X122 Terminal assignment X122 (NCU 7x0) Function Assignment recommendation BICO source/sink...
  • Page 271 Fundamentals 15.4 Macros for commissioning Function Assignment recommendation BICO source/sink Macro number function requires Output SH/SBC - Group 2 SINAMICS Safety CU: p0739 p9774 bit 1 parameterization Integrated BICO from CU by the user. after the first drive The pin will be in the group parameterized as output by the...
  • Page 272 Fundamentals 15.4 Macros for commissioning Function Assignment recommendation BICO source/sink Macro number Digital output $A_OUT[4] CU: p2091.3 Output Infeed Operational (if Line Module with LM : r0899.0 CU: p0743 DRIVE CLiQ Connection) Digital output $A_OUT[3] CU: p2091.2 Ground for pins 7, 8, 10, 11 Output Digital output $A_OUT[2] CU: p2091.1...
  • Page 273 Fundamentals 15.4 Macros for commissioning Function Assignment recommendation BICO source/sink Macro number Input SH/SBC 1 - Group 1 SINAMICS Safety NX: r0722.3 p9620 (all drives Integrated (SH enable = p9601) in the group) Ground for pins 1 ... 4 Ground for pins 7, 8, 10, 11 Output SH/SBC - Group 1 NX: p0738...
  • Page 274: Plc Program

    Fundamentals 15.5 PLC program 15.5 PLC program Introduction The PLC program is constructed modularly. It comprises the two parts: • PLC basic program The PLC basic program organizes the exchange of signals and data between the PLC user program and the NCK, HMI, and machine control panel components. The PLC basic program is a part of the tool box delivered with the SINUMERIK 840D sl.
  • Page 275 Fundamentals 15.5 PLC program Figure 15-6 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. There is no re-entry at the point of interruption (e.g.
  • Page 276 Fundamentals 15.5 PLC program higher-value address range is defined as the non-remanent area. Data blocks are always remanent. Start-up mode COLD RESTART (OB 100) If the remanent area has no battery backup (backup battery is empty) start-up is prevented. The following operations are performed during a cold restart: •...
  • Page 277: Fundamentals Of Creating A Plc User Program

    Fundamentals 15.5 PLC program 15.5.1 Fundamentals of creating a PLC user program Introduction The following points must be observed when creating a PLC user program: • Software and hardware prerequisites • Installing the toolbox (PLC basic program, slave OEM, GSD files) •...
  • Page 278: Machine And Setting Data

    Fundamentals 15.6 Machine and setting data 15.6 Machine and setting data Introduction Adaption of the control at the machine is carried out using the machine and setting data. Parameter assignment • Machine data The machine data (MD) are divided into the following areas: –...
  • Page 279: Machine Data Fundamentals

    Fundamentals 15.6 Machine and setting data Range Name from 43000 to 43999 Axisspecific setting data from 51000 to 61999 General machine data for compile cycles from 62000 to 62999 Channel-specific machine data for compile cycles from 63000 to 63999 Axis-specific machine data for compile cycles See also Overview Commissioning NCK (Page 97) 15.6.1...
  • Page 280 Fundamentals 15.6 Machine and setting data where the following applies: – $System variable – SSetting data – kComponent k identifies the components of the NC parameterizing the appropriate machine data: – NNC – CChannel – AAxis Activation Activation when referring to a machine data indicates the NC status in which a change to a machine data becomes active.
  • Page 281: Handling The Machine Data

    Fundamentals 15.6 Machine and setting data SCALING_FACTOR_USER_DEF_MASK, SCALING_FACTOR_USER_DEF and SCALING_SYSTEM IS METRIC = 1. If the machine data is not based on an engineering unit, then the field is marked with ”-”. Default value The machine data/setting data is preset to this value. Note Inputs via HMI are limited to ten digits plus comma and sign.
  • Page 282: Protection Levels

    Access to programs, data and functions is useroriented and controlled via eight hierarchical protection levels. These are divided into • 4 password levels for Siemens, machine manufacturer, start-up personnel, and end user • 4 key switch positions for end user...
  • Page 283 Fundamentals 15.7 Protection levels Table 15-7 Keyswitch settings Keyswitch Retraction pos. NC password level User group setting 0 or 1 or 2 or 3 Programmer, machine setter Red key (highest access level) 0 or 1 or 2 Green key (increasing access rights) Qualified operator 0 or 1 Black key...
  • Page 284: Protection Level Fundamentals

    Fundamentals 15.7 Protection levels 15.7.1 Protection level fundamentals Introduction You can influence the protection levels used with passwords via softkeys. Press the "HMI" -> "Password" softkey in the “Startup” operating area. The following softkeys are available: • Setting the password •...
  • Page 285: Axis Data

    Fundamentals 15.8 Axis data 15.8 Axis data Introduction The term "axis" is often used either as a single term in conjunction with SINUMERIK 840D sl or in compounded form, e.g. machine axis, channel axis, etc. To provide an overview of the philosophy used as the basis, here is a brief explanation of this term.
  • Page 286: Axis Configuration

    Fundamentals 15.8 Axis data Special axes Additional axes are all other channel axes that are not geometry axes. Unlike for geometry axes (Cartesian coordinate system), no geometric context is defined for additional axes, neither between additional axes or with respect to geometry axes. Literature Function Manual Basic Functions;...
  • Page 287 Fundamentals 15.8 Axis data Note Leading zeroes in user-defined axis identifiers are ignored. Example: MD10000 AXCONF_MACHAX_NAME_TAB[0] = X01 is equivalent to X1 The geometry axes must be assigned to the channel axes in ascending order leaving no gaps. Special features •...
  • Page 288 Fundamentals 15.8 Axis data Literature Function Manual, Expanded Functions; Several Control Panels on Multiple NCUs, Decentralized Systems Example Figure 15-8 Axis configuration with channel axis gap CNC Part 1 (NCK, PLC, drive) Commissioning Manual, 11/2006, 6FC5397-2AP10-2BA0...
  • Page 289: Axis Assignment

    Fundamentals 15.8 Axis data Note The gaps count as axes with reference to the number of channel axes and their indices. If an attempt is made to define a channel axis gap on the geo axis via the machine data MD20050 AXCONF_GEOAX_ASSIGN_TAB , the attempt is rejected without an alarm.
  • Page 290 Fundamentals 15.8 Axis data Figure 15-9 Axis assignment The I/O addresses of the drives defined in the S7 project using "HW Config" are contained in the following machine data. MD13050: DRIVE_LOGIC_ADDRESS[n] (I/O address of the drive) The machine data index (n+1) is the logical drive number for the NC. Te following machine data are used to assign each individual machine axis to a drive.
  • Page 291: Axis Names

    Fundamentals 15.8 Axis data Which channel axis uses which machine axis (explicite) and how many channel axes are present in the channel (implicite) is detemined through the following machine date: MD20070: AXCONF_MACHAX_USED[n] (machine axis number valid in channel) The machine axis number m to be entered in the machine data (with m=1,2,3...) is referred to the appropriate machine axis m.
  • Page 292 Fundamentals 15.8 Axis data • Accessing axis-specific machine data (loading, saving, displaying) • Reference point approach from the parts program G74 • Measuring • Test point traversing from the parts program G75 • Traversing the machine axis from PLC • Display of axis-specific alarms •...
  • Page 293: Setpoint/Actual Value Channels

    Fundamentals 15.8 Axis data Number Name of identifier Name / remarks Channelspecific ($MC_ ... ) 20060 AXCONF_GEOAX_NAME_TAB Geometry axis name in channel 20080 AXCONF_CHANAX_NAME_TAB Channel axis name/special axis name in channel 15.8.4 Setpoint/actual value channels Introduction The following points must be observed for setpoint/actual value channels: Note In order to guarantee that the control runs up reliably, all machine axes are declared as simulation axes (without hardware).
  • Page 294 Fundamentals 15.8 Axis data In the two axis-specific machine data: • MD30110 CTRLOUT_MODULE_NR[0] (setpoint assignment: logic drive number) • MD30220 ENC_MODUL_NR[n] (actual value assignment: logic drive number) the index m for the DRIVE_LOGC_ADRESS of the drive is entered, which represents the machine axis.
  • Page 295 Fundamentals 15.8 Axis data Number Name of identifier Name / remarks Reference 30230 ENC_INPUT_NR[0] Actual value assignment: Position measuring system 1 1 = G1_XIST encoder 1 position actual value 1 2 = G2_XIST encoder 1 position actual value 2 30230 ENC_INPUT_NR[1] Actual value assignment: Position measuring system 2...
  • Page 296: Spindle Data

    Fundamentals 15.9 Spindle data 15.9 Spindle data Introduction The spindle mode of a machine axis is a subset of the general axis functionality. For this reason, the machine data required to start up an axis have also to be set for a spindle. The machine data to parameterize a spindle are therefore to be found under the axis-specific machine data (from MD 35000 onwards).
  • Page 297 Fundamentals 15.9 Spindle data Literature Programming Manual Basics Programmiing Manual Cycles Axis mode The spindle can be switched from spindle mode to axis mode (rotary axis) if the same motor is used for spindle and axis operation. Switching between spindle modes Switching between spindle and axis operation can be done as follows: Figure 15-10 Switching between spindle modes •...
  • Page 298: Default Mode Setting

    Fundamentals 15.9 Spindle data If the spindle is to be stopped from direction of rotation (M3 or M4) with orientation, or is to be re-oriented from standstill (M5), then the positioning mode is selected with SPOS, SPOSA or M19. • Positioning mode → Control mode If spindle orientation is to be terminated, M3, M4 or M5 is used to change to control mode.
  • Page 299: Axis Mode

    Fundamentals 15.9 Spindle data Figure 15-11 Programmable defaults for spindle operating mode 15.9.3 Axis mode Why axis mode? For certain machining tasks (e.g., on turning machines with end-face machining), the spindle not only has to be rotated with M3, M4 and M5 and positioned with SPOS, M19 and SPOSA, but also addressed as an axis with its own identifier (e.g., C).
  • Page 300 Fundamentals 15.9 Spindle data Configurable M function The M function, which switches the spindle to axis mode, can be configured in machine data: MD20094 $MC_SPIND_RIGID_TAPPING_M_NR. The value on delivery is 70. Functionality If the axis mode is active and the rotary axis homed, all axis functions can be used. References: /FB2/Function Manual, Extended Functions;...
  • Page 301 Fundamentals 15.9 Spindle data MD31050 $MA_DRIVE_AX_RATIO_DENOM (Measuring gear denominator) MD31060 $MA_DRIVE_AX_RATIO_NUMERA (Numerator load gear unit) MD32200 $MA_POSCTRL_GAIN (Servo gain factor (Kv)) MD32452 $MA_BACKLASH_FACTOR (Weighting factor for backlash) MD32610 $MA_VELO_FFW_WEIGHT (Weighting factor for feedforward control) MD32800 $MA_EQUIV_CURRCTRL_TIME (Equivalent time constant current control circuit for feedforward control) MD32810 $MA_EQUIV_SPEEDCTRL_TIME (Equivalent time constant speed control loop for...
  • Page 302 Fundamentals 15.9 Spindle data Change to spindle mode The interpolation parameter (set 1 ... 5) is selected according to the currently valid gear step. The feedforward control function is always activated, except for tapping with compensating chuck. Machine data: MD32620 $MA_FFW_MODE (feedforward control type) must always be not equal to 0.
  • Page 303 Fundamentals 15.9 Spindle data • IS: DB31,... DBX2.2 (spindle reset) Literature Function Manual Basic Functions; Spindles CNC Part 1 (NCK, PLC, drive) Commissioning Manual, 11/2006, 6FC5397-2AP10-2BA0...
  • Page 305: Appendix

    Appendix Abbreviations Compressed format from XML Active Line Module Automation System Command Command output disable output disable BERO Proximity limit switch Binector input BICO Binector connector Binector output CompactFlash Connector input Computerized Numerical Control Computerized numerical control Connector output Certificate of License Communications Processor: Communication processor Central Processing Unit Central processing unit Control unit...
  • Page 306 Appendix A.1 Abbreviations Global User Data Human Machine Interface: SINUMERIK operator interface for operating, programming, and simulation Start up Interpolator cycle JOG mode: manual mode for setting up the machine Local Area Network Light Emitting Diode: light-emitting-diode display Position controller Local User Data Media Access Control MCIS...
  • Page 307: Small Sinamics Glossary

    Appendix A.2 Small SINAMICS Glossary Sensor Module Externally Mounted SRAM Static RAM: static RAM (battery-backed) Control word GWPS Grinding wheel peripheral speed Thin Client Unit (communication with operator panels) Universal Serial Bus Association of Electrical Engineering, Electronics and Information Technology Voltage output Status Word Small SINAMICS Glossary...
  • Page 308 Appendix A.2 Small SINAMICS Glossary Drive object A drive object is an autonomous, individual software function with its own -> "Parameters" and may also have its own -> "Fault"s and -> "Alarm"s. Drive objects may exist by default (e.g. On Board I/O) can be created individually (e.g. –> "Terminal Board" 30, TB30) or also as multiples (e.g.
  • Page 309 Appendix A.2 Small SINAMICS Glossary DRIVE-CLiQ Abbreviation of "Drive Component Link with IQ". Communication system for connecting the different components of a SINAMICS drive system (e.g. -> "Control Unit", -> "Line Module"s, -> "Motor Module"s, -> "Motor"s, and speed/position sensors. The DRIVE-CLiQ hardware is based on the Industrial Ethernet standard with twisted-pair lines.
  • Page 310 Appendix A.2 Small SINAMICS Glossary Line Module A Line Module is a power component that generates the DC link voltage for one or more – > "Motor Module"s from a 3-phase mains voltage. In SINAMICS, the following three types of Line Module are available: –>...
  • Page 311 Appendix A.2 Small SINAMICS Glossary PROFIBUS Field bus to IEC 61158, Sections 2 to 6. The abbreviation "DP" is no longer included because PROFIBUS FMS is not standardized and PROFIBUS PA (for Process Automation) is now part of the "general" –> "PROFIBUS". Sensor Module Hardware module for evaluating speed/position encoder signals and providing detected actual values as numerical values at a ->...
  • Page 312: Publication-Specific Information

    Appendix A.3 Publication-specific information accurately and with a good dynamic response. Two vector control types exist: Frequency control (–> "Sensorless Vector Control") and speed-torque control with speed feedback (–> "Sensor"). Status Word Bit-coded -> "Process data" word, transmitted by -> "PROFIdrive" at cyclic intervals to control the drive states.
  • Page 313 Appendix A.3 Publication-specific information CNC Part 1 (NCK, PLC, drive) Commissioning Manual, 11/2006, 6FC5397-2AP10-2BA0...
  • Page 314: Overview

    Appendix A.3 Publication-specific information A.3.2 Overview CNC Part 1 (NCK, PLC, drive) Commissioning Manual, 11/2006, 6FC5397-2AP10-2BA0...
  • Page 315: Index

    Index Contour monitoring, 145 Control direction, 132 Control image (offline), 244, 245, 247 Requirements, 245 Control system (online), 238, 244, 245, 247 Switchover, 242, 244 Control system file Absolute encoders, 155 Online, 247 Calibration of multiple axes, 157 Control unit, 308 Operator-assisted calibration, 156 Control Word, 311 Recalibration, 157...
  • Page 316 Index Encoder frequency limit, 171 Identification of the ALM, 91 Encoder Monitoring Incremental measuring systems Cut-off frequency, 146 Parameter ization, 120 Cyclic monitoring of position tolerance, 147 Indexing axes, 130 Position tolerance when switching over the Indexing position tables, 131 encoder, 147 Input limits, 99 Zero mark monitoring, 147...
  • Page 317 Index With rotary encoder on motor, 120 Menu command With rotary encoder on the machine, 121 License key, 246 Linear measuring system, 122 Menu command Download to target system, 247 Menu command License Key, 247 MMC.INI, 240, 241, 242 Machine axes, 285 Modulo axis, 128 Machine data Modulo display, 128...
  • Page 318 Index Setpoints: TRQRED, 258 SIMATIC, 238 Setpoints:KPC, 258 SIMATIC Manager, 39 Setpoints:XERR, 258 start, 39 Status words: A_ZSW1, 259 SIMATIC S7 project, 41 Status words: G1_ZSW, 259 SinuCom Update Agent, 180 Status words: G2_ZSW, 259 SINUMERIK 840Di sl, 227 Status words: G3_ZSW, 259 SINUMERIK plug-in, 238, 240 Status words: MELDW, 259 enable/disable, 239...
  • Page 319 Index Terminal allocation at the HMI, 273 Thread Vector Control, 311 Tapping/thread cutting, 118 Velocities, 114 Toolbox, 26 Max. axis velocity, 114 Topology of individual drive components, 215 Max. tool path velocity, 114 Topology of the drive set, 215 Maximum spindle speed, 114 Transfer license information Upper limit, 114 Drag-and-drop, 247...

This manual is also suitable for:

Sinamics s120Sinumerik 840de sl

Table of Contents