机械工程毕业设计外文翻译自动化制造系统与PLCWord文档下载推荐.docx

上传人:b****7 文档编号:22840070 上传时间:2023-02-05 格式:DOCX 页数:29 大小:270.08KB
下载 相关 举报
机械工程毕业设计外文翻译自动化制造系统与PLCWord文档下载推荐.docx_第1页
第1页 / 共29页
机械工程毕业设计外文翻译自动化制造系统与PLCWord文档下载推荐.docx_第2页
第2页 / 共29页
机械工程毕业设计外文翻译自动化制造系统与PLCWord文档下载推荐.docx_第3页
第3页 / 共29页
机械工程毕业设计外文翻译自动化制造系统与PLCWord文档下载推荐.docx_第4页
第4页 / 共29页
机械工程毕业设计外文翻译自动化制造系统与PLCWord文档下载推荐.docx_第5页
第5页 / 共29页
点击查看更多>>
下载资源
资源描述

机械工程毕业设计外文翻译自动化制造系统与PLCWord文档下载推荐.docx

《机械工程毕业设计外文翻译自动化制造系统与PLCWord文档下载推荐.docx》由会员分享,可在线阅读,更多相关《机械工程毕业设计外文翻译自动化制造系统与PLCWord文档下载推荐.docx(29页珍藏版)》请在冰豆网上搜索。

机械工程毕业设计外文翻译自动化制造系统与PLCWord文档下载推荐.docx

2.1INTRODUCTION

Controlengineeringhasevolvedovertime.Inthepasthumanswerethemainmethodforcontrollingasystem.Morerecentlyelectricityhasbeenusedforcontrolandearlyelectricalcontrolwasbasedonrelays.Theserelaysallowpowertobeswitchedonandoffwithoutamechanicalswitch.Itiscommontouserelaystomakesimplelogicalcontroldecisions.Thedevelopmentoflowcostcomputerhasbroughtthemostrecentrevolution,theProgrammableLogicController(PLC).TheadventofthePLCbeganinthe1970s,andhasbecomethemostcommonchoiceformanufacturingcontrols.

PLCshavebeengainingpopularityonthefactoryfloorandwillprobablyremainpredominantforsometimetocome.Mostofthisisbecauseoftheadvantagestheyoffer.

•Costeffectiveforcontrollingcomplexsystems.

•Flexibleandcanbereappliedtocontrolothersystemsquicklyandeasily.

•Computationalabilitiesallowmoresophisticatedcontrol.

•Troubleshootingaidsmakeprogrammingeasierandreducedowntime.

•Reliablecomponentsmaketheselikelytooperateforyearsbeforefailure.

2.1.1Ladderlogic

LadderlogicisthemainprogrammingmethodusedforPLCs.Asmentionedbefore,ladderlogichasbeendevelopedtomimicrelaylogic.logicdiagramswasastrategicone.Byselectingladderlogicasthemainprogrammingmethod,theamountofretrainingneededforengineersandtradespeoplewasgreatlyreduced.

Moderncontrolsystemsstillincluderelays,butthesearerarelyusedforlogic.Arelayisasimpledevicethatusesamagneticfieldtocontrolaswitch,aspicturedinFigure2.1.Whenavoltageisappliedtotheinputcoil,theresultingcurrentcreatesamagneticfield.Themagneticfieldpullsametalswitch(orreed)towardsitandthecontactstouch,closingtheswitch.Thecontactthatcloseswhenthecoilisenergizediscallednormallyopen.Thenormallyclosedcontactstouchwhentheinputcoilisnotenergized.Relaysarenormallydrawninschematicformusingacircletorepresenttheinputcoil.Theoutputcontactsareshownwithtwoparallellines.Normallyopencontactsareshownastwolines,andwillbeopen(non-conducting)whentheinputisnotenergized.Normallyclosedcontactsareshownwithtwolineswithadiagonallinethroughthem.Whentheinputcoilisnotenergizedthenormallyclosedcontactswillbeclosed(conducting).

