




已阅读5页,还剩37页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1toolBasicCourse,Trainees:,Trainer:PaoloZama,1toolbasictrainingcourse,Welcome!,Togivethebasicknowledgeon:Developmenttool(1tool)ProgramminglanguagesProjectmanagementthroughaseriesofexercises.+=Attheendofthetrainingyouwillhavemadeasimpleapplicationforasimpleairconditioningunit.Nodetailsregarding:hardware,wiring,commercial.,Coursetargets1/2,1toolkeypoints(movie)SetupLicencemanagement(SW/HW)Howtocreate,edit,test,uploadaprojectintoapCOOverviewof1toolcomponentsSpecialfunctionsOverviewofspecialfunctions:virtualkeys,alarms,definethekeyfunction,etc.HowtoexchangevariableswithotherpCOcontrollerspLANnetworkHowtoexchangevariableswithagenericBMSsystemSupervisorysystemnetworkHowtotest/configuretheappl.onlineviaCommissioningtoolHowtomigrateanEasyToolsprojectHowtogetsupporte-mail,website,Coursetargets2/2,IftheexplanationisnotclearorifyouhavequestionsorcuriosityfeelfreetoaskIftheexerciseisunclear,askimmediatelytorepeatDontuseobjectsorconceptsthatwerenotexplained(youwillbetoldwhattouse)DontreadthemanualunlessyouareaskedtodosoDontmakemorethanyouareaskedtodo,Rules,?,?,HELP,?,?,pCO3,pCO1,pCOC,pCOXS,PGD0Semi-Graphic,PGD3Graphic/TouchScreen,Ambientediprogrammazionepertuttiicontrollori/terminaliprogrammabilidellalineapCOsistema,1tool,pCO2,Supernode,PGD1Semi-Graphic,Schedule:09:0012:30(coffeebreakatmid-morning)12:3013:30LunchbuffetinCAREL13:3018:00(coffeebreakatmid-afternoon)Dinner:seelistofrestaurantsWhatisdeparturetime?(lastday)Taxibookingneeded?Wi-Fizone(b/g).AskatReception.Passaporto/Identitycardrequired.(noVPN),Miscellaneousinformation,HowtocreateanewSolution/Project(SolutionExplorer)OverviewofeditorsHowtodefinethecontrolstrategy(StrategyEditor)Howtodefinetheuserinterface(MaskEditor)HowtocompileHowtosimulate(Simulator)Howtouploadtheapplicationintothecontroller(pCOLOAD),Topics1/6,Topics2/6,Howtocreateaparameter(e.g.Setpoint)Permanentmemory(T),defaultvalues,DEVfileHowtocreateanewmaskHowtodefinethefunctionofakey(KeyFunctionEditor)HowtocreateaLoopofmasksHowtoenableamask(EnableOnproperty)Levels:Field,Mask,Global.Textassociation(ResourceUsedOnBool/Int)Objectsproperties“move”field:allowstoshowtheprevious/nextmask,Somemacroblocks:GE,GT,LE,LT,GradCmp,Limit,Limit_Low,Limit_HighHowtomanagetheUnitStatus(ifstatement)Systemvariables(KEY_COUNTER)VirtualkeyHowtocreateanewStrategyPageStandardmanagementofalarmsMacroblocksHyst_Dir_Set2Diff,Hyst_Rev_Set2Diff,Hyst_Dir_OnOff,Hyst_Rev_OnOff.Alarmmask:AlarmStatus/AlarmmemorySystemvariables:BUZZER,GLOBAL_ALARM,RESET_BUZZER,RESET_ALARM,Topics3/6,HowtobackupaSolution:justcopytheSolutionfolderHowtospecializeamask(withoutthe“move”field)Howtoshowaspecialcharacter(Example“”)Timemanagement:systemvariablesCURRENT_HOUR,NEW_HOUR,SET_HOURFieldcode,macroblockSchedule_DailyBlockExecutionOrder(Reference):Maincycle,events(Do_Taskatom/statement)Unconnectedpin(autoconnectionofConst/Var),Topics4/6,HowtocreateamacroblockHowtocreateamoduleModulemaskinsertionmode:Linked,Imported,StrategyOnlypLAN(pCOLAN)Eachcontrollercanshowitsmasksintoupto3terminals(SHared,PRivate)Sendvariablesamongcontrollers(max2048links)HowtoconfigurethepLAN(addresses,terminalconfig.)BMS:howtosend/receivevariablesCommissioningtoolHowtomigrateanEasyToolsproject(MigrationWizard),Topics5/6,Filesystem(Binaryfilesfolder)ContentofFLASHmemory:BOOT,BIOS,IUP,BLB/BIN,DEVNextstepsStarterkit1toolsupportservice:1tool,Topics6/6,StartWindows(Supported:XPpro,Vista)Loginas“Administrator”Insertthe1toolDVD-ROMOpenD:INDEX.HTMClickEnglish,Setup1tool,FirstinstallationClick1tool_prerequisites_setup.exeSelect“Run”.Acceptallproposal.Click1tool_setup.exeSelect“Run”.Acceptallproposal.Start1tool:Start/Programs/Carel/1tool/1tool,Setup,SolutionExplorerNewprojects,starteditors,addlanguages,StrategyEditorControlstrategyMaskEditorUserinterface(contentofmasks,keysfunction)NetworkEditorpLANprojects(selectionofunits/projects,definitionoflinksamongunits)SimulatorSimulationonthePCpCOManager(pCOLoad+Commissioningtool)Uploadofapplicationfilesintothecontroller,definitionofLogs,commissioning/testfunctionsMigrationWizardConversionofEasyToolsprojectsto1toolproject.,1toolcomponents/editors,Createanewsolution/project,Projectlifecycle,EditControlstrategy(StrategyEditor),EditUserinterface(MaskEditor),Compile,Debug/Simulate(Simulator),Upload(pCOLOAD),Backup,EditNetwork(NetworkEditor),Upload,2.Compiletheprojectsuccessfully,thenclickthebutton(pCOManager),4.Selectthefolderwhereapplicationfilesaresaved,5.Selectfilestobeuploadedtothedevice,3.SetthepCOaddressandPortNumberofyourconverter,andclickbutton“Connect”inthetoolbar.,6.UploadandCheckingprogress,1.ConnectPCtodeviceusingtheUSB/RS485converter,AnalogpinIntegerpin,DataType(maintypes),emoryType(maintypes),Variables,NOTE:allatomswritein“X-Ram”memory,exceptRA_IN_T/RI_IN_T/RD_IN_T,Move_BT_En,Move_IT_En.“T-Permanent”memoryhasalimitednumberofwrite-cycles(10.000.000),Decimal/Real/Floatdatatype/valuesarenotsupported.AnalogisanIntegerbutvaluesareshownwith“.”(21.5=215)AnalogandIntegerarecompatible.,Unconnectedpin,Ifthepinwasunconnected:InputpinswilltakethedefaultvalueasthepinwasconnectedtoaconstantOutputpinswilltakeatemporaryvariableautomatically.,Notallpinscanbeleftunconnected.Example:theatomsJump_StartandJump_End,Array_Read,etc.Youcanselectthebehaviorincaseofunconnectedpin:Compile/Compilingoptions,Theyareequivalent,Loopofmasks,Aloopofmasksisagroupofmasks.Ifthecursorisinthetop-leftcorner(inthe“move”field),theUP/DOWNkeysshowthePREVIOUS/NEXT(enabled)maskoftheloop.UP/DOWNkeyschangemaskthankstothe“move”fieldThe“move”fieldisautomaticallyaddedtothenewmasks.Ifnotneededjustdeleteit.Torestoreit,justcopyitfromanothermask.LoopobjectisoptionalGoto_loop();statementCorrespondstoGoto_mask(firstmaskoftheloop);,Level:Field,Mask,Global,ThelevelisshownintheKeyFunctionEditorThelevelisthesamefortheKeyFunctionEditorandProperty,Fieldcode(highestpriority)MaskcodeGlobalcode(lowestpriority),(Field),(Mask),(Global),Howtocreateavirtualkey:Createavariablesthatassumesthevalue1whenthevirtualkeyhastobepressedCreateanewkeyandlinkitwiththevariable(UnusedKeycode:137-179,200-254)Definesthefunctionofthenewvirtualkey,Virtualkeys,Exercise:Showthemainmaskafter60sofinactivityofthekeyboard,NormallyaKEYstatementisexecutedwhenaphysicalkey(switch)ispressed.Sometimesisnecessarytoexecuteakeyaccordingtothevalueofavariables:itsnecessaryavirtualkey.Thevirtualkeyispressedwhenthevariableschangesfrom0to1.,Alarmmanagement(1/2),Built-instandardmanagementofalarmsprovides:toswitchthebuzzerONassoonasanalarmstarts(Alarmstatus01)tomanagethealarmmemoryvariable(Alarmmemory)asetofsystemvariables:,1toolprovidesasetofsystemvariablesforturningthebuzzerON/OFF(MAN_BUZZER_EN,MAN_BUZZER_ON,MAN_BUZZER_OFF),Thisfeatureisperformedthrough:AlarmmasksProperties,Maskenable:ALARMmask:variableAlarmMemory(mAL)NORMALmask:variabileEnableOn,Alarmmanagement(2/2).,WhentheALARMkeyispressed:,if(SysVarList.GLOBAL_ALARM=0)Goto_mask(No_Alarms);if(SysVarList.GLOBAL_ALARM=1),BlockExecutionOrder,Note:Youcantplacetwoblockswiththesamenumberinthesamepage.YoucanuseJump_StartandJump_Endblockstoskipsomeblocksduringtheexecution.,ThepageorderisdependonitspositionintheSolutionExplorer.Theyareexecutedfromthetoptothebottom.,YoucanchangeBlockExecutionOrderbydouble-clicktheblockorbyright-clickthepagebackground,DefinetheBlockExecutionOrderofthecurrentpage.Blocksareexecutedaccordingtothenumericalvalueinturn.,Youcanchangethepageorderbyright-clickthepage,thenselectthe“Changepageorder”,Howtocreateamacroblock:CreateaNewproject,Module/MacroblocktypeDeleteTerminalnode(macroblocksdontcontainmask)DefineStrategyCreatethepins(selectBlockpinproperty)DefinetheshapeusingtheShapeeditorSavetheblockintolibraryusingthecontextmenu“SavetolibraryAs”,Macroblocks,Howtoopenamacroblock/module:ContextmenuOpenblock,Help:Selectblock,Contextmenu“?”,Typeofblocks:Block“Atom”Block“Macroblock”(onlystrategy)Block“Module”(strategy+masks),Modules(1/2),Typesofblocks:Block“Atom”Block“Macroblock”(onlystrategy)Block“Module”(strategy+masks)Maskinsertionmode:Linked:-Themasksmantainthelinkwiththeinstanceoftheblock.-Iftheblockisdeleteditsmasksaredeletedtoo-ItispossibleonlytoaddTEXT/IMAGES/ANIM/LINE/RECT,movemasksImported:-Themasksareimportedandbecomeprojectmasks-ItispossibletodoanykindofmodificationStrategyonly:-ThemaskarenotinsertedModuleshaveaLABEL(exampleEVD400_CIRC1)Variables,SpecialFields,TouchSchemas,etcarerenamed(Example:Fan_1Set)Theapplicationhastheaccesstomodulevariables:LABEL.VarNameOnlyforpinnot“Visibleinshape”,Modules(2/2),Themodulecanbedesignedforseveraltypesofdisplaysandlanguages,Themasksareinsertedintheoriginalloopaccordingtotheproperty“MaskDefaultPosition”:Default,Firstmask,LastmaskAutoconnectionNOTEAmodulecantcontainmodules(withmasks)butonlyatoms/macroblocks.Themasksareignored.AmodulecantcontainGlobalCode/Events,Project,Module,Important!BMSandthepLANnetworkareindependentnetworksThepurposeoftheBMSnetworkistoexchangevariableswithasupervisorysystem/BMS(PlantVisor,pCOWeb,WebGate,Gateway,Modem,Lon,Trend,DLLetc.)Howtosend/receivevariables(commonforalltypesofarchitectures)Addressinthenetwork(systemvariableBMS_ADDRESS(I,T)Communicationspeed(systemvariableCOM_BAUDRATE_BMS(I,X)Communicationprotocol(systemvariableCOM_PROTOCOL_BMS(I,X)Selectvariables.2alternatives:Variableproperties,BMSproperty(BIOS=4.29required)RemoteatomsRD_In_T,RI_In_T,RA_In_T(variablesin“T”memory)RD_In_X,RI_In_X,RA_In_X(variablesin”X”memory)RD_Out,RI_Out,RA_Out(variablesin“T”and“X”memory)RD_Multiser,RI_Multiser,RA_MultiserCARELprotocol:Max207variablesforeachtype(A,I,D).MODBUSprotocol:max10000registers/2048coilsCommunicationtestprograms:CARELprotocol,SLAVEside:DTEST(CAREL)MODBUSprotocol,SLAVEside:MODSCAN,Supervisorysystemnetwork(BMS),Connectivity(pCO3),Point-to-Point(stand-alone)(obsolete)Only1controller(withorwithoutbuilt-interminal)Addressmustbe0Only1optionalexternalterminal(alwaysPrivate)Addressmustbe0,Controllersarchitectures,pLAN(pCOLAN)Upto31controllers(withorwithoutbuilt-interminal)AddressmustNOTbe0(1-31)Upto31optionalexternalterminals(PrivateoShared)AddressmustNOTbe0(1-32),PGDdisplayworksinTextdisplaycompatibilitymode:1fixedfont(CAREL_TERM),4rows/20columns,onlysingle-heightrows,noimages,PGDdisplayfullyworking:3fonts,4x20(PGD0)or8x22(PGD1)rows/columns,double-heightrows,images,pLANunits,Max32units(onlyterminalscanhaveaddress=32)Anycombinationisallowed,pCO3/2,pCO1,pCOXS,pCOC,LCD4x20,PGD0/1,PGD2/3,ARIA/PAD,FCM,EVDElectronicExpansionValveDriver,Supernode,TheBMSandthepLANnetworkareindependentnetworksFeaturesofthepLANnetwork:Eachcontrollercanshowitsmasksintoupto3terminals(PrivateorShared)+builtinSendvariablesamongcontrollers(max.2048outgoinglinksforeachcontroller)pLANdevicesAnytypeofpCO,TXT/PGDterminals,Aria/pAD,EVD,FCMAnycombinationisallowedMax32units(onlyterminalscanhaveaddress=32)NetworkEditorInsertinoneormoreNetworkPagethecontrollers,terminals,parametricpLANDefineaddressandprojectdefinelinksusingpLANTableThevariablesusedinalinkmusthavethe“pLAN”flagcheckedSetuppLAN,pLANnetwork(1/2),CompileandUploadapplicationfilesintopCOSetpLANaddresstopLANdevicesConnectpLANdevices(Wiring)Configureterminal,TerminalconfigurationSystemmask(pressUP+DOWN+ENTERfor5sec)SystemvariablesPLAN_TERM_CONF*NetworkEditor(Terminalproperty,Setupbutton)(Defaultconfiguration)ThevalueofthevariableissenteverytimeitchangesandassoonasthecommunicationstartsNOTE:variableformXtoTarenotsentatstartuppLANalarmsmanagementpLANsystemvariables(mostimportant)PLAN_ADDRESS:pCOaddressPLAN_INFO:bit15=pCOiscommunicating,bit1
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 凿井勘查合同范例
- 劳务损伤赔偿合同范本
- 化工生产合同范本
- 2024年中国动漫博物馆(杭州)招聘考试真题
- 2024年重庆永川区五间镇招聘公益性岗位人员笔试真题
- 乡下房屋转卖合同范本
- gf分包合同范本
- 修路合同范本简版
- 出售小区公共用地合同范本
- 北京三室一厅租房合同范本
- 《物理学的发展史》课件
- 2025年广东广州市海珠区官洲街道办事处政府雇员招聘5人高频重点提升(共500题)附带答案详解
- 《道路交通安全法》课件完整版
- 《小肠梗阻的诊断与治疗中国专家共识(2023版)》解读
- 2024届广东省广州市高三一模考试英语试题讲评课件
- 切削加工中的刀具路径规划算法考核试卷
- 《推拿学》期末考试复习题库(含答案)
- 2024年经济师考试工商管理(中级)专业知识和实务试卷及解答参考
- 10kV配电室工程施工方案设计
- 心电图危急值的识别和处理知到智慧树章节测试课后答案2024年秋浙江大学
- 拇外翻课件完整版本
评论
0/150
提交评论