Siemens SINAMICS S Series Short Description

Speed control step7 v5 via profinet/profibus with safety integrated via profisafe and hmi
Hide thumbs Also See for SINAMICS S Series:

Advertisement

Short description 12/2014
SINAMICS S:
Speed Control of a S120
with SIMATIC S7-300/400F
(STEP7 V5) via PROFINET
/PROFIBUS with Safety
Integrated (via PROFIsafe)
and HMI
SINAMICS S120 SIMATIC S7-300/400F
http://support.automation.siemens.com/WW/view/en/68624711

Advertisement

Table of Contents
loading

Summary of Contents for Siemens SINAMICS S Series

  • Page 1 Short description 12/2014 SINAMICS S: Speed Control of a S120 with SIMATIC S7-300/400F (STEP7 V5) via PROFINET /PROFIBUS with Safety Integrated (via PROFIsafe) and HMI SINAMICS S120 SIMATIC S7-300/400F http://support.automation.siemens.com/WW/view/en/68624711...
  • Page 2: Warranty And Liability

    Siemens recommends strongly that you regularly check for product updates. For the secure operation of Siemens products and solutions, it is necessary to take suitable preventive action (e.g. cell protection concept) and integrate each component into a holistic, state-of-the-art industrial security concept. Third-party products that may be in use should also be considered.
  • Page 3: Table Of Contents

    Table of contents Table of contents Warranty and liability ....................2 Overview ......................4 Requirements ..................5 Explanation of the Blocks ................. 6 FB11 "CtrlUnit_FB" ................6 FB12 "LineModule_FB" ................ 8 FB13 "Drive_FB" ................10 FB20 "Parameter_Access” ..............13 2.4.1 Describing the block ................
  • Page 4: Overview

    S120. Its digital inputs/outputs are read/controlled, errors and alarms are transmitted and errors acknowledged. The FB uses the system functions SFC14 and SFC15 and uses the SIEMENS frame 390 with frame expansion (alarm, error) for data transmission. FB12 The FB performs the communication "LineModule_FB"...
  • Page 5: Requirements

    1 Overview 1.1 Requirements Requirements You require a SIMATIC S7-300/400F CPU, which supports data record routing, (see /10/). You require a SINAMICS S120 with firmware 4.5 or higher. SINAMICS G120 must be connected to the local PROFIBUS or PROFINET interface of the SIMATIC S7-300/400F using a CP is not supported. SINAMICS S120 at S7-300/400F Entry-ID: 68624711, V1.1,...
  • Page 6: Explanation Of The Blocks

    Control Unit (CU_S) of the SINAMICS S120 on the basis of the extended SIEMENS frame 390. This requires the drive (STARTER) as well as the controller (STEP 7, HW Config) to be configured with the SIEMENS frame 390 that was extended by the alarm and error code.
  • Page 7 2 Explanation of the Blocks 2.1 FB11 "CtrlUnit_FB" Block interface Figure 2-1: FB11 "CtrlUnit_FB" Interface Description Table 2-2: Interface of FB11 "CtrlUnit_FB" Data Parameter Description type Input parameters Acknowledge_Faults Bool Pending errors are acknowledged with rising edge. DO_nn (n = 08…15) Bool Controls the CU digital output nn, if the respective channel is configured as output.
  • Page 8: Fb12 "Linemodule_Fb

    Module (A_INF) of the SINAMICS S120 on the basis of the extended SIEMENS frame 370. This requires the drive (STARTER) as well as the controller (STEP 7, HW Config) to be configured with the SIEMENS frame 370 that was extended by the alarm and error code.
  • Page 9 2 Explanation of the Blocks 2.2 FB12 "LineModule_FB" FB 12 can therefore be used as interface with SINAMICS S120 in your own applications. You should call it cyclically in OB1. Block interface Figure 2-2: FB12 "LineModule_FB" Interface Description Table 2-4: Interface of FB12 "LineModule_FB" Data Parameter Description...
  • Page 10: Fb13 "Drive_Fb

    2 Explanation of the Blocks 2.3 FB13 "Drive_FB" Data Parameter Description type Alarm_Code Alarm code of a pending A_INF alarm. Fault_Code Error code of a pending A_INF fault. Retval_RD Error information of SFC14 (output parameter RET_VAL of SFC14) Retval_WR Error information of SFC15 (output parameter RET_VAL of SFC15) All of the above input parameters have an initial value of 0 or FALSE.
  • Page 11 2 Explanation of the Blocks 2.3 FB13 "Drive_FB" Regarding the respective SINAMICS S120 drive, you can do the following with the FB13 … switch it on and off acknowledge errors specify the setpoint speed request the status (ready for switch-on, in operation, PLC control requested), detect pending alarms and errors, read out actual speed value.
  • Page 12 2 Explanation of the Blocks 2.3 FB13 "Drive_FB" Interface Description Table 2-7: Interface of FB13 "Drive_FB" Data Parameter Description type Input parameters ON_OFF1 Bool The drive is switched on with a rising edge at ON_OFF1. Requirements: No_OFF2 and No_OFF3 must already be TRUE beforehand.
  • Page 13: Fb20 "Parameter_Access

    2 Explanation of the Blocks 2.4 FB20 "Parameter_Access” Other switch-on conditions To be able to switch on the drive, the following bits have to be additionally set in the control word (STW1): Table 2-8: SERVO: Other switch-on conditions STW1 Bit 03 Enable operation Bit 04 Enable ramp function generator...
  • Page 14 2 Explanation of the Blocks 2.4 FB20 "Parameter_Access” Block interface Figure 2-4: FB20 "Parameter_Access" Interface Description Table 2-9: Interface of the FB20 "Parameter_Access" Data Parameter Description type Input parameters Address I/O address of the control unit of the respective SINAMICS S120 drive system (from HW Config orSTARTER).
  • Page 15 2 Explanation of the Blocks 2.4 FB20 "Parameter_Access” Error list The FB 20 "Parameter_Access” can output the following error codes in the "errorID” parameter: Table 2-10: Error codes in "errorID” parameter Error number Description Note No error 8000 DB_No_send and DB_No_rev are identical.
  • Page 16: Job And Response Data Record

    2 Explanation of the Blocks 2.4 FB20 "Parameter_Access” 2.4.2 Job and response data record The FB 20 "Parameter_Access” only coordinates the data exchange between PLC and SINAMICS S120. It furthermore checks whether the transmission was successful and whether an error ID was set in the response of the drive. However, you have to create the order and response data records yourself.
  • Page 17 2 Explanation of the Blocks 2.4 FB20 "Parameter_Access” Figure 2-6: Reading parameter – response data record (response DB) If the parameters are read incorrectly an error value will be output instead of a parameter value. The error codes can be found in the SINAMICS S120 function manual (see footer on page...
  • Page 18 2 Explanation of the Blocks 2.4 FB20 "Parameter_Access” Changing parameters The parameters p7 (BOP backlight) and p3 (BOP access level) in the CU_S drive object of the SINAMICS S120 drive system is to be changed. Figure 2-7: Writing parameters – order data record (order DB) Number of the drive object (see Figure 2-5) SINAMICS S120 at S7-300/400F Entry-ID: 68624711,...
  • Page 19: Fb200 "Safety

    2 Explanation of the Blocks 2.5 FB200 "Safety” Figure 2-8: Writing parameters – response data record (response DB) If the parameters are changed incorrectly, an error data record is output for each incorrect parameter. Its structure and the error codes can be found in the SINAMICS S120 function manual (see footer on page...
  • Page 20: Commissioning

    14. Perform an automatic configuration. Configure the drive objects that have not been fully automatically configured manually offline. 15. Configure the required frames (SIEMENS frame 390, SIEMENS frame 370, default frame 1) for all drive objects and add the required frame extensions. Specify the contents of the additional words (current alarm and fault code).
  • Page 21 3 Commissioning PROFINET variant PROFIBUS variant 16. Add the "PROFIsafe default frame 30” to each drive object. 17. Compare the frames with HW Config. 18. Download the online created STARTER project into the SINAMICS S120 (with the "Copy RAM to ROM”...
  • Page 22: Related Literature

    4 Related Literature Related Literature This list is not complete and only represents a selection of relevant information Table 4-1 Topic Title / link Siemens Industry http://support.automation.siemens.com Online Support Download page of http://support.automation.siemens.com/WW/view/en/68624711 this entry Automating with STEP 7 in STL and SCL...

This manual is also suitable for:

Sinamics s120Simatic s7-300fSimatic s7-400f

Table of Contents