SINAMICS G120X Speed Control Via SIMATIC In TIA Portal

3y ago
165 Views
13 Downloads
3.11 MB
40 Pages
Last View : 5d ago
Last Download : 3m ago
Upload by : Troy Oden
Transcription

SINAMICS G120XSpeed Control viaSIMATIC in TIA PortalSINAMICS /view/109772227SiemensIndustryOnlineSupport

Legal informationLegal informationUse of application examplesApplication examples illustrate the solution of automation tasks through an interaction of severalcomponents in the form of text, graphics and/or software modules. The application examples area free service by Siemens AG and/or a subsidiary of Siemens AG (“Siemens”). They are nonbinding and make no claim to completeness or functionality regarding configuration andequipment. The application examples merely offer help with typical tasks; they do not constitutecustomer-specific solutions. You yourself are responsible for the proper and safe operation of theproducts in accordance with applicable regulations and must also check the function of therespective application example and customize it for your system.Siemens grants you the non-exclusive, non-sublicensable and non-transferable right to have theapplication examples used by technically trained personnel. Any change to the applicationexamples is your responsibility. Sharing the application examples with third parties or copying theapplication examples or excerpts thereof is permitted only in combination with your own products.The application examples are not required to undergo the customary tests and quality inspectionsof a chargeable product; they may have functional and performance defects as well as errors. It isyour responsibility to use them in such a manner that any malfunctions that may occur do notresult in property damage or injury to persons. Siemens AG 2019 All rights reservedDisclaimer of liabilitySiemens shall not assume any liability, for any legal reason whatsoever, including, withoutlimitation, liability for the usability, availability, completeness and freedom from defects of theapplication examples as well as for related information, configuration and performance data andany damage caused thereby. This shall not apply in cases of mandatory liability, for exampleunder the German Product Liability Act, or in cases of intent, gross negligence, or culpable loss oflife, bodily injury or damage to health, non-compliance with a guarantee, fraudulentnon-disclosure of a defect, or culpable breach of material contractual obligations. Claims fordamages arising from a breach of material contractual obligations shall however be limited to theforeseeable damage typical of the type of agreement, unless liability arises from intent or grossnegligence or is based on loss of life, bodily injury or damage to health. The foregoing provisionsdo not imply any change in the burden of proof to your detriment. You shall indemnify Siemensagainst existing or future claims of third parties in this connection except where Siemens ismandatorily liable.By using the application examples you acknowledge that Siemens cannot be held liable for anydamage beyond the liability provisions described.Other informationSiemens reserves the right to make changes to the application examples at any time withoutnotice. In case of discrepancies between the suggestions in the application examples and otherSiemens publications such as catalogs, the content of the other documentation shall haveprecedence.The Siemens terms of use (https://support.industry.siemens.com) shall also apply.Security informationSiemens provides products and solutions with industrial security functions that support the secureoperation of plants, systems, machines and networks.In order to protect plants, systems, machines and networks against cyber threats, it is necessaryto implement – and continuously maintain – a holistic, state-of-the-art industrial security concept.Siemens’ products and solutions constitute one element of such a concept.Customers are responsible for preventing unauthorized access to their plants, systems, machinesand networks. Such systems, machines and components should only be connected to anenterprise network or the Internet if and to the extent such a connection is necessary and onlywhen appropriate security measures (e.g. firewalls and/or network segmentation) are in place.For additional information on industrial security measures that may be implemented, please emens’ products and solutions undergo continuous development to make them more secure.Siemens strongly recommends that product updates are applied as soon as they are availableand that the latest product versions are used. Use of product versions that are no longersupported, and failure to apply the latest updates may increase customer’s exposure to cyberthreats.To stay informed about product updates, subscribe to the Siemens Industrial Security RSS Feedat: S G120X Speed ControlEntry-ID: 109772227, V1.0, 10/20192

Table of contentsTable of contentsLegal information . 21Introduction . 41.11.21.32Engineering . 62.12.23Program overview . 8Data exchange to the SINAMICS drive . 8SINA SPEED function block . 10Commissioning instruction . 134.14.1.14.1.24.24.3 Siemens AG 2019 All rights reservedGeneral hardware setup . 6General operation description . 6Operation Principle . 83.13.23.34Overview. 4Components used . 4Information within this documentation . 5SINAMICS G120X setup . 13Setup via IOP-2 . 13Setup via Smart Access Module . 17Project generation in TIA Portal . 23Using other telegrams for communication . 315Using the example project . 346Appendix . 396.16.26.36.4Service and support . 39Application support . 40Links and literature . 40Change documentation . 40SINAMICS G120X Speed ControlEntry-ID: 109772227, V1.0, 10/20193

1 Introduction1Introduction1.1OverviewThe SIMATIC S7-1200/1500 can be operated as a PROFINET-Controller. Herebythe SINAMICS G120X (PROFINET version) can be controlled by the SIMATIC asPROFINET-Device. This example shows how to do speed control with the drivecontrolled by the PLC.The SINAMICS itself therefore will be commissioned via its IOP-2 (IntelligentOperator Panel) or via the SAM (Smart Access Module). The SIMATIC as well asthe communication configuration between PLC and drive will be handled in TIAPortal.1.2Components usedThis application example has been created with the following hardware andsoftware components:Table 1-1 Siemens AG 2019 All rights reservedComponentNumberArticle numberNoteSIMATIC S7-1215CDC/DC/DC(FW 4.2.1)16ES7 215-1AG400XB0Other types of SIMATICS7-1200 or S7-1500PLCs can be used!SINAMICS G120XFSA (FW1.0.1) withIOP-216SL32.0-3YE10-0.F0Other types ofSINAMICS G120X withPROFINET interface canbe used!Smart Access Module(optional use)16SL3255-0AA005AA0Use of SAM is optional.IOP-2 can be used forcommissioning of G120Xas well.SIMATIC STEP7Professional – WinCCAdvanced V15.1 Upd 216ES7822-1.05-.Other versions of TIAPortal (lower or higher)can be used to do theconfiguration asdescribed.NOTE: Opening theexample project is onlypossible with V15.1 orhigher.SINAMICS G120XGSDML file1-The GSDML file is usedfor the communicationconfiguration betweenPLC and drive in TIAPortal. The file can bedownloaded under thefollowing /view/109763250SINAMICS G120X Speed ControlEntry-ID: 109772227, V1.0, 10/20194

1 Introduction1.3Information within this documentationThe document is divided into the following chapters. Here you find a shortexplanation of which information you will find in the different chapters.Chapter 2: Engineering – this chapter describes the solution of the example ingeneral. Chapter 3: Operation principle – this chapter describes the solution in detail.You can find detailed information about the user program, the communicationprinciple and the usage of the function block SINA SPEED. Chapter 4: Commissioning instruction – this chapter gives the step-by-stepinstruction how to set up your own system (drive and PLC) to reach the samestate as the example project. Additionally, you will find the information how touse other telegrams than standard telegram 1. Chapter 5: Using the example project – this chapter explains how to use theexample project in TIA Portal and how to adapt it to your hardware (differentPLC / drive used compared to the one in the example project). Siemens AG 2019 All rights reserved SINAMICS G120X Speed ControlEntry-ID: 109772227, V1.0, 10/20195

2 Engineering2EngineeringThe application example shows the PROFINET connection of a SINAMICS G120Xat a SIMATIC S7-1200 PLC via GSDML file. For the speed-controlled operation ofthe drive via SIMATIC the function block “SINA SPEED” is used. This functionblock can be taken from the library “DriveLib”, which can be opened in TIA Portal.2.1General hardware setupSchemeThe following figure shows the necessary components of this solution as ascheme: Siemens AG 2019 All rights reservedFigure 2-12.2General operation descriptionThe SINAMICS drive will be set up in a way that it receives its control commandsand speed setpoint via its fieldbus interface (PROFINET). The setup for the drivecan be done via the IOP-2 or Smart Access Module. It is not possible tocommission the drive via TIA Portal! The GSDML file of the drive is the PROFINETdescription file and will only be used for the communication configuration in TIAPortal.The SIMATIC PLC will be set up in a way that it controls the drive as thePROFINET master. The drive control is done via the function block“SINA SPEED”. The setup of the PLC and the communication configuration isdone in TIA Portal.SINAMICS G120X Speed ControlEntry-ID: 109772227, V1.0, 10/20196

2 EngineeringData exchangeThe data exchange between PLC and drive is handled by the function block“SINA SPEED”. This function block operates with standard telegram 1. By theusage of telegram 1 the PLC sends the control word and the speed setpoint to thedrive. The drive sends back its status word and the actual speed to the PLC. Siemens AG 2019 All rights reservedThe process data will be exchanged cyclically, which means data is transferred ateach bus cycle.SINAMICS G120X Speed ControlEntry-ID: 109772227, V1.0, 10/20197

3 Operation Principle3Operation Principle3.1Program overviewThe following figure shows the structure of the function block calling in theSIMATIC user program: Siemens AG 2019 All rights reservedFigure 3-13.2Data exchange to the SINAMICS driveTelegram structureThe SINA SPEED function block is used to control cyclically a SINAMICS drivewith standard telegram 1. The telegram consists of 2 words in send and receivedirection.Send data from the PLC to the drive:Table 3-1AddressNameContentPZD 1STW1Control word 1PZD 2NSOLL ASpeed setpoint value(4000hex 100% * p2000)SINAMICS G120X Speed ControlEntry-ID: 109772227, V1.0, 10/20198

3 Operation PrincipleReceive data from the drive to the PLC:Table 3-2AddressNameContentPZD 1ZSW1Status word 1PZD 2NIST AActual speed of the motor(4000hex 100% * p2000)Control word 1 in detailThe following table shows the bitwise content of control word 1, that is used bySINA SPEED:Table 3-3BitValue00OFF1Motor brakes with deceleration ramp p1121, themotor is switched off at standstill (f f min)1ONUpon positive edge, the converter switches to“Ready for operation”. If "Bit 3" 1, the converterswitches on the motor.0OFF2 (Coastdown)Electrical supply of the motor is switched off. Themotor coasts down.1No OFF2-0OFF3 (Quick stop)Quick stop: The motor brakes with OFF3deceleration ramp p1135 until standstill.1No OFF3-0Lock operationSwitch off motor1Enable operationMotor ready for switch on0Lock ramp-function generatorRamp-function generator output is set to 0 (quickestpossible brake operation)1Enable ramp-functiongeneratorSpeed setpoints are ramped up and down by theramp-function generator.0Stop ramp-function generatorThe ramp-function generator output is “frozen”1Continue ramp-functiongeneratorThe output of the ramp-function generator is updated0Lock setpointThe motor brakes with deceleration ramp p11211Enable setpointMotor can accelerate to the setpoint value with rampup time p11200No fault acknowledgementPending faults are not acknowledged1Acknowledge faultPending faults are acknowledged by a positive edge0No control by PLCCyclic data transfer is disabled1Master control by PLCProcess data valid, master control via fieldbus0No inversion of directionNo inversion of the speed setpoint value1Inversion of directionSetpoint value is inverted Siemens AG 2019 All rights reserved12345671011MeaningSINAMICS G120X Speed ControlEntry-ID: 109772227, V1.0, 10/2019Remark9

3 Operation PrincipleStatus word 1 in detailThe following table shows the bitwise content of the status word 1, that is used bySINA SPEED:Table 3-4BitValue21Operation enabledDrive is switched on; motor can follow the setpointvalue (control word 1 bit 3 enabled)31Fault activeA fault is active at the drive61On-inhibit activeThe motor is switched on again after restarting (controlword 1 bit 0)3.3MeaningRemarkSINA SPEED function blockThe SINA SPEED block is part of the “DriveLib” library. The library is eitherpreinstalled to the TIA Portal’s global libraries when Startdrive is installed to theTIA environment or can be downloaded from SIOS:NOTE Siemens AG 2019 All rights /en/view/109475044Block callThe SINA SPEED block can be called in the following organization blocks (OBs): Cyclic task (OB1) Interrupt OB (e.g. OB32)Figure 3-2SINAMICS G120X Speed ControlEntry-ID: 109772227, V1.0, 10/201910

3 Operation PrincipleBlock interfaceThe following table describes the input parameters of SINA SPEED:Table 3-5 Siemens AG 2019 All rights reservedNameTypeDefault valueFunctionEnableAxisBOOLFALSEEnable/disable the drive (ON/OFF1;assigned to control word 1 bit 0)0: disable drive with OFF11: enable driveAckErrorBOOLFALSEAcknowledge faults in the drive (assignedto control word 1 bit 7)SpeedSpREAL0.0Speed setpoint [1/min]RefSpeedREAL0.0Define the reference speed of the drive(enter the nominal speed of the drive - see value in parameter p2000 in the drive)ConfigAxisWORD16#003FBitwise assignment of further control bitsof control word 1, which are not separatelydefined as an input parameter.The default value 16#003F sets bits 1 to 6to TRUE to make the operation possible.Functions can be deselected bitwise ifnecessary.Bit 1: OFF2Bit 2: OFF3Bit 3: Enable operationBit 4: Enable ramp-function generatorBit 5: Continue ramp-function generatorBit 6: Enable speed setpointHWIDSTWHW IO0Hardware ID of the drive telegram 1 insetpoint direction (for correct setting seefollowing chapter Telegram slot)HWIDZSWHW IO0Hardware ID of the drive telegram 1 inreceive direction (for correct setting seefollowing chapter Telegram slot)SINAMICS G120X Speed ControlEntry-ID: 109772227, V1.0, 10/201911

3 Operation PrincipleTelegram slotThe block inputs HWIDSTW and HWIDZSW must reference to the hardware ID ofthe standard telegram 1 of the controlled drive. The hardware ID is automaticallydefined by the PLC when assigning the drive to the PROFINET system of the PLC.The correct hardware ID of the telegram 1 can be found in the PLC’s systemconstants under “PLC tags”. For PROFINET communication the hardware ID forsend and receive direction is the same and must be set at both inputs. See belowfigure for an example assignment. Siemens AG 2019 All rights reservedFigure 3-3SINAMICS G120X Speed ControlEntry-ID: 109772227, V1.0, 10/201912

4 Commissioning instruction4Commissioning instructionThe following chapter gives a step-by-step instruction how to set up the drive, thePLC and the communication configuration. Following these steps, you will receivethe same configuration as in the delivered example project.The drive setup can be done via IOP-2 or Smart Access Module. After the drive isset up, the hardware configuration and PLC programming is done in TIA Portal.4.1SINAMICS G120X setupThe setup of the SINAMICS G120X can be done via Intelligent Operator Panel(IOP-2) or Smart Access Module (SAM) and smartphone/tablet. Go on with chapter4.1.1 for setup via IOP-2 or chapter 4.1.2 for setup via SAM. After drive setupcontinue with the TIA Portal project generation in chapter 4.2.4.1.1Setup via IOP-2Plug the IOP-2 to your SINAMICS G120X and power on the device. Siemens AG 2019 All rights reservedFollow the steps to setup the drive via IOP-2:1. Navigate to the “Status” screen in case it is not shown in the beginning (youreach that screen by pressing the “ESC” button)2. Select the Setup symbol of the bar at the bottom (left symbol)Figure 4-13. Select “Quick Startup”Figure 4-2SINAMICS G120X Speed ControlEntry-ID: 109772227, V1.0, 10/201913

4 Commissioning instruction4. Reset the drive to factory settings before starting the wizardFigure 4-35. Define the supply voltage of the drive and the motor data according to yourconnected motor (Type, Motor Current, Motor Power, Motor Speed, MotorVoltage, Motor Frequency, Min. Freq., Max. Freq.)6. Define the Ramp-up Time and Ramp-down Time Siemens AG 2019 All rights reserved7. As I/O setup select macro 57 (this macro is used for control via PROFINET)Figure 4-48. End the Quick Startup wizard by pressing the “OK” button for 2 seconds. Theparameterization is saved now.Figure 4-5SINAMICS G120X Speed ControlEntry-ID: 109772227, V1.0, 10/201914

4 Commissioning instruction9. At the end you will get the information that the settings were savedsuccessfully. Press OK.Figure 4-610. In the next step the information is shown that the motor identification will beexecuted with the next ON command. Press OK. Siemens AG 2019 All rights reservedFigure 4-711. The Status screen is shown (or the Diagnostics screen in case there are faultsor warnings active – you can acknowledge faults and go back to the Statusscreen by pressing ESC)Figure 4-8SINAMICS G120X Speed ControlEntry-ID: 109772227, V1.0, 10/201915

4 Commissioning instruction12. With the next ON command the motor will not start to turn, the drive will do themotor identification and switch off automatically after the identification.Figure 4-9 Siemens AG 2019 All rights reservedFigure 4-10Figure 4-1113. After the identification

The SINA_SPEED function block is used to control cyclically a SINAMICS drive with standard telegram 1. The telegram consists of 2 words in send and receive direction. Send data from the PLC to the drive: Table 3-1 Address Name Content PZD 1 STW1 Control word 1 PZD 2 NSOLL_A Speed setpoint value .

Related Documents:

SINAMICS G110 SINAMICS G120 SINAMICS G120D SINAMICS G130/G150 SINAMICS S120 SINAMICS S150 SINAMICS GM150/SM150/GL150 V/f control V/f control/vector control V/f control/vector control/servo control V/f control/vector control 0.12–3 kW 0.37–90 kW 0.75–7.5 kW 75–1,500 kW 0.12–4,500 kW 75–1,200 kW 0.8–120 MW Pumps, fans, conveyor belts

3 Low voltage Medium voltage SINAMICS G SINAMICS S SINAMICS GM/SM/GL 0.12–2,700 kW 0.12–4,500 kW 0.8–120 MW SINAMICS G120 is a member of the SINAMICS family, which stands for innovative drive solutions that are fit for the future SINAMICS offers the optimum solution for every drive application. It goes without saying that all of the drives

3 Low-voltage Medium-voltage SINAMICS G SINAMICS S SINAMICS GM/SM/GL 0.12–2,700 kW 0.12–4,500 kW 0.8–120 MW SINAMICS G120 is a member of the SINAMICS family, which stands for innovative drive solutions that are fit for the future SINAMICS offers the optimal solution for every drive application.

simple connection of various SINAMICS S/G/V converter systems. Each communication block can be used for an axis of a SINAMICS S120 multi-axis or a SINAMICS S110, SINAMICS V90 or G120x converter system.

automatically recognise all variants of the following Control Units from the SINAMICS range: SINAMICS G120 CU230P-2 SINAMICS G120 CU240B-2 SINAMICS G120 CU240E-2 Note BOP-2 functional suppport The BOP-2 has been designed to support all the above mention Control Units with firmware version 4.3 Service Pack 2 (SP2) or later.

SINAMICS G110 SINAMICS G120 SINAMICS G110D SINAMICS G120D The versatile single motor drive for low power ratings The modular single motor drive for low up to medium power ratings The distributed single motor drive for basic solutions The distributed single motor drive for high performance Typical ratings 230 V 1 ph. AC in / 3 ph. out 0.15 to 4 HP

The SINAMICS G120 is to be controlled from an S7-300 CPU via Profinet. 2.1.2 Solution In this function example, the control of a SINAMICS G120 (control word and frequency setpoint) will be demonstrated using an S7-300 CPU and a specific program example. This program example comprises an S7 program to control the SINAMICS G120

If you are starting on Advanced Level, we advise that you enrol onto the EIMF 2 Day Bookkeeping course, as there is an assumption at this level that you have a good knowledge of Double Entry Bookkeeping. Syllabus You will learn complex accounting techniques including maintaining cost accounting records and the preparation of reports and returns .