可编程控制器应用中英文对照外文翻译文献.docx

上传人:b****7 文档编号:10763654 上传时间:2023-02-22 格式:DOCX 页数:10 大小:23.15KB
下载 相关 举报
可编程控制器应用中英文对照外文翻译文献.docx_第1页
第1页 / 共10页
可编程控制器应用中英文对照外文翻译文献.docx_第2页
第2页 / 共10页
可编程控制器应用中英文对照外文翻译文献.docx_第3页
第3页 / 共10页
可编程控制器应用中英文对照外文翻译文献.docx_第4页
第4页 / 共10页
可编程控制器应用中英文对照外文翻译文献.docx_第5页
第5页 / 共10页
点击查看更多>>
下载资源
资源描述

可编程控制器应用中英文对照外文翻译文献.docx

《可编程控制器应用中英文对照外文翻译文献.docx》由会员分享,可在线阅读,更多相关《可编程控制器应用中英文对照外文翻译文献.docx(10页珍藏版)》请在冰豆网上搜索。

可编程控制器应用中英文对照外文翻译文献.docx

可编程控制器应用中英文对照外文翻译文献

中英文对照外文翻译

 

Supportsoftwareforthedevelopmentofprogrammablelogic

1、Introduction

ProgrammableLogicControllers(PLC)classofreal-timecomputersusedextensivelyinindustrialcontrolapplications.ThedevelopmentofaPLCapplicationrequirestheconfigurationoftheinputsandoutputsofthePLCarchitecture,thatistheselectionofthenumber,typeandaddressesoftheinputsandoutputsofthePLC,andthewritinganddebuggingoftheapplicationprogram.Programmingthesecomputersisusuallydoneinspecificgraphicalstructuredtextlanguages[Bekkum93,Hughes89,Jones83]andtheprogramdebuggingiscarriedoutinadevelopmentenvironment.Mostoftheavailableenvironments[SquareD90,Taylor90]allowprogramwritinginmorethanonelanguage,runningitbysteporinsegmentsontheactualPLCandcheckingwhethertheassumedlogicalrelationshipsbetweentheinputsandtheoutputsateachprogramsteporsegmentaresatisfied.Iaddition,theseenvironmentsofferengineeringsupport,suchasthepreparationofinput/outputwiringdiagramsandthegenerationoftheexecutablecodeoftheprogram.RecentversionsofcommerciallyavailableenvironmentsaresuppliedwithasoftwareemulatorofoneormorePLCunits.Thisallowstoperformprogramdebuggingwithouthavingaccesstotheprogrammablecontrolleritself.Also,theuseofemulatorsmakeseasierandeconomicallyaffordablethesimulationofalargenumberofprogramoperatingconditions.Bymakingsurethattheprogramoperatescorrectyunderallthecriticaloperatingconditions,theriskofimplementingaPLC-basedsystemthatdoesnotmeetthedesiredrequirementsisreduced.However,theultimategoalofadevelopmentenvironmentshouldbetoverifythefunctionalpropertiesandbehavioroftheprogramsinallthepossiblestatesthatthesprogramsandtheplantstheymayenter.

Intheliterature,variouslanguagesandgraphicalormathematicalformalismsareproposedforwritingorspecifyingreal-timeprograms.Thetimingand/orfunctionalperformanceoftheseprogramscanbeverifiedatcompiletimeormathematically.ADA[Ada83],RT-ASLAN[Auemheimer86],EUCLID[Kligerman86],PEARL[Halang91],FLEX[Lin88]aresomeoftheproposedandmostwidelyknownlanguages.Theirgraphicalormathematicalformalismsarebasedontheuseoffinitestateautomata[Alford77],Petri-Nets[Fedler93],dataflowdiagrams[Zave82]andmetrictemporallogic[Koymans90].Althoughalltheseformalmethodsandlanguagesrepresentsignificantadvancestotheproblemofreal-timeprogramverification,stilltheyhavenotreachedthematurityrequiredtodealwiththecomplexitiesoflargesoftwaresystems.Untilthesemethodsreachacertainlevelofmaturitywemustrelyonlessformalmethods,tunedtotheneedsofspecificclassesofreal-timesystems.

InthecaseofPLC,wemaycontinuetousesimulationasamethodtoreveallogicalerrorsinourprogramsandassesstheirbehaviorunderanincompletesetofpossibleprogramstates.Inaddition,wemayincludenewfacilitiesintheprogramdevelopmentenvironments,theuseofwhichwillreducetheprogrammingandengineeringeffortofanapplication.TheymaybeeditingandcompilationfacilitieswhichsupportapplicationprogramminginallthelanguagesdefinedintheIEC1131-3standard.Byusingtheselanguagesourprogrammingefficiencywillbeimprovedsignificantly,becauseeachoneofthemcanbeusedtoprogramthepartoftheapplicationforwhichitisappropriate,andyetthewholeapplicationcanbelinkedintoasingleexecutableprogram.Otherfacilitieswhichcanreduceengineeringeffortarethosewhichcanmakeeasierandmoremeaningfulthedeclarationoftheprograminputconditions.Thesefacilitieswillallowustostudyinagiventimingperiod,alargernumberofsimulationcasesthantheoneswemighthavestudiedwithoutthesefacilities.Furthermore,wemayexpandthescopeofthesimulationbyincludingasimulatoroftheplantwhichinteractswiththecomputer.Also,facilitiescanbeaddedtoassistinthebetterinterpretationofthegeneratedsimulationresults.Suchfacilitiesmayallowustoconfigurethedisplaysofthegenerateddatathewaywethinkappropriate,andanimatethesimulatedoperationoftheapplicationprogram.

