嵌入式软件院,版权所有,请勿转载/销售。-1-基于MCGS的材料分拣系统设计摘要随着工业技术的不断提高,工业对技术和效率的要求也在不断的提高。材料分拣是个能大大提高工业生产效率的设备。材料分拣系统是个运用范围很广的系统,工厂的检测生产出的产品,邮政的分拣邮件,还有把一大批材料按要求分离开来等等,这些都是要用到材料分拣系统的。本次设计正文主要分为三部分:第一部分主要介绍的是PLC材料分拣系统的设计;第二部分主要介绍的是利用MCGS组态软件设计材料分拣系统的组态;第三部分主要介绍的是怎样实现PLC材料分拣系统与材料分拣系统组态的通讯即实时监控。本次设计的主要内容是材料分拣系统的设计,要完成MCGS组态软件对材料分拣系统的监控和与PLC的通讯。有了MCGS组态软件对PLC分拣系统的实时监控,操作者就避免的进距离接触操作工具,从而减少了事故发生率,也大大的提高了生产效率。基于以上问题,在本次的毕业设计中主要应用三菱FXN2-48MR系列PLC设计材料分拣系统,并用MCGS组态软件对PLC材料分拣系统运行进行实时监控。建立了下位机PLC和上位机PC之间的数据传输及良好的人机界面,通过设备连接,使组态界面上的图形对象可实时采集现场PLC的输出端口的数据而实现材料分拣系统的实时监控。通过实验表明,该系统具有运行可靠,抗干扰能力强,易于用户修改和实时监控等特点并具有一定的实用价值。关键词:MCGS;组态软件;PLC;材料分拣如需程序/Word版本,请访问:嵌入式软件院。嵌入式软件院,版权所有,请勿转载/销售。-2-TheDesignofMaterialChooseSystemBasedonMCGSAbstractCeaselessnessimproves,demandofindustrytotechnologyandefficiencyalsoisinceaselessrisewithindustrialtechnology.Materialpicksuptheequipmentbeingtobeabletoimprovetheindustryefficacygreatlymark.Materialchoosessystemtobetheverybroadsystemwieldingrangemark,theproductthatthefactorycheckproducesout,thepostalservicesortingmail,therearestillwithonelargenumberofmaterialaccordingtorequiringthatmarkofdeparturecomestowaitaminute,theseallarethatthesortingissystematicneedtousetomaterial.Designthattextisatripartitemainlymarkoriginallytime:ThatPartIintroducesthatmainlyisthatPLCmaterialpicksupsystematicdesignmark;BeingthatPartIIintroducesmainlymakesuseoftheMCGSgroupstatesoftwaretodesignthatmaterialselectsthesystematicgroupstatemark;ThatPartIIIintroducesthatmainlyisthatsortingsystemandmaterialchoosecommunicationofsystemgroupstatetoberealtimesupervisorycontrolmarkhowtorealizePLCmaterial.Themaincontentdesigningthatoriginallytimeisthatmaterialpicksupsystematicdesignmark,isgoingtoaccomplishtheMCGSgroupstatesoftwarepickingupsystematicsupervisorycontrolandthecommunicationwithPLCmarktomaterial.HavehadtheMCGSgroupstatesoftwaretoselectsystematicrealtimesupervisorycontrolmarktoPLC,havehandledmovingforwardthatpersonavoidsrightawayfromwhencontactingtheoperationimplement,havedecreasedbyaccidentoccurrenceratethereby,alsogreatlyhaveimprovedanefficacy.Withbecauseoftheaboveproblem,thistimegraduationpracticemiddlemainapplyMitsubishiFX-48MRseriesPLCdesignmaterialsortingsystem,anduseMCGSsetstatesoftwarefacetofacePLCmaterialsortingsystemworkbeinprogressrealtimesupervisorycontrol.HavebuiltlowerplacemachinePLCthatthedatatransmissionbetweenPCandthefineman-machineinterface,passequipmentlinkswithsuperordinationmachine,makesthesystematicsortingrealtimesupervisorycontrolexportingtheenddatabutrealizingmaterialformstateinterfaceupperartworkmarriagepartnerbutrealtimeacquisitionscenePLC.Theabilityisstrong,easily,characteristicssuchasconsumermodificationandrealtimesupervisorycontrolandhascertainpracticalvaluebythefactthattheexperimentindicatingoperation,thatsystemhavingreliable,anti-interferenceKeywords:MCGS;Groupstatesoftware;PLC;MaterialChoose嵌入式软件院,版权所有,请勿转载/销售。-3-目录引言................................................................................................................................................5第1章绪论...............................................................................................................................6第2章材料分拣系统的PLC部分.........................................................................................72.1PLC材料分拣系统的设计要求..............................................................................................................72.2材料分拣系统的设计思路和方案选择.................................................................................................72.3材料分拣系统的流程图..........................................................................................................................8第3章材料分拣系统的组态部分...........................................................................................93.1MCGS组态软件的介绍..........................................................................................................................93.1.1MCGS的主要特性和功能..............................................................................................................93.1.2MCGS系统的构成..........................................................................................................................93.2材料分拣系统组态监控工程简介........................................................................................................103.3分拣系统组态工程的建立....................................................................................................................113.4制作分拣系统的组态工程画面............................................................................................................123.4.1创建分拣系统监控的用户窗口.......................................................................................................123.4.2设置分拣系统监控的用户窗口属性..............................................................................................123.4.3创建工程图形...................................................................................................................................133.4.4编辑工程图形.......................................................................................