PLC单片机 外文翻译 外文文献 英文文献 可编程逻辑控制器PLC.docx

上传人:b****5 文档编号:14593352 上传时间:2023-06-24 格式:DOCX 页数:30 大小:135.32KB
下载 相关 举报
PLC单片机 外文翻译 外文文献 英文文献 可编程逻辑控制器PLC.docx_第1页
第1页 / 共30页
PLC单片机 外文翻译 外文文献 英文文献 可编程逻辑控制器PLC.docx_第2页
第2页 / 共30页
PLC单片机 外文翻译 外文文献 英文文献 可编程逻辑控制器PLC.docx_第3页
第3页 / 共30页
PLC单片机 外文翻译 外文文献 英文文献 可编程逻辑控制器PLC.docx_第4页
第4页 / 共30页
PLC单片机 外文翻译 外文文献 英文文献 可编程逻辑控制器PLC.docx_第5页
第5页 / 共30页
PLC单片机 外文翻译 外文文献 英文文献 可编程逻辑控制器PLC.docx_第6页
第6页 / 共30页
PLC单片机 外文翻译 外文文献 英文文献 可编程逻辑控制器PLC.docx_第7页
第7页 / 共30页
PLC单片机 外文翻译 外文文献 英文文献 可编程逻辑控制器PLC.docx_第8页
第8页 / 共30页
PLC单片机 外文翻译 外文文献 英文文献 可编程逻辑控制器PLC.docx_第9页
第9页 / 共30页
PLC单片机 外文翻译 外文文献 英文文献 可编程逻辑控制器PLC.docx_第10页
第10页 / 共30页
PLC单片机 外文翻译 外文文献 英文文献 可编程逻辑控制器PLC.docx_第11页
第11页 / 共30页
PLC单片机 外文翻译 外文文献 英文文献 可编程逻辑控制器PLC.docx_第12页
第12页 / 共30页
PLC单片机 外文翻译 外文文献 英文文献 可编程逻辑控制器PLC.docx_第13页
第13页 / 共30页
PLC单片机 外文翻译 外文文献 英文文献 可编程逻辑控制器PLC.docx_第14页
第14页 / 共30页
PLC单片机 外文翻译 外文文献 英文文献 可编程逻辑控制器PLC.docx_第15页
第15页 / 共30页
PLC单片机 外文翻译 外文文献 英文文献 可编程逻辑控制器PLC.docx_第16页
第16页 / 共30页
PLC单片机 外文翻译 外文文献 英文文献 可编程逻辑控制器PLC.docx_第17页
第17页 / 共30页
PLC单片机 外文翻译 外文文献 英文文献 可编程逻辑控制器PLC.docx_第18页
第18页 / 共30页
PLC单片机 外文翻译 外文文献 英文文献 可编程逻辑控制器PLC.docx_第19页
第19页 / 共30页
PLC单片机 外文翻译 外文文献 英文文献 可编程逻辑控制器PLC.docx_第20页
第20页 / 共30页
亲,该文档总共30页,到这儿已超出免费预览范围,如果喜欢就下载吧!
下载资源
资源描述

PLC单片机 外文翻译 外文文献 英文文献 可编程逻辑控制器PLC.docx

《PLC单片机 外文翻译 外文文献 英文文献 可编程逻辑控制器PLC.docx》由会员分享,可在线阅读,更多相关《PLC单片机 外文翻译 外文文献 英文文献 可编程逻辑控制器PLC.docx(30页珍藏版)》请在冰点文库上搜索。

PLC单片机 外文翻译 外文文献 英文文献 可编程逻辑控制器PLC.docx

PLC单片机外文翻译外文文献英文文献可编程逻辑控制器PLC

ProgrammableLogicControllers(PLC)

1.AboutProgrammableLogicControllers(PLC)

Everyoneknowsthere’sonlyoneconstantinthetechnologyworld,andthat’schange.ThisisespeciallyevidentintheevolutionofProgrammableLogicControllers(PLC)andtheirvariedapplications.Fromtheirintroductionmorethan30yearsago,PLChasbecomethecomerstoneofhundredsofthousandsofcontrolsystemsinawiderangeofindustries.

Atheart,thePLCisanindustrializedcomputerprogrammedwithhighlyspecializedlanguages,anditcontinuestobenefitfromtechnologicaladvancesinthecomputerandinformationtechnologyworlds.Themostprominentofwhichisminiaturizationandcommunications.

