Siemens SINUMERIK 840D sl Configuration Manual

Siemens SINUMERIK 840D sl Configuration Manual

Sinumerik step 7 toolbox v15.1
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

SINUMERIK
SINUMERIK 840D sl
SINUMERIK STEP 7 Toolbox V15.1
Configuration Manual
Printout of the Online Help
12/2018
A5E46279635B AA
Preface
Fundamental safety
instructions
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
10

Advertisement

Table of Contents
loading

Summary of Contents for Siemens SINUMERIK 840D sl

  • Page 1 Preface Fundamental safety instructions Product information SINUMERIK Configuring the NCU SINUMERIK 840D sl SINUMERIK STEP 7 Toolbox V15.1 Programming the PLC Configuring networks Configuration Manual Configuring telegrams and drive units Configuring I/O Tag selection with NC VAR selector Importing user alarms...
  • 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 You can find information about the range of training courses under the following links: ● www.siemens.com/sitrain SITRAIN - training courses from Siemens for products, systems and solutions in automation technology ● www.siemens.com/sinutrain SinuTrain - training software for SINUMERIK SINUMERIK STEP 7 Toolbox V15.1...
  • Page 4 Note regarding the General Data Protection Regulation Siemens observes standard data protection principles, in particular the principle of privacy by design. That means that this product does not process / store any personal data, only technical functional data (e.g. time stamps).
  • Page 5 Preface Hotline and Internet address Technical Support You will find telephone numbers for other countries for technical support in the Internet under http://www.siemens.com/automation/service&support Conventions Conventions The following terms/abbreviations are used synonymously in this document: ● "SINUMERIK STEP 7 Toolbox <TIA-Portal-Version>" and "SINUMERIK Toolbox"...
  • Page 6 Preface SINUMERIK STEP 7 Toolbox V15.1 Configuration Manual, 12/2018, A5E46279635B AA...
  • Page 7: Table Of Contents

    Table of contents Preface .................................3 Fundamental safety instructions.........................11 General safety instructions.....................11 Equipment damage due to electric fields or electrostatic discharge ........15 Warranty and liability for application examples ..............16 Industrial security ........................17 Residual risks of power drive systems ...................19 Product information ............................21 Validity of the description .......................21 Product features........................22 Installation notes ........................23...
  • Page 8 Table of contents 4.1.5 Blocks with user-specific adaptations ..................65 4.1.6 Assignment overview ......................66 4.1.7 Generating blocks at runtime on the NCU ................67 Opening the PLC basic program system library..............69 Adding the PLC basic program ....................70 Conflicts when copying blocks ....................74 Correcting OB1 ........................76 Upgrading the PLC basic program..................77 Copying blocks from one project into another................79...
  • Page 9 Table of contents Displaying or adapting the telegram configuration ...............121 6.6.1 Overview ..........................121 6.6.2 Calling the telegram configuration..................121 6.6.3 Structure of the "Telegram configuration" dialog..............122 6.6.4 Changing the properties of send telegrams (actual value)...........123 6.6.5 Changing the properties of receive telegrams (setpoint) .............126 6.6.6 Adapting the number of drives .....................129 Available telegram types ......................130...
  • Page 10 Table of contents 10.2 Representation of safety-related resources in the TIA Portal ..........172 10.3 Changing the Safety Integrated mode .................175 10.4 Parameterization of relevant properties ................178 10.5 Availability of I/O addresses at the mode change ..............182 10.6 Licensing ..........................185 10.6.1 Overview ..........................185 10.6.2 Software options for Safety Integrated (SPL)...............185...
  • Page 11: Fundamental Safety Instructions

    Fundamental safety instructions General safety instructions WARNING Electric shock and danger to life due to other energy sources Touching live components can result in death or severe injury. ● Only work on electrical devices when you are qualified for this job. ●...
  • Page 12 Fundamental safety instructions 1.1 General safety instructions WARNING Electric shock due to equipment damage Improper handling may cause damage to equipment. For damaged devices, hazardous voltages can be present at the enclosure or at exposed components; if touched, this can result in death or severe injury.
  • Page 13 ● If you come closer than around 2 m to such components, switch off any radios or mobile phones. ● Use the "SIEMENS Industry Online Support app" only on equipment that has already been switched off. WARNING...
  • Page 14 Fundamental safety instructions 1.1 General safety instructions WARNING Malfunctions of the machine as a result of incorrect or changed parameter settings As a result of incorrect or changed parameterization, machines can malfunction, which in turn can lead to injuries or death. ●...
  • Page 15: Equipment Damage Due To Electric Fields Or Electrostatic Discharge

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

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

    Siemens’ products and solutions undergo continuous development to make them more secure. Siemens strongly recommends that product updates are applied as soon as they are available and that the latest product versions are used. Use of product versions that are no longer supported, and failure to apply the latest updates may increase customer’s exposure to cyber...
  • Page 18 Fundamental safety instructions 1.4 Industrial security WARNING Unsafe operating states resulting from software manipulation Software manipulations (e.g. viruses, trojans, malware or worms) can cause unsafe operating states in your system that may lead to death, serious injury, and property damage. ●...
  • Page 19: Residual Risks Of Power Drive Systems

    Fundamental safety instructions 1.5 Residual risks of power drive systems Residual risks of power drive systems When assessing the machine- or system-related risk in accordance with the respective local regulations (e.g., EC Machinery Directive), the machine manufacturer or system installer must take into account the following residual risks emanating from the control and drive components of a drive system: 1.
  • Page 20 Fundamental safety instructions 1.5 Residual risks of power drive systems SINUMERIK STEP 7 Toolbox V15.1 Configuration Manual, 12/2018, A5E46279635B AA...
  • Page 21: 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 24).
  • Page 22: 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 23: Installation Notes

    Uninstallation 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 V15.1" Note NC VAR selector must be uninstalled separately.
  • Page 24: Limitations For Use

    - that sporadic functional restrictions can occur under the greatly differing system and application conditions. In this context, please observe the current boundary conditions, functional restrictions and workarounds on the Internet: Boundary conditions in Siemens Industry Online Support (https:// support.industry.siemens.com/cs/document/109751810) SINUMERIK STEP 7 Toolbox V15.1...
  • Page 25: Configuring The Ncu

    Configuring the NCU SINUMERIK NCU 3.1.1 Structure of SINUMERIK NCU Subcomponents of the NCU A SINUMERIK NCU comprises the following integrated subcomponents: ● PLC ● NCK ● CP ● HMI (SINUMERIK Operate) ● SINAMICS Integrated (DRIVE) These subcomponents are always a fixed component of an NCU and can only be handled in combination with the NCU.
  • Page 26: Insert Ncu

    (e.g. SINUMERIK 840D sl) and required NCU and select these. Figure 3-1 Selected NCU using the SINUMERIK 840D sl NCU 730.3 PN V4.8 as an example 4. Select the firmware version that matches the envisaged firmware version of the real NCU in the "Version"...
  • Page 27 Configuring the NCU 3.1 SINUMERIK NCU Result The SINUMERIK NCU is created as new device. See also Replacing a device or upgrading firmware (Page 33) SINUMERIK STEP 7 Toolbox V15.1 Configuration Manual, 12/2018, A5E46279635B AA...
  • Page 28: Insert Nx Module

    Configuring the NCU 3.2 Insert NX module Insert NX module Procedure In order to insert an NX module into the project via the hardware catalog, proceed as follows: 1. In the network view, navigate in the hardware catalog to the folder "Controller > SINUMERIK 840D sl >...
  • Page 29 Configuring the NCU 3.2 Insert NX module 3. Use drag-and-drop to move the NX module from the hardware catalog to the network view. SINUMERIK STEP 7 Toolbox V15.1 Configuration Manual, 12/2018, A5E46279635B AA...
  • Page 30 Configuring the NCU 3.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 31 Configuring the NCU 3.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 32 Configuring the NCU 3.2 Insert NX module Result The NX module has been inserted into the project and connected to an NCU. 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.
  • Page 33: Replacing A Device Or Upgrading Firmware

    Configuring the NCU 3.3 Replacing a device or upgrading firmware Replacing a device or upgrading firmware 3.3.1 Replacing the NCU You can replace different NCUs. By replacing a device within the same device family, you can change to another NCU with a different expansion stage, with a different firmware version and other properties.
  • Page 34: Basic Procedure

    Configuring the NCU 3.3 Replacing a device or upgrading firmware 3.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 35 Configuring the NCU 3.3 Replacing a device or upgrading firmware 3. Right-click the device and then select "Replace device" in the shortcut menu. The "Replace device" dialog opens. 4. Select the new device in the folder structure. SINUMERIK STEP 7 Toolbox V15.1 Configuration Manual, 12/2018, A5E46279635B AA...
  • Page 36 Configuring the NCU 3.3 Replacing a device or upgrading firmware 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 37: Establish The Communication Connection

    Configuring the NCU 3.4 Establish the communication connection Establish the communication connection 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 38 Configuring the NCU 3.4 Establish the communication connection 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 39: Load Hardware Configuration Into The Plc

    Configuring the NCU 3.5 Load hardware configuration into the PLC Load hardware configuration into the PLC Requirement ● The hardware configuration is compiled. ● A communication connection exists between the PG/PC (TIA Portal) and the NCU. Note Loading configurations to simulated environments If you want to use the configuration in a simulated environment, you must activate the simulation capability in the project properties before you load the configuration into the simulated environment or compile the hardware/software.
  • Page 40 Configuring the NCU 3.5 Load hardware configuration into the PLC Procedure Proceed as follows to load the configured hardware configuration into the NCU: 1. In the project navigation, right-click the device name, e.g. "CNC_1", and select the "Hardware configuration" command in the "Download to device" shortcut menu. Note Scope of the data to be downloaded Alternatively, you can select one of the other commands to start downloading additional...
  • Page 41 3.5 Load hardware configuration into the PLC Figure 3-2 Dialog using the PLC of a SINUMERIK 840D sl as an example 2. Make the following settings in the "Extended download" dialog: – PG/PC interface: Network card used, e.g. "Intel[R] Ethernet Connection I217-V"...
  • Page 42 Configuring the NCU 3.5 Load hardware configuration into the PLC 4. Confirm the download with "Load". The "Download preview" dialog opens. Figure 3-3 "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 43 Configuring the NCU 3.5 Load hardware configuration into the PLC Result The PLC is stopped and the hardware configuring is loaded into the PLC. The "Results of the loading action" dialog opens and displays the status of the loading action. The dialog restarts the PLC after completion, provided the "Start"...
  • Page 44: Creating Sinumerik Plc Archives

    Configuring the NCU 3.6 Creating SINUMERIK PLC archives Creating SINUMERIK PLC archives 3.6.1 Creating a SINUMERIK PLC archive Introduction Unlike TIA Portal project archives (*.zap*), SINUMERIK PLC archives (*.arc) contain precompiled commissioning data that you can import directly to the NCU (e.g. with SINUMERIK Operate).
  • Page 45 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 46 Configuring the NCU 3.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 3-4 Creating a SINUMERIK archive SINUMERIK STEP 7 Toolbox V15.1 Configuration Manual, 12/2018, A5E46279635B AA...
  • Page 47: Available Sinumerik Archive Types

    Configuring the NCU 3.6 Creating SINUMERIK PLC archives 3.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 48: External Tools For Sinumerik Archives

    Editing of SINUMERIK archives SinuCom commissioning/service tools in the SIEMENS Industry Mall (https:// eb.automation.siemens.com/ mall/en/us/Catalog/Product/ 6FC5250-7AY00-7AG0) Create MyConfig Extensive software, including functions Create MyConfig in the SIEMENS In‐ such as: dustry Mall (https:// eb.automation.siemens.com/ ● Data comparison of SINUMERIK mall/en/us/Catalog/Products/ archives 10167653) ●...
  • Page 49 Configuring the NCU 3.6 Creating SINUMERIK PLC archives Procedure To create a hardware upgrade archive, proceed as follows: 1. In the project tree, right-click the device name, e.g. "CNC_1", and select "Create SINUMERIK archive > Hardware only" in the shortcut menu. The "Create SINUMERIK archive"...
  • Page 50: 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 V15.1 Configuration Manual, 12/2018, A5E46279635B AA...
  • Page 51 Configuring the NCU 3.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 52: Creating A Plc Reload Archive

    Configuring the NCU 3.6 Creating SINUMERIK PLC archives 3.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 53 Configuring the NCU 3.6 Creating SINUMERIK PLC archives Procedure To create a reload archive, proceed as follows: 1. You have several ways of selecting the program blocks to be archived: – Select the desired program blocks in the project tree or in the project tree overview. Then right-click one of the selected program blocks.
  • Page 54 Configuring the NCU 3.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 55: Programming The Plc

    NCK, HMI, and machine control panel components. 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 56 Programming the PLC 4.1 General information about the PLC program Figure 4-1 Structure of the PLC program Cyclic operation (OB1) From a chronological viewpoint, the PLC basic program runs ahead of the PLC user program. The complete processing of the NCK-PLC interface is carried out in cyclic mode. A cyclic monitoring function is activated between PLC and NCK once boot-up and the first OB1 cycle have been completed.
  • Page 57 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 V15.1 Configuration Manual, 12/2018, A5E46279635B AA...
  • Page 58: 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 4-2 Master copies of the SINUMERIK PLC program Under the "Master copies"...
  • Page 59 Programming the PLC 4.1 General information about the PLC program Table 4-1 Use and content of the master copies of the PLC basic program Folder Purpose Contents 840D sl PLC Ba‐ This master copy is intended The master copy contains all the blocks that you require for the maximum sic Program to create a completely new configuration (31 axes, 10 channels).
  • Page 60 Programming the PLC 4.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 Exten‐ tendAlMsg you use the PLC alarm exten‐ dAlMsg=True (PLC alarm extension via AL_MSG [FC10]). sion via AL_MSG [FC10] (Ex‐...
  • Page 61: Block Listing As Table

    ● General information on handling libraries in the TIA Portal can be found in the TIA Portal online help, 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. 4.1.4 Block listing as table In the following, you will find a list of all of the blocks of the SINUMERIK PLC basic program that are included in the supplied master copy "840D sl PLC Basic Program".
  • Page 62 Programming the PLC 4.1 General information about the PLC program Table 4-2 Organization blocks (OB) Address Name Description Called PLC basic pro‐ gram block Cycle OBs are higher-level logic blocks in the program which are cy‐ GP_HP [FC2] clically processed and in which you can program instructions or call additional blocks.
  • Page 63 Programming the PLC 4.1 General information about the PLC program Address Icon Description TM_TRANS2 The block transfers position and status information of the tools to the tool management interface in connection with Multitool. TM_REV The block acknowledges an implemented tool change of a turret to the tool management interface.
  • Page 64 Programming the PLC 4.1 General information about the PLC program Table 4-5 Data blocks (DBs) Address Icon Description ALMSG_DB Interface between user program and AL_MSG [FC10], contains bit arrays for blocking and stop signals as well as fault and status mes‐ sages.
  • Page 65: Blocks With User-Specific Adaptations

    Programming the PLC 4.1 General information about the PLC program Address Icon Description DB1002 ISM_TS Interface between user program and operating software, contains signals for spindle temperature sensors. DB1071 TMLoadIF_MT Interface between user program and tool management, contains signals from/to Load/Unload magazine (multitool). DB1072 TMSpindleIF_MT Interface between user program and tool management, contains...
  • Page 66: 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 4-7...
  • Page 67: Generating Blocks At Runtime On The Ncu

    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 68 Programming the PLC 4.1 General information about the PLC program This concerns the following blocks: ● All axis/channel DBs actually used ● ALMSG_DB [DB2] ● DB3 [DB3] ● DB9 [DB9] ● BAG [DB11] ● DB17 [DB17] ● MMC [DB19] The configuring of these blocks is optional and required only when, for example, you symbolically address them.
  • Page 69: Opening The Plc Basic Program System Library

    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 V15.1 Configuration Manual, 12/2018, A5E46279635B AA...
  • Page 70: 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 66).
  • Page 71 Programming the PLC 4.3 Adding the PLC basic program 3. You have several options for copying the PLC basic program blocks to your project: – Copying the PLC basic program including folder structure as a whole Drag and drop the master copies folder "840D sl PLC BP" into the folder Program blocks, e.g.
  • Page 72 Programming the PLC 4.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 73 Programming the PLC 4.3 Adding the PLC basic program Result The blocks of the basic SINUMERIK PLC program have been copied to your project. Any copied folder structure (Page 82) has been imported. Figure 4-3 Program blocks folder Now you can check the copied blocks and, if applicable, manually delete the PLC basic program blocks that you do not require (e.g.
  • Page 74: Conflicts When Copying Blocks

    Programming the PLC 4.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 75 Programming the PLC 4.4 Conflicts when copying blocks – You can copy the master copy to the project and overwrite duplicate blocks without knowing which blocks have caused the conflict. In this case, select in the dialog box "Replace existing objects and move to this location" and confirm with "OK". The other possibility mentioned in the dialog, "Rename and add objects", does not resolve the conflict in this case.
  • Page 76: Correcting Ob1

    Programming the PLC 4.5 Correcting OB1 Correcting OB1 When inserting the blocks from a master copy of the library, the existing organization block OB1 is duplicated because it has a different name in the library than in the newly created PLC. ●...
  • Page 77: 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 78 Programming the PLC 4.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 79: Copying Blocks From One Project Into Another

    Programming the PLC 4.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 80 Programming the PLC 4.7 Copying blocks from one project into another 3. Navigate in the reference project to the "Program blocks" folder and select the blocks that you want to copy. 4. Drag-and-drop the blocks from the reference project to the "Program blocks" folder of your current project.
  • Page 81 Programming the PLC 4.7 Copying blocks from one project into another Note Conflicts due to names, addresses or numbers that are used multiple times When you paste objects from a reference project whose names have already been used in the project, these are automatically renamed under certain circumstances: ●...
  • Page 82: Use And Handling Of Groups

    Programming the PLC 4.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 4-5 Adding a group SINUMERIK STEP 7 Toolbox V15.1 Configuration Manual, 12/2018, A5E46279635B AA...
  • Page 83 Programming the PLC 4.8 Use and handling of groups 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 84: Create Blocks From External Sources

    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 V15.1 Configuration Manual, 12/2018, A5E46279635B AA...
  • Page 85: Exporting Plc Symbols For Sinumerik Operate

    Programming the PLC 4.10 Exporting PLC symbols for SINUMERIK Operate 4.10 Exporting PLC symbols for SINUMERIK Operate 4.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 86: Exporting Plc Symbols

    Programming the PLC 4.10 Exporting PLC symbols for SINUMERIK Operate Procedure overview Table 4-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 "Rename"...
  • Page 87 Programming the PLC 4.10 Exporting PLC symbols for SINUMERIK Operate Requirement ● The software has been compiled completely. ● The associated languages are activated as project languages in the TIA Portal. See: Information system, "Activate project languages" section Note Comments only in German or English Because SINUMERIK Operate can manage only German and English comments, you can export only German and English comments from the TIA Portal.
  • Page 88 Programming the PLC 4.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 89: Importing Plc Symbols

    Programming the PLC 4.10 Exporting PLC symbols for SINUMERIK Operate – Select the storage location in which the exported PLC symbols are to be saved. Use, for example, a USB FlashDrive to subsequently copy the files to the NCU. 3. Click "Export" to start the export operation. Result The PLC symbols will be copied to the chosen storage location.
  • Page 90 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. SINUMERIK STEP 7 Toolbox V15.1...
  • Page 91: Edit Blocks

    Information about these functions and editors is available in the higher-level help "Programming the PLC" and in the STEP 7 Professional System Manual. (Sometimes functions for specific PLCs are discussed there. Information that also concerns the SINUMERIK 840D sl PLCs is marked with "S7-300".) If you are converting from the STEP 7 V5.x toolbox, you also find special information about...
  • Page 92 Programming the PLC 4.11 Edit blocks SINUMERIK STEP 7 Toolbox V15.1 Configuration Manual, 12/2018, A5E46279635B AA...
  • Page 93: 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 94: Configuring Profibus Dp

    Configuring networks 5.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 95: Configuring Integrated Profibus (Dp Integrated)

    Configuring networks 5.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 96: Configuring Profinet

    Configuring networks 5.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 97: Configuring Profinet Io With Irt

    Configuring networks 5.5 Configuring PROFINET IO with IRT Configuring PROFINET IO with IRT 5.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 98 Configuring networks 5.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 99: Isochronous-Capable Modules Identification

    Configuring networks 5.5 Configuring PROFINET IO with IRT 5.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 100 Figure 5-2 Hardware catalog - "HF" (High Feature) name suffix ● The "Information" section does not explicitly list whether drive telegrams (e.g. SIEMENS telegram 136) support isochronous mode. The compiler will issue an error message if you use an isochronous telegram without activating isochronous mode for the associated header module.
  • Page 101: Configuring Isochronous Nc-Controlled Drives

    ● 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 102: Configuring I/O Used By Nc Isochronously

    Configuring networks 5.5 Configuring PROFINET IO with IRT Step Description Configuring sync domains (Page 110) Compile the configuration and load into the actual hardware (Page 39) The compiler issues error messages if you use different values for bus cycles. In this case, match the values (Page 111).
  • Page 103: Configuring The Ncu

    Configuring networks 5.5 Configuring PROFINET IO with IRT Procedure overview Step Description Configuring the NCU (Page 103) Configuring PROFINET IO IRT devices (Page 104) Configuring IO modules or drive telegrams (Page 106) Configuring the input delay for digital input modules (Page 109) Configuring sync domains (Page 110) Compile the configuration and load into the actual hardware (Page 39) The compiler issues error messages if you use different values for bus cycles.
  • Page 104: Configuring Profinet Io Irt Devices

    Configuring networks 5.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 110). Procedure To configure the NC of the NCU to use isochronous mode, proceed as follows: 1.
  • Page 105 Configuring networks 5.5 Configuring PROFINET IO with IRT Procedure To configure devices for isochronous operation, proceed as follows: 1. Switch to the device view of the PROFINET IO IRT device and select it. 2. Select in the "Properties > General" inspector window under "PROFINET interface > Extended options"...
  • Page 106: Configuring Io Modules Or Drive Telegrams

    Configuring networks 5.5 Configuring PROFINET IO with IRT 7. In the "Ti/To values" dropdown list, select "From the OB". This causes the value to be taken automatically from the setting of the isochronous alarm OB "NCK". 8. Activate the isochronous mode individually for the desired modules of the device in the "Detail overview"...
  • Page 107 Configuring networks 5.5 Configuring PROFINET IO with IRT Procedure To configure the inserted IO 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. Figure 5-5 Device overview example of a GSD drive device with modules 2.
  • Page 108 Configuring networks 5.5 Configuring PROFINET IO with IRT 3. In the "Properties > General" inspector window, select the "I/O addresses" entry. Figure 5-6 Settings for I/O addresses SINUMERIK STEP 7 Toolbox V15.1 Configuration Manual, 12/2018, A5E46279635B AA...
  • Page 109: Configuring The Input Delay For Digital Input Modules

    Configuring networks 5.5 Configuring PROFINET IO with IRT 4. Select the TPA2" as "Process image" in each of the "Input addresses" and "Output addresses" sections. Figure 5-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 110: Configuring Sync Domains

    Configuring networks 5.5 Configuring PROFINET IO with IRT 5.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 111: Match Values Between Profinet Io And Profibus Integrated

    Configuring networks 5.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 112: Assigning Drive Addresses To The Ncu Machine Data

    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 113: Assigning I/O Addresses To The Ncu Machine Data

    Configuring networks 5.5 Configuring PROFINET IO with IRT 5.5.13 Assigning I/O addresses to the NCU machine data Procedure To enter addresses which have been configured in the TIA Portal in the machine data, 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 106)).
  • Page 114 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 115: Configuring Telegrams And Drive Units

    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 116) is redundantly preset in the TIA Portal and in the machine data and usually does not have to be modified.
  • Page 116: Standard Telegram Configuration

    Configuring telegrams and drive units 6.2 Standard telegram configuration Standard telegram configuration The standard telegram configuration of a SINUMERIK NCU can have different versions. This depends on the safety mode and I/O addressing schematic used: ● Depending on the safety mode used, different telegram types are used for safety-relevant communication.
  • Page 117: Viewing I/O Addresses In The Tia Portal

    Configuring telegrams and drive units 6.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 118: Changing The Addressing Schematic

    Configuring telegrams and drive units 6.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 119 Configuring telegrams and drive units 6.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 120: Resetting Telegrams

    Configuring telegrams and drive units 6.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 116). All telegrams in the device are deleted.
  • Page 121: Displaying Or Adapting The Telegram Configuration

    Configuring telegrams and drive units 6.6 Displaying or adapting the telegram configuration Displaying or adapting the telegram configuration 6.6.1 Overview You can call (Page 121) 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 116) due to adaptations of any kind is called a user-defined telegram configuration: ●...
  • Page 122: Structure Of The "Telegram Configuration" Dialog

    Integrated or an NX in the properties of the corresponding device under "Telegram configuration". Figure 6-1 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 172).
  • Page 123: Changing The Properties Of Send Telegrams (Actual Value)

    Configuring telegrams and drive units 6.6 Displaying or adapting the telegram configuration Column Description Type Type of communication: MS = Master-slave communication for PROFIBUS DP F-MS = PROFIsafe-specific master-slave communication Partner Name of the PLC assigned as communication partner. Partner data I/O address range of the communication partner (PLC).
  • Page 124 Configuring telegrams and drive units 6.6 Displaying or adapting the telegram configuration Figure 6-2 Telegram properties - Send (actual value) based on the example of SIEMENS telegram 136 Table 6-1 Parameters of the properties "Send (actual value)" or "Send safety telegram (actual value)"...
  • Page 125 Configuring telegrams and drive units 6.6 Displaying or adapting the telegram configuration Parameter Drive Controller Start address Display of the process data word Currently set start address for the configured (PZD) module. You can accept or change the ad‐ dress. If you change the start address for an actual value, the start address is also adapted for the setpoint.
  • Page 126: Changing The Properties Of Receive Telegrams (Setpoint)

    Configuring telegrams and drive units 6.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 127 Configuring telegrams and drive units 6.6 Displaying or adapting the telegram configuration Figure 6-3 Telegram properties - Receive (setpoint value) based on the example of SIEMENS telegram 136 Table 6-2 Parameters of the properties "Receive (setpoint value)" or "Receive safety telegram (setpoint value)"...
  • Page 128 Configuring telegrams and drive units 6.6 Displaying or adapting the telegram configuration Parameter Drive Controller Start address Display of the process data word (PZD) The currently set start address for the configured module that you can accept or change. If you change the start address for a set‐ point value, the start address is also adapted for the actual value.
  • Page 129: Adapting The Number Of Drives

    Configuring telegrams and drive units 6.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 130: Available Telegram Types

    Table 6-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 131: Telegrams In Sinumerik Safety Integrated (Spl) Mode

    Table 6-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. SIEMENS telegram 903 Extended manufacturer-specific telegram with 32-Bit-Safe Cam (S_ZSW_CAM1). Default setting for internal NC drives as of SINAMICS firm‐...
  • Page 132: 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 121), you can also configure telegram 700.
  • Page 133: Adapting I/O Start Addresses

    Telegrams used by default in the safety modes Designation Partner data area Used in mode Actual val‐ Setpoint SIEMENS Telegramm 136 19 Words 15 Words These telegrams transfer standard data and are used in all safety modes: SIEMENS Telegramm 390...
  • Page 134: Profidrive Telegrams For Standard Data

    Table 6-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 135 Configuring telegrams and drive units 6.8 Adapting I/O start addresses Drive Telegram type I/O address Machine data Standard addressing Optimized addressing schematic schematic Drive_Axis_6 SIEMENS telegram 136 4540 14750 13050[11] Drive_CU_1 SIEMENS telegram 390 6530 15230 Infeed_1 SIEMENS telegram 370 6534...
  • Page 136: Profidrive Telegrams For Safety Integrated (Spl)

    Drive Telegram type I/O address Machine data Standard addressing Optimized addressing schematic schematic Drive_CU_1 SIEMENS telegram 390 6620 13580 Infeed_1 SIEMENS telegram 370 6594 13630 Table 6-13 NX on DRIVE-CLiQ socket X101; DP address 11: I/O addresses of PROFIdrive telegrams...
  • Page 137 Configuring telegrams and drive units 6.8 Adapting I/O start addresses Drive Telegram type I/O address Machine data Standard addressing sche‐ Optimized address‐ matic ing schematic Drive_Axis_5 SI Motion Monitoring 6796 15436 10393[4] Drive_Axis_6 SI Motion Monitoring 6820 15356 10393[5] Table 6-16 NX on DRIVE-CLiQ socket X105;...
  • Page 138: 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 Optimized address‐ schematic ing schematic Drive_Axis_1 SIEMENS telegram 701 5800 15756 13374[0] SIEMENS telegram 903 1008 13372[0] SINUMERIK STEP 7 Toolbox V15.1 Configuration Manual, 12/2018, A5E46279635B AA...
  • Page 139 Configuring telegrams and drive units 6.8 Adapting I/O start addresses Drive Telegram type I/O start address Machine data Standard addressing Optimized address‐ schematic ing schematic Drive_Axis_2 SIEMENS telegram 701 5816 15676 13374[1] SIEMENS telegram 903 13372[1] Drive_Axis_3 SIEMENS telegram 701 5832 15596 13374[2]...
  • Page 140 Configuring telegrams and drive units 6.8 Adapting I/O start addresses Drive Telegram type I/O start address Machine data Standard addressing Optimized address‐ schematic ing schematic Drive_Axis_5 SIEMENS telegram 701 6056 14336 13374[16] SIEMENS telegram 903 13372[16] Drive_Axis_6 SIEMENS telegram 701 6072 14256 13374[17]...
  • Page 141 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 Optimized address‐ schematic ing schematic Drive_Axis_1 SIEMENS telegram 701 6280 13006 13374[30] SIEMENS telegram 903 13372[30] Drive_Axis_2 SIEMENS telegram 701 6296 12926...
  • Page 142: Deviations From The Standard I/O Addressing Schematic

    Configuring telegrams and drive units 6.9 Deviations from the standard I/O addressing schematic Deviations from the standard I/O addressing schematic 6.9.1 Overview Use of user-specific adaptations of an addressing schematic In some cases when configuring in the TIA Portal, the preset default I/O addresses for the communication with the drive have already been assigned, e.g.: ●...
  • Page 143: Matching User-Specific Adaptations

    Configuring telegrams and drive units 6.9 Deviations from the standard I/O addressing schematic Requirement ● I/O addressing schematic optimized for I/O address extension has been selected. See also: Changing the addressing schematic (Page 118) ● No user-specific adaptations to I/O addresses exist. If you have made user-specific adaptations, refer to Chapter Matching user-specific adaptations (Page 143).
  • Page 144: Viewing Messages In The Info Area

    Configuring telegrams and drive units 6.9 Deviations from the standard I/O addressing schematic 6.9.3 Viewing messages in the info area If, after a configuration change, e.g. deviations from the default scheme, the I/O addresses cause conflicts, this information can be viewed in the message log until the TIA Portal is restarted.
  • Page 145: Availability Of Suitable I/O Addresses

    Configuring telegrams and drive units 6.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 146 Configuring telegrams and drive units 6.9 Deviations from the standard I/O addressing schematic Basic procedure Release suitable I/O addresses Check whether you can release suitable address space with one of the following procedures: ● If the associated addresses are PROFIsafe addresses, zoom the process image of the OB1 in the PLC properties under "Cycle".
  • Page 147: 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 148 Configuring I/O 7.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"...
  • Page 149 Configuring I/O 7.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 V15.1 Configuration Manual, 12/2018, A5E46279635B AA...
  • Page 150: 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/...
  • Page 151 The general station description files are installed, and then the SINUMERIK I/O in the hardware catalog displayed in the appropriate folders: ● SINUMERIK I/O for PROFINET IO: "Further field devices > PROFINET IO > I/O > SIEMENS AG > SINUMERIK"...
  • Page 152: Inserting The Sinumerik I/O Module Pp72/48

    Configuring I/O 7.3 Inserting the SINUMERIK I/O module PP72/48 Inserting the SINUMERIK I/O module PP72/48 Requirement ● The respective PROFIBUS GSD file or PROFINET GSDML file is installed. See: Installing general station description files for SINUMERIK I/O (Page 150) ● The network view is active. SINUMERIK STEP 7 Toolbox V15.1 Configuration Manual, 12/2018, A5E46279635B AA...
  • Page 153 – 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 154 Configuring I/O 7.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 V15.1 Configuration Manual, 12/2018, A5E46279635B AA...
  • Page 155: 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 156 Configuring I/O 7.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 V15.1 Configuration Manual, 12/2018, A5E46279635B AA...
  • Page 157: Tag Selection With Nc Var Selector

    SINUMERIK 840D sl Basic Functions Manual: PLC basic program for SINUMERIK 840D sl. ● 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 V15.1...
  • Page 158: Selecting Tags And Saving As Stl File

    Tag selection with NC VAR selector 8.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 159 Tag selection with NC VAR selector 8.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 160: Adding A Tag File (Stl) In The Tia Portal

    Tag selection with NC VAR selector 8.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 161 Tag selection with NC VAR selector 8.3 Adding a tag file (STL) in the TIA Portal Result You can now address the selected variables in your PLC program and use the PUT [FB3] and GET [FB2] blocks to write and read the variables. SINUMERIK STEP 7 Toolbox V15.1 Configuration Manual, 12/2018, A5E46279635B AA...
  • Page 162 Tag selection with NC VAR selector 8.3 Adding a tag file (STL) in the TIA Portal SINUMERIK STEP 7 Toolbox V15.1 Configuration Manual, 12/2018, A5E46279635B AA...
  • Page 163: Importing User Alarms

    System-specific differences Import and storage of the alarm texts can differ system-specifically in the TIA Portal. Note the corresponding subchapter for the system used, e.g. SINUMERIK 840D sl. Procedure overview To use SINUMERIK user alarms in the TIA Portal, proceed as follows: Description Make the user alarm files available in the required languages.
  • Page 164: Exporting Ts Files From Sinumerik Operate

    Exporting TS files from SINUMERIK Operate This section describes how the DB2 alarm texts are exported from 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. Precondition ●...
  • Page 165: Language Assignment In Language-Dependent Texts

    Importing user alarms 9.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 166 Importing user alarms 9.3 Language assignment in language-dependent texts Value in DB10.DBB96 Language in SINUMERIK Operate Language code Default language Russian Slovakian Slovenian Rumanian Traditional Chinese Korean Japanese Turkish Indonesian Thai Malay SINUMERIK STEP 7 Toolbox V15.1 Configuration Manual, 12/2018, A5E46279635B AA...
  • Page 167: Enable Project Languages

    Importing user alarms 9.4 Enable project languages Enable project languages If a multilingual project is created, all project languages, the editing language and reference language must be specified in the settings under "Languages and Resources". These settings should be made at an early stage because, for example, when copying or inserting multilingual objects, only those languages defined as project languages are included.
  • Page 168: Importing Sinumerik Plc Alarm Texts

    Importing user alarms 9.5 Importing SINUMERIK PLC alarm texts Importing SINUMERIK PLC alarm texts Requirement ● A SINUMERIK NCU or device proxy (PLC 300) is inserted. ● The languages in which the TS files are available are activated as project languages (Page 167) in the TIA Portal.
  • Page 169 Importing user alarms 9.5 Importing SINUMERIK PLC alarm texts 3. Select the file formats which you would like to import in the "File type" drop-down list. – TS and CSV files – TS files: Importing of DB2 alarm texts that were copied directly from the NCU. –...
  • Page 170 Importing user alarms 9.5 Importing SINUMERIK PLC alarm texts SINUMERIK STEP 7 Toolbox V15.1 Configuration Manual, 12/2018, A5E46279635B AA...
  • Page 171: Safety Configuration

    Safety configuration 10.1 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 187) ●...
  • Page 172: Representation Of Safety-Related Resources In The Tia Portal

    Safety configuration 10.2 Representation of safety-related resources in the TIA Portal 10.2 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 173 Safety configuration 10.2 Representation of safety-related resources in the TIA Portal Figure 10-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 174 Safety configuration 10.2 Representation of safety-related resources in the TIA Portal Figure 10-2 NCU with EMERGENCY STOP button symbol SINUMERIK STEP 7 Toolbox V15.1 Configuration Manual, 12/2018, A5E46279635B AA...
  • Page 175: Changing The Safety Integrated Mode

    Safety configuration 10.3 Changing the Safety Integrated mode 10.3 Changing the Safety Integrated mode Requirement ● The "SIMATIC STEP 7 Safety Advanced" option package has been installed. SINUMERIK STEP 7 Toolbox V15.1 Configuration Manual, 12/2018, A5E46279635B AA...
  • Page 176 Safety configuration 10.3 Changing the Safety Integrated mode Procedure To change the Safety Integrated mode, proceed as follows: 1. Click the NCU in the network or device view and select the "Safety Integrated" entry in the "Properties" inspector window at "General". Figure 10-3 Properties inspector window - Safety Integrated when using NCU V4.7 2.
  • Page 177 Safety configuration 10.3 Changing the Safety Integrated mode Result The Safety Integrated mode has been changed. The precise effects depend on the selected mode and can be seen in the "Change Safety Integrated mode" dialog (step 2). If you are using the Safety Integrated (SPL) mode, configure next the PROFIsafe addresses (peripherals (Page 193) or drives (Page 197)).
  • Page 178: Parameterization Of Relevant Properties

    Safety configuration 10.4 Parameterization of relevant properties 10.4 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 179 Safety configuration 10.4 Parameterization of relevant properties Setting Can be found at Further information Default F-monitoring time for Interface > F-parameters ● Information system, keyword F-peripherals of this interface "Monitoring and response times" F-monitoring time Module/submodule > F-parame‐ ● Information system, keyword ters "Configuring the F-peripherals"...
  • Page 180 Safety configuration 10.4 Parameterization of relevant properties Figure 10-5 Changing the Safety Integrated mode With the activation of a Safety Integrated mode, the F-capability of the PLC is set appropriate for the Safety Integrated mode of the NCU. SINUMERIK STEP 7 Toolbox V15.1 Configuration Manual, 12/2018, A5E46279635B AA...
  • Page 181 Safety configuration 10.4 Parameterization of relevant properties PLC properties Safety Integrated settings are available in the PLC properties if the NCU uses a safety mode. Figure 10-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 182: Availability Of I/O Addresses At The Mode Change

    Safety configuration 10.5 Availability of I/O addresses at the mode change 10.5 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 183 Safety configuration 10.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 184 Safety configuration 10.5 Availability of I/O addresses at the mode change Figure 10-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 115). SINUMERIK STEP 7 Toolbox V15.1 Configuration Manual, 12/2018, A5E46279635B AA...
  • Page 185: Licensing

    Safety configuration 10.6 Licensing 10.6 Licensing 10.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.
  • Page 186: Software Options For Safety Integrated Plus (F-Plc)

    ● 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 10.6.3...
  • Page 187: Configuring Safety Integrated (Spl)

    Safety configuration 10.7 Configuring Safety Integrated (SPL) 10.7 Configuring Safety Integrated (SPL) 10.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 188 Safety configuration 10.7 Configuring Safety Integrated (SPL) WARNING Depending on the application area, the SINUMERIK NCU, being a part of plants and systems, requires the observance of special standards and regulations. Observe the appropriate safety and accident prevention regulations, e.g. IEC 60204-1 (general requirements placed on the safety of machines).
  • Page 189: Parameterizing F-Input Modules

    Safety configuration 10.7 Configuring Safety Integrated (SPL) Step Description Configure the output modules. (Page 192) If necessary, set the F-monitoring time manually: ● You can configure the parameterization of the F-monitoring time for all devices on a specific interface in the interface settings under "F-parameters >...
  • Page 190: Configuring Drives With F-Functions

    Safety configuration 10.7 Configuring Safety Integrated (SPL) 5. Enter the desired address in the associated "Start address" text field. Note the following: – The I/O addresses must lie within the process image of the PLC (default setting: 1024 bytes; can be configured under "Cycle" in the PLC properties). –...
  • Page 191 Safety configuration 10.7 Configuring Safety Integrated (SPL) WARNING Depending on the application area, the SINUMERIK NCU, being a part of plants and systems, requires the observance of special standards and regulations. Observe the appropriate safety and accident prevention regulations, e.g. IEC 60204-1 (general requirements placed on the safety of machines).
  • Page 192: Parameterizing F-Output Modules

    Safety configuration 10.7 Configuring Safety Integrated (SPL) Step Description Enter the PROFIsafe addresses in the NCU MD. (Page 197) During the commissioning of the drive, enter the PROFIsafe addresses as hexadecimal value in p9610 and p9810. Further information is available in the documentation for your device and from the manufacturer. To use the configuring in SINUMERIK Operate, you require the appropriate software options.
  • Page 193: Configuration Of The Profisafe Addresses (Peripherals)

    Safety configuration 10.7 Configuring Safety Integrated (SPL) 10.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 194 Safety configuration 10.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 195 Safety configuration 10.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 196 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 197: Configuration Of The Profisafe Addresses (Drives)

    Safety configuration 10.7 Configuring Safety Integrated (SPL) 10.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 198 Safety configuration 10.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 199: Parameterizing Profisafe Telegrams

    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 200 Safety configuration 10.7 Configuring Safety Integrated (SPL) Procedure To configure the inserted input modules, select them successively and make the settings individually for each telegram in the inspector window. Proceed as follows: 1. In the device overview of the drive device, select one of the telegrams to be configured. 2.
  • Page 201: Configuring Safety Integrated Plus (F-Plc)

    Safety configuration 10.8 Configuring Safety Integrated plus (F-PLC) 10.8 Configuring Safety Integrated plus (F-PLC) 10.8.1 Introduction New safety functions are available in the SINUMERIK TIA Portal Toolbox with the Safety Integrated plus (F-PLC) mode. The following safety functions are used in the SINUMERIK Integrated plus (F-PLC) mode: ●...
  • Page 202: Configuring Safety Integrated Plus (F-Plc)

    Safety configuration 10.8 Configuring Safety Integrated plus (F-PLC) ● 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. However, you must observe additional conditions, which are described in the following help functions: Help on SIMATIC Safety, Section "Acceptance of the system"...
  • Page 203 Safety configuration 10.8 Configuring Safety Integrated plus (F-PLC) Therefore, observe the following documentation prior to configuring Safety Integrated plus (F- PLC): ● SIMATIC Safety - Configuring and Programming ● SIMATIC Safety - Getting Started Note Validity and scope of the information about SIMATIC STEP 7 Safety This handling overview provided as example only serves as an introduction to configuring and programming of SIMATIC STEP 7 Safety with SINUMERIK in the TIA Portal.
  • Page 204: Creating A Second F-Runtime Group For Safety Integrated Plus (F-Plc)

    SINUMERIK Safety Integrated plus Commissioning Manual. See also Programming and operating manual "SIMATIC Safety - Configuring and Programming" (https:// support.industry.siemens.com/cs/products?search=SIMATIC %20Safety&dtp=Manual&pnid=24471) 10.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.
  • Page 205 Safety configuration 10.8 Configuring Safety Integrated plus (F-PLC) 3. Click "Create new F-runtime group". The "Add new F-runtime group for PLC_1" dialog opens. Figure 10-11 "Add new F-runtime group for PLC_1" dialog 4. Adjust the settings: – In the "Calling block" section, you select the desired block, e.g. the organization block with the number 32 [OB32].
  • Page 206: Configuring Profisafe

    Administration Editor provides an overview of all available F-blocks. Further information ● Information about the reserved number range can be found under Introduction (Page 201). ● Information on block assignments can be found in the SINUMERIK 840D sl Basic Functions Function Manual. 10.8.4 Configuring PROFIsafe The safety functions can be controlled via PROFIBUS DP using the PROFIsafe profile.
  • Page 207 Safety configuration 10.8 Configuring Safety Integrated plus (F-PLC) PROFIsafe address type for SINAMICS Integrated and NX SINAMICS Integrated, as integrated subcomponent of the NCU as well as of NX modules are considered as F-I/O of PROFIsafe address type 1 in the TIA Portal. (This address type is also valid for other SINAMICS drives.) For the I/Os of PROFIsafe address type 1, the uniqueness of the PROFIsafe address is only ensured by the F-destination address (F_DEST_ADD).
  • Page 208: Checking The Profisafe Address

    Safety configuration 10.8 Configuring Safety Integrated plus (F-PLC) Acceptance of the system Information on the acceptance of a safety configuration with controller can be found in the TIA Portal information system under "Acceptance of the system". 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.
  • Page 209 Safety configuration 10.8 Configuring Safety Integrated plus (F-PLC) Creating and checking the safety printout of the PLC Create the safety printout by right-clicking on "Safety administration" and selecting "Print" in the shortcut menu. 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...
  • Page 210 Safety configuration 10.8 Configuring Safety Integrated plus (F-PLC) Further information ● Information on the configuration of drives with PROFIsafe via SINUMERIK Operate can be found in the SINUMERIK Safety Integrated plus Commissioning Manual. ● Further information on the unambiguousness of PROFIsafe addresses can be found in the Programming and Operating Manual, SIMATIC Safety –...
  • Page 211: Index

    Index Activate Communications Project language, 167 establishing, 37 Actual values Components Cyclic communication, 123, 126 NCU, 25 Configuration Drive object, 129 Drive object, 129 ADI4 module Connect connect, 147 ADI4 module, 147 Insert, 147 NX module, 28 Alarm Cyclic data exchange, 121 SINUMERIK DB2 alarm, 168 Archive PLC hardware upgrade archive, 44, 47...
  • Page 212 Index GSD file NC tags, 157 downloading, 150 NC VAR selector, 157 GSD files Installing, 150 Firmware version, 34 GSDML file Insert, 26 downloading, 150 optional components, 25 GSDML files Installing, 150 Firmware version, 34 NX module connect, 28 Insert, 28 Hardware configuration load, 40 Communication setup, 37...
  • Page 213 Index SINAMICS Integrated F-source address, 197 STL, 91 Importing the STL file, 157 Subcomponents NCU, 25 Telegram configuration, 121 Troubleshooting Alarm 27220, 193, 197 Alarm 27221, 193, 197 Safety Integrated (SPL), 193, 197 Upgrade NCU, 34 NX, 34 SINUMERIK STEP 7 Toolbox V15.1 Configuration Manual, 12/2018, A5E46279635B AA...
  • Page 214 Index SINUMERIK STEP 7 Toolbox V15.1 Configuration Manual, 12/2018, A5E46279635B AA...

Table of Contents