精品中英文外文翻译--PLC和微处理器-定.doc

上传人:b****3 文档编号:2495859 上传时间:2022-10-30 格式:DOC 页数:7 大小:39.51KB
下载 相关 举报
精品中英文外文翻译--PLC和微处理器-定.doc_第1页
第1页 / 共7页
精品中英文外文翻译--PLC和微处理器-定.doc_第2页
第2页 / 共7页
精品中英文外文翻译--PLC和微处理器-定.doc_第3页
第3页 / 共7页
精品中英文外文翻译--PLC和微处理器-定.doc_第4页
第4页 / 共7页
精品中英文外文翻译--PLC和微处理器-定.doc_第5页
第5页 / 共7页
点击查看更多>>
下载资源
资源描述

精品中英文外文翻译--PLC和微处理器-定.doc

《精品中英文外文翻译--PLC和微处理器-定.doc》由会员分享,可在线阅读,更多相关《精品中英文外文翻译--PLC和微处理器-定.doc(7页珍藏版)》请在冰豆网上搜索。

精品中英文外文翻译--PLC和微处理器-定.doc

IntroductionsofPLCandMCU

APLCisadevicethatwasinventedtoreplacethenecessarysequentialrelaycircuitsformachinecontrol.ThePLCworksbylookingatitsinputsanddependingupontheirstate,turningon/offitsoutputs.Theuserentersaprogram,usuallyviasoftwareorprogrammerthatgivesthedesiredresults.

PLCareusedinmany“realworld”applications.Ifthereisindustrypresent,chancesaregoodthatthereisaPLCpresent.Ifyouareinvolvedinmachining,packaging,materialhandling,automatedassemblyorcountlessotherindustries,youareprobablyalreadyusingthem.Ifyouarenot,youarewastingmoneyandtime.AlmostanyapplicationthatneedssometypeofelectricalcontrolhasneedforPLC.

Forexample,let’sassumethatwhenaswitchturnsonwewanttoturnasolenoidonfor5secondsandthenturnitoffregardlessofhowlongtheswitchisonfor.Wecandothiswithasimpleexternaltimer.Whatiftheprocessalsoneededtocounthowmanytimestheswitchindividuallyturnedon?

Weneedalotofexternalcounters.

Asyoucansee,thebiggertheprocessthemoreofaneedwehaveforaPLC.WecansimplyprogramthePLCtocountitsinputsandturnthesolenoidsonforthespecifiedtime.

Wewilltakealookatwhatisconsideredtobethe“top20”PLCinstructions.Itcanbesafelyestimatedthatwithafirmunderstandingofthereinstructionsonecansolvemorethan80%oftheapplicationsinexistence.

That‘sright,morethan80%!

Ofcoursewe’lllearnmorethanjusttheseinstructionstohelpyousolvealmostALLyourpotentialPLCapplications.

ThePLCmainlyconsistsofaCPU,memoryareas,andappropriatecircuitstoreceiveinput/outputdata,asshowninFig.19.1WecanactuallyconsiderthePLCtobeaboxfullofhundredsorthousandsofseparaterelays,counters,timeranddatestoragelocations.Dothesecounters,timers,etc.reallyexist?

No,theydon’t“physically”existbutrathertheyaresimulatedandcanbeconsideredsoftwarecounters,timers,etc.Theseinternalrelaysaresimulatedthroughbitlocationsinregisters.

Whatdoeseachpartdo?

INPUTRELAYS-(contacts)Theseareconnectedtotheoutsideworld.Theyphysicallyexistandreceivesignalsfromswitches,sensors,etc...Typicallytheyarenotrelaysbutrathertheyaretransistors.

INTERNALUTILITYRELAYS-(contacts)Thesedonotreceivesignalsfromtheoutsideworldnordotheyphysicallyexist.TheyaresimulatedrelaysandarewhatenablesaPLCtoeliminateexternalrelays.Therearealsosomespecialrelaysthatarededicatedtoperformingonlyonetask.Somearealwaysonwhilesomearealwaysoff.Someareononlyonceduringpower-onandaretypicallyuserforinitializingdatawhatwasstored.

COUNTERSTheseagaindonotphysicallyexist.Theyaresimulatedcountersandtheycanbeprogrammedtocountpulses.Typicallythesecounterscancountup,downorbothupanddown.Sincetherearesimulated,theyarelimitedintheircountingspeed.Somemanufacturersalsoincludehigh-speedcountersthatarehardwarebased.Wecanthinkoftheseasphysicallyexisting.Mosttimersthesecounterscancountup,downorupanddown.

TIMERSThesealsodonotphysicallyexist.Theycomeinmanyvarietiesandincrements.Themostcommontypeisanon-delaytype.Otherincludeoff-delayandbothretentiveandnon-retentivetypes.Incrementsvaryfrom1msthrough1s.

OUTPUTRELAYS-(coil)Theseareconnectedtotheoutsideworld.Theyphysicallyexistandsendon/offsignalstosolenoids,lights,etc…Theycanbetransistors,relays,ortriacsdependinguponthemodelchosen.

DATASTORAGE-Typicallythereareregistersassignedtosimplystoredata.Thereareusuallyusedastemporarystorageformathordatamanipulation.Theycanalsotypicallybeuserpower-uptheywillstillhavethesamecontentsasbeforepowerwarremoved.Veryconvenientandnecessary!

APLCworksbycontinuallyscanningaprogram.Wecanthinkofthisscancycleasconsistingof3importantsteps,asshowninFig.19.2Therearetypicallymorethan3butwecanfocusontheimportantpartsandnotworryabouttheothers.Typicallytheothersarecheckingthesystemandupdatingthecurrentandtimervalues.

Step1-CHECKINPUTSTATUS-FirstthePLCtakesalookateachinputtodetermineifitisonoroff.Inotherwords,isthesensorconnectedtothefirstinputon?

Howaboutthesecondinput?

Howaboutthethird…Itrecordsthisdataintoitsmemorytobeusedduringthenextstep.

Step2-EXECUTEPROGRAM-NextthePLCexecutesyourprogramoneinstructionatatime.Maybeyourprogramsaidthatifthefirstinputwasonthenitshouldturnonthefirstoutput.Sinceisalreadyknowswhichinputsareon/offfromthepreviousstep,itwillbeabletodecidewhetherthefirstoutputshouldbeturnedonbasedonthestateofthefirstinput.Itwillstoretheexecutionresultsforuselaterduringt

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

当前位置:首页 > 解决方案 > 工作计划

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

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