Figure2.1SimpleRelayLayoutsandSchematics

Relaysareusedtoletonepowersourcecloseaswitchforanother(oftenhighcurrent)powersource,whilekeepingthemisolated.AnexampleofarelayinasimplecontrolapplicationisshowninFigure2.2.Inthissystemthefirstrelayontheleftisusedasnormallyclosed,andwillallowcurrenttoflowuntilavoltageisappliedtotheinputA.ThesecondrelayisnormallyopenandwillnotallowcurrenttoflowuntilavoltageisappliedtotheinputB.Ifcurrentisflowingthroughthefirsttworelaysthencurrentwillflowthroughthecoilinthethirdrelay,andclosetheswitchforoutputC.Thiscircuitwouldnormallybedrawnintheladderlogicform.ThiscanbereadlogicallyasCwillbeonifAisoffandBison.

Figure2.2ASimpleRelayController

TheexampleinFigure2.2doesnotshowtheentirecontrolsystem,butonlythelogic.WhenweconsideraPLCthereareinputs,outputs,andthelogic.Figure2.3showsamorecompleterepresentationofthePLC.Heretherearetwoinputsfrompushbuttons.Wecanimaginetheinputsasactivating24VDCrelaycoilsinthePLC.Thisinturndrivesanoutputrelaythatswitches115VAC,thatwillturnonalight.Note,inactualPLCsinputsareneverrelays,butoutputsareoftenrelays.TheladderlogicinthePLCisactuallyacomputerprogramthattheusercanenterandchange.Noticethatbothoftheinputpushbuttonsarenormallyopen,buttheladderlogicinsidethePLChasonenormallyopencontact,andonenormallyclosedcontact.DonotthinkthattheladderlogicinthePLCneedsomatchtheinputsoroutputs.Manybeginnerswillgetcaughttryingtomaketheladderlogicmatchtheinputtypes.

Figure2.3APLCIllustratedWithRelays

Manyrelaysalsohavemultipleoutputs(throws)andthisallowsanoutputrelaytoalsobeaninputsimultaneously.ThecircuitshowninFigure1.4isanexampleofthis,itiscalledasealincircuit.Inthiscircuitthecurrentcanflowthrougheitherbranchofthecircuit,throughthecontactslabelledAorB.TheinputBwillonlybeonwhentheoutputBison.IfBisoff,andAisenergized,thenBwillturnon.IfBturnsonthentheinputBwillturnon,andkeepoutputBonevenifinputAgoesoff.AfterBisturnedontheoutputBwillnotturnoff.

Figure2.4ASeal-inCircuit

2.1.2Programming

ThefirstPLCswereprogrammedwithatechniquethatwasbasedonrelaylogicwiringschematics.Thiseliminatedtheneedtoteachtheelectricians,techniciansandengineershowtoprogramacomputer-but,thismethodhasstuckanditisthemostcommontechniqueforprogrammingPLCstoday.AnexampleofladderlogiccanbeseeninFigure2.5.Tointerpretthisdiagramimaginethatthepowerisontheverticallineonthelefthandside,wecallthisthehotrail.Ontherighthandsideistheneutralrail.Inthefiguretherearetworungs,andoneachrungtherearecombinationsofinputs(twoverticallines)andoutputs(circles).Iftheinputsareopenedorclosedintherightcombinationthepowercanflowfromthehotrail,throughtheinputs,topowertheoutputs,andfinallytotheneutralrail.Aninputcancomefromasensor,switch,oranyothertypeofsensor.AnoutputwillbesomedeviceoutsidethePLCthatisswitchedonoroff,suchaslightsormotors.Inthetoprungthecontactsarenormallyopenandnormallyclosed.WhichmeansifinputAisonandinputBisoff,thenpowerwillflowthroughtheoutputandactivateit.AnyothercombinationofinputvalueswillresultintheoutputXbeingoff.

Figure2.5ASimpleLadderLogicDiagram

