SINAMICS S120 CU310 DP AC / AC Single Axis Drive Demo Lab 03 . - InfoPLC

Transcription

swww.infoPLC.netSpring Training 2007Atlanta, GASiemens Energy & Automation, Inc.Automation and Motion DivisionSINAMICS S120 CU310 DP AC / AC single axis drive demoLab 03: Speed control from S7 PLC using DriveES SIMATIC blocks& Telegram 352 in SINAMICSExercise: Configuration of the drive unit with Vector control using ScoutParameterization of Telegram 352 in SinamicsConfiguration of S7 PLC using DrivesES SIMATICDownload to CU310 & S7 315 PLCDrive ES Simatic creates an S7 datablock that easily recognizes theSinamics drive based on PROFIBUSnode address, and Slot ID .Sinamics S120:Lab 03 Speed control from S7 PLC using DriveES blocksFebuary 7, 2007Page 1 of 29Jim HanleySiemens AMD Application Center5300 Triangle ParkwayNorcross, GA 30092Jim.Hanley@Siemens.com

sSpring Training 2007Atlanta, GASiemens Energy & Automation, Inc.Automation and Motion DivisionTask 1:Create New Project in Simatic Manager Lab03 DriveES Speed Task 2:Insert a SIMATIC 300 into the project and open hardware configuration:Select the CPU 315-2 DP6ES7 315-2AF03-0AB0 V1.2 anddrag to slot 2Select New Profibus NetworkTask 3:Select New to add a Profibus NetworkSinamics S120:Lab 03 Speed control from S7 PLC using DriveES blocksFebuary 7, 2007Page 2 of 29Jim HanleySiemens AMD Application Center5300 Triangle ParkwayNorcross, GA 30092Jim.Hanley@Siemens.com

sSpring Training 2007Atlanta, GASiemens Energy & Automation, Inc.Automation and Motion DivisionUpdate the PROFIBUS(1)properties for 12 Mbps andselect Ok.Update the S7 315 Rack configuration with the CP 343-1 Industrial Ethernet interface:Drag the CP 343-1 Industrial Ethernetinterface into slot 4 of the S7 rack.Sinamics S120:Lab 03 Speed control from S7 PLC using DriveES blocksFebuary 7, 2007Page 3 of 29Jim HanleySiemens AMD Application Center5300 Triangle ParkwayNorcross, GA 30092Jim.Hanley@Siemens.com

sSpring Training 2007Atlanta, GATask 4:Siemens Energy & Automation, Inc.Automation and Motion DivisionAdd the SINAMICS S120 CU310 DP to the network. Enter the Profibus address of theCU310 DP (most lab stations are configured for Node 3).IMPORTANT: Update the communication Telegram toSIEMENS Telegram 352, PZD-6/6. This Telegram isoptimized for Speed control applications.Sinamics S120:Lab 03 Speed control from S7 PLC using DriveES blocksFebuary 7, 2007Page 4 of 29Jim HanleySiemens AMD Application Center5300 Triangle ParkwayNorcross, GA 30092Jim.Hanley@Siemens.com

sTask 5:Siemens Energy & Automation, Inc.Automation and Motion DivisionSpring Training 2007Atlanta, GASave and Compile the Hardware Configuration:IMPORTANT: Drive ES Simatic software will be used tocreate a communication block specific for the CU310 Drive atNode 3 (Slot 4 – Drive Status, Slot 5 – Drive Command).Task 6:Return to Simatic Manager and expand the Lab03 DriveES Speed project. Double clickon the SINAMICS S120 CU310 DP object to launch either Starter or Scout.Double Click to launch Scout.Sinamics S120:Lab 03 Speed control from S7 PLC using DriveES blocksFebuary 7, 2007Page 5 of 29Jim HanleySiemens AMD Application Center5300 Triangle ParkwayNorcross, GA 30092Jim.Hanley@Siemens.com

