CONTROWAVE软件培训3-chang.ppt

上传人:max****ui 文档编号:11544715 上传时间:2020-04-28 格式:PPT 页数:85 大小:3.76MB
返回 下载 相关 举报
CONTROWAVE软件培训3-chang.ppt_第1页
第1页 / 共85页
CONTROWAVE软件培训3-chang.ppt_第2页
第2页 / 共85页
CONTROWAVE软件培训3-chang.ppt_第3页
第3页 / 共85页
点击查看更多>>
资源描述
1,DESIGNER,BristolBabcock软件培训,2,3,4,5,6,7,8,9,10,PhysicalHardwareRTU_CFGisthetypeofcodegenerationrequiredforthecontrollerforControlWavethisisalwaysIPC_30,RTU_RESOURCEdefinesthetypeofrun-timesystemusedTasksaretheactualmechanismbywhichprogramsareexecuted.System_Variablesdefinecertainvariableswhichmaintainstatisticsabouttheproject.IO_ConfigurationdefinestheinputsandoutputsoftheprocessI/OboardsintheControlWavecontrollerandoptionallytheControlWaveEthernetI/O.,11,TasksTasksdeterminethetimeschedulingoftheprogramsassociatedwiththem.Thismeansthatprogramshavetobeassociatedtotasks.Thesettingsofthetaskdeterminethetimescheduling.IEC61131-3describesdifferenttimeschedulingwhichleadtothreedifferenttasktypes:Cyclictasksareactivatedinacertaintimeintervalandtheprogramisexecutedperiodically.Eventorinterrupttasksareactivatedifacertaineventhashappened.SystemtaskswillbeactivatedifanerroroccurswhenexecutingthePLCprogram.Systemtasksareassociatedwithsystemprograms.Eachtaskhasacertainpriority.Insocalledpreemptiveschedulingsystems,anactivetaskwithlowpriorityisinterruptedimmediately,whenataskwithhigherprioritybecomesactiveduetoacertainevent.Insystemswithnon-preemptivescheduling,taskinterruptionsbytaskswithhigherpriorityarenotpossible.,12,13,14,Globalvariables10000LocalVariables15000Resourcesintheprojecttree100Tasksperresource15Programinstancespertask500Embeddedlibraries15Programsperlibrary1000Programsperproject2000Codebodyworksheetsperprogram64DifferentFunction/FunctionBlocksperprogram620SametypeFunction/FunctionBlocksperprogram1024Steps/Transitionsperprogram110Actionsperprogram165Contacts/coilsperprogram3000NestingFunctions/FunctionBlocks128Nestinglevelsforuser-defineddatatypes8Elementsinastructure200Elementsinanarray32766FOR/CASE/IFnestinglevels200OpenOn-linewindows30,ProjectLimit,15,16,变量类型,17,18,19,20,21,22,23,变量范围,ThescopeofeachvariablewhichisdeterminedbytheuseofthevariablekeywordislimitedeithertoaPOUortothewholeproject.Thereforetwotypescanbedistinguished:LocalvariablesGlobalvariablesIfavariablecanbeusedonlywithinaPOUitiscalledlocalvariable.InthosecasesthevariablekeywordsVAR,VAR_INPUTandVAR_OUTPUTmustbeused.Ifavariablecanbeusedwithinthewholeprojectitiscalledglobalvariable.IthastobedeclaredasVAR_GLOBALintheglobaldeclarationandasVAR_EXTERNALineachPOUwhereitisused.,24,定义变量的关键字,25,26,27,28,29,30,31,32,33,34,StartingControlWaveDesigner,35,36,37,38,39,40,Example:Creatasampleprogramme,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,PID模块,ParametersirInputDefault:0.0Format:REALInput/Output:Inputrepresentsthemeasuredvariable(MV).irSetpointDefault:0.0Format:REALInput/Output:Inputisthedesiredcontrolpoint(setpoint)atwhichthemeasuredvariableshouldbeheld.irDeadbandDefault:0.0Format:REALInput/Output:Inputmustbeapositivenumber.Itspurposeistoeliminatedisturbancessmallerthanthedeadband.,73,irProportionDefault:0.0Format:REALInput/Output:Inputdeterminestheamountofoutputchangethatwillbeproducedbyachangeoferror.Thehigherthenumberinthisparameter,thehighertheFunctionBlockgain.Avalueof1.0providesunitygain.rIntegralDefault:0.0Format:REALInput/Output:Inputestablishestheresetrateinrepeats-per-minute?forexample,avalueof1.0providesonerepeatperminute.Avalueofzeroturnsoffintegralaction.irDerivativeDefault:0.0Format:REALInput/Output:Inputrepresentstheamountofratecorrectioninminutes.,74,irResetDefault:0.0Format:REALInput/Output:InputibTrackDefault:0.0Format:BOOLInput/Output:Input,TheRESETandTRACKparametersforcetheFunctionBlockoutputtoaknownvalue.Theyareusedtoprevent“resetwindup”oftheFunctionBlockoutput,toestablishinitialoutputvalues,andtoprovidetransitionswithoutbumpswhenchangingfrommanualtoautomaticmode.,TheTRACKsignalisalogicalinputwhich,whensetON,forcestheFunctionBlockoutputtofollowtheRESETparameterinputvalue.ItisusedtogaincontroloftheFunctionBlockoutputwhenconditionswarrantit.,75,orOutputDefault:0.0Format:REALInput/Output:OutputisthecalculatedoutputvalueoftheFunctionBlockafterDEADBANDisapplied.ItisusuallywiredtotheOUTPUTparameterofanAnalogOutputasshowninthefigureabove.InitialOUTPUTvaluesareestablishedusingTRACKandRESET.orErrorDefault:0.0Format:REALInput/Output:Outputistheinputerror(SETPOINT-INPUT)oftheFunctionBlockmultipliedby-1.0.,76,iarFlowTempDefault:None,entryrequiredFormat:REALInput/Output:InputistheflowinggastemperatureindegreesFahrenheit.iarStatPressDefault:None,entryrequiredFormat:REALInput/Output:Inputisthestaticpressureinpsia.Ifthisparameterhasanegativevalue,computationswillnotbeperformed.iarBaseTempDefault:60degreesFFormat:REALInput/Output:InputisthegasbasetemperatureindegreesFahrenheit.,77,iarBasePressDefault:14.73psiaFormat:REALInput/Output:Inputisthegasbasepressureinpsia.Iftheparameterhasanegativevaluenocomputationsareperformed.iiListDefault:None,EntryrequiredifiarArrayisnotwired.Format:INTInput/Output:Inputisthenumberofalistcontainingthegascomponentinformation.ThegascomponentsMUSTbeplacedintheorderspecifiedintheComponentOrderportionofthissection.IfboththeiiListandiarArrayparametersarewired,onlytheiiListparameterwillbeused.,78,iarArrayDefault:None,EntryrequiredifiiListparameterisnotwired.Format:REALInput/Output:InputisaREALdatatypearraycontainingthegascomponentinformation.ThegascomponentsmustbeplacedintheorderspecifiedintheComponentOrderportionofthissection.Onedimensionalarraysmustbe1rowbyNcolumns,whereNcanbe1to21.Forcaseswherethearraycontainscomponentsfrommultiplegasstreams,morerowscanbeadded.IfboththeiiListandiarArrayparametersarewired,theiarArrayparameterisignored.,79,iiRowDefault:1Format:INTInput/Output:Inputisthearrayrowcontainingupto21gascomponentstobeusedinthecalculation.ThisparametercanbeusedtoperformsuccessiveAGA8DETAILcalculationsonmultiplegasstreamsbyindexingthroughthearrayrows.Invalidrowvaluesproduceanerrorandnocomputationisperformed.,odiStatusDefault:NoneFormat:DINTInput/Output:OutputisastatuscodewhichisupdatedafterexecutionoftheFunctionBlock.,80,orZFlowingDefault:NoneFormat:REALInput/Output:Outputisthecompressibilityatflowingconditions.,orZBaseDefault:NoneFormat:REALInput/Output:Outputisthecompressibilityatbaseconditions.orFPVDefault:NoneFormat:REALInput/Output:Outputisthesupercompressibilityratio(Zb/Z).,81,ComponentOrderGascomponentsinlistsorarrayrowsmustbeinthefollowingorder.Thenumberofcomponentscanvaryfrom1to21,buttheorderisimportantandmustbefollowed.Ifthelistorarrayisshort;i.e.,lessthan21components,theremainingundefinedcomponentswillbegivenadefaultvalueof0.,ComponentNameComponentName1Methane2Nitrogen3CarbonDioxide4Ethane5Propane6Water7HydrogenSulfide8Hydrogen9CarbonMonoxide10Oxygen11i-Butane12n-Butane13i-Pentane14n-Pentane15n-Hexane16n-Heptane17n-Octane18n-Nonane19n-Decane20Helium21Argon,82,83,84,85,
展开阅读全文
相关资源
相关搜索

当前位置:首页 > 图纸专区 > 课件教案


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!