Siemens SINUMERIK 840D sl Configuration Manual

Siemens SINUMERIK 840D sl Configuration Manual

Sinumerik step 7 toolbox v14 sp1
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents
SINUMERIK
SINUMERIK 840D sl
SINUMERIK STEP 7 Toolbox
V14 SP1
Configuration Manual
Printout of the Online Help
05/2017
A5E41846325
___________________
Preface
___________________
Product information
___________________
Configuring the NCU
___________________
Programming the PLC
___________________
Configuring networks
___________________
Configuring telegrams and
drive units
___________________
Configuring I/O
___________________
Tag selection with NC VAR
selector
___________________
Importing user alarms
___________________
Safety configuration
1
2
3
4
5
6
7
8
9
Table of Contents
loading

Summary of Contents for Siemens SINUMERIK 840D sl

  • Page 1 ___________________ Preface ___________________ Product information ___________________ SINUMERIK Configuring the NCU ___________________ Programming the PLC SINUMERIK 840D sl SINUMERIK STEP 7 Toolbox ___________________ V14 SP1 Configuring networks ___________________ Configuring telegrams and drive units Configuration Manual ___________________ Configuring I/O ___________________ Tag selection with NC VAR...
  • Page 2 Note the following: WARNING Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation. If products and components from other manufacturers are used, these must be recommended or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any problems.
  • Page 3: Preface

    Training For information about the range of training courses, refer under: ● www.siemens.com/sitrain SITRAIN - Siemens training for products, systems and solutions in automation technology ● www.siemens.com/sinutrain SinuTrain - training software for SINUMERIK FAQs You can find Frequently Asked Questions in the Service&Support pages under Product Support.
  • Page 4 Preface SINUMERIK You can find information on SINUMERIK under the following link: www.siemens.com/sinumerik Target group This publication is aimed at planning and application engineers. Benefits The Configuration Manual enables the target group to apply the rules and guidelines to be observed when configuring products and systems.
  • Page 5 Preface Fundamental safety instructions WARNING Danger to life if the safety instructions and residual risks are not observed If the safety instructions and residual risks in the associated hardware documentation are not observed, accidents involving severe injuries or death can occur. •...
  • Page 6 Siemens’ products and solutions undergo continuous development to make them more secure. Siemens strongly recommends to apply product updates as soon as available and to always use the latest product versions. Use of product versions that are no longer supported, and failure to apply latest updates may increase customer’s exposure to cyber threats.
  • Page 7: Table Of Contents

    Table of contents Preface ..............................3 Product information ..........................11 Validity of the description ......................11 Product features ........................12 Installation notes ........................13 Limitations for use ........................15 Configuring the NCU ..........................17 SINUMERIK NCU ........................17 2.1.1 Structure of SINUMERIK NCU ....................17 2.1.2 Insert NCU ..........................
  • Page 8 Table of contents Upgrading the PLC basic program..................65 Copying blocks from one project into another ............... 67 Use and handling of groups ....................69 Create blocks from external sources ..................70 3.10 Exporting PLC symbols for SINUMERIK Operate ..............72 3.10.1 Creating and loading PLC symbols..................
  • Page 9 Table of contents 5.7.2 Telegrams in SINUMERIK Safety Integrated (SPL) mode ........... 121 5.7.3 Telegrams for PROFIsafe communication................122 5.7.4 Telegrams for SIC/SCC communication ................123 Adapting I/O start addresses ....................124 5.8.1 Introduction ........................... 124 5.8.2 PROFIdrive telegrams for standard data ................126 5.8.3 PROFIdrive telegrams for Safety Integrated (SPL) ..............
  • Page 10 Table of contents Configuring Safety Integrated (SPL) ..................177 9.7.1 Introduction .......................... 177 9.7.2 Configuring the F-peripherals ....................178 9.7.3 Parameterizing F-input modules ..................180 9.7.4 Configuring drives with F-functions ..................181 9.7.5 Parameterizing F-output modules ..................183 9.7.6 Configuration of the PROFIsafe addresses (peripherals) ............ 184 9.7.7 Configuration of the PROFIsafe addresses (drives) ............
  • Page 11: Product Information

    Product information Validity of the description These notes take precedence over statements in other documents. Please read the notes carefully since important information for installation and use of the software is included for you. Notes that were no longer able to be taken into account in the online help can be found under Limitations for use (Page 15).
  • Page 12: Product Features

    ● SINUMERIK basic PLC program The TIA Portal Toolbox automatically installs the basic PLC program as the system library "SINUMERIK 840D sl PLC Basic Program". Matching the firmware versions of the modules, there are different versions of the PLC basic program: –...
  • Page 13: Installation Notes

    Via the installation wizard of the TIA Portal, you can uninstall the software, which is entered in the Windows dialog "Uninstall or change program": "Control Panel > Programs > Uninstall Program > Siemens Totally Integrated Automation Portal V14 SP1" Note NC VAR selector must be uninstalled separately.
  • Page 14 Product information 1.3 Installation notes SINUMERIK STEP 7 Toolbox V14 SP1 Configuration Manual, 05/2017, A5E41846325...
  • Page 15: Limitations For Use

    Product information 1.4 Limitations for use Limitations for use According to the state of the art, it can admittedly not be excluded - given the complexity of the software products - that sporadic functional restrictions can occur under the greatly differing system and application conditions.
  • Page 17: Configuring The Ncu

    Configuring the NCU SINUMERIK NCU 2.1.1 Structure of SINUMERIK NCU Subcomponents of the NCU A SINUMERIK NCU always comprises the following integrated subcomponents: ● PLC ● NCK ● CP ● HMI (SINUMERIK Operate) ● SINAMICS Integrated (DRIVE) These subcomponents are also automatically created when you insert the NCU. Additional connectable components Optionally, the following components can be connected to the NCU: ●...
  • Page 18 Configuring the NCU 2.1 SINUMERIK NCU 4. Under "Controller > SINUMERIK 840D sl > NCU", select an NCU (in this example, the "NCU 730.3 PN"). SINUMERIK STEP 7 Toolbox V14 SP1 Configuration Manual, 05/2017, A5E41846325...
  • Page 19 If you configure an NCU V4.7 (TIA Portal) but the firmware V4.7 SP2 (or higher) is used in the actual hardware, the preset I/O addresses from the Siemens telegram 701 in the TIA Portal do not match those in the machine data (MD10393).
  • Page 20 Configuring the NCU 2.1 SINUMERIK NCU Result The SINUMERIK NCU is created as new device. Note Copying and pasting the NCU or the DP master system You can also copy and insert NCUs within a project. For this purpose, switch to the network view or to the topology view of the project view.
  • Page 21: Insert Nx Module

    1. In the network view, navigate in the hardware catalog to the folder "Controller > SINUMERIK 840D sl > NX" and select, for example, NX15.3 . 2. You can select the firmware version of the NX module at "Information" in the hardware catalog.
  • Page 22 Configuring the NCU 2.2 Insert NX module 4. To connect the NX module with a master system, click "Not assigned" and select the master system. Note Connection to DP Integrated Note that the NX modules can only be connected to the DP Integrated of a SINUMERIK NCU, and not to external PROFIBUS interfaces! The NX is connected with the NCU and the "Wiring between control and NX"...
  • Page 23 Configuring the NCU 2.2 Insert NX module Note This setting cannot be undone Please note that once set, the DP address of an NX cannot be subsequently changed. The NX modules must be connected to the DRIVE-CLiQ socket of the NCU in the real wiring that corresponds to the permanently assigned DP address.
  • Page 24 Configuring the NCU 2.2 Insert NX module Note Handling the NX • If NX modules were connected with the NCU and the NCU is subsequently deleted, the NX modules are kept in the project as unconnected slave modules. They can be subsequently assigned to another NCU.
  • Page 25: Replacing A Device Or Upgrading Firmware

    Configuring the NCU 2.3 Replacing a device or upgrading firmware Replacing a device or upgrading firmware 2.3.1 Replacing the NCU You can replace different NCUs. By replacing a device, you can change to another NCU with a different expansion stage, with a different firmware version and other properties. Rules for replacing an NCU ●...
  • Page 26: Basic Procedure

    Configuring the NCU 2.3 Replacing a device or upgrading firmware 2.3.3 Basic procedure Note Changing the firmware version of the configured NCU or NX The firmware version of the configured hardware and the real hardware must match. Otherwise it is possible that you configure version-dependent non-detectable properties in the TIA Portal that the real hardware does not support.
  • Page 27 Configuring the NCU 2.3 Replacing a device or upgrading firmware 4. Select the new device in the folder structure. 5. Select the required firmware version in the "Version" drop-down list. Note Solving compatibility problems If the two devices are not compatible or only have restricted compatibility, you can find further information in Section "Compatibility information".
  • Page 28: Setting Up The Communication

    Configuring the NCU 2.4 Setting up the communication Setting up the communication Procedure To establish a communication connection between two devices, proceed as follows: 1. In the "Online" menu, select the "Accessible devices" command. 2. In the drop-down lists "Type of PG/PC interface" and "PG/PC interface", search for the interface used.
  • Page 29 Configuring the NCU 2.4 Setting up the communication 3. If you have connected a new device in the meantime, click the "Refresh" button to refresh the list of accessible devices. 4. Using "Display", transfer to the project navigator the device that has been found in the "Online accesses"...
  • Page 30: Loading And Closing The Hardware Configuration In The Plc

    Configuring the NCU 2.5 Loading and closing the hardware configuration in the PLC Loading and closing the hardware configuration in the PLC Requirement Note General reset before loading into a PLC with Safety Integrated plus (F-PLC) If the actual hardware has been operated in Safety Integrated plus (F-PLC) mode and you now want to load a configured hardware configuration with changed Safety Integrated mode, you must perform a general reset of the PLC prior to the loading.
  • Page 31 Configuring the NCU 2.5 Loading and closing the hardware configuration in the PLC 2. To download the compiled configuration to the PLC, right-click "CNC_1" and select the "Hardware configuration" command in the "Download to device" shortcut menu. The "Extended download" dialog opens. Figure 2-1 "Extended download"...
  • Page 32 Configuring the NCU 2.5 Loading and closing the hardware configuration in the PLC 4. Confirm the download with "Load". The "Download preview" dialog opens. Figure 2-2 "Download preview" dialog Note Consistency check Before the loading, the consistency of the download is checked. This means that a check is made as to whether the parameterized hardware of the TIA Portal project matches the hardware that has been actually installed.
  • Page 33: Creating Sinumerik Plc Archives

    Configuring the NCU 2.6 Creating SINUMERIK PLC archives Creating SINUMERIK PLC archives 2.6.1 Creating a SINUMERIK PLC archive Introduction Unlike TIA Portal project archives (*.zap13), SINUMERIK PLC archives (*.arc) contain precompiled commissioning data that you can import directly to the NCU (e.g. with SINUMERIK Operate).
  • Page 34 Further information ● General information on series commissioning archives can be found in Section "Saving and managing data" of the "SINUMERIK 840D sl, SINAMICS S120 Commissioning CNC:NCK, PLC, Drive for TIA" Commissioning Manual. ● Information about the differences of the archives that were created with STEP 7 V5.x is available at "Handling SINUMERIK archives".
  • Page 35 Configuring the NCU 2.6 Creating SINUMERIK PLC archives Overview You can create SINUMERIK archives in various ways: ● In the menu bar at "Tools" ● In the shortcut menu of the NCU or PLC: Figure 2-3 Creating a SINUMERIK archive SINUMERIK STEP 7 Toolbox V14 SP1 Configuration Manual, 05/2017, A5E41846325...
  • Page 36: Available Sinumerik Archive Types

    Configuring the NCU 2.6 Creating SINUMERIK PLC archives 2.6.2 Available SINUMERIK archive types There are different types of archives which you can create in different ways. Essentially, you cannot use the TIA Portal to create archives that contain NC, drive or HMI data. However, you can save a finely granular selection of translated program blocks as an archive in the TIA Portal with the "PLC reload archive".
  • Page 37: External Tools For Sinumerik Archives

    Various tools are available to open and edit the created SINUMERIK archives: Tool Purpose Available from SinuCom ARC Editing of SINUMERIK archives SinuCom commissioning/service tools in the SIEMENS Industry Mall Create MyConfig Extensive software, including functions Create MyConfig in the SIEMENS such as: Industry Mall Data comparison of SINUMERIK •...
  • Page 38: Creating A Plc Hardware Upgrade Archive

    Configuring the NCU 2.6 Creating SINUMERIK PLC archives 2.6.4 Creating a PLC hardware upgrade archive Requirement ● The data carrier to be used or storage location is available and has sufficient storage space. Procedure To create a hardware upgrade archive, proceed as follows: 1.
  • Page 39: Creating A Plc Commissioning Archive

    • In Safety Integrated plus (F-PLC) mode, F-blocks are saved in PLC commissioning archives. Note the additional information in the Readme file for SINUMERIK Toolbox: "Start > Siemens Automation > Documentation > Readmes > German". SINUMERIK STEP 7 Toolbox V14 SP1 Configuration Manual, 05/2017, A5E41846325...
  • Page 40 Configuring the NCU 2.6 Creating SINUMERIK PLC archives Procedure To create a PLC commissioning archive, proceed as follows: 1. In the project tree, right-click the device name, e.g. "CNC_1", and select "Create SINUMERIK archive > Hardware and all program blocks" in the shortcut menu. The "Create SINUMERIK archive"...
  • Page 41: Creating A Plc Reload Archive

    Configuring the NCU 2.6 Creating SINUMERIK PLC archives 2.6.6 Creating a PLC reload archive You can save the program blocks of the PLC as reload archive in the TIA Portal. Note F-blocks are not saved in reload archives The F-blocks used in the SINUMERIK Safety Integrated plus (F-PLC) mode are not saved in reload archives.
  • Page 42 Configuring the NCU 2.6 Creating SINUMERIK PLC archives 2. Click "Selected program blocks" in the "Create SINUMERIK archive" in the shortcut menu. The "Create SINUMERIK archive" dialog opens. Figure 2-6 "Create SINUMERIK archive" dialog with expanded "Block selection" section SINUMERIK STEP 7 Toolbox V14 SP1 Configuration Manual, 05/2017, A5E41846325...
  • Page 43 Configuring the NCU 2.6 Creating SINUMERIK PLC archives 3. Make the required settings: Element Purpose Block selection In the "Block selection" section, you can check your selection or select the program blocks to be saved. If you have organized program blocks as groups, they are displayed as an expandable folder in the block selection.
  • Page 44 Configuring the NCU 2.6 Creating SINUMERIK PLC archives SINUMERIK STEP 7 Toolbox V14 SP1 Configuration Manual, 05/2017, A5E41846325...
  • Page 45: Programming The Plc

    SINUMERIK STEP 7 Toolbox V14 SP1. Use the appropriate PLC basic program depending on the firmware version of an NCU. – SINUMERIK 840D sl PLC basic program V4.5.x.x – SINUMERIK 840D sl PLC basic program V4.7.x.x –...
  • Page 46 Programming the PLC 3.1 General information about the PLC program The following figure illustrates the structure of the PLC program: Figure 3-1 Structure of the PLC program SINUMERIK STEP 7 Toolbox V14 SP1 Configuration Manual, 05/2017...
  • Page 47 ● The command output inhibit (BASP) is canceled Further information The block descriptions and other information about the PLC basic program are contained in the P3 section of the SINUMERIK 840D sl Basic Functions Manual. Basic PLC program. SINUMERIK STEP 7 Toolbox V14 SP1 Configuration Manual, 05/2017...
  • Page 48: Using Copy Templates

    Using copy templates Introduction The "Global libraries" folder of the "Libraries" TaskCard contains the system library of the SINUMERIK PLC program for your device version: "SINUMERIK 840D sl PLC basic program V4.x.x.x". Figure 3-2 Master copies of the SINUMERIK PLC program...
  • Page 49 Programming the PLC 3.1 General information about the PLC program Under the "Master copies" folder there are four subfolders with different contents. You can copy the contents of these subfolders in their entirety or you can copy the individual objects as needed.
  • Page 50 Programming the PLC 3.1 General information about the PLC program Folder Purpose Contents ALMSG_DB_Ex You need this master copy if This master copy contains ALMSG_DB [DB2] in the variant Ex- tendAlMsg you use the PLC alarm ex- tendAlMsg=True (PLC alarm extension via AL_MSG [FC10]). tension via AL_MSG [FC10] The used DB2 variant must match in the startup for parameterization of (ExtendAlMsg=True).
  • Page 51 Section "Using libraries". ● The block descriptions and other information about the PLC basic program is contained in the SINUMERIK 840D sl Basic Functions Manual in the P3: Basic PLC program section. SINUMERIK STEP 7 Toolbox V14 SP1...
  • Page 52: Block Listing As Table

    ● Information about other blocks of the basic program (e.g. blocks generated at runtime on the NCU) or the operational principle of the basic program is contained in the SINUMERIK 840D sl / 828D Basic Functions Manual. ● Information about the changed handling of specific blocks compared with STEP 7 V5.x is available in the "Migrating SINUMERIK projects"...
  • Page 53 Programming the PLC 3.1 General information about the PLC program Table 3- 3 Function blocks (FBs) Address Icon Description RUN_UP The block configures and initializes the basic program, starts synchronization between PLC and NCK, is called in OB100 with instance DB gp_par [DB7]. The block is used for reading NC tags.
  • Page 54 Programming the PLC 3.1 General information about the PLC program Address Icon Description FC22 TM_DIR The blocks provides the shortest path and direction of motion for positioning a tool maga- zine or turret (indexing axis). FC24 MCP_IFM2 The block is used for transferring data from the machine control panel (MCP milling ver- sion compact) to the NC/PLC interface.
  • Page 55: Blocks With User-Specific Adaptations

    Programming the PLC 3.1 General information about the PLC program Address Icon Description DB1000 CtrlE Interface between user program and operating software, contains energy saving pro- files for Ctrl-Energy. DB1001 SentronPac Interface between user program and operating software, contains signals for SENTRON PAC energy monitoring devices.
  • Page 56: Assignment Overview

    From the following block number assignment overview, you can find out whether a specific block number (or block address) can be used for the PLC user program, or whether it is assigned or reserved by Siemens or the PLC basic program. Table 3- 7...
  • Page 57 PLC basic program. Further information Information about the PLC basic program of the SINUMERIK 840D sl is contained in the P3 section of the SINUMERIK 840D sl Basic Functions Manual: PLC basic program for SINUMERIK 840D sl.
  • Page 58: Generating Blocks At Runtime On The Ncu

    Programming the PLC 3.1 General information about the PLC program 3.1.7 Generating blocks at runtime on the NCU In specific circumstances, some of the basic PLC program blocks are generated by the NCU at runtime: ● If you do not load them explicitly onto the NCU ●...
  • Page 59: Opening The Plc Basic Program System Library

    (Page 60). Further information The block descriptions and other information about the PLC basic program are contained in the P3 section of the SINUMERIK 840D sl Basic Functions Manual. Basic PLC program. SINUMERIK STEP 7 Toolbox V14 SP1 Configuration Manual, 05/2017...
  • Page 60: Adding The Plc Basic Program

    You can copy the PLC basic program blocks in their entirety or individually. Requirement ● A SINUMERIK 840D sl NCU is inserted. ● In the project, there are no blocks from other creators in the range of numbers of the PLC basic program (Page 56).
  • Page 61 Programming the PLC 3.3 Adding the PLC basic program – Copying specific PLC basic program blocks Open the master copies folder and, if applicable, other lower-level folders and manually define the blocks which you would like to copy by selecting them and then dragging and dropping them into the program blocks folder.
  • Page 62 Programming the PLC 3.3 Adding the PLC basic program 4. In the project tree, right-click "Program blocks" and select the "Software (compile all blocks)" command in the "Compile" shortcut menu. Result The blocks of the basic SINUMERIK PLC program have been copied to your project. Any copied folder structure (Page 69) has been imported.
  • Page 63: Conflicts When Copying Blocks

    Programming the PLC 3.4 Conflicts when copying blocks Conflicts when copying blocks Two different conflict types can occur during the copy and insert of program blocks: ● If several blocks with the same block numbers exist in the program blocks folder, a message is not displayed immediately.
  • Page 64: Correcting Ob1

    Programming the PLC 3.5 Correcting OB1 The dialog offers you the following ways of rectifying the conflict: – You can cancel the copy process, search for the duplicate blocks in the project tree and delete them before you initiate the copy process again. In this case, click in the "Cancel"...
  • Page 65: Upgrading The Plc Basic Program

    1. Switch to the "Libraries" task card and open the PLC basic program that matches the firmware version of the inserted NCU: – SINUMERIK 840D sl PLC basic program V4.5.x.x – SINUMERIK 840D sl PLC basic program V4.7.x.x – SINUMERIK 840D sl PLC basic program V4.8.x.x...
  • Page 66 Programming the PLC 3.6 Upgrading the PLC basic program 3. Depending on the block number assignment in your project, select one of the following options: Assignment of the PLC Possible procedure GP No. range Through blocks of other Overwriting specific PLC basic program blocks creators 1.
  • Page 67: Copying Blocks From One Project Into Another

    Programming the PLC 3.7 Copying blocks from one project into another Copying blocks from one project into another Procedure Proceed as follows to import blocks from an existing project: 1. From the "View" menu, choose the command "Reference projects". The "Reference projects" palette is displayed under the project tree. 2.
  • Page 68 Programming the PLC 3.7 Copying blocks from one project into another 4. Drag-and-drop the blocks from the reference project to the "Program blocks" folder of your current project. Note Copy additional objects separately (e.g. tags or PLC data types) When you copy the program blocks, objects that belong together, such as tags, PLC data types or technology objects, are not automatically included in the copy.
  • Page 69: Use And Handling Of Groups

    Programming the PLC 3.8 Use and handling of groups Use and handling of groups In the project navigation, you can create optional groups in the "program blocks" folder in order to organize your program blocks. Figure 3-5 Adding a group SINUMERIK STEP 7 Toolbox V14 SP1 Configuration Manual, 05/2017...
  • Page 70: Create Blocks From External Sources

    Programming the PLC 3.9 Create blocks from external sources For example, this function is useful in the following situations: ● Creation of a dedicated group for the blocks of the basic program and of the user program. This allows you to display individually the editable blocks of the user program. ●...
  • Page 71 You have successfully generated blocks from an external source. Further information about external sources of the PLC basic program system library can be found in the SINUMERIK 840D sl Basic Functions Manual. SINUMERIK STEP 7 Toolbox V14 SP1 Configuration Manual, 05/2017...
  • Page 72: Exporting Plc Symbols For Sinumerik Operate

    Programming the PLC 3.10 Exporting PLC symbols for SINUMERIK Operate 3.10 Exporting PLC symbols for SINUMERIK Operate 3.10.1 Creating and loading PLC symbols You can make PLC symbols defined in the TIA Portal available for SINUMERIK Operate in able to use them for various functions there. You must export the symbols of the associated PLC in the TIA Portal and then import into SINUMERIK Operate.
  • Page 73 Programming the PLC 3.10 Exporting PLC symbols for SINUMERIK Operate Procedure overview Table 3- 10 Example procedure for creating and loading PLC symbols Step Description If necessary, check or edit symbols in the TIA Portal You can change the symbolic names of blocks by right-clicking the block and selecting •...
  • Page 74: Exporting Plc Symbols

    Programming the PLC 3.10 Exporting PLC symbols for SINUMERIK Operate 3.10.2 Exporting PLC symbols Note Deleting unwanted blocks before exporting PLC symbols If you have saved unwanted blocks in your project, this lengthens the time required for exporting and importing PLC symbols. Consequently, delete unwanted blocks that you copied previously from the basic program library prior to the export.
  • Page 75 Programming the PLC 3.10 Exporting PLC symbols for SINUMERIK Operate Procedure To export PLC symbols for SINUMERIK Operate, proceed as follows: 1. In the project tree, right-click on the PLC or NCU and select the "Export PLC symbols for SINUMERIK Operate " in the shortcut menu. The "Export PLC symbols for SINUMERIK Operate"...
  • Page 76: Importing Plc Symbols

    Programming the PLC 3.10 Exporting PLC symbols for SINUMERIK Operate Result The PLC symbols will be copied to the chosen storage location. The "PlcSym.snh" file is created. Depending on your settings, the files are also created with German or English comments: "PlcSym_GR.snt"...
  • Page 77: Edit Blocks

    The imported symbols are displayed in the "NC/PLC variables" table and can be imported. Further information Detailed information on how you can load the PLC symbols to the control system are contained in the SINUMERIK 840D sl Universal Operator Manual under the "Loading PLC symbols" keyword. 3.11 Edit blocks The individual blocks of the PLC basic program or the user program can be edited directly in the TIA Portal using the STEP 7 editors.
  • Page 79: Configuring Networks

    Configuring networks Configuring an Ethernet Interface Procedure In order to set the Ethernet interface, proceed as follows: 1. In the network view, click the CP in the basic rack of the NCU. 2. Under the "Properties" tab in the inspector window, select the "PN/IE interface > Ethernet addresses"...
  • Page 80: Configuring Profibus Dp

    Configuring networks 4.2 Configuring PROFIBUS DP Configuring PROFIBUS DP Procedure Configuring the PROFIBUS DP address on the PLC 1. In the network view, click the PLC in the basic rack of the NCU. 2. In the "Properties" tab, in the inspector window, select the entry "DP Interface > PROFIBUS address".
  • Page 81 Configuring networks 4.2 Configuring PROFIBUS DP Checking the transmission speed of the ADI4 Although you can view the "Transmission speed" parameter in the DP interface properties, you must select the bus system to change it: 1. Click the bus system. 2.
  • Page 82: Configuring Integrated Profibus (Dp Integrated)

    Configuring networks 4.3 Configuring Integrated PROFIBUS (DP Integrated) Configuring Integrated PROFIBUS (DP Integrated) Procedure To check the PROFIBUS addresses, proceed as follows: 1. In the network view, click the DP Integrated interface of the PLC or select the interface in the device overview.
  • Page 83: Configuring Profinet

    Configuring networks 4.4 Configuring PROFINET Configuring PROFINET Procedure In order to set the PROFINET interface, proceed as follows: 1. In the network view, click the PLC in the basic rack of the NCU. 2. Under the "Properties" tab in the inspector window, select the "PROFINET interface > Ethernet addresses"...
  • Page 84: Configuring Profinet Io With Irt

    Configuring networks 4.5 Configuring PROFINET IO with IRT Configuring PROFINET IO with IRT 4.5.1 Overview IRT (Isochronous Realtime Ethernet) is a transmission method in which the PROFINET devices are synchronized very precisely. The following example configuring sequences serve as an aid for the configuring and provide an overview of this chapter content.
  • Page 85 Configuring networks 4.5 Configuring PROFINET IO with IRT You can obtain these values automatically from the "NCK" isochronous OB or set them manually. Note Restriction on the use of NCU Link The combination of isochronous PROFINET NC peripherals (drives, inputs/outputs) and NCU-Link is not supported.
  • Page 86: Isochronous-Capable Modules Identification

    Configuring networks 4.5 Configuring PROFINET IO with IRT 4.5.3 Isochronous-capable modules identification Whether a module supports isochronous mode can be determined in the hardware catalog in the following manner: ● When you select a device in the hardware catalog, you can see from the description in the "Information"...
  • Page 87 • GSD devices are not contained in the same folder as standard devices in the hardware catalog. The SINAMICS S120/S150 CU320-2, for example, are not found under "Field devices", but rather under "Further field devices > PROFINET IO > Drives > Siemens AG > SINAMICS".
  • Page 88: Configuring Isochronous Nc-Controlled Drives

    Configuring networks 4.5 Configuring PROFINET IO with IRT 4.5.4 Configuring isochronous NC-controlled drives The procedure for configuring isochronous NC-controlled drives is described below. If, instead, you want to operate drives isochronously via the PLC, proceed as for a CPU S7- 300.
  • Page 89: Configuring I/O Used By Nc Isochronously

    Configuring networks 4.5 Configuring PROFINET IO with IRT Note Reusing configured drives or devices in other projects You can copy preconfigured and configured drives or devices with drag-and-drop into a global library. In this manner, you can insert them later together with the made settings into another project and so save configuration effort.
  • Page 90: Configuring The Ncu

    Configuring networks 4.5 Configuring PROFINET IO with IRT Procedure overview Step Description Configuring the NCU (Page 90) Configuring PROFINET IO IRT devices (Page 92) Configuring IO modules or drive telegrams (Page 94) Configuring the input delay for digital input modules (Page 96) Configuring sync domains (Page 97) Compile the configuration and load into the actual hardware (Page 30) The compiler issues error messages if you use different values for bus cycles.
  • Page 91 Configuring networks 4.5 Configuring PROFINET IO with IRT Note Concurrent operation of devices with and without clock synchronization When you configure devices that do not participate on the IRT communication, observe the rules for sync domains for PROFINET IO IRT (Page 97). Procedure To configure the NC of the NCU to use isochronous mode, proceed as follows: 1.
  • Page 92: Configuring Profinet Io Irt Devices

    Configuring networks 4.5 Configuring PROFINET IO with IRT 4.5.7 Configuring PROFINET IO IRT devices Requirement ● The devices to be configured have been inserted (at least one NCU and one PROFINET IO IRT-conform device). ● The isochronous-conform modules and submodules to be configured have been inserted in the PROFINET IO IRT-conform device.
  • Page 93 Configuring networks 4.5 Configuring PROFINET IO with IRT 4. In the "Cable length" dropdown list, enter the length of the actual cable in order to minimize the signal run time. 5. Switch in the sector tree of the inspector window to the "PROFINET interface > Extended options >...
  • Page 94: Configuring Io Modules Or Drive Telegrams

    Configuring networks 4.5 Configuring PROFINET IO with IRT 4.5.8 Configuring IO modules or drive telegrams The isochronous-conform modules (e.g. input/output modules, DO or telegrams) to be configured must be selected individually in order to make the desired settings in the "Properties"...
  • Page 95 Configuring networks 4.5 Configuring PROFINET IO with IRT 3. In the "Properties > General" inspector window, select the "I/O addresses" entry. Figure 4-6 Settings for I/O addresses SINUMERIK STEP 7 Toolbox V14 SP1 Configuration Manual, 05/2017, A5E41846325...
  • Page 96: Configuring The Input Delay For Digital Input Modules

    Configuring networks 4.5 Configuring PROFINET IO with IRT 4. Select the TPA2" as "Process image" in each of the "Input addresses" and "Output addresses" sections. Figure 4-7 TPA2 process image setting using a telegram 136 as example 5. Enter the desired address in the associated "Start address" text field. Note the following: –...
  • Page 97: Configuring Sync Domains

    Configuring networks 4.5 Configuring PROFINET IO with IRT 4.5.10 Configuring sync domains All PROFINET devices that participate on the IRT communication are synchronized to a common clock. The devices must belong to a sync domain. Just one device has the role of the sync master (clock generator) in a sync domain;...
  • Page 98 Configuring networks 4.5 Configuring PROFINET IO with IRT 3. In the "IO devices" table, define the synchronization roles and RT classes of all devices of the sync domain: – Define the role of the PLC by opening the dropdown list in the "Synchronization role" column and selecting "Sync master".
  • Page 99: Match Values Between Profinet Io And Profibus Integrated

    Further information ● General information concerning this machine data is available in Chapter A4 of the SINUMERIK 840D sl Supplementary Functions Manual: Digital and analog NCK I/Os for SINUMERIK 840D sl. ● Specific information on the individual machine data can be found in the online help of SINUMERIK Operate.
  • Page 100: Assigning I/O Addresses To The Ncu Machine Data

    Configuring networks 4.5 Configuring PROFINET IO with IRT 4.5.13 Assigning I/O addresses to the NCU machine data Procedure To enter addresses configured in the TIA Portal, proceed as follows: 1. Check in the TIA Portal which addresses you have assigned to the I/O modules (see Configuring IO modules or drive telegrams (Page 94)).
  • Page 101 Further information ● General information concerning this machine data is available in Chapter A4 of the SINUMERIK 840D sl Supplementary Functions Manual: Digital and analog NCK I/Os for SINUMERIK 840D sl. ● Specific information on the individual machine data can be found in the online help of SINUMERIK Operate.
  • Page 102 Configuring networks 4.5 Configuring PROFINET IO with IRT SINUMERIK STEP 7 Toolbox V14 SP1 Configuration Manual, 05/2017, A5E41846325...
  • Page 103: Configuring Telegrams And Drive Units

    You can find detailed information about drive communication, e.g. function charts, in the SINAMICS S120 List Manual for the corresponding SINAMICS version (https://support.industry.siemens.com/cs/document/109739998/). The standard telegram configuration of a SINUMERIK NCU (Page 104) is redundantly preset in the TIA Portal and in the machine data and usually does not have to be modified.
  • Page 104: Standard Telegram Configuration

    If you configure an NCU V4.7 (TIA Portal) but the firmware V4.7 SP2 (or higher) is used in the actual hardware, the preset I/O addresses from the Siemens telegram 701 in the TIA Portal do not match those in the machine data (MD10393).
  • Page 105: Viewing I/O Addresses In The Tia Portal

    Configuring telegrams and drive units 5.3 Viewing I/O addresses in the TIA Portal Viewing I/O addresses in the TIA Portal Requirement ● An NCU has been inserted ● The project view is active Procedure To display a complete overview of the assigned I/O addresses, proceed as follows: 1.
  • Page 106 Configuring telegrams and drive units 5.3 Viewing I/O addresses in the TIA Portal You can view all I/O addresses in the address overview and filter them with the checkboxes to display Inputs, Outputs, Address gaps and Slots. Note I/O addresses cannot be changed in the address overview If you want to change I/O addresses assigned in the TIA Portal, e.g.
  • Page 107: Changing The Addressing Schematic

    Configuring telegrams and drive units 5.4 Changing the addressing schematic Changing the addressing schematic The selected addressing schematic determines the principle according to which the I/O addresses of the telegrams are assigned by drive objects and influences the address range that is available for other purposes.
  • Page 108 Configuring telegrams and drive units 5.4 Changing the addressing schematic Procedure In order to change the schematic for the assignment of telegram I/O addresses of SINAMICS Integrated (and of all connected NX modules), proceed as follows: 1. Click the NCU in the network or device view and select the "Addressing schematic" entry in the "Properties"...
  • Page 109: Resetting Telegrams

    Configuring telegrams and drive units 5.5 Resetting telegrams Resetting telegrams With the command "Reset telegrams" in the properties of SINAMICS Integrated (or an NX module), you can reset the telegram configuration in the TIA Portal to the standard telegram configuration (Page 104). All telegrams in the device are deleted. Note Settings that deviate from the standard telegram configuration (e.g.
  • Page 110: Displaying Or Adapting The Telegram Configuration

    Configuring telegrams and drive units 5.6 Displaying or adapting the telegram configuration Displaying or adapting the telegram configuration 5.6.1 Overview You can call (Page 111) the telegram configuration via the properties of SINAMICS Integrated or NX. Using a user-defined telegram configuration A telegram configuration which differs from a standard telegram configuration (Page 104) due to adaptations of any kind is called a user-defined telegram configuration: ●...
  • Page 111: Calling The Telegram Configuration

    Configuring telegrams and drive units 5.6 Displaying or adapting the telegram configuration 5.6.2 Calling the telegram configuration The telegram configuration is part of the device properties (SINAMICS Integrated or NX). Procedure Proceed as follows to display an overview of all configured telegrams: 1.
  • Page 112: Structure Of The "Telegram Configuration" Dialog

    You can find an overview of all of the telegrams that are configured for the SINAMICS Integrated or an NX in the properties of the corresponding device under "Telegram configuration". Figure 5-2 Telegram configuration based on the example of Drive_Axis_1 of a SINUMERIK 840D sl with Safety Integrated plus and standard I/O addressing scheme Column Description If applicable, yellow marking for identifying safety-oriented resources (Page 162).
  • Page 113: Changing The Properties Of Send Telegrams (Actual Value)

    PROFIsafe telegrams over the course of the safety acceptance inspection to be sure that the selected PROFIsafe telegram corresponds to the requirements of your application. Figure 5-3 Telegram properties - Send (actual value) based on the example of SIEMENS telegram 136 Table 5- 1 Parameters of the properties "Send (actual value)"...
  • Page 114 Configuring telegrams and drive units 5.6 Displaying or adapting the telegram configuration Parameter Drive Controller NCU/NX device version and the Safety Integrated mode (Page 164) that is set. The selectable Telegram (PROFIsa- telegram types depend on the purpose of the telegram. Telegrams for PROFIdrive communication (Page 120) •...
  • Page 115 Configuring telegrams and drive units 5.6 Displaying or adapting the telegram configuration Parameter Drive Controller F-I/O DB number Here you assign a number for the F-I/O DB. (only PROFIsafe) The adjustable value range depends upon the value range for DBs set in the Safety Administration Editor (area "Settings >...
  • Page 116: Changing The Properties Of Receive Telegrams (Setpoint)

    PROFIsafe telegrams over the course of the safety acceptance inspection to be sure that the selected PROFIsafe telegram corresponds to the requirements of your application. Figure 5-4 Telegram properties - Receive (setpoint value) based on the example of SIEMENS telegram 136 Table 5- 2 Parameters of the properties "Receive (setpoint value)"...
  • Page 117 Configuring telegrams and drive units 5.6 Displaying or adapting the telegram configuration Parameter Drive Controller Telegram Display or setting of the telegram type used. The standard setting (Page 104) depends on the NCU/NX device version and the Safety Integrated mode Telegram (PROFIsafe) (Page 164) that is set.
  • Page 118 Configuring telegrams and drive units 5.6 Displaying or adapting the telegram configuration Parameter Drive Controller F-monitoring time Monitoring time in the fail-safe DP standard slave/IO standard device/PA field device. (only PROFIsafe) A valid, current safety telegram must arrive from the F-CPU within the monitoring time.
  • Page 119: Adapting The Number Of Drives

    Configuring telegrams and drive units 5.6 Displaying or adapting the telegram configuration 5.6.6 Adapting the number of drives When an NCU or NX module is inserted, the appropriate number of drive objects (incl. appropriate configured telegrams) that the associated NCU or NX module supports are inserted automatically.
  • Page 120: Available Telegram Types

    PROFIdrive communication (standard data): Table 5- 3 Telegrams for PROFIdrive communication Profile Designation Purpose PROFIdrive SIEMENS telegram 136 Manufacturer-specific telegram. Permits the use of the following data: Dynamic Servo Control (DSC) • Torque feedforward control • 2 position encoders (encoder 1 and encoder 2) •...
  • Page 121: Telegrams In Sinumerik Safety Integrated (Spl) Mode

    You will find a brief description of all configurable telegram types in the TIA Portal in the tooltip for the telegram. Detailed information can be found in the respective function block diagrams in the SINAMICS S120/S150 List Manual (https://support.industry.siemens.com/cs/document/109739998/). Telegram Function diagram 1…9...
  • Page 122: Telegrams For Profisafe Communication

    Table 5- 5 Telegrams for control by way of PROFIsafe Profile Designation Purpose PROFIdrive (PROFIsafe) SIEMENS telegram 902 Extended manufacturer-specific telegram with 32-bit position value. Default setting for internal NC drives with SINAMICS firm- ware V4.7. SIEMENS telegram 903 Extended manufacturer-specific telegram with 32-Bit-Safe Cam (S_ZSW_CAM1).
  • Page 123: Telegrams For Sic/Scc Communication

    Telegrams for control via PROFIsafe and SIC/SCC (PROFIdrive) Profile Designation Purpose PROFIdrive (SIC/SCC) SIEMENS telegram 701 Manufacturer-specific telegram for SIC/SCC communication. With SINUMERIK, SIC/SCC communication only takes place via telegram 701. For the purpose of implementing a user-defined telegram configuration (Page 110), you can also configure telegram 700.
  • Page 124: Adapting I/O Start Addresses

    If you configure an NCU V4.7 (TIA Portal) but the firmware V4.7 SP2 (or higher) is used in the actual hardware, the preset I/O addresses from the Siemens telegram 701 in the TIA Portal do not match those in the machine data (MD10393).
  • Page 125 Telegrams used by default in the safety modes Designation Partner data area Used in mode Actual Setpoint value SIEMENS Telegramm 136 19 Words 15 Words These telegrams transfer standard data and are used in all safety modes: SIEMENS Telegramm 390 2 Words...
  • Page 126: Profidrive Telegrams For Standard Data

    Table 5- 8 SINAMICS Integrated: I/O addresses of PROFIdrive telegrams Drive Telegram type I/O address Machine data Standard addressing Optimized addressing schematic schematic Drive_Axis_1 SIEMENS telegram 136 4100 15700 13050[0] Drive_Axis_2 SIEMENS telegram 136 4140 15620 13050[1] Drive_Axis_3 SIEMENS telegram 136...
  • Page 127 NX on DRIVE-CLiQ socket X103; DP address 13: I/O addresses of PROFIdrive telegrams Drive Telegram type I/O address Machine data Standard addressing Optimized addressing schematic schematic Drive_Axis_1 SIEMENS telegram 136 4820 14050 13050[18] Drive_Axis_2 SIEMENS telegram 136 4860 13970 13050[19] Drive_Axis_3...
  • Page 128: Profidrive Telegrams For Safety Integrated (Spl)

    NX on DRIVE-CLiQ socket X100; DP address 10: I/O addresses of PROFIdrive telegrams Drive Telegram type I/O address Machine data Standard addressing Optimized addressing schematic schematic Drive_Axis_1 SIEMENS telegram 136 5540 12400 13050[36] Drive_Axis_2 SIEMENS telegram 136 5580 12320 13050[37] Drive_Axis_3...
  • Page 129 Configuring telegrams and drive units 5.8 Adapting I/O start addresses Table 5- 17 NX on DRIVE-CLiQ socket X104; DP address 14: I/O addresses of telegram SI Motion Monitoring Drive Telegram type I/O address Machine data Standard addressing Optimized addres- schematic sing schematic Drive_Axis_1 SI Motion Monitoring...
  • Page 130: Profisafe/Profidrive Telegrams For Safety Integrated Plus (F-Plc)

    SINAMICS Integrated: I/O addresses of PROFIsafe/PROFIdrive telegrams Drive Telegram type I/O start address Machine data Standard addressing schematic Optimized addressing ≤ V4.7 SP1 ≥ V4.7 SP2 schematic Drive_Axis_1 SIEMENS telegram 701 6700 5800 15756 10393[0] SIEMENS telegram 1008 13374[0] 902/903 Drive_Axis_2 SIEMENS telegram 701 6724...
  • Page 131 NX on DRIVE-CLiQ socket X105; DP address 15: I/O addresses of PROFIsafe/PROFIdrive telegrams Drive Telegram type I/O start address Machine data Standard addressing schematic Optimized addressing ≤ V4.7 SP1 ≥ V4.7 SP2 schematic Drive_Axis_1 SIEMENS telegram 701 6844 5896 15206 10393[6] SIEMENS telegram 13374[6] 902/903 Drive_Axis_2 SIEMENS telegram 701 6868 5912...
  • Page 132 NX on DRIVE-CLiQ socket X103; DP address 13: I/O addresses of PROFIsafe/PROFIdrive telegrams Drive Telegram type I/O start address Machine data Standard addressing schematic Optimized addressing ≤ V4.7 SP1 ≥ V4.7 SP2 schematic Drive_Axis_1 SIEMENS telegram 701 7132 6088 14106 10393[18] SIEMENS telegram 13374[18] 902/903 Drive_Axis_2 SIEMENS telegram 701 7156 6104...
  • Page 133 NX on DRIVE-CLiQ socket X101; DP address 11: I/O addresses of PROFIsafe/PROFIdrive telegrams Drive Telegram type I/O start address Machine data Standard addressing schematic Optimized addressing ≤ V4.7 SP1 ≥ V4.7 SP2 schematic Drive_Axis_1 SIEMENS telegram 701 7420 6280 13006 10393[30] SIEMENS telegram 13374[30] 902/903 Drive_Axis_2 SIEMENS telegram 701 7444 6296...
  • Page 134: Deviations From The Standard I/O Addressing Schematic

    Configuring telegrams and drive units 5.9 Deviations from the standard I/O addressing schematic Deviations from the standard I/O addressing schematic 5.9.1 Overview Use of the optimized I/O addressing schematic If you use the optimized I/O addressing schematic, you must activate it in TIA Portal (Page 107) and you must enter the I/O addresses in the machine data, e.g.
  • Page 135: Matching Of Deviating I/O Addresses

    Configuring telegrams and drive units 5.9 Deviations from the standard I/O addressing schematic 5.9.2 Matching of deviating I/O addresses 5.9.2.1 Matching I/O addresses for use of the optimized I/O addressing schematic If you use the optimized I/O addressing schematic, you must activate it in TIA Portal and you must enter the I/O addresses in the machine data, e.g.
  • Page 136: Matching User-Specific Adaptations

    Configuring telegrams and drive units 5.9 Deviations from the standard I/O addressing schematic 5.9.2.2 Matching user-specific adaptations Default I/O addresses are preset in the machine data of the NCU during the first commissioning that match the default I/O addresses in the TIA Portal. If these default I/O addresses were already assigned during a configuration change (e.g.
  • Page 137 Configuring telegrams and drive units 5.9 Deviations from the standard I/O addressing schematic Procedure To directly view after a configuration change (or after the compile) which I/O addresses differ from the standard schema, proceed as follows: 1. Click "General" or "Compile" in the "Info" inspector window. The message log is displayed.
  • Page 138: Availability Of Suitable I/O Addresses

    Configuring telegrams and drive units 5.9 Deviations from the standard I/O addressing schematic 5.9.4 Availability of suitable I/O addresses If the message is displayed that insufficient suitable I/O addresses are available, you must release suitable I/O addresses. Basic procedure Release suitable I/O addresses Check whether you can release suitable address space with one of the following procedures: ●...
  • Page 139: Configuring I/O

    Configuring I/O Inserting ADI4 module (840 sl) Procedure In order to insert an ADI4 module into the project via the hardware catalog, proceed as follows: 1. In the hardware catalog, navigate to the folder "Distributed I/O > Drive Interfaces > ADI4" and select the ADI4 module.
  • Page 140 Configuring I/O 6.1 Inserting ADI4 module (840 sl) 3. To connect the module to the master system, click "Not assigned" and select the DP interface. 4. Click the "PROFIBUS_1" bus system and at "General > Network settings" in the "Properties" tab in the inspector window, change the "Transmission rate" entry from 1.5 Mbit/s to 12 Mbit/s.
  • Page 141 Configuring I/O 6.1 Inserting ADI4 module (840 sl) Result The ADI4 module has been created as new device and connected to the NCU. SINUMERIK STEP 7 Toolbox V14 SP1 Configuration Manual, 05/2017, A5E41846325...
  • Page 142: Installing General Station Description Files For Sinumerik I/O

    The current version of the general station description (GSD/GSDML) files to be installed is stored on your PG/PC. Note General station description files on the Service&Support pages You can find the current versions of the general station description files in the Siemens Industry Online Support: SINUMERIK I/O: GSD/GSDML files (SIOS) (http://support.automation.siemens.com/WW/view/en/62332440)
  • Page 143 ● SINUMERIK I/O for PROFINET IO: "Further field devices > PROFINET IO > I/O > SIEMENS AG > SINUMERIK" ● SINUMERIK I/O for PROFIBUS DP: "Further field devices > PROFIBUS DP > NC/RC > SIEMENS AG > MOTION CONTROL" Figure 6-1 Installed SINUMERIK I/O in the hardware catalog...
  • Page 144: Inserting The Sinumerik I/O Module Pp72/48

    – PP72/48 (PROFIBUS): "Further field devices > PROFIBUS DP > NC/RC > SIEMENS AG > MOTION CONTROL" – PP72/48 (PROFINET): "Further field devices > PROFINET IO > I/O > SIEMENS AG > SINUMERIK > PP72/48" 2. Use drag-and-drop to move the PP72/48 from the hardware catalog to the network view.
  • Page 145 Configuring I/O 6.3 Inserting the SINUMERIK I/O module PP72/48 Result The SINUMERIK I/O modules were created as new devices and connected to the NCU. Additional information You can find general information about the device in the SINUMERIK I/O module PP72/48D 2/2A PN manual SINUMERIK STEP 7 Toolbox V14 SP1 Configuration Manual, 05/2017, A5E41846325...
  • Page 146: Inserting Sinumerik Mcp/Mpp

    – MCP/MPP (PROFIBUS): "Further field devices > PROFIBUS DP > NC/RC > SIEMENS AG > MOTION CONTROL" – MCP/MPP (PROFINET): "Further field devices > PROFINET IO > I/O > SIEMENS AG > SINUMERIK" 2. Use drag-and-drop to move the corresponding MCP/MPP from the hardware catalog to the network view.
  • Page 147 Configuring I/O 6.4 Inserting SINUMERIK MCP/MPP Result The SINUMERIK MCP/MPP has been created as new device and connected to the NCU. Additional information General information on the device can be found in the respective manual. SINUMERIK STEP 7 Toolbox V14 SP1 Configuration Manual, 05/2017, A5E41846325...
  • Page 149: Tag Selection With Nc Var Selector

    SINUMERIK 840D sl Basic Functions Manual: PLC basic program for SINUMERIK 840D ● The block descriptions and other information about the PLC basic program are contained in the P3 section of the SINUMERIK 840D sl Basic Functions Manual. Basic PLC program.
  • Page 150: Selecting Tags And Saving As Stl File

    Tag selection with NC VAR selector 7.2 Selecting tags and saving as STL file Selecting tags and saving as STL file Requirement ● The "NC-VAR-Selector" program is installed. The program is installed automatically when installing the SINUMERIK Toolbox if you have selected the program during installation.
  • Page 151 Tag selection with NC VAR selector 7.2 Selecting tags and saving as STL file 5. Save your project data (*.var). 6. In the "Code" menu, click on "Generate", select a save location for your NC tag file (*.stl) and confirm with "Save". Result The selected tag addresses were saved in an STL file, which you can use in the TIA Portal.
  • Page 152: Adding A Tag File (Stl) In The Tia Portal

    Tag selection with NC VAR selector 7.3 Adding a tag file (STL) in the TIA Portal Adding a tag file (STL) in the TIA Portal Procedure To add the STL file with the selected tags in the TIA Portal as an external source, proceed as follows: 1.
  • Page 153: Importing User Alarms

    You can copy the files with Windows Explorer from the following directory that is created during the installation • of SINUMERIK Operate: C:\Program Files (x86)\Siemens\MotionControl\oem\Sinumerik\hmi\lng Check whether all languages or language variants in which you want to import SINUMERIK user alarms are ena- bled as project languages in the TIA Portal.
  • Page 154: Exporting Ts Files From Sinumerik Operate

    This chapter describes how you export the DB2 alarms using the user interface of SINUMERIK Operate. If you have installed SINUMERIK Operate on a Siemens PC system, you can alternatively copy the files via the Windows Explorer. Example for PCU 50.5 with SINUMERIK Operate for SINUMERIK 840D sl: ●...
  • Page 155: Language Assignment In Language-Dependent Texts

    Importing user alarms 8.3 Language assignment in language-dependent texts Language assignment in language-dependent texts Language ID in the file name of language-dependent texts Language-dependent texts are saved in TS files in SINUMERIK Operate. There is a separate file for each language which is assigned via the language ID in the file name. ●...
  • Page 156 Importing user alarms 8.3 Language assignment in language-dependent texts Value in DB10.DBB96 Language in SINUMERIK Operate Language code Default language Slovakian Slovenian Rumanian Traditional Chinese Korean Japanese Turkish Thai Malay Indonesian SINUMERIK STEP 7 Toolbox V14 SP1 Configuration Manual, 05/2017, A5E41846325...
  • Page 157: Enable Project Languages

    Importing user alarms 8.4 Enable project languages Enable project languages The project languages are set in the "Project languages" editor. You define which project language is to be the reference language and which the editing language. Enable project languages 1. In the project tree, click on the arrow symbol to the left of "Languages & Resources". The lower-level elements are displayed.
  • Page 158: Importing Sinumerik Plc Alarm Texts

    Importing user alarms 8.5 Importing SINUMERIK PLC alarm texts Importing SINUMERIK PLC alarm texts Requirement ● A SINUMERIK NCU or device proxy (PLC 300) is inserted. ● The TS files of the corresponding language are available on the configuration computer. See Exporting TS files from SINUMERIK Operate (Page 154) ●...
  • Page 159 Importing user alarms 8.5 Importing SINUMERIK PLC alarm texts 3. Select the file formats which you would like to import in the "File type" drop-down list. You can only import one file per language, but you can import different files or file types for different languages.
  • Page 160 Importing user alarms 8.5 Importing SINUMERIK PLC alarm texts SINUMERIK STEP 7 Toolbox V14 SP1 Configuration Manual, 05/2017, A5E41846325...
  • Page 161: Safety Configuration

    Safety configuration Introduction The integrated safety functions of SINUMERIK Safety Integrated are used in the machine tools sector. In the TIA Portal, you can select one of two Safety Integrated modes in conjunction with the SINUMERIK Toolbox: ● Safety Integrated (SPL) (general) (Page 177) ●...
  • Page 162: Representation Of Safety-Related Resources In The Tia Portal

    Safety configuration 9.2 Representation of safety-related resources in the TIA Portal Representation of safety-related resources in the TIA Portal Overview Yellow markings identify all safety-related resources in the views of the TIA Portal: ● Network view, device view, topology view ●...
  • Page 163 Safety configuration 9.2 Representation of safety-related resources in the TIA Portal Figure 9-1 Marking of safety-related resources in the TIA Portal No. Description The project tree shows which components of your project are F-components. In the network view, device view or topology view, the Safety Integrated marking is on the NCU, representative for the integrated components.
  • Page 164: Changing The Safety Integrated Mode

    Safety configuration 9.3 Changing the Safety Integrated mode EMERGENCY STOP button symbol when using Safety Integrated plus (F-PLC) If you activate the "Safety Integrated plus (F-PLC)" mode and therefore use PROFIsafe telegrams, all devices with fail-safe modules (PROFIsafe telegrams) have an EMERGENCY STOP button symbol in the network and topology view: Figure 9-2 NCU with EMERGENCY STOP button symbol...
  • Page 165 Safety configuration 9.3 Changing the Safety Integrated mode 2. Click the "Change Safety Integrated mode" button. The "Change Safety Integrated mode" dialog opens. If you select an option, the effects of the mode change are performed here. Figure 9-4 "Change Safety Integrated mode" dialog when using NCU V4.7 3.
  • Page 166 Safety configuration 9.3 Changing the Safety Integrated mode If problems occur during the changeover, you can find further information in the "Info" inspector window at "General". Note Effects on telegram configuration The Safety Integrated mode affects the telegram configuration because, in the Safety Integrated plus (F-PLC) mode, different telegrams are used than in the inactivated Safety Integrated or the Safety Integrated modes.
  • Page 167: Parameterization Of Relevant Properties

    Safety configuration 9.4 Parameterization of relevant properties Parameterization of relevant properties The Safety Integrated modes of the NCU control the safety behavior of the NCU together with the integrated subcomponents, such as the PLC, SINAMICS Integrated and possibly connected NX modules. Depending on the used mode and communications standard (PROFINET or PROFIBUS), you must configure further relevant properties and F- parameters for various modules.
  • Page 168 Safety configuration 9.4 Parameterization of relevant properties Setting Can be found at Further information Default F-monitoring Interface > F-parameters Information system, keyword "Mon- • time for F-peripherals of itoring and response times" this interface F-monitoring time Module/submodule > F- Information system, keyword "Con- •...
  • Page 169 Safety configuration 9.4 Parameterization of relevant properties NCU properties The Safety Integrated mode of the NCU affects not only the configuration of the integrated PLC, but rather also that of the integrated drives. SINAMICS Integrated and NX modules always use automatically the same Safety Integrated mode as the associated NCU.
  • Page 170 Safety configuration 9.4 Parameterization of relevant properties PLC properties Safety Integrated settings are available in the PLC properties if the NCU uses a safety mode. Figure 9-6 Fail-safety in the PLC properties - the "F-activation" section is inactive (grayed-out) because the F-activation is controlled via the selection of the Safety Integrated mode in the NCU properties.
  • Page 171: Availability Of I/O Addresses At The Mode Change

    Safety configuration 9.5 Availability of I/O addresses at the mode change Availability of I/O addresses at the mode change If the default I/O addresses for communication with the drive are already assigned when changing the Safety Integrated mode, you must configure the telegrams and I/O addresses. Note Undoing changes As long as the project has not been saved, you can undo the change of the Safety Integrated...
  • Page 172 Safety configuration 9.5 Availability of I/O addresses at the mode change Refer to the "Change Safety Integrated mode" dialog or the "Info" inspector window to see which I/O addresses are effected. ● The "Change Safety Integrated mode" dialog shows the components for which the default I/O addresses are assigned.
  • Page 173 Safety configuration 9.5 Availability of I/O addresses at the mode change Figure 9-9 Address overview in the "Properties" inspector window of the PLC Further information Detailed information on aligning and configuring I/O addresses can be found in Section Configuring telegrams and drive units (Page 103). SINUMERIK STEP 7 Toolbox V14 SP1 Configuration Manual, 05/2017, A5E41846325...
  • Page 174: Licensing

    Safety configuration 9.6 Licensing Licensing 9.6.1 Overview The integrated safety functions of SINUMERIK Safety Integrated are used in the machine tools sector. They are integrated with two channels in the NC, the drive and the internal PLC, and are used to monitor speed, standstill and position. Such monitoring is necessary if the danger zone of the machines and systems is not blocked off.
  • Page 175: Software Options For Safety Integrated (Spl)

    ● MD19510 $MN_SAFE_FUNCTION_MASK: Number of FSEND and FRECV connections SI-Connect software option: Bit 0 = 1 See also: ● SINUMERIK 840D sl Basic Software and Operating Software Commissioning Manual, Section SINUMERIK Operate (IM9). ● Function Manual, SINUMERIK Safety Integrated SINUMERIK STEP 7 Toolbox V14 SP1...
  • Page 176: Software Options For Safety Integrated Plus (F-Plc)

    Software options for the use of Safety Integrated plus (F-PLC) Software option Purpose SINUMERIK Safe- Activate the F-PLC in SINUMERIK 840D sl in order to process the fail-safe sen- ty Integrated plus sors and actuators in an F-program. /SI logic...
  • Page 177: Configuring Safety Integrated (Spl)

    Safety configuration 9.7 Configuring Safety Integrated (SPL) Configuring Safety Integrated (SPL) 9.7.1 Introduction With the aid of safe programmable logic (SPL), safety-related sensors and actuators can be directly connected to the control's I/O and evaluated by means of software without external evaluation units.
  • Page 178: Configuring The F-Peripherals

    Safety configuration 9.7 Configuring Safety Integrated (SPL) 9.7.2 Configuring the F-peripherals During the configuring of F-peripherals with Safety Integrated (SPL), you can orient yourself on the following handling overview with sample configuring sequence. This serves, however, only as an introduction to the configuring and programming of SINUMERIK Safety Integrated (SPL).
  • Page 179 Safety configuration 9.7 Configuring Safety Integrated (SPL) ● The required modules, submodules and telegrams are inserted on the peripheral device. ● The devices are interconnected with each other using the desired interfaces (PROFINET or PROFIBUS). You can also connect devices to the interfaces of both types (PROFINET and PROFIBUS) and operate in the Safety Integrated (SPL) mode.
  • Page 180: Parameterizing F-Input Modules

    Safety configuration 9.7 Configuring Safety Integrated (SPL) 9.7.3 Parameterizing F-input modules The F-modules and F-submodules to be configured must be selected individually in order to make the desired settings in the "Properties" inspector window. You can select the modules and submodules in the device view or device overview (in the case of GSD-based devices, only in the device overview).
  • Page 181: Configuring Drives With F-Functions

    Safety configuration 9.7 Configuring Safety Integrated (SPL) 6. In the "Properties > General" inspector window, select the "DI parameters" entry. The properties will be displayed. Safety-relevant settings are marked yellow. 7. Make the required settings, e.g. Setting Purpose Encoder power supply Select the type of the encoder power supply: Internal: VS1, VS2 are used;...
  • Page 182 Safety configuration 9.7 Configuring Safety Integrated (SPL) Requirement ● The "SIMATIC STEP 7 Safety Advanced" option package has been installed. (No license required: SIMATIC STEP 7 Safety Advanced without license corresponds to the F-configuration tool from STEP 7 V5.x) ● The devices to be configured have been inserted (at least one NCU and one drive device) ●...
  • Page 183: Parameterizing F-Output Modules

    Safety configuration 9.7 Configuring Safety Integrated (SPL) 9.7.5 Parameterizing F-output modules Procedure To configure the inserted F-output modules, select them successively and make the settings individually for each module in the inspector window. Proceed as follows: 1. In the device view, select the rack and open the device overview. 2.
  • Page 184: Configuration Of The Profisafe Addresses (Peripherals)

    Safety configuration 9.7 Configuring Safety Integrated (SPL) 9.7.6 Configuration of the PROFIsafe addresses (peripherals) The PROFIsafe addresses (F-source address, F-destination address) are used to uniquely identify the source and the destination. Note Problem solution for the 27220, 27221 alarms (Safety Integrated (SPL)) •...
  • Page 185 Safety configuration 9.7 Configuring Safety Integrated (SPL) Requirement ● The software options for Safety Integrated (SPL) are licensed and enabled in the associated machine data. ● A maximum of three different F-source addresses are used in the configuration. You can view the used F-source addresses in the PLC properties under "Fail-safe > F- parameters".
  • Page 186 Safety configuration 9.7 Configuring Safety Integrated (SPL) Procedure To enter the PROFIsafe addresses in the NCK machine data, proceed as follows: 1. In the TIA Portal, open the properties of the associated object: – Click the PLC and switch in the "Properties" inspector window to "Fail-safe > F-source addresses".
  • Page 187 MD10385 can be found in the "SINUMERIK Safety Integrated" Function Manual. ● Information about individual machine data items is contained in the online help for SINUMERIK Operate and in the "SINUMERIK 840D sl detailed description of the machine data" Lists Manual.
  • Page 188: Configuration Of The Profisafe Addresses (Drives)

    Safety configuration 9.7 Configuring Safety Integrated (SPL) 9.7.7 Configuration of the PROFIsafe addresses (drives) The PROFIsafe addresses (F-source address, F-destination address) are used to uniquely identify the source and the destination. Note Problem solution for the 27220, 27221 alarms (Safety Integrated (SPL)) •...
  • Page 189 Safety configuration 9.7 Configuring Safety Integrated (SPL) Procedure To enter the PROFIsafe addresses in the NCK machine data, proceed as follows: 1. In the TIA Portal, open the properties of the associated object: – Click the PLC and switch in the "Properties" inspector window to "Fail-safe > F-source addresses".
  • Page 190 MD10385 can be found in the "SINUMERIK Safety Integrated" Function Manual. ● Information about individual machine data items is contained in the online help for SINUMERIK Operate and in the "SINUMERIK 840D sl detailed description of the machine data" Lists Manual.
  • Page 191: Parameterizing Profisafe Telegrams

    Safety configuration 9.7 Configuring Safety Integrated (SPL) 9.7.8 Parameterizing PROFIsafe telegrams The modules and submodules to be configured must be selected individually in order to make the desired settings in the "Properties" inspector window. You can select the modules and submodules in the device view or device overview (in the case of GSD-based devices, only in the device overview).
  • Page 192: Configuring Safety Integrated Plus (F-Plc)

    Safety configuration 9.8 Configuring Safety Integrated plus (F-PLC) Configuring Safety Integrated plus (F-PLC) 9.8.1 Introduction New safety functions are available in the SINUMERIK TIA Portal Toolbox with the Safety Integrated plus (F-PLC) mode. The Safety Integrated plus (F-PLC) mode is supported as of NCU V4.7.
  • Page 193 Safety configuration 9.8 Configuring Safety Integrated plus (F-PLC) The Safety Administration Editor is divided into the following sections: ● General ● F-runtime groups ● F-blocks ● Access protection ● Settings F-libraries You can not only store F-blocks in global libraries and project libraries as master copies, but also use them as already tested and approved safety functions.
  • Page 194: Configuring Safety Integrated Plus (F-Plc)

    Safety configuration 9.8 Configuring Safety Integrated plus (F-PLC) 9.8.2 Configuring Safety Integrated plus (F-PLC) The following sample handling overview illustrates the features for the configuring of Safety Integrated plus (F-PLC) with a SINUMERIK NCU compared to a CPU S7-300. Consequently, the overview serves only as an introduction to the configuring and programming of STEP 7 Safety Advanced with SINUMERIK.
  • Page 195 Safety configuration 9.8 Configuring Safety Integrated plus (F-PLC) Step Description Switch to the device view of the peripheral device or drive device and add the desired modules (e.g. power mod- ule, F-DI/DO module, telegrams). See: Configuring PROFIsafe (Page 198)Calling the telegram configuration (Page 111) Check the PROFIsafe addresses.
  • Page 196: Creating A Second F-Runtime Group For Safety Integrated Plus (F-Plc)

    Safety configuration 9.8 Configuring Safety Integrated plus (F-PLC) 9.8.3 Creating a second F-runtime group for Safety Integrated plus (F-PLC) An F-runtime group is automatically created when you activate Safety Integrated plus (F- PLC) mode. The "Program blocks" folder contains the created F-blocks of the F-runtime group: CYC_INT5 [OB35], Main-Safety [FB1010] and Main-Safety_DB [DB1010].
  • Page 197 Further information ● Information about the reserved number range can be found under Introduction (Page 192). ● Information on block assignments can be found in the SINUMERIK 840D sl Basic Functions Function Manual. SINUMERIK STEP 7 Toolbox V14 SP1 Configuration Manual, 05/2017, A5E41846325...
  • Page 198: Configuring Profisafe

    ● The telegram configuration of SINAMICS Integrated or NX modules is automatically adapted when you activate the Safety Integrated plus (F-PLC) mode. PROFIsafe telegrams are added here (SIEMENS telegram 902). ● For additionally connected drive units, add a PROFIsafe telegram in the device overview.
  • Page 199 Safety configuration 9.8 Configuring Safety Integrated plus (F-PLC) WARNING Unique PROFIsafe addresses You must ensure the unique assignment of the PROFIsafe address throughout the network and the CPU. • The fail-safe I/O of PROFIsafe address type 1 is addressed clearly by its fail-safe destination address.
  • Page 200: Checking The Profisafe Address

    Safety configuration 9.8 Configuring Safety Integrated plus (F-PLC) 9.8.5 Checking the PROFIsafe address Unique PROFIsafe address To ensure safe communication, unique PROFIsafe addresses are required throughout the CPU and the network. For this reason, it is also necessary that you check the settings of the PROFIsafe addresses carefully.
  • Page 201 Safety configuration 9.8 Configuring Safety Integrated plus (F-PLC) All the relevant data is listed in the safety printout. Note Error-free hardware and software transmission Error-free HW and SW transmission is the prerequisite for the creation of the safety printout for acceptance purposes. Only then is it assured that all consistency checks have been performed and therefore the safety printout created for a consistent project.
  • Page 202 Safety configuration 9.8 Configuring Safety Integrated plus (F-PLC) SINUMERIK STEP 7 Toolbox V14 SP1 Configuration Manual, 05/2017, A5E41846325...
  • Page 203: Index

    Index FC1010..1019, 193 List of all basic program blocks, 52 OB1, 45 Activate OB100, 45 Project language, 157 OB35, 196 Actual values OB40, 45 Cyclic communication, 113, 116 OB82, 45 OB86, 45 Drive object, 119 Blocks ADI4 module editing, 77 connect, 139 open, 77 Insert, 139...
  • Page 204 Index Device replacement Drive object, 119 Hardware Firmware version, 25, 26 compile, 30 NCU, 25, 26 Hardware configuration NX, 25, 26 load, 31 Disabling Project language, 157 DP Integrated Import setting, 82 NC tags, 149 SCL file, 149 STL file, 149 Ethernet interface Insert configuring, 79...
  • Page 205 Index Master address, 184, 188 NC tags, 149 Source address, 184, 188 NC VAR selector, 149 Programming language FBD, 77 Copy, 17 LAD, 77 Delete, 17 STL, 77 Firmware version, 26 Project language Activate, 157 Insert, 17 Optional subcomponents, 17 Deactivate, 157 Subcomponents, 17 Firmware version, 26...
  • Page 206 Index SINUMERIK STEP 7 Toolbox V14 SP1 Configuration Manual, 05/2017, A5E41846325...

Table of Contents