sTask 7:Spring Training 2007Atlanta, GASiemens Energy & Automation, Inc.Automation and Motion DivisionGo Online with the CU310. Select Download to over write the drive configuration.Click her to go ONLINESelect Download to over write the drive configurationand prepare to an Automatic configuration.Sinamics S120:Lab 03 Speed control from S7 PLC using DriveES blocksFebuary 7, 2007Page 6 of 29Jim HanleySiemens AMD Application Center5300 Triangle ParkwayNorcross, GA 30092Jim.Hanley@Siemens.com

sSpring Training 2007Atlanta, GATask 8:Siemens Energy & Automation, Inc.Automation and Motion DivisionGo online with CU310 and Initialize the Drive by selecting “Restore factory settings”:Select Automaticconfiguration after theRestore factory settingshas loaded copied datafrom RAM to ROMPress Start automaticconfiguration whenpromptedSinamics S120:Lab 03 Speed control from S7 PLC using DriveES blocksFebuary 7, 2007Page 7 of 29Jim HanleySiemens AMD Application Center5300 Triangle ParkwayNorcross, GA 30092Jim.Hanley@Siemens.com

sSpring Training 2007Atlanta, GASiemens Energy & Automation, Inc.Automation and Motion DivisionEnsure that Vector isselected and pressFinishSelect OK anddisconnect from thedrive to complete theVector configurationoffline.Task 9:OFFLINE: Start the Drive type configuration Wizard.Double Click theConfigure DDS button forDrive setup WizardSinamics S120:Lab 03 Speed control from S7 PLC using DriveES blocksFebuary 7, 2007Page 8 of 29Jim HanleySiemens AMD Application Center5300 Triangle ParkwayNorcross, GA 30092Jim.Hanley@Siemens.com

sSpring Training 2007Atlanta, GASiemens Energy & Automation, Inc.Automation and Motion DivisionThis lab will only use the Extended setpoint channel. Select Continue.Do not selectTechnology controller orBasic positioner for thisworkshop.Press Continue to accept Power Unit identified from the Automatic Configuration:Sinamics S120:Lab 03 Speed control from S7 PLC using DriveES blocksFebuary 7, 2007Page 9 of 29Jim HanleySiemens AMD Application Center5300 Triangle ParkwayNorcross, GA 30092Jim.Hanley@Siemens.com

sSpring Training 2007Atlanta, GASiemens Energy & Automation, Inc.Automation and Motion DivisionTask 13: Select the Drive setting & Motor for the Vector Motor on the demo:Siemens 1LA7 standard induction motor.Correct the Motor data:230 Veff0.73 Aeff0.12 kW0.800 power factor50.00 Hz1350.0 1/min (RPM)Non-ventilated0.00031 kgm21.00 Ratio3.4 kgSinamics S120:Lab 03 Speed control from S7 PLC using DriveES blocksFebuary 7, 2007Page 10 of 29Jim HanleySiemens AMD Application Center5300 Triangle ParkwayNorcross, GA 30092Jim.Hanley@Siemens.com

sSpring Training 2007Atlanta, GASiemens Energy & Automation, Inc.Automation and Motion DivisionTask 14: Enter the additional motor data:Correct the Motor data:25.23918 Ohm0.0000 Ohm14.37179 Ohm32.98223 mH34.37367 mH814.7830 mHPress ContinueSinamics S120:Lab 03 Speed control from S7 PLC using DriveES blocksFebuary 7, 2007Page 11 of 29Jim HanleySiemens AMD Application Center5300 Triangle ParkwayNorcross, GA 30092Jim.Hanley@Siemens.com

sSpring Training 2007Atlanta, GASiemens Energy & Automation, Inc.Automation and Motion DivisionTask 14: Enter the correct Encoder used for the Vector drive:Sinamics S120:Lab 03 Speed control from S7 PLC using DriveES blocksFebuary 7, 2007Page 12 of 29Jim HanleySiemens AMD Application Center5300 Triangle ParkwayNorcross, GA 30092Jim.Hanley@Siemens.com

