毕业设计工科英文资料翻译.docx
- 文档编号:29128427
- 上传时间:2023-07-20
- 格式:DOCX
- 页数:14
- 大小:258.89KB
毕业设计工科英文资料翻译.docx
《毕业设计工科英文资料翻译.docx》由会员分享,可在线阅读,更多相关《毕业设计工科英文资料翻译.docx(14页珍藏版)》请在冰豆网上搜索。
毕业设计工科英文资料翻译
AutomatingManufacturingSystemswithPLCs
Controlengineeringhasevolvedovertime.Inthepasthumanswerethemainmethodforcontrollingasystem.Morerecentlyelectricityhasbeenusedforcontrolandearlyelectricalcontrolwasbasedonrelays.Theserelaysallowpowertobeswitchedonandoffwithoutamechanicalswitch.Itiscommontouserelaystomakesimplelogicalcontroldecisions.Thedevelopmentoflowcostcomputerhasbroughtthemostrecentrevolution,theProgrammableLogicController(PLC).TheadventofthePLCbeganinthe1970s,andhasbecomethemostcommonchoiceformanufacturingcontrols.PLCshavebeengainingpopularityonthefactoryfloorandwillprobablyremainpredominantforsometimetocome.Mostofthisisbecauseoftheadvantagestheyoffer.
1.1Ladderlogic
LadderlogicisthemainprogrammingmethodusedforPLCs.Asmentionedbefore,ladderlogichasbeendevelopedtomimicrelaylogic.logicdiagramswasastrategicone.Byselectingladderlogicasthemainprogrammingmethod,theamountofretrainingneededforengineersandtradespeoplewasgreatlyreduced.
Moderncontrolsystemsstillincluderelays,butthesearerarelyusedforlogic.Arelayisasimpledevicethatusesamagneticfieldtocontrolaswitch,aspicturedinFigure1.1.Whenavoltageisappliedtotheinputcoil,theresultingcurrentcreatesamagneticfield.Themagneticfieldpullsametalswitch(orreed)towardsitandthecontactstouch,closingtheswitch.
Figure1.1SimpleRelayLayoutsandSchematics
Relaysareusedtoletonepowersourcecloseaswitchforanother(oftenhighcurrent)powersource,whilekeepingthemisolated.AnexampleofarelayinasimplecontrolapplicationisshowninFigure1.2.Inthissystemthefirstrelayontheleftisusedasnormallyclosed,andwillallowcurrenttoflowuntilavoltageisappliedtotheinputA.ThesecondrelayisnormallyopenandwillnotallowcurrenttoflowuntilavoltageisappliedtotheinputB.Ifcurrentisflowingthroughthefirsttworelaysthencurrentwillflowthroughthecoilinthethirdrelay,andclosetheswitchforoutputC.Thiscircuitwouldnormallybedrawnintheladderlogicform.ThiscanbereadlogicallyasCwillbeonifAisoffandBison.
Figure1.2ASimpleRelayController
TheexampleinFigure1.2doesnotshowtheentirecontrolsystem,butonlythelogic.WhenweconsideraPLCthereareinputs,outputs,andthelogic.Figure1.3showsamorecompleterepresentationofthePLC.Heretherearetwoinputsfrompushbuttons.Wecanimaginetheinputsasactivating24VDCrelaycoilsinthePLC.Thisinturndrivesanoutputrelaythatswitches115VAC,thatwillturnonalight.Note,inactualPLCsinputsareneverrelays,butoutputsareoftenrelays.TheladderlogicinthePLCisactuallyacomputerprogramthattheusercanenterandchange.Noticethatbothoftheinputpushbuttonsarenormallyopen,buttheladderlogicinsidethePLChasonenormallyopencontact,andonenormallyclosedcontact.DonotthinkthattheladderlogicinthePLCneedsomatchtheinputsoroutputs.Manybeginnerswillgetcaughttryingtomaketheladderlogicmatchtheinputtypes.
Figure1.3APLCIllustratedWithRelays
Manyrelaysalsohavemultipleoutputs(throws)andthisallowsanoutputrelaytoalsobeaninputsimultaneously.ThecircuitshowninFigure1.4isanexampleofthis,itiscalledasealincircuit.Inthiscircuitthecurrentcanflowthrougheitherbranchofthecircuit,throughthecontactslabelledAorB.TheinputBwillonlybeonwhentheoutputBison.IfBisoff,andAisenergized,thenBwillturnon.IfBturnsonthentheinputBwillturnon,andkeepoutputBonevenifinputAgoesoff.AfterBisturnedontheoutputBwillnotturnoff.
Figure1.4ASeal-inCircuit
1.2Programming
ThefirstPLCswereprogrammedwithatechniquethatwasbasedonrelaylogicwiringschematics.Thiseliminatedtheneedtoteachtheelectricians,techniciansandengineershowtoprogramacomputer-but,thismethodhasstuckanditisthemostcommontechniqueforprogrammingPLCstoday.AnexampleofladderlogiccanbeseeninFigure1.5.Tointerpretthisdiagramimaginethatthepowerisontheverticallineonthelefthandside,wecallthisthehotrail.Ontherighthandsideistheneutralrail.Inthefiguretherearetworungs,andoneachrungtherearecombinationsofinputs(twoverticallines)andoutputs(circles).Iftheinputsareopenedorclosedintherightcombinationthepowercanflowfromthehotrail,throughtheinputs,topowertheoutputs,andfinallytotheneutralrail.Aninputcancomefromasensor,switch,oranyothertypeofsensor.AnoutputwillbesomedeviceoutsidethePLCthatisswitchedonoroff,suchaslightsormotors.Inthetoprungthecontactsarenormallyopenandnormallyclosed.WhichmeansifinputAisonandinputBisoff,thenpowerwillflowthroughtheoutputandactivateit.AnyothercombinationofinputvalueswillresultintheoutputXbeingoff.
Figure1.5ASimpleLadderLogicDiagram
ThesecondrungofFigure1.5ismorecomplex,thereareactuallymultiplecombinationsofinputsthatwillresultintheoutputYturningon.Ontheleftmostpartoftherung,powercouldflowthroughthetopifCisoffandDison.Powercouldalso(andsimultaneously)flowthroughthebottomifbothEandFaretrue.Thiswouldgetpowerhalfwayacrosstherung,andthenifGorHistruethepowerwillbedeliveredtooutputY.Inlaterchapterswewillexaminehowtointerpretandconstructthesediagrams.
ThereareothermethodsforprogrammingPLCs.Oneoftheearliesttechniquesinvolvedmnemonicinstructions.TheseinstructionscanbederiveddirectlyfromtheladderlogicdiagramsandenteredintothePLCthroughasimpleprogrammingterminal.AnexampleofmnemonicsisshowninFigure1.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.
Figure1.6AnExampleofaMnemonicProgramandEquivalentLadderLogic
TheladderlogicprograminFigure1.6,isequivalenttothemnemonicprogram.EvenifyouhaveprogrammedaPLCwithladderlogic,itwillbeconvertedtomnemonicformbeforebeingusedbythePLC.Inthepastmnemonicprogrammingwasthemostcommon,butnowitisuncommonforuserstoevenseemnemonicprograms.
SequentialFunctionCharts(SFCs)havebeendevelopedtoaccommodatetheprogrammingofmoreadvancedsystems.Thesearesimilartoflowcharts,butmuchmorepowerful.TheexampleseeninFigure1.7isdoingtwodifferentthings.Toreadthechart,startatthetopwhereissaysstart.Belowthisthereisthedoublehorizontallinethatsaysfollowbothpaths.AsaresultthePLCwillstarttofollowthebranchontheleftandrighthandsidesseparatelyandsimultaneously.Onthelefttherearetwofunctionsthefirstoneisthepowerupfunction.Thisfunctionwillrununtilitdecidesitisdone,andthepowerdownfunctionwillcomeafter.Ontherighthandsideistheflashfunction,thiswillrununtilitisdone.Thesefunctionslookunexplained,buteachfunction,suchaspowerupwillbeasmallladderlogicprogram.Thismethodismuchdifferentfromflowchartsbecauseitdoesnothavetofollowasinglepaththroughtheflowchart..
Figure1.7AnExampleofaSequentialFunctionChar
StructuredTextprogramminghasbeendevelopedasamoremodernprogramminglanguage.ItisquitesimilartolanguagessuchasBASIC.AsimpleexampleisshowninFigure1.8.ThisexampleusesaPLCmemorylocationi.Thismemorylocationisforaninteger,aswillbeexplainedlaterinthebook.Thefirstlineoftheprogramsetsthevalueto0.Thenextlinebeginsaloop,andwillbewheretheloopreturnsto.Thenextlinerecallsthevalueinlocationi,adds1toitandreturnsittothesamelocation.Thenextlinecheckstoseeiftheloopshouldquit.Ifiisgreaterthanorequalto10,thentheloopwillquit,otherwisethecomputerwillgobackuptotheREPEATstatementcontinuefromthere.Eachtimetheprogramgoesthroughthisloopiwillincreaseby1untilthevaluereaches10.
Figure1.8AnExampleofaStructuredTextProgram
2.1PLCConnections
WhenaprocessiscontrolledbyaPLCitusesinputsfromsensorstomakedecisionsandupdateoutputstodriveactuators,asshowninFigure2.1.Theprocessisarealprocessthatwillchangeovertime.Actuatorswilldrivethe
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 毕业设计 工科 英文 资料 翻译