基于S7-200PLC剪板机定长控制系统电气控制部分设计摘要自动剪板机是一种按照生产工艺的要求对板材进行自动定长、自动剪切并且通过运料小车自动运送到下一工序的自动生产设备。由于自动剪板机的工作条件一般都比较恶劣并且对板材的加工要求也较高,因此自动剪板机的控制设备要有很高的精度、很强的抗干扰能力,从剪板机的要求来看我们认为其控制设备选用PLC比较合适。PLC是自动控制技术、计算机技术和通信技术三者的一个结合体,在其硬件设计中采用了屏蔽、滤波、光电隔离等技术使其具有很高的可靠性和很强的抗干扰能力,现已经在现代化工业生产中得到了广泛的应用。随着科学技术的不断发展,PLC的功能也在不断的增强以适应现代控制的要求。本文以工业自动剪板机为研究对象。通过对自动剪板机的工艺、控制要求的了解和对其工作原理的分析有了一个总体的设想,设计了电气传动部分的设计和PLC的顺序流程图,探讨了自动剪板机的自动定长设计方案,结合PLC的顺序流程图编制了下位机PLC程序。上位机利用MCGS组态软件做了一个人机界面进行监控。运用PLC控制的自动剪板机操作简单、系统稳定性好、工作效率高并且在保证产品质量的前提下节约了成本。关键词:剪板机可编程控制器变频器自动控制TheDesignofFixed-lengthShearsControlSystemforElectricalPartBasedonS7-200PLCAbstractAutomaticShearingisaproductionprocessinaccordancewiththerequirementsoftheboardfixedlengthautomatically,auto-cuttingandautomaticdeliverytothenextprocessofautomatedproductionequipmentthroughthetransporter.Becausetheworkingconditionsofautomaticshearsaregenerallymoresevereandtheprocessingrequirementsoftheplateisveryhigh,sothecontroldeviceofautomaticshearshaveaveryhighprecision,stronganti-interferenceability,duetotherequirementsoftheshearsweselectPLCascontrolequipment.PLCisacombinationoftheautomaticcontroltechnology,computertechnologyandcommunicationtechnology,initshardwaredesignweuseshielding,filtering,opticalisolationtechniquessothatithashighreliabilityandstronganti-interferenceability,inmodernindustrialproductionhasbeenwidelyused.Withthedevelopmentofscienceandtechnology,PLCfunctionsarecontinuouslyenhancedtomeettherequirementsofmoderncontrol.Inthispaper,weselectindustrialautomaticcuttingplateforthestudy.Throughtheprocessofautomaticshears,theunderstandingofcontrolrequirementsandtheprincipleofitsworkwehaveanoverallvision,referringtotheelectricdrivedesignandPLCflowdiagram.Discussestheautomaticshearingoftheautomaticfixed-lengthdesignscheme,wecompilethePLCprogramwiththePLCflowdiagram.Theman-machineinterfacecontrolmadewithconfigurationsoftwareMCGS.TheautomaticshearsthatcontrolledbyPLCisusingsimple,havinggoodstability,highefficiencyandproductqualityinthepremiseofensuringcostsavings.Keywords:Plateshears;PLC;Inverter;AutomaticControl;目录1引言................................................................................................................................12PLC及编程语言的简介.................................................................................................32.1PLC的工作原理..................................................................................................32.2S7-200的程序结构..............................................................................................42.2.1主程序......................................................................................................42.2.2子程序......................................................................................................42.2.3中断程序..................................................................................................43自动剪板机的工艺........................................................................................................53.1剪板机的控制要求.............................................................................................53.2自动剪板机的控制流程.....................................................................................53.3自动剪板机的液压控制系统.............................................................................74总体设计和设备选型....................................................................................................94.1设计动作流程说明.............................................................................................94.2系统的工艺要求.................................................................................................94.3系统电气部分设计.............................................................................................94.4系统定长控制方案设计....................................................................................114.4.1光电编码器简介及选型........................................................................114.4.2高速计数器简介及模式选择................................................................124.4.3自动定长控制流程图............................................................................134.5设备选型...........................................................................................................144.5.1电动机和液压油泵减速器型号............................................................144.5.2PLC和扩展模块型号.............................................................................144.5.3变频器的选择........................................................................................154.6I/O端子分配和系统计算..................................................................................184.6.1I/O端口分配...........................................................................................184.6.2系统计算................................................................................................195下位机程序设计..........................................................................................................205.1STEP7-Micro/WIN软件....................................................................................205.2软件的编程语言.....................