sSpring Training 2007Atlanta, GASiemens Energy & Automation, Inc.Automation and Motion DivisionTask 15: Enter the SIEMENS telegram 352, PZD-6/6 (352)Sinamics S120:Lab 03 Speed control from S7 PLC using DriveES blocksFebuary 7, 2007Page 13 of 29Jim HanleySiemens AMD Application Center5300 Triangle ParkwayNorcross, GA 30092Jim.Hanley@Siemens.com

sSpring Training 2007Atlanta, GASiemens Energy & Automation, Inc.Automation and Motion DivisionTask 16: Select Ramp-up time & Ramp-down time for 2.000 seconds.Important: Drive Acceleration & Deceleration timesp1120[0] Ramp-function generator ramp-up timep1121[0] Ramp-function generator ramp-down timeSinamics S120:Lab 03 Speed control from S7 PLC using DriveES blocksFebuary 7, 2007Page 14 of 29Jim HanleySiemens AMD Application Center5300 Triangle ParkwayNorcross, GA 30092Jim.Hanley@Siemens.com

sSpring Training 2007Atlanta, GASiemens Energy & Automation, Inc.Automation and Motion DivisionTask 17: Finish the drive & motor configuration wizard.Sinamics S120:Lab 03 Speed control from S7 PLC using DriveES blocksFebuary 7, 2007Page 15 of 29Jim HanleySiemens AMD Application Center5300 Triangle ParkwayNorcross, GA 30092Jim.Hanley@Siemens.com

sSpring Training 2007Atlanta, GASiemens Energy & Automation, Inc.Automation and Motion DivisionTask 18: Double Click the Control logic entry under the VECTOR 02 object. Note the assignmentsfor ON/OFF1, OFF2, OFF3, Enable operation, Enables the ramp-function, Enable speedsetpoint, and Master ctrl by PLC. These r2090 entries are the PZD command words thatwill be written to by S7 PLC. Save & Compile the Scout project.Sinamics S120:Lab 03 Speed control from S7 PLC using DriveES blocksFebuary 7, 2007Page 16 of 29Jim HanleySiemens AMD Application Center5300 Triangle ParkwayNorcross, GA 30092Jim.Hanley@Siemens.com

sSpring Training 2007Atlanta, GASiemens Energy & Automation, Inc.Automation and Motion DivisionTask 19: Download updated VECTOR 02 configuration.Task 20: Observe the Alarm window message:The Vector drive needs an initial power up to allow the drive to perform aMotor identification.Task 21: Open the Commissioning Control Panel and Press Assume Control Priority:1. Check the Enables box.2. Select the Green Drive ON Button.3. The drive will conduct a Motor Identificationroutine (somewhat noisy).4. The Vector drive will now be ready to operate afterthe Automatic configuration.OPTIONAL Step: Use the Expert list on VECTOR 02 to set parameter p1800[0] (Pulsefrequency) to 16.000. This will keep the drive noise to a minimum for the remainderof this lab.The Drive is now at a baseline configuration with Telegram 352 as the configured controlscheme. The next few tasks look at this configuration and show you how to createa Script file to restore the drive to this baseline configuration.Sinamics S120:Lab 03 Speed control from S7 PLC using DriveES blocksFebuary 7, 2007Page 17 of 29Jim HanleySiemens AMD Application Center5300 Triangle ParkwayNorcross, GA 30092Jim.Hanley@Siemens.com

sSpring Training 2007Atlanta, GASiemens Energy & Automation, Inc.Automation and Motion DivisionTask 22: Expand the VECTOR 02 drive object folder to Communication – PROFIBUS.Hightligts of SIEMENS telegram 352, PZD-6/6 (352)ZSW1NIST AIAISTMISTWARNFAULTSinamics S120:PROFIBUS send status word, Status word 1Actual speed value, Smoothed with p0045Absolute current actual value, Smoothed with p0045Torque actual value, Smoothed with p0045CO: Actual alarm codeCO: Actual fault codeLab 03 Speed control from S7 PLC using DriveES blocksFebuary 7, 2007Page 18 of 29Jim HanleySiemens AMD Application Center5300 Triangle ParkwayNorcross, GA 30092Jim.Hanley@Siemens.com

