A&DSales100TaskReportProductline:MCTask:S120BasicOperationandCommunicationDate:Sep11th,2006MondayName:ZhaoWeiChenCoach:Mr.XueLong1.Purpose实验目的使用S120DEMO进行实验,通过试验掌握S120组态以及与S7系列PLC的PROFIBUS基本通讯功能。WeuseS120DEMOequipmenttomastertheconfigurationmethodandcommunicationwithS7PLCofS120converter.2.Equipments实验设备Hardwareandfirmware硬件及固件订货号ORDERNO.数量NO.设备描述DESCRIPTION1SINAMICSS120DEMO6SL3040-0MA00-0AA11CU3206SL3055-0AA00-2TA01TerminalBoardTB306SL3130-6AE15-0AA01SmartLineModule6SL3120-2TE13-0AA01DoubleMotorModule1FK7022-5AK71-1LG013~Motor1FK7022-5AK71-1AG013~Motor6AG1064-1AA01-0AA01OperatorControlBox6GK1551-2AA001CP5512CommunicationProcessor6XV1830-0EH101PROFIBUSCable6ES7972-0BB60-0XA02PROFIBUSFastConnectbusconnectorRS485C79459-A1890-A101HW-AdapterforCP5511/CP55126ES7307-1EA00-0AA01PS3075AforS7-300PLC6ES7315-2AG10-0AB01CPU315-2DP6ES7972-0BB12-0XA02BUSCONNECTORFORPROFIBUS6SL3054-0AA00-1AA01CompactFlashcardforCU3201A&DSales100Softwareandversion软件及版本订货号ORDERNO.数量NO.设备描述DESCRIPTION6ES7810-5CC08-0YA51STEP7ProfessionalEdition20046SL3072-0AA0-0AG01STARTERdrive/commissioningsoftware3.Processandemphases实验流程与重点难点1、S120结构ComponentsofS120本试验所用DEMO包含以下几部分:控制器、整流单元、变频单元和电机。S120DEMOincludes:Controller,LineModule,MotorModuleandMotors.(1)控制器CU320ControllerCU320控制器CU320提供以下接口:CU320includestheinterfaces:4四个DriveCLIQ插槽,可实现与其它DriveCLIQ设备的通信,例如电机模块、调节型电源模块(Activeline)、传感器模块、终端模块。4DriveCLIQ,itcanconnecttootherDriveCLIQdevice,suchasMotorModule,Activelinemodule,SensorModuleandTerminalModule.1个PROFIBUS接口1PROFIBUSInterface8点可参数化数字量输入(浮动式)8DIN8点可参数化双向数字量输入/数字量输出(非浮动式),其中六点快速数字量输入8DIN/DOUT1个RS232串行接口1RS232SerialInterface1个选件插槽,如TB301Slotforselectionboard,suchasTB303个测试插座和一个参考接地,用于调试3TestingSocketand1referenceground,fordebuggingCF卡:ROM卡,用于存储固件和参数设置。S120启动时,自动将组态信息和参数读入系统注:一个CU320最多可以带4个矢量轴或6个饲服轴,但是不能混合使用,但是它们可以和V/F控制混合使用。CFcard:ROM,forstoragefirmwareandparameters.WhenS120starts,thesystemcanreadsconfigurationandparametersautomaticallyfromCFcard.Notice:ThemaximalnumbersofoneCU320is4Vectoraxesor6Servoaxes,butcan’tmixuse,itcanmixwithV/FControl.(2)整流单元LineModule2A&DSales100特点分类整流再生/反馈母线电压Drive-CLIQ是否受电网波动影响BLM二极管整流桥否不可调节,513V是SLM二极管整流桥IGBT不可调节,513V无是ALM二极管整流桥可控IGBT配有升压变压器,增高的可调直流链路电压有否(3)变频单元MotorModule分单轴和双轴模板SignalandDualaxesModule(4)选件AdditionComponentCBC10通信模板:CAN协议通信CBC10CommunicationModule:CANProtocolTB30:扩展CU320的DI、DO、AI和AO,插在CU320的选件插槽内TB30:ExpendDI,DO,AI,AOofCU320,insertintoCU320slotTM31:输入输出端子扩展,卡在DIN导轨上TM31:ExpendingBoard编码器模板:(注:电机与编码器模板通过扁平电缆连接,编码器模板与Motormodule通过DriveCLIQ连接)EncoderBoard:WeconnectMotorandEncoderwithusualcable,andconnectEncoderBoardwithMotorModulewithDriveCLIQ.模板类型编码器信号SMC102极或多极旋转变压器绝对值编码器,EnDatSMC20增量式编码器,sin/cos1VppSMC30TTL/HTL增量式编码器2、S120组态Configuration首先连接PC和S120(CU320上的PROFIBUS口);然后对PC/PGInterface进行设置,设为CP5512(PROFIBUS)。First,connectPCandS120(thePROFIBUSInterfaceonCU320);Second,setCP5512(PROFIBUS)modein“SetPC/PG”window.自动组态:AutomaticConfiguration(1)建立S120项目,选择S120的PROFIBUS网络地址以及版本号,本试验中S120的DP地址为3,版本号为2.4x。其中,S120的PROFIBUS地址可以通过CP5512卡诊断出来,也可以通过CU320上的硬件拨码开关读出。3A&DSales100BuildanewS120project.SetthePROFIBUSNetworkaddressandVersionofS120.WesetDPaddressto3andversionto2.4x.WecanconfirmPROFIBUSaddressetherfromCP5512diagnosticorswitchonCU320.如果使用CP5512卡进行Test出现如下错误的话,请在SetPC/PGInterface-Properties-PG/PCistheonlymasteronthebus进行选择。4A&DSales100Iferrorlikeblowhappens,gotoSetPC/PGInterface-Properties,selectPG/PCistheonlymasteronthebus.(2)在线,恢复出厂设置Online,restoreFactorySetting.(3)自动组态AutomaticConfiguration选择开始自动组态,出现如下对话框,选择所控制的电机类型(伺服型或矢量型)Press”Startautomaticconfiguration”,pop-upawindow,selecttypeofmotors(ServoorVector)由于自动组态方式只对DriveCLIQ方式的电机有效,而SEVRO_03没有DriveCLIQ,所以自动组态的SEVRO_03有错,需要离线后删除,重新手动组态SEVRO_03。5A&DSales100BecausetheautomaticconfigurationmethodonlyaffectsDriveCLIQMotor,buttheSEVRO_03inS120DEMOhasn’tDriveCLIQ,SEVRO_03iserror,wehavetodeleteitafterofflineandconfigureitmanually.(4)手动插入非DriveCLIQ电机InsertnonDriveCLIQMotor式选择带编码器的速度反馈控制方6A&DSales100SelectingSpeed(withencoder)选择双轴电机模块,并SelectingDoublemotor选择P0864使能信号,我们选择1,使其处于自动使能状态SetP0864=1nnection,becauseConnectionX2isusedbyDriveCLIQmotor,weselectConnectionX1here.选择其具体订货号modulesanditsordernumber选择连接关系,由于带有DriveCLIQ的电机占用了ConnectionX2,因此我们在这里选择ConnectionX1。Selectingco7A&DSales100在标准电机列表中选择电机类型以及具体的性能指标SelectingMotorfromMotorList根据电机订货号选择是否带抱闸功能Selectingwithorwithoutholdingbreakaccordingtotheordernumberofmotor8A&DSales100选择编码器类型Selectingmotorencoder选择用于PROFIBUS通讯的PZD桢格式SelectingPROFIBUSPZDframe至此,我们就完成了添加非DriveCLIQ电机的工作Wefinishedinsertstandardmotor(5)点击在线,此时会出现离线和在线状态的不同之处,我们将上述在PC机中更改的信息下载到S120中Pressonline,therewillbeawindowthatdisplaysthedifferencebetweenonlineandoffline,andwedownloadnewinformationtoS120.9A&DSales100(6)设置两电机的两个参数,P0210=345,P0864=1(右键单击电机导出ExpertList),将等级修改为3,专家级。Set2parameters,P0210=345,P0864=1,pressrightbuttonofmouseandexporttheexpertlist,modifytheaccesslevelto3,expertlevel.(7)通过STARTER中的控制面板给定转速测试电机SetthespeedfordrivestotestthembyusingcontrolpanelinSTARTER手动组态ManualConfiguration(1)新建S120项目,如前所述。先在线恢复出厂设置,再离线进行S120的配置(与自动组态不同,自动组态在在线的情况下)。BuildnewS12