ThesecondrungofFigure2.5ismorecomplex,thereareactuallymultiplecombinationsofinputsthatwillresultintheoutputYturningon.Ontheleftmostpartoftherung,powercouldflowthroughthetopifCisoffandDison.Powercouldalso(andsimultaneously)flowthroughthebottomifbothEandFaretrue.Thiswouldgetpowerhalfwayacrosstherung,andthenifGorHistruethepowerwillbedeliveredtooutputY.Inlaterchapterswewillexaminehowtointerpretandconstructthesediagrams.

ThereareothermethodsforprogrammingPLCs.Oneoftheearliesttechniquesinvolvedmnemonicinstructions.TheseinstructionscanbederiveddirectlyfromtheladderlogicdiagramsandenteredintothePLCthroughasimpleprogrammingterminal.AnexampleofmnemonicsisshowninFigure2.6.Inthisexampletheinstructionsarereadonelineatatimefromtoptobottom.Thefirstline00000hastheinstructionLDN(inputloadandnot)forinputA..ThiswillexaminetheinputtothePLCandifitisoffitwillremembera1(ortrue),ifitisonitwillremembera0(orfalse).ThenextlineusesanLD(inputload)statementtolookattheinput.Iftheinputisoffitremembersa0,iftheinputisonitremembersa1(note:

thisisthereverseoftheLD).TheANDstatementrecallsthelasttwonumbersrememberedandifthearebothtruetheresultisa1,otherwisetheresultisa0.Thisresultnowreplacesthetwonumbersthatwererecalled,andthereisonlyonenumberremembered.Theprocessisrepeatedforlines00003and00004,butwhenthesearedonetherearenowthreenumbersremembered.TheoldestnumberisfromtheAND,thenewernumbersarefromthetwoLDinstructions.TheANDinline00005combinestheresultsfromthelastLDinstructionsandnowtherearetwonumbersremembered.TheORinstructiontakesthetwonumbersnowremainingandifeitheroneisa1theresultisa1,otherwisetheresultisa0.Thisresultreplacesthetwonumbers,andthereisnowasinglenumberthere.ThelastinstructionistheST(storeoutput)thatwilllookatthelastvaluestoredandifitis1,theoutputwillbeturnedon,ifitis0theoutputwillbeturnedoff.

Figure2.6AnExampleofaMnemonicProgramandEquivalentLadderLogic

TheladderlogicprograminFigure2.6,isequivalenttothemnemonicprogram.EvenifyouhaveprogrammedaPLCwithladderlogic,itwillbeconvertedtomnemonicformbeforebeingusedbythePLC.Inthepastmnemonicprogrammingwasthemostcommon,butnowitisuncommonforuserstoevenseemnemonicprograms.

SequentialFunctionCharts(SFCs)havebeendevelopedtoaccommodatetheprogrammingofmoreadvancedsystems.Thesearesimilartoflowcharts,butmuchmorepowerful.TheexampleseeninFigure2.7isdoingtwodifferentthings.Toreadthechart,startatthetopwhereissaysstart.Belowthisthereisthedoublehorizontallinethatsaysfollowbothpaths.AsaresultthePLCwillstarttofollowthebranchontheleftandrighthandsidesseparatelyandsimultaneously.Onthelefttherearetwofunctionsthefirstoneisthepowerupfunction.Thisfunctionwillrununtilitdecidesitisdone,andthepowerdownfunctionwillcomeafter.Ontherighthandsideistheflashfunction,thiswillrununtilitisdone.Thesefunctionslookunexplained,buteachfunction,suchaspowerupwillbeasmallladderlogicprogram.Thismethodismuchdifferentfromflowchartsbecauseitdoesnothavetofollowasinglepaththroughtheflowchart..

Figure2.7AnExampleofaSequentialFunctionChar

StructuredTextprogramminghasbeendevelopedasamoremodernprogramminglanguage.ItisquitesimilartolanguagessuchasBASIC.AsimpleexampleisshowninFigure2.8

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 经管营销 > 企业管理

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1