Inthispaperanarchitectureandlanguageconstructsareproposedforasoftwareaidwhich~anbeusedtodeclareinputconditionstoaPLCprogram,emulatethePLCoperationandconfigurethedisplayoftheemulationresults.Thecoreofthearchitectureisthevirtualmachine,whichisasoftwaremodulewhichemulatestheoperationofaprogramwrittenforaspecificPLCinanyapplicationprogramminglanguage.Thevirtualmachineislinkedwithexecutablecodegeneratedfromtwoothersoftwaremoduleswhichinterpretinstructionsdefiningtheinputconditionstotheapplicationprogramandtheconfigurationoftheoutputdisplay.Ofcourse,theproposedfacilitiesdonotsolvetheproblemofthecompleteverificationofthetimingbehaviorofanapplicationprogram.However,whentheyarecomparedwiththefacilitiesofferedbyvariouscommerciallyavailableaids,toouropiniontheydosignificantlyreducethetimetakentotesttheexecutionofaPLCprogramunderalargenumberofpossibleinputconditions,ondifferentarchitecturesandinterprettheresults.AscaleddownexperimentalimplementationoffacilitiesforaspecificPLCmodelisusedtodemonstratethefeasibilityoftheproposedconcepts.Theoperationoftheexperimentalset-uphasbeenvalidatedwithdatatakenfromtheexecutionofsampleprogramonaspecificPLC.

1、PrinciplesofPLCOperation.

TheProgrammableLogicControllerisaspecialpurposedigitalcomputerdesignedtocontrolmachineorprocessoperationsbymeansofastoredprogramandfeedbackfrominput/outputfielddevices.Itiscomposedprimarilyoftwobasicsections:

theCentralProcessingUnit(PLC)andanInput/Output(I/O)interface.TheCPUencompassesallthenecessaryelementsthatformtheintelligenceofthesystem.ItisfurthersubdividedtotheProcessor,MemoryandPowersupply.TheCPUacceptsinputdatafromvariousinputfielddevices,executesthestoredprogramfromthememory,andsendsappropriatecommandstooutputfielddevices.TheInput/Outputsystemformstheinterfacebywhichthefielddevicesareconnectedtothecontroller.Itspurposeistoconditionthevarioussignalsreceivedfromorsenttofielddevices.ThroughthissystemtheCPUcansenseandmeasurephysicalquantitiesregardingamachineorprocess,suchasproximity,position,motion,leveltemperature,pressure,currentandvoltage.Basedonthestatussensedorvaluesmeasured,theCPU,throughthisinterfacesystem,issuescommandsthatcontrolvariousdevicessuchasvalves,motors,pumpsandalarms.ThemostcommontypeofI/Ointerfaceisthediscreteone.Thisinterfaceconnectsfieldinputoroutputdevices,whichprovideinputsignalsorreceivecommandsignalsoftheBooleantype.

Pushbuttons,limitswitchesandselectorswitchesaresomeofthedevicesthatprovideincomingsignalsofthistype,,whereastypicalfielddevicesthatcanbeandpositionvalves.ThenumericalI/Ointerfaceisanothertypeofinterface,providedinaPLCsystem.Itcanallowreadingorwritingamulti-bitdigitaloranalogdevice.Multi-bitdeviceseithergenerateorreceiveagroupofbitswhichisthedigitalrepresentationofadecimalnumberorananaloguequantity.ThisgroupofbitsishandledasaunitbytheCPUandcanbeinparallelform(BCDinputsoroutputs)orinserialform(pulseinputsoroutputs).Typicalfielddevicesprovidingmulti-bitinputtoaPLCarethumbwheelswitches,barcodereadersandencoders,whereastypicaloutputdevicesareseven-segmentandintelligentdisplays.Theanaloguefielddevicesarethevarioussensors,motordrives,andprocessinstrumentsusedtomonitoraridcontrolphysicalvariablessuchastemperature,pressure,humidity,flow,etc.ThedeviceswhichmonitorphysicalvariablessendtotheI/OinterfaceanaloguevoltagesandcurrentswhichareconvertedbytheA/Dconverteroftheinterfacetoamulti-bitdigitalcode.Ontheotherhand,ananaloguedeviceusedtocontrolthevalueofaphysicalvariable,receivesfromtheinterfaceananaloguevoltageorcurrentasaresultofthedigitaltoanalogueconversionofdataproducedbytheCPU.

TheprocessoroftheCPUperformsallthemathematicaloperations,datahandlinganddiagnosticroutinesbyexecutingacollection,storedinthememory.Thiscollectionconsistsofsupervisoryprograms,thatarepermanentlystoredinthememory,andapplicationprograms.Thesupervisoryprograms,knownastheexecutive,allowcommunicationwiththeprocessorviaaprogrammingdeviceorotherperipheralmemorymanagement,monitoringoffielddevices,hardwarefaultdiagnosisandexecutionoftheapplicationprogramwrittenbytheuser.ThememoryorganizationandthewaytheapplicationprogramisexecutedunderthecontroloftheexecutivearetwofeatureswhichdistinguishaPLCfromanyothergeneralpurposecomputer.Ingeneral,allPLChavememoryallocatedforexecutiveprograms,processorworkarea,datatableandapplicationprogram.TheprogrammedinstructionsandanydatathatwillbeutilizedbytheprocessortoperformitscontrolfunctionsarestoredintheApplicationProgramMemoryAreaandDataTableMemoryArearespectively.Thesetwoareascanbegroupedintowhatiscalledapplicationmemory.Eachcontrollerhasamaximumamountofapplicationmemorywhichispartofthetotalmemoryspecifiedforthecontroller.TheDataTableisfunctionallydividedIntotheInputTable,InternalStorageAreaandStorageRegistersArea.TheInputTableisanarrayofbitsthatstoresthesta

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

当前位置:首页 > 工程科技 > 能源化工

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

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