ProgrammablelogiccontrollersI/Ochannelspecificationsincludetotalnumberofpoints,numberofinputsandoutputs,abilitytoexpand,andmaximumnumberofchannels. Numberofpointsisthesumoftheinputsandtheoutputs.PLCmaybespecifiedbyanypossiblecombinationofthesevalues. Expandableunitsmaybestackedorlinkedtogethertoincreasetotalcontrolcapacity. Maximumnumberofchannelsreferstothemaximumtotalnumberofinputandoutputchannelsinanexpandedsystem. PLCsystemspecificationstoconsiderincludescantime,numberofinstructions,datamemory,andprogrammemory. ScantimeisthetimerequiredbythePLCtocheckthestatesofitsinputsandoutputs. Instructionsarestandardoperations(suchasmathfunctions)availabletoPLCsoftware. Datamemoryisthecapacityfordatastorage. Programmemoryisthecapacityforcontrolsoftware.

AvailableinputsforprogrammablelogiccontrollersincludeDC,AC,analog,thermocouple,RTD,frequencyorpulse,transistor,andinterruptinputs. OutputsforPLCincludeDC,AC,relay,analog,frequencyorpulse,transistor,triac. ProgrammingoptionsforPLCincludefrontpanel,handheld,andcomputer.

Programmablelogiccontrollersuseavarietyofsoftwareprogramminglanguagesforcontrol. TheseincludeIEC61131-3,sequentialfunctionchart(SFC),functionblockdiagram(FBD),ladderdiagram(LD),structuredtext(ST),instructionlist(IL),relayladderlogic(RLL),flowchart,C,andBasic. TheIEC61131-3programmingenvironmentprovidessupportforfivelanguagesspecifiedbytheglobalstandard:

SequentialFunctionChart,FunctionBlockDiagram,LadderDiagram,StructuredText,andInstructionList.Thisallowsformulti-vendorcompatibilityandmulti-languageprogramming. SFCisagraphicallanguagethatprovidescoordinationofprogramsequences,supportingalternativesequenceselectionsandparallelsequences. FBDusesabroadfunctionlibrarytobuildcomplexproceduresinagraphicalformat.Standardmathandlogicfunctionsmaybecoordinatedwithcustomizablecommunicationandinterfacefunctions. LDisagraphiclanguagefordiscretecontrolandinterlockinglogic.ItiscompletelycompatiblewithFBDfordiscretefunctioncontrol. STisatextlanguageusedforcomplexmathematicalproceduresandcalculationslesswellsuitedtographicallanguages. ILisalow-levellanguagesimilartoassembly.code.Itisusedinrelativelysimplelogicinstructions. RelayLadderLogic(RLL),orladderdiagrams,istheprimaryprogramminglanguageforprogrammablelogiccontrollers(PLC).Ladderlogicprogrammingisagraphicalrepresentationoftheprogramdesignedtolooklikerelaylogic. FlowChartisagraphicallanguagethatdescribessequentialoperationsinacontrollersequenceorapplication.Itisusedtobuildmodular,reusablefunctionlibraries. Cisahighlevelprogramminglanguagesuitedtohandlethemostcomplexcomputation,sequential,anddataloggingtasks.ItistypicallydevelopedanddebuggedonaPC. BASICisahighlevellanguageusedtohandlemathematical,sequential,datacapturingandinterfacefunctions.

Programmablelogiccontrollerscanalsobespecifiedwithanumberofcomputerinterfaceoptions,networkspecificationsandfeatures. PLCpoweroptions,mountingoptionsandenvironmentaloperatingconditionsareallalsoimportanttoconsider.

2.INTRODUCTION

ForsimpleprogrammingtherelaymodelofthePLCissufficient.AsmorecomplexfunctionsareusedthemorecomplexVonNeumanmodelofthePLCmustbeused.AVonNeumancomputerprocessesoneinstructionatatime.Mostcomputersoperatethisway,althoughtheyappeartobedoingmanythingsatonce.ConsiderthecomputercomponentsshowninFigure1.

Figure1SimplifiedPersonalComputerArchitecture

Inputisobtainedfromthekeyboardandmouse,outputissenttothescreen,andthediskandmemoryareusedforbothinputandoutputforstorage.(Note:

thedirectionsofthesearrowsareveryimportanttoengineers,alwayspayattentiontoindicatewhereinformationisflowing.)ThisfigurecanberedrawnasinFigure2toclarifytheroleofinputsandoutputs.

 

Figure2AnInput-OutputOrientedArchitecture

Inthisfigurethedataenterstheleftsidethroughtheinputs.(Note:

mostengineeringdiagramshaveinputsontheleftandoutputsontheright.)IttravelsthroughbufferingcircuitsbeforeitenterstheCPU.TheCPUoutputsdatathroughothercircuits.Memoryanddisksareusedforstorageofdatathatisnotdestinedforoutput.Ifwelookatapersonalcomputerasacontroller,itiscontrollingtheuserbyoutputtingstimulionthescreen,andinputtingresponsesfromthemouseandthekeyboard.