sSpring Training 2007Atlanta, GATask 23Siemens Energy & Automation, Inc.Automation and Motion DivisionOpen the Vector 02 Expert list.Right click onVECTOR 02Highlight ExpertClick on Expert listTask 24Create a Drive Configuration Script file:1. Click on Binoculars2. Select Save search result 3. Save as executable script at the source object“VECTOR 02“Sinamics S120:Lab 03 Speed control from S7 PLC using DriveES blocksFebuary 7, 2007Page 19 of 29Jim HanleySiemens AMD Application Center5300 Triangle ParkwayNorcross, GA 30092Jim.Hanley@Siemens.com

sSinamics S120:Spring Training 2007Atlanta, GASiemens Energy & Automation, Inc.Automation and Motion DivisionLab 03 Speed control from S7 PLC using DriveES blocksFebuary 7, 2007Page 20 of 29Jim HanleySiemens AMD Application Center5300 Triangle ParkwayNorcross, GA 30092Jim.Hanley@Siemens.com

sSpring Training 2007Atlanta, GASiemens Energy & Automation, Inc.Automation and Motion DivisionThere is now a SCRIPTS folder under the Driveobject with the drive configuration script.The CU310 Telegram 352.txt has been created toallow you to copy or reuse this Driveconfiguration (Parameter Set) to quickly set up thedrive in other applications.We’ll use this file to quickly setup the next lab!Task 25Configure the Control Unit communication for SIEMENS telegram 390.1. Double click Configuration2. Select SIEMENS telegram 3903. Press Transfer to HW Config buttonSinamics S120:Lab 03 Speed control from S7 PLC using DriveES blocksFebuary 7, 2007Page 21 of 29Jim HanleySiemens AMD Application Center5300 Triangle ParkwayNorcross, GA 30092Jim.Hanley@Siemens.com

sSpring Training 2007Atlanta, GATask 25Siemens Energy & Automation, Inc.Automation and Motion DivisionConfigure the Control Unit communication for SIEMENS telegram 390.1. Telegram 390 for the Control Unit now hasPROFIBUS addresses assigned in thehardware configuration.2. Disconnect from the drive.3. Check Copy RAM to ROM4. Check Load changes to PG/PC5. Click OK.Task 26: Open DriveES – Generate DRIVDBx from the Start menu:Sinamics S120:Lab 03 Speed control from S7 PLC using DriveES blocksFebuary 7, 2007Page 22 of 29Jim HanleySiemens AMD Application Center5300 Triangle ParkwayNorcross, GA 30092Jim.Hanley@Siemens.com

sSpring Training 2007Atlanta, GASiemens Energy & Automation, Inc.Automation and Motion DivisionTask 27: Generate data block for the Lab03 DriveES Speed project:Select the name of theproject for this lab.Wait for the Station,CUP/CP, and the SubNet tobe populated by the DriveES Simatic software.Click Generate data blockEnter a number for the forthe DB number. This willbe the Symbol name for thegenerated data block. Thisexample uses 90 for a datablock Symbol ofDRIVDB90.Sinamics S120:Lab 03 Speed control from S7 PLC using DriveES blocksFebuary 7, 2007Page 23 of 29Jim HanleySiemens AMD Application Center5300 Triangle ParkwayNorcross, GA 30092Jim.Hanley@Siemens.com

