Siemens SINAMICS V20 Manual

Siemens SINAMICS V20 Manual

Simple speed control, using the uss protocol
Hide thumbs Also See for SINAMICS V20:

Advertisement

Simple Speed Control
of a SINAMICS V20
with S7-1200/1500
using the USS®
Protocol
SINAMICS V20 (Firmware ≥ V3.51)
SIMATIC S7-1200 (Firmware ≥ V4.1), SIMATIC S7-
1500 (Firmware ≥ V1.7)
https://support.industry.siemens.com/cs/ww/de/view/109480894
Siemens
Industry
Online
Support

Advertisement

Table of Contents
loading

Summary of Contents for Siemens SINAMICS V20

  • Page 1 Simple Speed Control of a SINAMICS V20 with S7-1200/1500 using the USS® Protocol SINAMICS V20 (Firmware ≥ V3.51) SIMATIC S7-1200 (Firmware ≥ V4.1), SIMATIC S7- Siemens 1500 (Firmware ≥ V1.7) Industry Online https://support.industry.siemens.com/cs/ww/de/view/109480894 Support...
  • Page 2: Legal Information

    The foregoing provisions do not imply any change in the burden of proof to your detriment. You shall indemnify Siemens against existing or future claims of third parties in this connection except where Siemens is mandatorily liable.
  • Page 3: Table Of Contents

    UssCyclic [FB1] .................. 15 3.2.3 USS® system instructions ..............17 Configuration and Project Engineering ............19 Parameterizing the SINAMICS V20 ........... 20 Configuring the SIMATIC controller ........... 21 Configuring the SIMATIC HMI KTP600 operator panel ..... 24 Installation and Commissioning ..............27 Installing the hardware ...............
  • Page 4: Task

    1.1 Overview Task Overview The SINAMICS V20 drives are to be controlled by a SIMATIC S7-1200 or S7-1500 via the RS485 interface and using USS® (Universal Serial Interface protocol). The supplied sample projects show the configuration and programming of the controller ®...
  • Page 5  Inverter fault active – drive fault (ZSW1, bit 3) This bit signals that a fault has occurred in the SINAMICS V20. The user has to eliminate the fault and set the acknowledgment bit (STW1, bit 7) to delete this bit.
  • Page 6: Solution

     the hardware components used.  TIA Portal.  the STEP 7 and WinCC configuration software.  ® the USS protocol. Basic knowledge of these topics is required. SINAMICS V20 at S7-1200/1500 via USS Entry ID: 109480894, V1.0, 09/2018...
  • Page 7: Hardware And Software Components

    SIMATIC controllers in TIA Portal. Hardware and software components 2.2.1 Validity This application is valid for  SINAMICS V20 with the following firmware version data or higher: Table 2-1: SINAMICS V20 firmware version data Parameter Index Meaning Value r0018 Firmware version 3.51...
  • Page 8 Sold Shielded three-wire cable USS bus cable by the meter RS485 bus Package content: 6SL3255-0VC00-0HA0 termination network 50 pcs. SINAMICS V20 at S7-1200/1500 via USS Entry ID: 109480894, V1.0, 09/2018...
  • Page 9 The following list contains all files and projects that are used in this example. Table 2-4: Sample files and projects Documents Note 109480894_V20USSatS7-12001500_DOC_V1d0_TIAV13SP1_en.pdf ... this document 109480894_V20USSatS7-1200_PROJ_V1d0_TIAV13SP1.zip TIA project with S7-1200 109480894_V20USSatS7-1500_PROJ_V1d0_TIAV13SP1.zip TIA project with S7-1500 SINAMICS V20 at S7-1200/1500 via USS Entry ID: 109480894, V1.0, 09/2018...
  • Page 10: Principle Of Operation

    The USS protocol uses a master/slave network for communication via a serial bus. The master (SIMATIC controller) uses an address parameter to send a message to a selected slave (SINAMICS V20). A slave cannot send without having received a request for sending. Direct information transmission between the individual slaves is not possible.
  • Page 11 Cyclic interrupt UssCyclicInterrupt USS_PORT [OB30] [FB2] [FC1070] InstUssCyclicInterrupt [DB2] (instance DB of FB UssCyclicInterrupt User program System blocks Data blocks The UssCyclic and UssCyclicInterrupt user blocks use optimized block access. SINAMICS V20 at S7-1200/1500 via USS Entry ID: 109480894, V1.0, 09/2018...
  • Page 12: Implementation With Simatic S7-1500

    USS_Drive_Control to prepare the send data and evaluate the response data These system instructions can be found in the Instructions task card, Communication. Figure 3-3: USS instructions for S7-1500 SINAMICS V20 at S7-1200/1500 via USS Entry ID: 109480894, V1.0, 09/2018...
  • Page 13: Blocks

    ID should be combined in this block. Figure 3-5: UssCyclicInterrupt user FB The block name is intended to indicate that the block is called by the cyclic interrupt SINAMICS V20 at S7-1200/1500 via USS Entry ID: 109480894, V1.0,...
  • Page 14 USS_Drive_Control instruction. In TIA Portal, the instance DB for the USS_DRV instruction is stored in the project tree, System blocks>Program resources. SINAMICS V20 at S7-1200/1500 via USS Entry ID: 109480894, V1.0, 09/2018...
  • Page 15: Usscyclic [Fb1]

    Communication errors are only signaled at the ERROR and STATUS outputs of the USS_PORT instruction. Therefore, it is sufficient to read out the error code of this system instruction. SINAMICS V20 at S7-1200/1500 via USS Entry ID: 109480894, V1.0, 09/2018...
  • Page 16  speedSetpoint = 50.0 Ensures that the drive immediately ramps up with the parameterized ramp-up time to 50% of its rated speed when the ON/OFF1 button is pressed. SINAMICS V20 at S7-1200/1500 via USS Entry ID: 109480894, V1.0, 09/2018...
  • Page 17: Uss® System Instructions

    TIA Portal. The USS_Port_Scan system FB is described in the STEP 7 Professional System Manual in or in the appropriate section of the online help in TIA Portal. SINAMICS V20 at S7-1200/1500 via USS Entry ID: 109480894, V1.0, 09/2018...
  • Page 18 TIA Portal. The symbolic name of the instruction is USS_DRV. In the manual and online help, it is called USS_DRIVE. SINAMICS V20 at S7-1200/1500 via USS Entry ID: 109480894, V1.0,...
  • Page 19: Configuration And Project Engineering

    Default values The below parameterization of the SINAMICS V20 assumes that the device is in the as-supplied state or has been reset to factory default. In this state, there is a default parameterization that forms the basis for Table 4-1. Parameters that do not have to be changed for this application example regarding the default values will not be mentioned in the following sections.
  • Page 20: Parameterizing The Sinamics V20

    Action General:  The SINAMICS V20 is parameterized using the built-in BOP. For information on how to use the BOP, please refer to the SINAMICS V20 Operating Instructions in \10\.  Unless expressly noted, press the buttons <2s. Provided that the SINAMICS V20 is in the as-supplied state and the display displays , continue with no.
  • Page 21: Configuring The Simatic Controller

    PN and use drag and drop to move it to the graphic area of the Network view. In this area and in . Select the CPU with a version ≥V4.1 (S7-1200) or the project tree, it will be created as PLC_1 ≥V1.7 (S7-1500). Name can be changed. SINAMICS V20 at S7-1200/1500 via USS Entry ID: 109480894, V1.0, 09/2018...
  • Page 22 CPU in the graphic area of the Network view. If necessary, change the Ethernet address. To do this, double-click the CPU to open its properties. SINAMICS V20 at S7-1200/1500 via USS Entry ID: 109480894, V1.0,...
  • Page 23 Compile the PLC_1 device in order to detect possible errors. You can ignore the warning displayed when compiling the device. Save the project. SINAMICS V20 at S7-1200/1500 via USS Entry ID: 109480894, V1.0, 09/2018...
  • Page 24: Configuring The Simatic Hmi Ktp600 Operator Panel

    SIMATIC Basic Panel KTP600 Basic and use drag and drop to move it to the graphic area of the Network view. In this area, it will be created as HMI_1 . Select the panel with a version ≥V12.0.0.0. Name can be changed. SINAMICS V20 at S7-1200/1500 via USS Entry ID: 109480894, V1.0, 09/2018...
  • Page 25 Continue with step 3, provided that you have newly added the HMI device from the catalog. If you have added the HMI device by copying it, you have to delete the old connection. SINAMICS V20 at S7-1200/1500 via USS Entry ID: 109480894, V1.0,...
  • Page 26 Ethernet interfaces of PLC_1 and HMI_1. As a consequence, HMI_Connection_1 will be created. Compile the HMI_1 device in order to detect possible errors and save its configuration. Name can be changed. SINAMICS V20 at S7-1200/1500 via USS Entry ID: 109480894, V1.0, 09/2018...
  • Page 27: Installation And Commissioning

    Mechanically install the hardware. (SINAMICS V20, motor if applicable, SIMATIC controller, operator panel, 24V power supply unit) On the secondary side, connect the asynchronous motor (if applicable) to the SINAMICS V20. On the primary side, connect the SINAMICS V20 to the main circuit.
  • Page 28  Siemens AG 2018 All rights reserved 5 Installation and Commissioning 5.1 Installing the hardware ® Figure 5-2: USS bus wiring when using a SIMATIC S7-1200 controller PG/PC PN/IE L2 (N) RS485 bus connector SINAMICS V20 120 Ω 470 Ω...
  • Page 29  Siemens AG 2018 All rights reserved 5 Installation and Commissioning 5.1 Installing the hardware ® Figure 5-3: USS bus wiring when using a SIMATIC S7-1500 controller PG/PC PN/IE 120 Ω SIMATIC L2 (N) S7-1500 SINAMICS V20 120 Ω 470 Ω...
  • Page 30: Installing The Software (Download)

    TIA project:  V20USSatS7-1200  V20USSatS7-1500 If you are using your own project that has already been modified, open this project. Download PLC_1 to the CPU. SINAMICS V20 at S7-1200/1500 via USS Entry ID: 109480894, V1.0, 09/2018...
  • Page 31 Select the PN/IE interface type, the network card used and the interface connection type. Leave "Show all compatible devices” checked (default setting). Select "Start search”. The found PLC is entered. Start downloading. While downloading, follow the instructions/information displayed on the screen. SINAMICS V20 at S7-1200/1500 via USS Entry ID: 109480894, V1.0, 09/2018...
  • Page 32: Commissioning

    SINAMICS V20 if this has not already been done. The next steps are described in the following chapter, 6 "Operation of the Application”.
  • Page 33: Operation Of The Application

    Figure 6-1: Starting the KTP600 simulation 6.1.2 Operating screen Figure 6-2: User screen on the KTP600 operator panel Language on the right edge of the header allows you to switch between English and German. SINAMICS V20 at S7-1200/1500 via USS Entry ID: 109480894, V1.0, 09/2018...
  • Page 34: Operator Control Using The Watch Table

    A pressed button is displayed in green and represents the logical state true. In the yellow input field, enter the speed setpoint as a percentage of the output frequency of the SINAMICS V20. The white output field displays the actual speed, also as a percentage of the output frequency.
  • Page 35: Expansion To Multiple Slaves

    Expansion to multiple Slaves Expansion to multiple slaves with S7-1200 Expansion to multiple drives The application example operates one SINAMICS V20. However, up to 16 drives can be operated via one port. To increase the number of drives, proceed as follows:...
  • Page 36 (2). Configure the module/board pasted from the catalog. Change the transmission speed (38.4 kbit) and parity (even). All other default values do not need to be changed. SINAMICS V20 at S7-1200/1500 via USS Entry ID: 109480894, V1.0, 09/2018...
  • Page 37: Expansion To Multiple Slaves With S7-1500

    Compile the entire STEP7 program. Expansion to multiple slaves with S7-1500 Expansion to multiple drives The application example operates one SINAMICS V20. However, up to 16 drives can be operated via one port. To increase the number of drives, proceed as follows:...
  • Page 38 The name of the copied blocks can be changed in the block properties. Open the Main OB (OB1). Now drag the copied block, UssCyclic_1, to a network and supply it with a new instance data block. SINAMICS V20 at S7-1200/1500 via USS Entry ID: 109480894, V1.0,...
  • Page 39 The USS_DB input must contain a reference to the USS_DB tag. This tag is located in the new instance data block of UssCyclic_1. Compile the entire STEP7 program. SINAMICS V20 at S7-1200/1500 via USS Entry ID: 109480894, V1.0, 09/2018...
  • Page 40: Links & Literature

    Specification: Universal Serial Interface Protocol USS Protocol https://support.industry.siemens.com/cs/ww/en/view/24178253 \10\ SINAMICS V20 SINAMICS V20 Operating Instructions https://support.industry.siemens.com/cs/ww/en/view/104426056 History Table 9-1 Version Date Modifications V1.0.0 12/2015 First version V1.0.1 09/2018 Change text in table 2-2 SINAMICS V20 at S7-1200/1500 via USS Entry ID: 109480894, V1.0, 09/2018...

This manual is also suitable for:

Simatic s7-1200Simatic s7-1500

Table of Contents