版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
:在设计关于PLC的控制系统时,首先应确定该系统的控制方案,然后下一步工作是为该工程设计选择PLC的型号。该控制系统运行过程中的特点和应用需求是PLC选型的主要依据。PLC和相关设备应该根据综合、标准、以及容易形成一个整体的工业控制系统和易扩展其功能的原则选择器件的类型,所选择的PLC应在相关工业领域的有成功的应用成果、该PLC在控制系统中有成熟和可靠的运用制度,该PLC的硬件、软件配置和功能都可适应安装的规模和控制要求。在设计该系统时知道它所使用的编程控制器,以及它的功能图像及相关的编程语言有利于缩短编程时间,因此,在选择该类型的项目设计和估算时,应先分析该项目的运行过程特点和控制要求,详细地明确该项目的控制任务和范围,根据操作和运动的要求,估算出输入和输出的数量、估计出存储器容量、测定功能的大小以及外部设备性能等,最后选择具有较高的性价比的PLC和相应的控制系统设计。随着PLC在工业控制系统中的普及,PLC的数量和种类越来越多,功能也日趋完善。近年来,刚刚介绍的PLC产品已有自美国、日本和德国以及国内厂家组装或独立发展成型,已有几十种系列,几百种型号。PLC的类型众多,它的结构模型,性能、能力、指令系统和编程方法等各有不同,应用场合也各有不同。因此,在自动控制系统中合理的选择PLC的型号有很重要的作用。随着科技的不断进步,PLC的种类是越来越多,其功能也在逐渐增加强。虽然本文总结了一些选择的方法,以及运用实例说明如何使用PLC,但在实际工作中它还必须做出适当的调整。需要根据实际条件来用PLC设计工业控制系统,满足期望。PLC的技术随着计算机和微电子技术的发展而得到迅速发展。从开发出第一台PLC后,随着CPU的应用和单片机技术在PLC中的应用,形成现代意义上的第一台PLC。自80年代到20世纪的第一个十年,随着微电子技术的大跃进,出现了大规模集成电路和超级大型微电子技术,16通道和32通道的微处理器的出现PLC得到了惊人的开发,这使得PLC在概念、设计、性价比以及应用上获得了新的突破,不仅控制功能增强,功耗和体积减少,成本下降,可靠性上升,编程和故障检测更加灵活和方便,同时远程通信网络、数据处理以及人机界面(HMI),PLC不仅可以应用于自动化生产行业,而且可以在连续生产时用于过程控制系统,这些使得它在自动化技术领域成为三大支柱之一,即使总线技术变成了今天的自动化技术应用的热点、但PLC在现场总线系统中仍是不可或缺的控制器。1PLC在自动化工业控制系统中的发展和普及,PLC的种类是越来越多,使用也越来越广泛,因此合理选择PLC,对提高自动控制系统在工作中的运用具有重要的作用。2)罗克韦尔公司(包括AB公司)PLC产品,现在的产品有SLC、MicroLogix和ControlLogix等;PLC选型的基本原理的是:在输入/输出数量满足要求的前提下应选择最可靠、维护和使用最方便以及性价比最优的产品。根据控制系统的需求,确定所需输入/输出的数量,应增加备用量的10%-20%,为了能在任何时间增加控制功能。开关量输入/输出接口可以从传感器和开关和控制设备接受信号。典型的交流输入/输出信号24-240V,直流输入/输出信号5-240V。模拟量输入/输出接口可以接受由传感器产生的信号。这些接口可以用于测量流动这些接口的量程为-10-+l0v、0-l0v、4-20mA或10-50mA。有些厂家在PLC上设计了特殊的专用模拟接口,因此它可以接收低电平信号。一般来说,这种接口模块可以用于接收不同类型的热电偶或RTD混合信号。4)特殊功能输入/输出入/输出的位置和快速响应以及频率问题造成的非标准的输入/输出。现在,用户应该考虑是否接受由市场或制造商提供的专用模块,通过专用模块自行处理一部分的数据,从而减少CPU以最大限度降低因高温限制造成的控制失灵。目前,PLC厂家制造出了一些智能输入/输出连续模块。一般智能输入/输出模并将结果传送到CPU或直接输出,因此可以提高处理速度和节省存储容量。智能输入/输出模块有高速计数器,cam模拟器、凸轮模拟器速度补偿、单回路或者倍增PID调节器、ASCII/BASIC处理器和RS-232C/422接口模块等。PLC的输入/输出模块的一般选择原则:根据设备现场或操作选择的类型和数量来选择I/O模块。PLC所使用的内存的系统主要是有3种:EPROM,ROM和RAM。内存的容量的大小一般与PLC的大小有关,通常小型机的最大的存储能力要小于6kb,中型机器的最大存储能力可以达到64KB,而大型机的最大存储能力可达到兆字节。使用时可以根据程序和数据存储能力选择适合的类型,必要时也可以进行内存扩大设计。PLC5、软件选择在系统的实现过程中,PLC的编程问题是非常重要的。用户应该知道PLC产品的软件功能。通常,一个系统的软件是用来处理控制硬件的。但有时一些应用系统除了需要控制硬件部分外还需要软件的一些功能。一个程序块由可执行代码和注释组成。可执行代码由主程序和若干子程序或者中断服务程序组成。可执行代码被编译并下载到FX2N中,而程序注释不会被下载。您可以使用组织组件(主程序、子程序和中断服务程序)来结构化您的控制程序。主程序(2)由于将代码从主程序中移出,因而用子程序可以缩短程序扫描周期。FX2N在3中断服务程序中断服务程序是应用程序中的可选组件。当特定的中断事件发生时,中断服务程序执行。您可以为一个预先定义好的中断事件设计一个中断服务程序。当特定的事件FX2N会执行中断服务程序。中断服务程序不会被主程序调用。只有当中断服FX2N才会执行中断服务程序。提示:因为无法预测何时会产生中断,所以应考虑尽量限制中断服务程序和程序中其它部分所共用的变量个数。使用中断服务程序中的局部变量,可以保证中断服务程序只使用临时存储器,并且不会覆盖程序中其它部分使用的数据。为了保证主程序与中断服务程序正确地共享数据,您可以使用许多编程技巧。4YANAiQingAbstract:WhendesigningPLCsystem,firstdeterminingcontrolscheme,theworkofnextstepisPLCselectingtypeofprojectdesign.Thecharacteristicofprocessandapplicationrequirementarethemajoraccordanceofdesigningselectingtype.PLCandrelevantequipmentsshouldbeintegratedstandardaccordingtotheprincipleeasytoformawholewithindustrialcontrolsystemandeasytoexpanditsfunctiontoselecttype,PLCreliablesystem,thesystematichardwaresoftwareconfigurationandfunctionofPLCshouldsuitwithinstallationscaleandcontrolrequirement.Knowingprogrammingcontroller,functionpictureandrelevantprogramminglanguageishelpfultoshortenprogrammingtime.Therefore,selectingtypeofprojectdesignandestimating,itshouldanalysethecharacteristicofprocessandcontrolrequirementindetail,definitecontroltaskandrange,determingoperationandmovementrequired,thenaccordingtocontrolasktoestimatenumbersofinputsandoutputs、memorycapacityrequired、determingfunctionofPLC,theexternalequipmentpropertyetc.finallyselectinghavinghigherpriceperformancePLCanddesigingthecorrespondingcontrolsystem.AlongwithpopularizationofPLCinindustrialcontrol,quantityandkindofPLCproductaremoreandmoreandfunctionalsobecomesperfectdaybyday.Inrecentyears,thePLCproductsthatintroducedfromthecountriessuchasAmerica、JapanandGermanyandthedomesticmanufacturerassemblesordevelopsindependentlyhavehadtensofseries,hundredsofmodels.ThekindofPLCisnumerous,itsstructuralmodel,performance、capacityinstructionsystemandprogrammingmethodetcaredifferent,applicationoccasionhasalsoeachtostress.Therefore,selectPLCreasonably,theapplicationforPLCincontrolsystemhasimportantrole.Alongwiththeunceasingadvanceofscienceandtechnology,thekindofPLCisincreasinglynumerous,itsfunctionalsostrengthensgradually.ThoughthearticlehavesumedupsomemethodsofchoosingPLCandexampledtoexplainhowtouse,inpracticalworkitmuststillmakeproperadjustmentaccordingtopracticalconditioninordertodesigntheindustrialcontrolsystemthatsatisfiesexpectation.Keywords:PLC;selectingtype;controllingsystemI.IntroductionPLCtechnologydevelopspromptlyalongwiththedevelopmentofcomputerand5microelectronicstechnology,anddevelopsfromainitialmachineto8machines.AlongwithapplicationofmicroprocessorCPUandthetechnicalofmicrocomputerinPLC,ithasformedPLConmodernmeaning.Since80decadeof20century,alongwithmicroelectronicstechnologydevelopmentofthelarge-scaleandsuperlarge-scaleIntegratedcircuitetc.microelectronicstechnology,Thatthe16and32microprocessorformsmicrocomputerPLChavegottenastonishingdevelopment,thesemakePLCgetnewbreakthroughintheaspectssuchasconcept、design、priceperformanceaswellasapplication.Notonlycontrolfunctionstrengthens,powerconsumptionandvolumereduce,costdrops,reliabilityrises,programmingandfaultdetectionaremoreflexibleandconvenient,butalsolong-rangeUOandcommunicationnetwork,datahandlingaswellasman-machineinterface(HMI)alsohavegotrapiddevelopment.Now,PLCcannotonlyapplyintheautomationofmanufacturingindustrybutalsocanstillapplyinthecoursecontrolsysteminserialproduction,thesehavemadeitbecomeoneof3pillarinautomationtechnicalfield,evenifthetechnologyofbuslinebecomestodayofautomationtechnicalapplicationhotpoint,PLCisstilltheindispensablecontrollerinthecontrolsystemon-the-spotofbusline.Synthesized,alongwiththedevelopmentofPLCanditspopularizeinautomationindustrialcontrol,thekindofPLCproductismoreandmoreanduseisalsomoreandmoreextensive,therefore,selectingPLCreasonablyforraisingtheapplicationofPLCincontrolsystemhasimportantrole.II.SelectingmachinemodelThemarketofourcountryhasthepopularPLCproductthathasfollowingfewcompany:1)Schneidercompany,includeearlyTianjininstrumentandmeterplanttransfertheproductofModiconcompany,now,thereistheproductssuchasQuantum,PremiumandMomentum;3)Siemenscompanyproduct,now,thereisS7-400/300/200seriesproducts;4)GEcompanyproduct;5)Japancompany'sproductssuchasOmron,Mitsubishi,FujiandPanasonic,inwhichusedmoreisFXseriesofMitsubishicompany.6thepriceperformanceoptimization.PLCisakindofindustrialcontrolsystem,itscontrolobjectisindustrialproductionequipmentorindustrialproductioncourse,workingenvironmentisindustrialproductionscene.ItsconnectionswithindustrialproductioncourserealizethroughtheI/Ointerfacemodule.PLChasalotofI/Ointerfacemoduleincludingswitchquantityinputmodule、switchquantityexportmodule,simulatedquantityinputmoduleandsimulatedquantityexportmoduleaswellassomespecialmodule,whenusing,weshouldcarryoutoptionaccordingtotheircharacteristic.AccordingtocontrolsystematicrequirementtodetermineI/Onumbersneeded,itshouldincreasethesparequantityof10%-20%,inordertoincreasecontrolfunctionatanytime.TheswitchquantityI/Ointerfacecantakeoversignalfromsensorandswitchandcontrolequipment.TypicalACI/Osignalis24-240V,theDCI/Osignalis5-240V.3)SimulatedquantityI/OThesimulatedquantityI/Ointerfacenormallyperceivesthesignalthatsensorproduces.Theseinterfacescanbeusedtomeasurerateofflow、temperatureandpressure,andusedincontrollingvoltageorcurrentexportequipment.thetypicalspanoftheseinterfacesis-10-+l0V、0-+l0V、4-20mAor10-50mA.SomemanufacturersinPLCdesignspecialsimulatedinterface,thusitcantakeoverlowlevelsignal.Generallyspeaking,thiskindofinterfacemodulecanbeusedtotakeoverthedifferenttypeofthermocoupleorRTDmixsignal.WhenselectingaPLC,usermayfacedsomespecialtypesandcan'tberealizedbystandardI/OasthelimitedpositionI/O,fastinputandfrequencyetc.Rightnow,usershouldforhighlimittoreducecontrolrole,somespecialinterfacemodulesselvescanhandleapartoffielddataandmakeCPUfreefromtheconsumingtaskhandling.5)IntelligentI/OCurrently,PLCmanufacturersprotrudesomeintelligentI/Omodulesinsuccession.GenerallytheintelligentI/Omoduleselfhaswithprocessor,itcanassignedhandlingforinputtingorexportingsignalinadvance,andwillsendresulttoCPUoroutputdirectly,so7ThememoryusedbyPLCsystembasicallyiscomposedfrom3kindsoftypeasPROM,EPROMandRAM,memorycapacitychangeswiththesizeofmachine,normallythebiggeststoreabilityofsmall-sizedmachineislowerthan6KB,thebiggeststoreabilityofmedium-sizedmachinecanreach64KB,thebiggeststoreabilityoflargescalemachinecanreachMB.Whenusingwecanchoosesuitabletypeaccordingtoprogramanddatastorecapacityandcanalsocarryoutmemoryexpanddesignespeciallynecessarily.Inthecourseofsystematicrealizing,theprogrammingproblemofPLCisveryimportant.UsershouldknowassoftwarefunctionofPLCproduct.Usually,asystematicsoftwareisusedinhandlingthecontrolhardwarethatcontrollerhasalways.Butsomeapplicationsystemsneedalsothesoftwarefunctionbesidescontrollinghardwareparts.Aprogramblockiscomposedofexecutablecodeandcomments.Theexecutablecodeconsistsofamainprogramandanysubroutinesorinterruptsroutines.ThecodeiscompiledanddownloadedtotheFX2N;theprogramcommentsarenot.Youcanusetheorganizationalelements(mainprogram,subroutines,andinterruptroutines)tostructureyourcontrolprogram.Themainbodyoftheprogramcontainstheinstructionsthatcontrolyourapplication.TheFX2Nexecutestheseinstructionssequentially,onceperscancycle.Subroutines8program.Subroutinesprovideseveralbenefits:(1)Usingsubroutinesreducestheoverallsizeofyourprogram.(2)Usingsubroutinesdecreasesyourscantimebecauseyouhavemovedthecodeoutofthemainprogram.TheFX2Nevaluatesthecodeinthemainprogrameveryscancycle,whetherthecodeisexecutedornot,buttheFX2Nevaluatesthecodeinthesubroutineonlywhenyoucallthesubroutine,anddoesnotevaluatethecodeduringthescansinwhichthesubroutineisnotcalled.(3)Usingsubroutinescreatescodethatisportable.Youcanisolatethecodeforafunctioninasubroutine,andthencopythatsubroutineintootherprogramswithlittleornorework.Theseoptionalelementsofyourprogramreacttospecificinterruptevents.Youdesignanin
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026福建教师招聘统考三明市沙县区招聘23人笔试模拟试题及答案解析
- 2025-2030中国智能港口制药循环经济行业市场现状供需分析及投资评估规划分析研究报告
- 2025-2030中国智能机器人技术配件行业市场现状供需分析及投资评估规划分析研究报告
- 2025-2030中国智能机器人产业链市场研究及行业前景与投资机会预测报告
- 2025-2026学年第二学期学校期中校园保密工作上级工作专项功能情况报告
- 2026湖北武汉人才服务发展有限公司招聘派往武汉市国企工作备考题库及完整答案详解(夺冠)
- 2026广东云浮市新兴县招募见习岗位人员2人备考题库及完整答案详解【有一套】
- 2026上半年北京事业单位统考市统计局招聘1人备考题库带答案详解(巩固)
- 2026四川新火炬化工有限责任公司招聘13人备考题库【学生专用】附答案详解
- 2026重庆市铜梁区维新镇敬老院招聘1人备考题库附答案详解(夺分金卷)
- 法国现代文学经典知到章节答案智慧树2023年华东师范大学
- 上海大学硕士学位论文模板
- 《圆锥曲线之过定点》实验说课
- 《智慧城市导论》教学大纲
- GB/T 6893-2010铝及铝合金拉(轧)制无缝管
- GB/T 18870-2011节水型产品通用技术条件
- GB/T 13818-1992压铸锌合金
- GB/T 10051.1-2010起重吊钩第1部分:力学性能、起重量、应力及材料
- 铁路货车钩装置-缓冲器
- 打破学习瓶颈,走出高原反应课件
- (完整版)英语四线格(A4打印)
评论
0/150
提交评论