sSpring Training 2007Atlanta, GASiemens Energy & Automation, Inc.Automation and Motion DivisionChange the 1 to a 90to match the datablock number to theSymbol name fromabove. Press AcceptassignmentSelect No to completethe Drive ES SIMATICwork.Data Block DB90 and UDT31 have been added to your project in the Blocks folder.Sinamics S120:Lab 03 Speed control from S7 PLC using DriveES blocksFebuary 7, 2007Page 24 of 29Jim HanleySiemens AMD Application Center5300 Triangle ParkwayNorcross, GA 30092Jim.Hanley@Siemens.com

sSpring Training 2007Atlanta, GASiemens Energy & Automation, Inc.Automation and Motion DivisionTask 27: Copy FB31 & FB32 from Sample project ZXy51-03 DriveES SAMP:NOTE: This sample project is automatically loaded onto your computer with the installation of DriveES SIMATIC software.Copy FB31 & FB32from ZXy51-03 DriveES SAMP into yourprojectSinamics S120:Lab 03 Speed control from S7 PLC using DriveES blocksFebuary 7, 2007Page 25 of 29Jim HanleySiemens AMD Application Center5300 Triangle ParkwayNorcross, GA 30092Jim.Hanley@Siemens.com

sSpring Training 2007Atlanta, GASiemens Energy & Automation, Inc.Automation and Motion DivisionTask 28: Add OB86 & OB122 Organization blocks to your project.Task 29: Open OB1 and drag FB31 onto the first network.1. Enter DB31 for the Instance data block for the FB31 PCD SEND command.2. Enter the Symbol CU310 Vector SEND for DB31.Sinamics S120:Lab 03 Speed control from S7 PLC using DriveES blocksFebuary 7, 2007Page 26 of 29Jim HanleySiemens AMD Application Center5300 Triangle ParkwayNorcross, GA 30092Jim.Hanley@Siemens.com

sSpring Training 2007Atlanta, GASiemens Energy & Automation, Inc.Automation and Motion DivisionTask 30: Begin typing d in the CFG DATA, select DRIVDB90".SLAVE 3.SLOT 5 entry.Task 31: Drag FB32 onto the next Network1. Enter DB32 for the Instance data block for FB32 command2. Edit symbol with CU310 Vector RECV nameSinamics S120:Lab 03 Speed control from S7 PLC using DriveES blocksFebuary 7, 2007Page 27 of 29Jim HanleySiemens AMD Application Center5300 Triangle ParkwayNorcross, GA 30092Jim.Hanley@Siemens.com

sSpring Training 2007Atlanta, GASiemens Energy & Automation, Inc.Automation and Motion DivisionTask 32: Begin typing d in the CFG DATA, select DRIVDB90".SLAVE 3.SLOT 4 entry.Save OB1.Task 22: Highlight the Blocks folder and select PLC from the Top menu and select “Download UserProgram To Memory Card ”.Select YesSinamics S120:Lab 03 Speed control from S7 PLC using DriveES blocksFebuary 7, 2007Page 28 of 29Jim HanleySiemens AMD Application Center5300 Triangle ParkwayNorcross, GA 30092Jim.Hanley@Siemens.com

sSpring Training 2007Atlanta, GASiemens Energy & Automation, Inc.Automation and Motion DivisionTask 23: Copy the WinCC Flex application from the completed lab into your application. Open thecompleted Lab03 Completed DriveES.zip archive and copy the WinCC Flex application.Sinamics S120:Lab 03 Speed control from S7 PLC using DriveES blocksFebuary 7, 2007Page 29 of 29Jim HanleySiemens AMD Application Center5300 Triangle ParkwayNorcross, GA 30092Jim.Hanley@Siemens.com

Febuary 7, 2007 Siemens AMD Application Center Page 1 of 29 Siemens Energy & Automation, Inc. Automation and Motion Division Jim Hanley 5300 Triangle Parkway Norcross, GA 30092 Jim.Hanley@Siemens.com Spring Training 2007 Atlanta, GA www.infoPLC.net SINAMICS S120 CU310 DP AC / AC single axis drive demo