Page 1
___________________ Connection of the SINAMICS S120 to Definitions and warnings the Technology CPU SINAMICS S120 ___________________ automation components ___________________ Commissioning SIMATIC ___________________ Basic functions S7-300 ___________________ Connection of the SINAMICS S120 Expert Functions to the Technology CPU ___________________ Safety Integrated Functions in SINAMICS Drive Systems Product Information 09/2011...
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.
Table of contents Definitions and warnings..........................7 SINAMICS S120 automation components ....................9 System overview ..........................9 Control unit.............................9 Line Modules..........................10 Motor Modules ..........................10 Expansion and system components ....................11 Determining the firmware version number...................11 SINAMICS Support Packages .....................13 Commissioning ............................15 Commissioning procedure ......................15 Connecting hardware components ....................15 3.2.1...
Page 4
Table of contents Creating the user program ......................91 3.8.1 Using technology functions ......................91 3.8.2 Special considerations for the use of an Active Line Module ............. 91 Basic functions............................93 Encoder settings ......................... 93 4.1.1 Encoder configuration (overview) ....................93 4.1.2 Characteristic values for encoders....................
Page 5
Table of contents Safety Integrated Functions in SINAMICS Drive Systems ..............183 Safety Integrated Functions - Overview..................183 Safety Integrated functions in SINAMICS S120 drive systems ..........184 Support of SINAMICS Safety Integrated functions by the T(F)-CPU ........186 6.3.1 Support of the SINAMICS Safety Integrated functions - Overview..........186 6.3.2 Activating the support of SINAMICS Safety Integrated functions..........187 6.3.3...
Page 6
Table of contents Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
A complete description of the SINAMICS S120 function scope is contained in the function description. Information on SIMATIC and SINAMICS products is available on the Internet (http://www.siemens.com/automation/service&support). Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 8
Definitions and warnings Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
SINAMICS S120 automation components System overview Because SINAMICS S120 can be used to solve sophisticated drive tasks for a very wide spectrum of industrial applications, it is constructed as a modular system. From the large number of matched components and functions, users combine just those units that best match their requirements.
SINAMICS S120 automation components 2.3 Line Modules Line Modules The Line Modules perform the function of the central energy infeed for the DC link. The following Line Modules are available: ● The Active Line Module (ALM) is a self-controlled infeed/regenerative feedback unit for creating a regulated DC link voltage.
SINAMICS S120 automation components 2.5 Expansion and system components Expansion and system components Expansion and system components can be used to expand the SINAMICS S120 base system so that it can perform functions directly in the drive system, record encoder signals, etc. Components For example, the following components are available for SINAMICS S120: ●...
Page 12
SINAMICS S120 automation components 2.6 Determining the firmware version number Determining the firmware version of the SINAMICS S120 in S7T Config If a current configuration of the SINAMICS S120 is available in S7T Config, the firmware of the SINAMICS S120 can be determined as follows. Select in the project navigator for S7T Config the appropriate SINAMICS S120.
SINAMICS S120 automation components 2.7 SINAMICS Support Packages SINAMICS Support Packages Definition of the SINAMICS Support Package S7 Technology features the integrated STARTER commissioning tool which supports the use of SINAMICS Support Packages (SSP) as of V4.1 SP2. This allows users to make new drive firmware versions known to an existing STARTER/S7-Technology version without having to carry out a new installation and without the drive being actually available.
Page 14
SINAMICS S120 automation components 2.7 SINAMICS Support Packages Installation All SSPs released for a product version can be installed in any order. Do not run STARTER/S7 Technology during SSP installation. To install a new SSP from CD, follow these steps: 1.
Commissioning Commissioning procedure Operational sequence The commissioning procedure is divided into two parts: 1. Create a STEP 7 project and make the settings of the technology CPU for the connected hardware using the HW Config and S7T Config programs. Special attention is placed on the parameterizations that must be performed both in the technology CPU and in the SINAMICS S120.
Page 16
Commissioning 3.2 Connecting hardware components Setting of a fixed PROFIBUS address on the SINAMICS S120 In general, for the operation of the SINAMICS S120 together with the Technology CPU, the setting of a fixed PROFIBUS address using the DIP or rotary switches directly on the SINAMICS S120 is recommended.
Motor Modules. Conversion modules (Sensor Module Cabinet) for the conversion of traditional encoder signals on DRIVE-CLiQ are available for non-Siemens motors and retrofit applications. The following figure shows a sample configuration with different system components.
Page 18
Commissioning 3.2 Connecting hardware components Rules for the interconnection of DRIVE-CLiQ components To work with DRIVE-CLiQ technology and to use technology functions, e.g. the automatic topology recognition, certain rules must be followed for the commissioning of the SINAMICS S120 drive system. A distinction is made here between mandatory DRIVE-CLiQ rules that must be adhered to without exception and recommended rules that should be observed to avoid having to change the topology created offline in S7T Config.
Page 19
Note Complete, detailed information about these rules is contained in the documentation for the SINAMICS S120 drive system available on the Internet (http://apps01.industry.siemens.com/content/00000100/Content/syn_s120.aspx?rc=1). Examples Sample interconnection with an Active Line Module: Connection of the SINAMICS S120 to the Technology CPU...
Page 20
Commissioning 3.2 Connecting hardware components Sample interconnection with a Smart Line Module: Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Detailed information on the wiring is available in the documentation on the SINAMICS S120 drive system available on the Internet (http://apps01.industry.siemens.com/content/00000100/Content/syn_s120.aspx?rc=1). Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
If the training case you are using has motor modules with DAC processors (MLFB 6SL3120 - xTE13 - 0AA3 and higher), make sure you read the following additional information on the Internet (http://support.automation.siemens.com/WW/view/en/27038754). Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Commissioning 3.3 Preparing the connection to the SINAMICS Preparing the connection to the SINAMICS 3.3.1 Overview Introduction To establish a connection for the configuring of the SINAMICS S120 between the programming device and the drive system, several preliminary tasks must be performed; these tasks are discussed in detail in the following sections.
Commissioning 3.3 Preparing the connection to the SINAMICS 3.3.3 Configuring in HW Config Introduction Now double-click the "Hardware" element to configure the hardware of the SIMATIC 300 station using the HW Config tool. Technology CPU: configuring the hardware 1. Select the "SIMATIC Technology CPU" hardware catalog and add there a mounting rail with drag-and-drop to the configuration.
Page 25
Commissioning 3.3 Preparing the connection to the SINAMICS Technology CPU: Configuring PROFIBUS DP (DRIVE) 1. After selecting the Technology CPU, the "Properties - PROFIBUS interface DP(DRIVE) (R0/S3.1)" dialog box will be displayed. Click the "New" button to create a new PROFIBUS network there.
Page 26
Commissioning 3.3 Preparing the connection to the SINAMICS 3. Click the "Options" button to make additional settings for PROFIBUS. In the "Constant bus cycle time" tab, activate the "Activate constant bus cycle time" function. Also activate the "Slave Synchronization" to keep the time values identical for all connected slaves.
Page 27
Commissioning 3.3 Preparing the connection to the SINAMICS Technology CPU: configuring the MPI interface The X1-MPI/DP interface of the CPU is set by default to MPI communication with 187.5 KBit/s and to "not networked". To access the Technology CPU and the SINAMICS S120, the transmission rate of the interface should be set to the highest transmission rate supported by the programming device, for example 12 Mbps.
Page 28
Commissioning 3.3 Preparing the connection to the SINAMICS SINAMICS S120: configuring the hardware 1. In HW Config, insert a SINAMICS S120 drive on PROFIBUS-DP (DRIVE). To do this, select a SINAMICS S120 in the hardware catalog under "SIMATIC-Technology \PROFIBUS DP (DRIVE) \Drives\SINAMICS". 2.
Page 29
Commissioning 3.3 Preparing the connection to the SINAMICS 4. In the "Isochronous operation" tab, activate isochronous operation for this slave. Then click the "Align" button to perform the isochronous alignment of the slave with the Technology CPU. 5. Click "OK" to accept the settings. Saving and compiling the project Save and compile the hardware configuration and load the project into the attached Technology CPU.
Commissioning 3.3 Preparing the connection to the SINAMICS 3.3.4 Activating routing in NetPro Introduction To establish an online connection between the programming device and the SINAMICS S120 drive system, the "Routing of a SIMATIC PC station" in NetPro must be activated. This is necessary because the programming device is connected via the X1-MPI/DP interface to the technology CPU and to the SINAMICS S120 on the PROFIBUS DP (DRIVE) of the Technology CPU.
Page 31
Commissioning 3.3 Preparing the connection to the SINAMICS Procedure To enable routing for the programming device, follow these steps: 1. Open the NetPro program in the SIMATIC Manager with the menu command Options > Configure Network. 2. Add a PG/PC station from the "Network objects" catalog from the "Stations" directory. Note If the SINAMICS S120 is not displayed in NetPro, switch in the View menu to the "With DP Slave / IO Devices"...
Page 32
Commissioning 3.3 Preparing the connection to the SINAMICS 5. As PROFIBUS address, set the address "0" for the PG (recommended default address). Click the "OK" button to confirm the setting. 6. In the "Assignment" tab, assign the MPI interface of your programming device to the interface module of the PG/PC.
Page 33
Commissioning 3.3 Preparing the connection to the SINAMICS Select the "Active" check box in the "S7Online access" field. Note If the project is transferred to a different programming device, this assignment must be repeated because these settings are device-dependent. Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 34
Commissioning 3.3 Preparing the connection to the SINAMICS Result The network configuration is now completed. Once again check the MPI address settings of the PG/PC interface (address 0) and the Technology CPU (address 2) in the overview and save and compile the network configuration. Load the configuration into the target device.
Commissioning 3.4 Configuring the drive components Configuring the drive components 3.4.1 Overview Basic procedure You configure the drive components in S7T Config. You open S7T Config by double-clicking the "SINAMICS_S120...\Commissioning" entry in the SINAMICS_S120... folder in the SIMATIC Manager. Configuration The drive components can be configured in two ways: ●...
Page 36
Commissioning 3.4 Configuring the drive components Procedure 1. Use the Project > Connect to target system menu command to establish an online connection to the SINAMICS S120 in S7T Config. 2. Place the SINAMICS S120 in the initial state by restoring the factory settings. To do this, mark "SINAMICS_S120"...
Page 37
Commissioning 3.4 Configuring the drive components 3. Double-click on the "Automatic configuration" entry of the SINAMICS S120 in the project navigation. 4. Click the "Configure" button to start the configuration. Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 38
Commissioning 3.4 Configuring the drive components 5. Select the type of the drive object. In this example, a servo type drive is to be configured. To configure the individual drives differently, the type for each drive can be selected separately in the lower part of the dialog box. Click the "Create"...
Commissioning 3.4 Configuring the drive components 3.4.3 Manual configuring Introduction The manual configuring can only be performed in offline mode of S7T Config. The components of the drive system that are present must be configured manually using S7T Config. Various infeed modules of the SINAMICS The procedure to be adopted for the manual configuring depends on the SINAMICS infeed.
Page 40
Commissioning 3.4 Configuring the drive components Configuring with Active Line Module (ALM) 1. In S7T Config, open the SINAMICS S120_CU320 folder, and double-click the "Configure drive unit" entry or the drive. 2. First create the control unit, and the option modules. If you are using the TB30 terminal board, select it from the drop-down list, and click the "Next"...
Page 41
Commissioning 3.4 Configuring the drive components 3. For the selection of the SINAMICS infeed, you can choose between modules with or without DRIVE-CLiQ connection. Select "Yes" for the active line module, then click "Next" to confirm the setting. Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 42
Commissioning 3.4 Configuring the drive components 4. In the next dialog, select "Active infeed" for the active line module, and click "Next" to confirm the setting. Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 43
Commissioning 3.4 Configuring the drive components 5. Then select the appropriate module from the list and click the "Next" button to accept the other settings without change. Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 44
Commissioning 3.4 Configuring the drive components 6. Check the settings for the line/DC link identification, line filter, voltage sensing module, and braking module, and adapt them to your application, if necessary. Click the "Next" button to confirm the settings. Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 45
3.4 Configuring the drive components 7. For the process data communiction between the Technology CPU and the infeed, select the "SIEMENS message frame 370 for the infeed". Click "Next" to confirm the setting. Connection of the SINAMICS S120 to the Technology CPU...
Page 46
Commissioning 3.4 Configuring the drive components 8. Now start the configuration of the drive by selecting "Yes" and clicking the "Next" button to confirm the setting. Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 47
Commissioning 3.4 Configuring the drive components 9. Enter the name of the drive "Drive_1" in the "Drive properties" dialog. 10. Select the "Servo" type on the "General" tab. Select the "Drive object no." tab. Enter a drive object number. Click the "Next" button to confirm the settings. Note If you want to set a different operating mode later, you have to reconfigure the drive.
Page 48
Commissioning 3.4 Configuring the drive components 11. Select "Speed control (with encoder)" as the control method, and click "Next" to confirm the setting. Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 49
Commissioning 3.4 Configuring the drive components 12. Select the appropriate power section component from the list, and click "Next" to confirm the setting. Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 50
Commissioning 3.4 Configuring the drive components 13. If you have configured a Double Motor Module, you must now select the power unit connection of the motor on the module. For the first motor, select, for example, the Connection X1. Click "Next" to confirm the setting. Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 51
Commissioning 3.4 Configuring the drive components 14. Select the connected motor. If a motor with a DRIVE-CLiQ interface is used, select this setting. The motor data is then read from the electronic nameplate of the motor via the DRIVE-CLiQ connection. Alternatively, you can select the (standard) motor from a list, or enter the motor data directly.
Page 52
Commissioning 3.4 Configuring the drive components 15. Configure the motor holding brake, if there is one, and click "Next" to confirm the setting. For motor holding brakes which are a direct component of the motor block, use the "Motor holding brake acc. to sequential control" setting. For externally fitted motor holding brakes, select the "Motor holding brake acc.
Page 53
Commissioning 3.4 Configuring the drive components 16. If you did not activate encoder sensing via the Drive CLiQ interface, you can select the relevant encoder from the list box. Select the desired encoder and the encoder evaluation, then click "Next" to confirm the setting. Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 54
Commissioning 3.4 Configuring the drive components 17. For process data communication between the Technology CPU and power section via PROFIBUS DP (DRIVE), set a suitable message frame, such as message frame 105. You can find further information about the properties of the individual message frames in the "Extending a PROFIdrive message frame (Page 130)"...
Page 55
Commissioning 3.4 Configuring the drive components This completes the configuration. You can review your parameter settings again in the summary; click the "Finish" button to close the configuration. 18. Then repeat the configuration for any other motors connected to the drive system. Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 56
Commissioning 3.4 Configuring the drive components Configuring with Smart Line Module (SLM) 1. In S7T Config, open the SINAMICS S120_CU320 folder, and double-click the "Configure drive unit" entry or the drive. 2. Insert the control unit and optionally the add-on modules, for example TB30 terminal board.
Page 57
Commissioning 3.4 Configuring the drive components 4. Start the configuration of the drive by selecting "Yes" and clicking the "Next" button to confirm the setting. Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 58
Commissioning 3.4 Configuring the drive components 5. Enter the name of the drive "Drive_1" in the "Drive properties" dialog. Select the "Servo" type on the "General" tab. Select the "Drive object no." tab. Enter a drive object number. Click the "Next" button to confirm the settings. Note If you subsequently want to change the drive object type, you will have to reconfigure the drive.
Page 59
Commissioning 3.4 Configuring the drive components 6. Select "Speed control (with encoder)" as the control method, and click "Next" to confirm the setting. Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 60
Commissioning 3.4 Configuring the drive components 7. Select the appropriate power section component from the list, and click "Next" to confirm the setting. Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 61
Commissioning 3.4 Configuring the drive components 8. For Smart Line Modules without DRIVE-CLiQ interface, a message appears with information on the hardware wiring of the ready signals between infeed and the drive. Read this information and confirm the message with "OK". Note For SLM without DRIVE-CLIQ, the hardware wiring of the ready signal for the infeed can take place either via the digital inputs of the CU 320 control unit or via the additional...
Page 62
Commissioning 3.4 Configuring the drive components 9. Now perform the internal wiring of the Ready to run signal using the BICO engineering of the SINAMICS S120. Click the blue icon for the wiring of the binector and select "Control unit" or "Further interconnections". The dialog for the possible interconnections of the individual components opens.
Page 63
Commissioning 3.4 Configuring the drive components 10. If you have configured a Double Motor Module, you must now select the power unit connection of the motor on the module. For the first motor, select the X1 connection, for example. Click the "Next" button to confirm the setting. Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 64
Commissioning 3.4 Configuring the drive components 11. Select the connected motor. If a motor with a DRIVE-CLiQ interface is used, select this setting. The motor data is then read from the electronic nameplate of the motor via the DRIVE-CLiQ connection. Alternatively, you can select the (standard) motor from a list, or enter the motor data directly.
Page 65
Commissioning 3.4 Configuring the drive components 12. Configure the motor holding brake, if there is one, and click "Next" to confirm the setting. For motor holding brakes which are a direct component of the motor block, use the "Motor holding brake with sequential control" setting. For externally fitted motor holding brakes, select the "Motor holding brake acc.
Page 66
Commissioning 3.4 Configuring the drive components 13. If you did not activate encoder sensing via the Drive CLiQ interface, you can select the relevant encoder from the list box. Select the desired encoder and the encoder evaluation, then click "Next" to confirm the setting. Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 67
Commissioning 3.4 Configuring the drive components 14. For process data communication between the Technology CPU and power section via PROFIBUS DP (DRIVE), set a suitable message frame, such as message frame 105. You can find further information about the properties of the individual message frames in the "Extending a PROFIdrive message frame (Page 130)"...
Page 68
Commissioning 3.4 Configuring the drive components 15. This completes the configuration. You can review your parameter settings again in the summary; click the "Finish" button to close the configuration. 16. Then repeat the configuration for any other motors connected to the drive system. Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Commissioning 3.4 Configuring the drive components 3.4.4 Alignment of the PROFIdrive message frames Introduction To configure the PROFIBUS communications interface, the message frame configuration in S7T Config and in HW Config must be aligned. Among other things, this alignment determines the I/O addresses for the PROFIdrive data communiction between SINAMICS and the Technology CPU.
Commissioning 3.4 Configuring the drive components Alignment with a Smart Line Module (SLM) To perform the alignment, open the message frame configuration in S7T Config (same as for the ALM), and check and correct the order of the individual components there. To do this, select the relevant component, and use the arrow buttons to move it up or down.
Commissioning 3.4 Configuring the drive components 3.4.6 Optimizing the speed controller in the drive Introduction The controllers in the drive must be working optimally to ensure that systems are not susceptible to faults. There are tools for automatically optimizing the controller in SINAMICS firmware version V2.5 and S7 Technology V4.1 or later.
Page 72
Commissioning 3.4 Configuring the drive components Procedure 1. Switch to online mode. 2. In the navigator, select the drive to be optimized, then switch to the \Commissioning\Automatic controller setting sub-folder. 3. Set the T-CPU to STOP mode. 4. Obtain control priority by pressing the "Get control priority!" button in the automatic controller setting dialog.
Page 73
Commissioning 3.4 Configuring the drive components 6. Carry out the four steps in automatic mode, or carry out the individual steps using the operating buttons in the automatic controller setting dialog. The controller optimization results will be displayed. Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 74
Commissioning 3.4 Configuring the drive components 7. Transfer the calculated speed controller parameter values to the drive by clicking "Accept" in the automatic controller setting dialog. 8. Switch off the drive by clicking "Drive OFF" in the automatic controller setting dialog. 9.
Commissioning 3.5 Diagnosing the SINAMICS configuration Diagnosing the SINAMICS configuration Once the configuring for the SINAMICS S120 has been completed, the topology of the DRIVE-CLiQ wiring can be checked in online mode and the drive moved using the SINAMICS S120 control panel. 3.5.1 Checking the DRIVE-CLiQ wiring online Procedure...
Commissioning 3.5 Diagnosing the SINAMICS configuration 3.5.2 Drive test using the SINAMICS control panel Introduction After the successful configuring of the SINAMICS S120 drive system, the drives can be controlled and moved in speed-controlled operation using the drive control panel in S7T Config.
Page 77
Commissioning 3.5 Diagnosing the SINAMICS configuration Operation using the drive control panel Activate the "Enables" option box and operate the drive control panel using the keys described below: Button Function Enable the infeed for an Active Line Module or for a Basic Line Module using DRIVE-CLiQ.
Commissioning 3.6 Creating technology objects Creating technology objects 3.6.1 Creating and configuring axes Introduction Once the SINAMICS S120 drive system has been configured and placed in operation, the axes must now be created in the technology section of the Technology CPU. This gives the CPU the access to and the control of the axes.
Page 79
Commissioning 3.6 Creating technology objects 2. Enter in the first dialog box a name for the axis and select the required axis technology. Click on the "OK" button to confirm your entry. Note The axis technology can no longer be changed once it has been selected. If a different axis technology is to be selected, the technology object must be recreated.
Page 80
Commissioning 3.6 Creating technology objects 3. Select "Linear, Electric" as the axis type used. Select "Configure units" if needed and click "Next" to confirm the setting. Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 81
Commissioning 3.6 Creating technology objects 4. The axis is now assigned to the drive of the SINAMICS S120. If the SINAMICS S120 is not yet available in the list of drive devices, click the "Set up addresses" button. A free drive of the selected drive device can be selected from the list for the assignment. The message frame (e.g.
Page 82
Commissioning 3.6 Creating technology objects 7. Select the encoder type, the encoder mode and the measuring system to be connected to the selected drive. Again, click the "Data transfer from the drive" button to automatically accept the data configured in the drive. Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 83
Commissioning 3.6 Creating technology objects 8. Enter the encoder-specific data, for example, encoder pulses per revolution and fine resolution. Additional information on this data can be obtained in the chapter "Encoder settings" (Page 93)". If you have transferred the encoder data using the "Data transfer from the drive" button, the encoder-specific data will already be preset correctly.
Page 84
Commissioning 3.6 Creating technology objects 9. At the end of the configuration, you can once again check the entered data in the overview before you click the "Finish" button to close the configuration. Also create the technology objects for all other axes of the SINAMICS S120 drive system and then close S7T Config.
Commissioning 3.6 Creating technology objects 3.6.2 Technology Objects Management (TOM) Procedure 1. Double-click the "Technology objects" entry in the "Technology" folder of the SIMATIC station to open the Technology Objects Management (TOM) in the SIMATIC Manager. 2. The list of the technology data blocks that have not yet been created contains the technology objects that have been previously configured in S7T Config or are available as standard but for which no technology data blocks have been created previously.
Page 86
Commissioning 3.6 Creating technology objects The created technology data blocks are displayed in the list of the technology data blocks in the module folder. The Technology Objects Management program can then be closed. Result The created technology data blocks are now also in the SIMATIC Manager in the "Blocks" folder of the SIMATIC 300 station.
Commissioning 3.7 Diagnosing the technology configuration Diagnosing the technology configuration 3.7.1 Overview Introduction The configuration of the "Axes" technology objects in S7T Config can also be checked using the axis control panel in S7T Config. The motion commands can be specified directly for the technology objects and thus the successful linking of the technology objects with the drives.
Page 88
Commissioning 3.7 Diagnosing the technology configuration Enabling the infeed for a Smart Line Module The ready signal is used to enable a Smart Line Module without DRIVE-CLiQ interface. As shown in the chapter "Manual configuring" (Page 39), Configuration with Smart Line Modules (SLM)", this was connected when you configured the Smart Line Module.
Commissioning 3.7 Diagnosing the technology configuration 3.7.3 Axis test using the technology axis control panel Procedure Once the drive infeed is active, the axis control panel can be used to operate the axes. The axis control panel buttons can be used to invoke the following functions: Button Function Set axis enable.
Page 90
Commissioning 3.7 Diagnosing the technology configuration Depending on the selected operating mode of the axis, various parameters for the axis motion can be specified in an additional input window. Example: Positioning axis Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Sample programs in the Internet Executable sample programs with graphical user interface for the technology CPU are available for download in the "Applications and Tools" area on the Internet (http://support.automation.siemens.com). 3.8.2 Special considerations for the use of an Active Line Module Special considerations To enable an axis using the FB 401 "MC_Power", the enable for the infeed must have...
Page 92
Commissioning 3.8 Creating the user program Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Basic functions Encoder settings 4.1.1 Encoder configuration (overview) Principle The supported encoder types depend on the device. You will find more detailed information in the supplementary descriptions, or in the manuals for the SINAMICS S120 and the drives. The encoder is configured in S7T Config in two stages: 1.
Page 94
Basic functions 4.1 Encoder settings Cyclical actual value: Gn_XIST_1 In the "cyclical actual value" Gn_XIST_1 (n = 1 or 2, number of the encoder), the incremental change in position of the encoder is transmitted to the PLC. The drive simply evaluates the counting pulses of the encoder, and generates the "cyclical actual value"...
Basic functions 4.1 Encoder settings Example: The position value of an absolute encoder is set in the PLC as follows: 1. The PLC uses a command to request the absolute value of the encoder from the drive unit. 2. The drive unit reads the absolute value from the encoder. 3.
Page 96
Basic functions 4.1 Encoder settings Multiturn information (parameter 421 in the drive) The multiturn information contains the number of full encoder revolutions. With each complete revolution of the encoder, the multiturn information is incremented by one. If the maximum data width of the multiturn information is achieved, the encoder actual value is reset to zero.
Page 97
Siemens motor encoders. It does not normally have to be changed. The multiplication factor of the absolute actual value (Gn_XIST_2) is the fine resolution of the absolute actual value. The factory setting of 9 bits is correct for all standard Siemens motor encoders and does not have to be changed.
Page 98
Basic functions 4.1 Encoder settings Number of data bits When you configure an axis in S7T Config, you must specify the "number of data bits" for the encoder. The "number of data bits" corresponds to the proportion of user data of the 32-bit wide encoder actual value, and is calculated from the sum of the data bits for the encoder and multiturn resolutions.
Basic functions 4.1 Encoder settings 4.1.4 Encoder types Encoder type - incremental encoder Incremental encoders output the value zero after the supply voltage has been interrupted. Axes with incremental encoders must be rereferenced after each voltage interruption. Encoder type - absolute encoder Absolute encoders can also provide the absolute position value after the supply voltage of the drive control unit has been interrupted.
Basic functions 4.1 Encoder settings 4.1.5 Encoder mode Different protocols are used to transfer the encoder data between the encoder and the drive. These protocols depend on which encoder is used. The required encoder mode can be found in the technical documentation for the encoder. 4.1.6 Setting encoder parameters in the technology Procedure...
Page 101
Basic functions 4.1 Encoder settings Enter the encoder-specific data, such as the number of encoder pulses, the number of data bits and the multiplication factors. Note If the value zero has been set for the multiplication factors, the factory settings (11-bit for Gn_XIST_1 and 9-bit for Gn_XIST_2) will be used.
Basic functions 4.1 Encoder settings 4.1.7 Display of the encoder parameters in S7T Config Display of the encoder parameters To display the encoder data, open the folder "\Technology\Axes\Axis_1" for the "axis_1" in S7T Config and double-click on "Configuration" to open the dialog box for configuration of the axis.
Page 103
List of encoder parameters to be set A current list of the encoder parameters to be set is available for download on the Internet in the "Applications and Tools" area at the following address: (http://support.automation.siemens.com/WW/view/en/ 27038754) Connection of the SINAMICS S120 to the Technology CPU...
Basic functions 4.2 Homing Homing 4.2.1 Homing possibilities Introduction The "Homing" function is used to align the actual value of an encoder with the position of the machine after the supply power is switched on or after the replacement of the encoder. Where as incremental encoders must be homed after each restart of the system, absolute encoders normally only need to be homed after a replacement of the encoder or the twisting of the spindle without encoder.
Basic functions 4.2 Homing Direct homing The axis position will be set without taking account of the reference cam (encoder zero mark or reference cam). If the home position is to be exactly assigned to a mechanical position, the axis must be stationary during the action. Correct position value An offset value will be subtracted from the current axis position.
Page 106
Basic functions 4.2 Homing Hardware configuration The homing BERO is connected to a free SIMATIC peripheral input (either to an integrated input of the Technology CPU or to a distributed input (e.g. ET 200M) on the DP(DRIVE)). Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 107
Basic functions 4.2 Homing Setting of the integrated inputs in the Technology CPU In the example shown here, the digital inputs integrated in the Technology CPU are to be used to fetch the homing output cam (BERO). The hardware address of these integrated inputs are required for the settings of the homing mode in the technology.
Page 108
Basic functions 4.2 Homing Setting of the homing mode in the technology As next step, activate the "Homing" function and enter the address of the homing output cam. 1. To activate the "Homing" function, switch in the S7T Config project navigator to the "\Technology\Axes\Axis_2\Homing"...
Basic functions 4.2 Homing 3. The logical hardware address of the homing output cam (BERO) must be specified. As described above, the first integrated digital input should be used in this example. This is configured with hardware address byte 66 and bit 0. "Start of homing procedure"...
Page 110
Basic functions 4.2 Homing Hardware configuration A typical application example is an encoder without zero mark evaluation. An external zero mark (Bero) is used in place of the encoder zero mark. To ensure short response times, it is read indirectly via the digital inputs of the CU320. Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 111
Basic functions 4.2 Homing Assignment of the equivalent zero mark signal to the digital input of the SINAMICS For homing to an external zero mark with axes on the PROFIBUS, the external zero mark must be configured as digital input on the drive. This requires that the configuration of the drive specifies which internal digital input of the CU320 is to be used to fetch the equivalent zero mark signal.
Page 112
Basic functions 4.2 Homing Inverting the selected digital input of the SINAMICS A general condition in conjunction with SINAMICS governs the homing only with an external zero mark. Only negative edges are permitted for the positive travel direction and only positive edges are permitted for the negative travel direction, this means that the same cam side is always used.
Page 113
Basic functions 4.2 Homing Setting of the homing mode in the technology The next step is to enable the "Homing" function in the technology. 1. To activate the "Homing" function, switch in the S7T Config project navigator to the dialog: "\Technology\Axes\Axis_2\Homing". 2.
Basic functions 4.2 Homing 3. Enter appropriate values in the "Approach velocity", "Entry velocity", and "Reduced velocity" input boxes. Note Note that only negative edges are permitted for the positive travel direction, and only positive edges are permitted for the negative travel direction, which means that the same cam side is always used.
Page 115
Basic functions 4.2 Homing Hardware configuration A typical application example is an encoder without zero mark evaluation. An external zero mark (Bero) is used in place of the encoder zero mark. To ensure short response times, it is read indirectly via the digital inputs of the CU320. The same signal is also evaluated via an integrated input on the Technology CPU.
Page 116
Basic functions 4.2 Homing Setting of the homing mode in the technology The next step is to enable the "Homing" function in the technology. 1. To activate the "Homing" function, in the S7T Config project navigator switch to the dialog: "\Technology\Axes\Axis_2\Homing". 2.
Basic functions 4.2 Homing 4. In the "Ext. zero mark input" box, enter the address of the integrated inputs of the Technology CPU from HW Config, for example PI66.0. 5. Enter meaningful values in the "Approach velocity", "Entry velocity", and "Reduced velocity" input boxes. Note Note that only negative edges are permitted for the positive travel direction, and only positive edges are permitted for the negative travel direction, which means that the same...
Page 118
Basic functions 4.2 Homing Hardware configuration A motor encoder with zero mark is connected to the SINAMICS S120. The evaluation can be made using the zero mark signal of the encoder, an additional homing output cam (Bero) is not required. Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 119
Basic functions 4.2 Homing Setting of the homing mode in the technology Because the input signal for the homing is part of the information transferred from the motor encoder, no further steps are required in the configuration of the drive. You can start immediately by activating the "Homing"...
Basic functions 4.2 Homing Creating the S7 user program Use the Technology Object Manager (TOM) to create a technology data block (TO-DB) assigned to the homing output cam technology object. The technology data block (TO-DB) allows the functions on the associated technology object to be executed using the provided FBs.
Page 121
Basic functions 4.2 Homing 6. In the "Parameters" tab, set the "Absolute encoder adjustment" homing mode in the selection window. 7. In the "Options" tab, enter the absolute value encoder offset (usually the negative, current actual value) in the "Home position coordinate" input box. Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Basic functions 4.3 Triggering of the integrated outputs of the CU 320 Control Unit 8. Press the button to start the absolute encoder calibration. The actual position value will be corrected with the entered offset. The displayed position of the "Axis_1" axis is now 0.0 mm. 9.
Page 123
Basic functions 4.3 Triggering of the integrated outputs of the CU 320 Control Unit Creating an output cam To create a cam switch, follow these steps: 1. In the project navigator of S7T Config, switch to the "\Technology\Axes\Axis_1\Output_Cam" dialog and double-click on "Insert output cam". 2.
Page 124
Basic functions 4.3 Triggering of the integrated outputs of the CU 320 Control Unit 4. To set the parameters for the output cam, switch to the "\Technology\Axes\Axis_1\Output_Cam\Output_Cam_1" dialog in the S7T Config project navigator. 5. Select the "Activate output" check box. 6.
Page 125
Basic functions 4.3 Triggering of the integrated outputs of the CU 320 Control Unit Linking the message frame interface of the control unit with the output terminal To link the message frame interface of the control unit with the actual output terminal, follow these steps: 1.
Page 126
Basic functions 4.3 Triggering of the integrated outputs of the CU 320 Control Unit Creating the S7 user program Use the Technology Object Manager (TOM) to create a technology data block (TO-DB), which is assigned to the homing output cam technology object. The technology data block (TO-DB) allows the functions on the associated technology object to be executed using the provided FBs.
Expert Functions PROFIdrive message frame 5.1.1 Message frame types Selection help for the PROFIdrive message frames By default, the SINAMICS S120 is connected to the Technology CPU via PROFIBUS DP (DRIVE). Depending on the desired axis functionality, this connection can be made using various device-specific message frames.
Page 128
Expert Functions 5.1 PROFIdrive message frame Control word Status word NSOLL Set speed NIST Actual speed M_Red Torque derating MeldW Message word XERR System deviation (for DSC) G1_XIST1 Cyclic actual value (incremental encoder) Position controller gain G1_XIST2 Absolute actual value (absolute encoder) (for DSC) AA_LOAD Current load...
Expert Functions 5.1 PROFIdrive message frame 5.1.2 Example: telegram 105 Structure Telegram 105 contains the following data, where the first row of the table represents the setpoint transfer from the controller to the drive and the second row represents the actual value transfer from the drive to the controller.
Expert Functions 5.2 Extending a PROFIdrive message frame Extending a PROFIdrive message frame 5.2.1 Address areas Introduction The message frame types described in the "PROFIdrive message frame (Page 127)" chapter are used to transfer the drive data. Additional PROFIdrive message frames are available to establish a connection with the distributed input/outputs on PROFIBUS DP (DRIVE), with integrated inputs/outputs on the control unit, or with extensions on the Drive-CLiQ.
Expert Functions 5.2 Extending a PROFIdrive message frame 5.2.2 Extending a message frame by creating additional components Introduction For example, to make the integrated digital input/outputs of the SINAMICS S120 available to the Technology CPU, the input information must be transferred via the PROFIBUS DP (DRIVE).
Page 132
Expert Functions 5.2 Extending a PROFIdrive message frame 5. To assign the integrated input/outputs to the control unit input/output addresses, switch to the HW Config hardware configuration. Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 133
Expert Functions 5.2 Extending a PROFIdrive message frame 6. Open the object properties of the SINAMICS S120 there and click the "Activate..." button in the "Configuration" tab. Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 134
Expert Functions 5.2 Extending a PROFIdrive message frame 7. Select a PROFIBUS standard message frame from the list for the address assignment in the object rows. Select the following message frames: – Object 3 - TB30 - Standard message frame 1 PZD 2/2 –...
Page 135
Expert Functions 5.2 Extending a PROFIdrive message frame 8. Switch to the "Details" tab and note the assignment of the PROFIBUS input/output addresses. Each object of the configuration has its own area that is concluded with an axis separator. In this example, the selection of the two standard message frames starting at slot 10 creates the input/output area for the TB30 and the control unit.
Page 136
Expert Functions 5.2 Extending a PROFIdrive message frame 12. Close the object properties of the SINAMICS S120 and check whether the newly added slots are listed in the address area of the SINAMICS S120. 13. Then save and compile the HW Config hardware configuration. Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 137
Expert Functions 5.2 Extending a PROFIdrive message frame 14. Switch to S7T Config and open the "Message frame configuration" of SINAMICS S120. Note If the window was still open, you need to close and reopen it. 15. Click "Align message frame with HW Config: Set up addresses" to complete the new message frame configuration.
Expert Functions 5.2 Extending a PROFIdrive message frame 5.2.3 Extending the PROFIdrive message frame in S7T Config In S7 Technology V4.1 and higher, there is an option to extend message frames directly in the SINAMICS message frame configuration in S7T Config. Procedure 1.
1. In S7T Config, open the message frame configuration of SINAMICS S120. 2. Click "Align message frame with HW Config: Set up addresses". Check that the Siemens message frame 105 is entered for the "Drive_1" entry. Note After the alignment, you will have to close the "Message frame configuration" dialog.
Page 140
Expert Functions 5.2 Extending a PROFIdrive message frame 3. Open HW Config. 4. Open the object properties for SINAMICS S120 and click "Activate" on the "Configuration" tab. 5. Open the "Details" tab and note the assignment of the PROFIBUS I/O addresses. Each object of the configuration has its own area that is ended with an axis disconnector.
Page 141
Expert Functions 5.2 Extending a PROFIdrive message frame 7. Insert a new slot by selecting row "6", for example, and then clicking "Insert slot". To specify a new actual value slot with a length of two words on PROFIBUS address 10, fill in the columns as follows: –...
Page 142
Expert Functions 5.2 Extending a PROFIdrive message frame 8. Switch to the "Configuration" tab. 9. Check whether the message frame type for object 1 has been changed to "user-defined". 10. Confirm your object properties changes with "OK". Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 143
Expert Functions 5.2 Extending a PROFIdrive message frame 11. Check whether the newly inserted slot is listed in the address area of SINAMICS S120. 12. Save and compile the hardware configuration. Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 144
Expert Functions 5.2 Extending a PROFIdrive message frame 13. Open the "Message frame configuration" in the S7T Config project navigator. Note If the window was still open, you need to close and reopen it. 14. Check whether the address setting from HW Config was accepted. 15.
Expert Functions 5.3 Disabling the PROFIBUS Sign-of-Life Monitoring Disabling the PROFIBUS Sign-of-Life Monitoring Principle The PROFIBUS connection between the technology CPU and the SINAMICS S120 is monitored using a sign of life. The sign-of-life monitoring is selected automatically when the axis is created and should always be active during operation.
Expert Functions 5.4 Activating a Second Encoder Activating a Second Encoder 5.4.1 Using a Second Encoder Introduction A second encoder is required, for example, when the position detection does not supply sufficient accuracy for the motor encoder or must be synchronized to external motions. Second encoder as actual position value For some mechanical constructions, the motor encoder cannot be used as an exact actual position value on the system.
Page 147
Expert Functions 5.4 Activating a Second Encoder Second encoder as master value for synchronism functions In a system, two independently controlled drives are to be synchronized using a gearbox or curve synchronization. In this case, for example, the first drive, controlled by an external drive system, transports a wooden beam, a plastic pipe, etc.
Expert Functions 5.4 Activating a Second Encoder 5.4.2 Connecting a second encoder in SINAMICS Introduction Prepare your project as described in the "Commissioning (Page 15)" chapter of this product information so that an appropriate HW Config hardware configuration and a NetPro network configuration are present.
Page 149
The "Encoder data" dialog will close. 5. In the "Configuration" dialog, select the "Process data exchange" option. 6. Select the PROFIBUS PZD message frame "SIEMENS message frame 106". This message frame allows the data transfer of a second actual encoder value to the drive control of the Technology CPU.
Expert Functions 5.5 Reading the drive parameters Reading the drive parameters 5.5.1 Example: Reading several parameters using "MC_ReadDriveParameter" General The configuration and status data are stored as parameter lists in SINAMICS S120. Additional information about the parameter lists is contained in the SINAMICS S List Manual. Various applications require specific parameters to be fetched from these parameter lists and further processed in the user program.
Page 151
Expert Functions 5.5 Reading the drive parameters Program execution A sequence processor is the solution concept used for fetching several parameters. This is structured so that it can be extended with additional parameters. The requested parameter values are available at the end of a program cycle. Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Expert Functions 5.6 Measuring Function Measuring Function 5.6.1 Use Cases Measuring function The "Measuring" function can be used to determine the actual position of an axis at any time. A possible application is, for example, the acquisition of a registration mark in order to subsequently synchronize the axis to this mark.
Page 153
Expert Functions 5.6 Measuring Function Run time compensation The run time compensation is set in the "Activation time of the measuring range on the measuring input" input box of the "Measuring input" configuration dialog. Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 154
Expert Functions 5.6 Measuring Function The offset of the measuring window only functions reliably when the axis velocity ● Within the measuring window is constant and is ● Known before the function call. Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 155
Expert Functions 5.6 Measuring Function You can determine the response times for your configuration using the following tables. The values in the tables are based on the set system clocks. By using the actual times, you can calculate the response time in milliseconds. The following abbreviations are used in the tables: Description Supplementary information...
Expert Functions 5.6 Measuring Function 5.6.2 Measuring using the integrated inputs on the CU320 Introduction Various sensors and actuators can be connected using the digital inputs and outputs to the 12-pole X122 and X132 front connectors. Three pins of each of the X122 and X132 interfaces are provided as fast inputs and can be used, for example, for measuring inputs.
Page 157
Expert Functions 5.6 Measuring Function Requirement A configuration with at least a drive and an axis must be available. Configuring a measuring input using the integrated inputs of the CU320 1. You need to open the expert list of the drive in order to connect the input of the measuring input from the CU320 DI/DO 9 (X122.8) terminal with the measuring input function on the drive.
Page 158
Expert Functions 5.6 Measuring Function 5. To configure the measuring input, click "\Technology\Axes\Axis_1\Measuring inputs\Measuring_input_1\Configuration" in the project navigator of S7T Config. 6. Select the following functions and settings for the example: – Local measurement on the drive – Measuring input number "1" The first measuring input corresponds to the configuration at drive_1 "parameter p488".
Expert Functions 5.6 Measuring Function 5.6.3 Fetching the measuring inputs using the TM17 terminal module Introduction Digital inputs for the connection to a measuring input are available at the TM15 Terminal Module and TM17 High Feature. These can only be used for a single measurement for the Technology CPU.
Page 160
Expert Functions 5.6 Measuring Function Basic procedure To integrate a TM17 terminal module in the SINAMICS topology, follow these steps: 1. Connect the power supply and the measuring line of the measuring input to the TM17 terminal module. For our example, wire the measuring input to the DI/O 0 input. 2.
Page 161
Expert Functions 5.6 Measuring Function 10. For the further processing, note the entry from the "Offset" column. This value, in our example "3.0", is needed for subsequent address assignment of the measuring input. Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 162
Expert Functions 5.6 Measuring Function 11. For alignment with the hardware configuration, switch to the S120_CU320 > Communication > Message frame configuration folder in the S7T Config project navigator. The work area shows the newly added TM17 terminal module. To align with HW Config, click "Align message frame with HW Config: Set up addresses". Result Following the alignment with HW Config, the TM17 terminal module is assigned the input/output addresses via which it can be accessed on PROFIBUS DP (DRIVE).
Page 163
Expert Functions 5.6 Measuring Function Transferring the configuration to the Technology CPU The Technology CPU configuration has been changed as a result of inserting the TM17 terminal module and aligning with HW Config. To transfer the modified configuration to the Technology CPU, follow these steps: 1.
Page 164
Expert Functions 5.6 Measuring Function Creating and configuring measuring inputs in S7T Config To create and configure a measuring input, follow these steps: 1. Switch to the Technology > Axes > Axis_1 > Measuring input folder in the S7T Config project navigator. 2.
Expert Functions 5.7 Triggering an output cam using the TM17 terminal module Triggering an output cam using the TM17 terminal module Introduction Digital outputs for the connection of an output cam are available at the TM15 and TM17 High Feature terminal modules. The following section describes the configuration of an output cam using the TM17 terminal module.
Page 166
Expert Functions 5.7 Triggering an output cam using the TM17 terminal module To create a TM17, follow these steps: 1. Switch to the S120_CU320 > Input/output components folder in the S7T Config project navigator. 2. Click "Insert input/output components". The "Insert input/output components" dialog will be displayed. 3.
Page 167
Expert Functions 5.7 Triggering an output cam using the TM17 terminal module Assigning parameters to the TM17 terminal module To perform the parameterization of the TM17 terminal module, follow these steps: 1. Switch to the S120_CU320 > Input/output components >TM17 folder in the S7T Config project navigator.
Page 168
Expert Functions 5.7 Triggering an output cam using the TM17 terminal module 4. For the further processing, note the entry from the "Offset" column. This value, in this example "3.0", is needed for subsequent address assignment of the output cam. In the next step, the input/output addresses must be assigned to the TM17 terminal module so that it can be reached on the PROFIBUS DP(DRIVE).
Page 169
Expert Functions 5.7 Triggering an output cam using the TM17 terminal module The following table shows the 3 selection possibilities: Icon Description Without enable No enable condition. The output cam will be output directly. Edge-triggered A measurement request for the configured measuring input will be issued on the assigned input of the TM17 High Feature (measuring input technology object activated).
Page 170
Expert Functions 5.7 Triggering an output cam using the TM17 terminal module Icon Description Level-triggered The output cam will continue to be output at the output while the output cam in the technology object is active and a parameterized enable signal is present at the TM17 High Feature.
Page 171
Expert Functions 5.7 Triggering an output cam using the TM17 terminal module Configuring a message frame 1. For the alignment with the hardware configuration, switch to the S120_CU320 > Communication > Message frame configuration dialog in the S7T Config project navigator. The work area shows the newly added TM17 terminal module.
Page 172
Expert Functions 5.7 Triggering an output cam using the TM17 terminal module Checking the Drive CliQ topology Finally, the Drive CLiQ topology should be checked to determine whether the technology module has been integrated correctly. To check the Drive CliQ topology, follow these steps: 1.
Page 173
Expert Functions 5.7 Triggering an output cam using the TM17 terminal module 7. Choose from three different types of output cam: – Position-based cam: The switching signal is on when the position of the axis lies between two marks (start and end position). –...
Expert Functions 5.8 Triggering of a brake Triggering of a brake 5.8.1 Vertical axis application case Introduction When a braking sequential control is used in conjunction with a vertical axis, the axis should remain at its position when the system is shutdown or in a fault situation. The axis enable can be reset by an alarm in the technology CPU or by disabling the MC_Power function (Enable input = false).
Page 175
Expert Functions 5.8 Triggering of a brake Procedure 1. Switch to the "Motor holding brake" dialog box in the configuration wizard and activate the following functions there: – "Motor holding brake acc. to sequential control" – "Extended brake control" 2. Further configuring of the drive is made as described in the "Commissioning (Page 15)" chapter of this product information.
Expert Functions 5.8 Triggering of a brake 5.8.3 Activating braking sequential control in the axis Introduction The enable bits ON/OFF1, OFF2, OFF3 and operation enable (pulse enable) of the axis are coordinated via the braking control that is integrated in the drive. This means that, when the axis is switched off normally or in the event of an axis error, you can make sure that the brake is already closed before the pulse enable is cancelled, hence preventing the axis from sagging.
Page 177
Expert Functions 5.8 Triggering of a brake Procedure for configuring the axis response to axis errors with error response "RELEASE_DISABLE" The response of the axis to axis errors with the "RELEASE_DISABLE" error response is set by changing the configuration in S7T Config. ●...
Page 178
Expert Functions 5.8 Triggering of a brake ● Select the required response by the axis to interrupts with an error response "RELEASE_DISABLE". Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 179
Expert Functions 5.8 Triggering of a brake Ramp stop (OFF1): Braking takes place at the drive's ramp function encoder ramp. When the speed threshold is reached, the holding brake is enabled which disables the pulse enable once the brake closing time has elapsed. Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 180
Expert Functions 5.8 Triggering of a brake Coast stop (OFF2): In this case the power enable is cancelled immediately, and the drive costs to a standstill. In parallel, the mechanical braking control is enabled immediately. This engages the brake, which actively brakes the drive. The mechanical stress on the brake depends on the load to which it is subjected.
Page 181
Expert Functions 5.8 Triggering of a brake Fast stop (OFF3): The drive is braked at the fast stop ramp (emergency stop). When the speed threshold is reached, the holding brake is enabled which disables the pulse enable once the brake closing time has elapsed.
Page 182
Expert Functions 5.8 Triggering of a brake Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
The SINAMICS S120 Safety Integrated Function Manual contains all information on Safety Integrated functions of the SINAMICS S120 drives. The manual is available in the SINAMICS documentation DOConWEB in the Internet (http://www.automation.siemens.com/doconweb/). Topics overview This document contains information on the following topics:...
Safety Integrated Functions in SINAMICS Drive Systems 6.2 Safety Integrated functions in SINAMICS S120 drive systems Safety Integrated functions in SINAMICS S120 drive systems The following Safety Integrated functions are available for SINAMICS S120: ● Basic functions ● Extended functions Basic functions These functions are part of the standard scope of the drive and can be used without requiring an additional license:...
Page 185
Safety Integrated Functions in SINAMICS Drive Systems 6.2 Safety Integrated functions in SINAMICS S120 drive systems Controlling Safety Integrated functions Safety Integrated functions can be controlled as follows: ● Via terminals ● Via a PROFIsafe message frame using PROFIBUS ● Via the terminal module TM54F - for the extended functions Controls can be selected simultaneously via terminals and TM54F or terminals and PROFIsafe.
Safety Integrated Functions in SINAMICS Drive Systems 6.3 Support of SINAMICS Safety Integrated functions by the T(F)-CPU Support of SINAMICS Safety Integrated functions by the T(F)-CPU 6.3.1 Support of the SINAMICS Safety Integrated functions - Overview Support of the SINAMICS Safety Integrated Basic functions No special support is required on the Axis technology object for the SINAMICS Safety Integrated Basic functions.
Safety Integrated Functions in SINAMICS Drive Systems 6.3 Support of SINAMICS Safety Integrated functions by the T(F)-CPU 6.3.2 Activating the support of SINAMICS Safety Integrated functions Activating the support of the SINAMICS Safety Integrated functions To activate the support of the SINAMICS Safety Integrated functions for the Axis technology object, proceed as follows: ●...
Safety Integrated Functions in SINAMICS Drive Systems 6.3 Support of SINAMICS Safety Integrated functions by the T(F)-CPU 6.3.3 Message frame structure Safety data block The SIMATIC S7 Technology support for SINAMICS Safety Integrated extended functions requires an extension of the actual value message frame with the safety data block (3 words).
Page 189
Safety Integrated Functions in SINAMICS Drive Systems 6.3 Support of SINAMICS Safety Integrated functions by the T(F)-CPU Content of the safety data block in the actual value message frame Word Meaning Safety status word Effective absolute set velocity limitation in the drive Note: This double word must be interconnected with r9733[0].
Safety Integrated Functions in SINAMICS Drive Systems 6.3 Support of SINAMICS Safety Integrated functions by the T(F)-CPU 6.3.4 Extension of actual value message frame in S7T Config The safety data block must be connected in S7T Config to the actual value message frame of the drive.
Page 191
Safety Integrated Functions in SINAMICS Drive Systems 6.3 Support of SINAMICS Safety Integrated functions by the T(F)-CPU Extending the PROFIdrive actual value message frame To configure the message frame extension in S7T Config, proceed as follows: 1. In S7T Config, open the message frame configuration of the drive. To do this, select SINAMICS Device >...
Page 192
Safety Integrated Functions in SINAMICS Drive Systems 6.3 Support of SINAMICS Safety Integrated functions by the T(F)-CPU 6. In the "Binector Connector Converter" tab, interconnect the free status word as shown in the figure above. Connection of the SINAMICS S120 to the Technology CPU Product Information, 09/2011, A5E00480378-04...
Page 193
Safety Integrated Functions in SINAMICS Drive Systems 6.3 Support of SINAMICS Safety Integrated functions by the T(F)-CPU 7. In the "Transmit direction" tab, assign the interconnected binector connector converter and the r9733 of the message frame extension to one another. Free interconnections are only shown when the "Suppress inactive interconnections"...
Note Standard message frame 1 cannot be used. Ensure for standard message frames and SIEMENS message frames that p2038 = 0 or p2038 = 1 has been set in the drive. Connection of the SINAMICS S120 to the Technology CPU...
Safety Integrated Functions in SINAMICS Drive Systems 6.4 Safety status displays and error messages Safety status displays and error messages Display of the status information If technologicalData.driveSafetyExtendedFunctionsEnabled is equal to YES and the logical basic address of the Safety data block correct, then the following information will be displayed by variables in the TO_DB Axis: ●...
Page 196
Safety Integrated Functions in SINAMICS Drive Systems 6.4 Safety status displays and error messages Messages to the user The messages of the SINAMICS Safety Integrated Extended functions are displayed as Error in the TO DB of the axis (StatuswordSafety). ● Error ID 8140: Safety alarm in the drive A new event is present in the safety message buffer of the drive.
Page 197
Safety Integrated Functions in SINAMICS Drive Systems 6.4 Safety status displays and error messages Safety message buffer in the SINAMICS S120 drive Errors in the safety function in the drive itself or stop responses initiated by monitoring functions will be displayed in the drive using a safety fault. The safety faults are stored in the safety message buffer.
Safety Integrated Functions in SINAMICS Drive Systems 6.5 Behavior and reactions in the user program Behavior and reactions in the user program The safety functions in the drive are either selected or deselected using a F-CPU (e.g. SIMATIC S7 CPU 317TF) using safe PROFIsafe communication or using a safety-related SINAMICS TM54F terminal module.
Page 199
Safety Integrated Functions in SINAMICS Drive Systems 6.5 Behavior and reactions in the user program Reaction in the user program to select or deselect the SS2, SOS and SLS safety extended functions For the SS2, SOS, and SLS status transitions, an appropriate response for the technology object needs to be programmed in the user program to fulfill the monitored safety-related conditions in the drive (e.g.
Page 200
Safety Integrated Functions in SINAMICS Drive Systems 6.5 Behavior and reactions in the user program Safe Stop 2 (SS2) When SS2 is selected, the drive independently decelerates on the OFF3 ramp speed-controlled and enters the monitored standstill (SOS). The drive then decouples itself from the setpoint interface of the T-CPU.
Page 201
Safety Integrated Functions in SINAMICS Drive Systems 6.5 Behavior and reactions in the user program Safely Limited Speed (SLS) When SLS is selected, the drive continues to follow the setpoint interface and activates the velocity monitoring after the delay time (p9351/p9551) configured in the drive. Response in the user program When SLS is selected (displayed in StatuswordSafety.SLS_Deselected=FALSE (DBx 140.4)), the speed is reduced within the configured delay time to the maximum speed...
Safety Integrated Functions in SINAMICS Drive Systems 6.6 Safety Integrated functions without configured support of the extended functions Safety Integrated functions without configured support of the extended functions When only Safety Integrated Basic functions are used, there is never support for the extended functions (see section Support of SINAMICS Safety Integrated functions by the T(F)-CPU (Page 186)).
Safety Integrated Functions in SINAMICS Drive Systems 6.7 Control via PROFIsafe Summary Table 6- 4 Characteristics with and without support of the extended functions With support Without support StatuswordSafety and SafeSpeedLimit Contents of the variable are valid Contents of the variables not relevant variables in the TO DB of the axis Errors 8140, 8142 and 8143 Signaled...
Page 204
Safety Integrated Functions in SINAMICS Drive Systems 6.7 Control via PROFIsafe Structure of PROFIsafe control word (S_STW1, PCD1 in message frame 30, output signals) Table 6- 5 Structure of the PROFIsafe control word Meaning Remarks BICO STO deactivation r9720.0 STO activation SS1 deactivation r9720.1 SS1 activation...
Page 205
Safety Integrated Functions in SINAMICS Drive Systems 6.7 Control via PROFIsafe Structure of PROFIsafe status word (S_ZSW1, PCD1 in message frame 30, input signals) Table 6- 6 Structure of the PROFIsafe status word Meaning Remarks BICO STO active STO active r9722.0 STO deactivated SS1 active...
Page 206
Safety Integrated Functions in SINAMICS Drive Systems 6.7 Control via PROFIsafe Configuration with TF-CPU In a hardware configuration with a CPU 317TF-2DP, the Safety Integrated functions of up to 16 SINAMICS drives of the TF-CPU can be directly controlled via PROFIsafe. Figure 6-3 Communication with TF-CPU Note...
Page 207
Safety Integrated Functions in SINAMICS Drive Systems 6.7 Control via PROFIsafe Communication between SINAMICS S120 drive and TF-CPU The following figure illustrates the PROFIdrive and PROFIsafe communication between the TF-CPU and drive. In this case, both the PROFIdrive and the PROFIsafe message frames are sent and received via the PROFIBUS-DP connection (DRIVE).
Page 208
Safety Integrated Functions in SINAMICS Drive Systems 6.7 Control via PROFIsafe Configuration with T-CPU and F-CPU In a hardware configuration with a CPU 31xT-2DP, the safety functions of the SINAMICS S120 drive can be controlled with an additional F-CPU (CPU 31xF) via PROFIsafe.