PLC英文翻译.docx

上传人:b****3 文档编号:27355222 上传时间:2023-06-29 格式:DOCX 页数:19 大小:122.60KB
下载 相关 举报
PLC英文翻译.docx_第1页
第1页 / 共19页
PLC英文翻译.docx_第2页
第2页 / 共19页
PLC英文翻译.docx_第3页
第3页 / 共19页
PLC英文翻译.docx_第4页
第4页 / 共19页
PLC英文翻译.docx_第5页
第5页 / 共19页
点击查看更多>>
下载资源
资源描述

PLC英文翻译.docx

《PLC英文翻译.docx》由会员分享,可在线阅读,更多相关《PLC英文翻译.docx(19页珍藏版)》请在冰豆网上搜索。

PLC英文翻译.docx

PLC英文翻译

ProgrammableLogicControllers(PLCs)

1。

AboutProgrammableLogicControllers(PLCs)

PLCs(programmablelogiccontrollers)arethecontrolhubsforawidevarietyofautomatedsystemsandprocesses.Theycontainmultipleinputsandoutputsthatusetransistorsandothercircuitrytosimulateswitchesandrelaystocontrolequipment.Theyareprogrammableviasoftwareinterfacedviastandardcomputerinterfacesandproprietarylanguagesandnetworkoptions.

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

AvailableinputsforprogrammablelogiccontrollersincludeDC,AC,analog,thermocouple,RTD,frequencyorpulse,transistor,andinterruptinputs. OutputsforPLCsincludeDC,AC,relay,analog,frequencyorpulse,transistor,andtriac. ProgrammingoptionsforPLCsincludefrontpanel,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(PLCs).Ladderlogicprogrammingisagraphicalrepresentationoftheprogramdesignedtolooklikerelaylogic. FlowChartisagraphicallanguagethatdescribessequentialoperationsinacontrollersequenceorapplication.Itisusedtobuildmodular,reusablefunctionlibraries. Cisahighlevelprogramminglanguagesuitedtohandlethemostcomplexcomputation,sequential,anddataloggingtasks.ItistypicallydevelopedanddebuggedonaPC. BASICisahighlevellanguageusedtohandlemathematical,sequential,datacapturingandinterfacefunctions.

Programmablelogiccontrollerscanalsobespecifiedwithanumberofcomputerinterfaceoptions,networkspecificationsandfeatures. PLCpoweroptions,mountingoptionsandenvironmentaloperatingconditionsareallalsoimportanttoconsider.

2。

INTRODUCTION

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

Figure11SimplifiedPersonalComputerArchitecture

 

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-memoryinPLCsissimilartomemoriesinpersonalcomputers

ItisalsopossibletoimplementaPLCusinganormalPersonalComputer,althoughthisisnotadvisable.InthecaseofaPLCtheinputsandoutputsaredesignedtobemorereliableandruggedforharshproductionenvironments.

 

3。

OPERATIONSEQUENCE

AllPLCshavefourbasicstagesofoperationsthatarerepeatedmanytimespersecond.Initiallywhenturnedonthefirsttimeitwillcheckit’sownhardwareandsoftwareforfaults.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.Thispreventspotentialproblemsthatmightoccurifaninputthatisusedinmultipleplacesintheladderlogicprogramchangedwhilehalfwaythroughaladderscan.Thuschangingthebehaviorsofhalfoftheladderlogicprogram.Thisproblemcouldhavesevereeffectsoncomplexprogramsthataredevelopedlaterinthebook.Onesideeffectoftheinputscanisthatifachangeininputistooshortinduration,itmightfallbetweeninputscansandbemissed.

WhenthePLCisinitiallyturnedonthenormaloutputswillbeturnedoff.Thisdoesnotaffectthevaluesoftheinputs.

3。

1TheInputandOutputScans

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

3。

2TheLogicScan

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

 

Figure4LadderLogicExecutionSequence

 

Thelogicscansequencebecomeimportantwhensolvingladderlogicprogramswhichuseoutputsasinputs.Italsobecomesimportantwhenconsideringoutputusage.ConsiderFigure5,thefirstlineofladderlogicwillexamineinputAandsetoutputXtohavethesamevalue.Thesecondlinewill

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

当前位置:首页 > 高中教育 > 理化生

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

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