摘要针对普通剪切机或传统自动剪切机存在的不足,为满足中小企业对普通剪切机进行技术改造和升级的需求,提出一种基于可编程逻辑控制器S7-200PLC的薄钢板自动剪切控制系统方案并实现。当系统传送薄钢板过来时,采用光电编码器检测系统对钢板的尺寸自动计数,当与设定值(要求用拨码盘设定)一致时启动冲压系统对薄钢板进行剪切,如果大于设定值时,电机反转,直至与设定值一致。本课题的设计关键是薄钢板的剪切精度控制。本设计内容主要包括系统总体设计,系统硬件设计,系统软件设计,具体介绍了薄钢板自动剪切控制系统结构组成,确定相关电路参数,选择器件型号,给出系统的硬件连线图,软件流程图和程序清单。本设计的薄钢板剪切自动控制系统,剪切精度较高,提高了生产效率,安装方便,具有一定的应用和经济价值。关键词:S7-200PLC;自动剪切;光电编码器;变频调速AbstractAccordingtotheinsufficientofordinaryshearmachineorconventionalautomaticcuttingmachine,inodertomeettheSMEs'technologicaltransformationandupgradeneedsofordinaryshearingmachine,thedesignshowsaprojectofautomaticcontrolsystemforthinsteelplateshear,andtomakeitwork.Whenittransmittingoverthethinplate,thesystemadoptsphotoelectricalencoderdetectionsystemtoautomaticlycountsteelsize.Ifsteelcountingsize(requiredwithadialdiscset)andsettingsizearethesame,systemstartsstampingsystemtocuttheplate,andifmorethanthesetvalue,themotorreversal,untilconsistentwithsetup.Thekeyisthedesignofprecisioncontrolofthinsteelplateshear.Thisdesignmainlyincludessystemdesign,hardwaredesign,systemsoftwaredesign,describesdetailsofstructureforthinplateautomaticcuttingsystem,identifysthecircuitparameters,andchoosedevicetype,givesthesystemhardwareandsoftwareflowchartandevenprogramminglist.Thedesignofautomaticcontrolsystemofcuttingthinplate,improvestheprecisionofshearing,improvestheproductionefficiency,offersconvenientinstallation,hascertainapplicationandeconomicvalue.Keywords:S7-200PLC,Automaticshear,Photoelectricencoder,Frequency目录第1章绪论...............................................................................................11.1课题背景和目的意义........................................................................................11.2设计的现状和发展趋势....................................................................................11.3方案论证............................................................................................................21.4课题设计内容....................................................................................................31.5本章小结............................................................................................................3第2章系统总体设计...............................................................................42.1系统控制要求....................................................................................................42.2系统结构组成和工作原理................................................................................4第3章系统硬件设计...............................................................................63.1光电编码器........................................................................................................63.2拨码盘应用........................................................................................................93.3检测开关安装..................................................................................................103.4主电路设计......................................................................................................123.5变频器..............................................................................................................133.6PLC控制系统...................................................................................................143.7脉冲当量选择..................................................................................................163.8分段变频调速..................................................................................................163.9制动过程..........................................................................................................173.10本章小结........................................................................................................18第4章系统软件设计..............................................................................194.1主流程..............................................................................................................194.2手动控制流程..................................................................................................204.3高速计数器编程..............................................................................................214.4编程软件..........................................................................................................224.5本章小结..........................................................................................................22第5章结束语..........................................................................................23致谢..........................................................................................................24参考文献......................................................................................................25附录APLC连线图....................................................................................26附录B程序...............................................................................................271第1章绪论1.1课题背景和目的意义自动剪切机是一种精确控制板材加工尺寸,将大型板块进行自动剪切的设备。传统自动剪切机采用继电器作为控制器件,其控制系统较复杂,参数改变不灵活,大量接线使系统可靠性降低,维修率高,降低了生产效率。PLC以其灵活性、快速性、可靠性和性价比高等特点越来越受到企业或者团体设计者们的欢迎,在各行各业的应用越来越广泛。用PLC替代继电器设计自动控制系统,具有操作简单,运行可靠,抗干扰能力