APLCisalsoacomputercontrollingaprocess.Whenfullyintegratedintoanapplicationtheanalogiesbecome;

Inputs-thekeyboardisanalogoustoaproximityswitch.

Input-circuits-theserialinputchipislikea24Vdcinputcard.

Computer-the686CPUislikeaPLCCPUunit.

Output-circuits-agraphicscardislikeatriacoutputcard.

Outputs-amonitorislikealight.

Storage-memoryinPLCissimilartomemoriesinpersonalcomputers.

ItisalsopossibletoimplementaPLCusinganormalPersonalComputer,althoughthisisnotadvisable.InthecaseofaPLCtheinputsandoutputsaredesignedtobemorereliableandruggedforharshproductionenvironments.

3.OPERATIONSEQUENCE

AllPLChavefourbasicstagesofoperationsthatarerepeatedmanytimespersecond.Initiallywhenturnedonthefirsttimeitwillcheckitsownhardwareandsoftwareforfaults.Iftherearenoproblemsitwillcopyalltheinputandcopytheirvaluesintomemory,thisiscalledtheinputscan.Usingonlythememorycopyoftheinputstheladderlogicprogramwillbesolvedonce,thisiscalledthelogicscan.Whilesolvingtheladderlogictheoutputvaluesareonlychangedintemporarymemory.Whentheladderscanisdonetheoutputswillbeupdatedusingthetemporaryvaluesinmemory,thisiscalledtheoutputscan.ThePLCnowrestartstheprocessbystartingaselfcheckforfaults.Thisprocesstypicallyrepeats10to100timespersecondasisshowninFigure3.

Figure3PLCScanCycle

SELFTEST-Checkstoseeifallcardserrorfree,resetwatch-dogtimer,etc.(Awatchdogtimerwillcauseanerror,andshutdownthePLCifnotresetwithinashortperiodoftime-thiswouldindicatethattheladderlogicisnotbeingscannednormally).

INPUTSCAN-Readsinputvaluesfromthechipsintheinputcards,andcopiestheirvaluestomemory.ThismakesthePLCoperationfaster,andavoidscaseswhereaninputchangesfromthestarttotheendoftheprogram(e.g.,anemergencystop).TherearespecialPLCfunctionsthatreadtheinputsdirectly,andavoidtheinputtables.

LOGICSOLVE/SCAN-Basedontheinputtableinmemory,theprogramisexecuted1stepatatime,andoutputsareupdated.Thisisthefocusofthelatersections.

OUTPUTSCAN-Theoutputtableiscopiedfrommemorytotheoutputchips.Thesechipsthendrivetheoutputdevices.

Theinputandoutputscansoftenconfusethebeginner,buttheyareimportant.Theinputscantakesasnapshotoftheinputs,andsolvesthelogic.Thispreventspotentialproblemsthatmightoccurifaninputthatisusedinmultipleplacesintheladderlogicprogramchangedwhilehalfwaythroughaladderscans.Thisproblemcouldhavesevereeffectsoncomplexprogramsthataredevelopedlaterinthebook.Onesideeffectoftheinputscanisthatifachangeininputistooshortinduration,itmightfallbetweeninputscansandbemissed.

WhenthePLCisinitiallyturnedonthenormaloutputswillbeturnedoff.Thisdoesnotaffectthevaluesoftheinputs.

4.TheInputandOutputScans

WhentheinputstothePLCarescannedthephysicalinputvaluesarecopiedintomemory.WhentheoutputstoaPLCarescannedtheyarecopiedfrommemorytothephysicaloutputs.Whentheladderlogicisscanneditusesthevaluesinmemory,nottheactualinputoroutputvalues.Theprimaryreasonfordoingthisissothatifaprogramusesaninputvalueinmultipleplaces,achangeintheinputvaluewillnotinvalidatethelogic.Also,ifoutputbitswerechangedaseachbitwaschanged,insteadofallatonceattheendofthescanthePLCwouldoperatemuchslower.

5.TheLogicScan

Ladderlogicprogramsaremodelledafterrelaylogic.Inrelaylogiceachelementintheladderwillswitchasquicklyaspossible.Butinaprogramelementscanonlybeexaminesoneatatimeinafixedsequence.ConsidertheladderlogicinFigure4,theladderlogicwillbeinterpretedleft-to-right,top-to-bottom.Inthefiguretheladderlogicscanbeginsatthetoprung.Attheendoftherungitinterpretsthetopoutputfirst,thentheoutputbranchedbelowit.Onthesecondrungitsolvesbranches,beforemovingalongtheladderlogicrung.

Figure4LadderLogicExecutionSequence

Italsobecomesimportantwhenconsideringoutputusage.ConsiderFigure5,thefirstlineofladderlogicwillexamineinputA

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

当前位置:首页 > 人文社科 > 法律资料

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2