版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認(rèn)領(lǐng)
文檔簡介
CATLWORKINGMANUAL工作手冊FormNo.:QF-T-WM-AAuthor/Dept.:XianFengXiePeiMaQianWuYuanYuanLi/MDEDocument#:WM-S8-008Rev:1.0Title:HostComputerGeneralTechnicalSpecification設(shè)備上位機通用技術(shù)規(guī)范1INDEX目錄1INDEX目錄2PURPOSE目的3SCOPE適用范圍4DEFINITIONSANDABBREVIATIONS定義與縮寫5REFERENCEDOCUMENTS參考文件6RESPONSIBILITY職責(zé)7DESCRIPTION細則/描述8RECORDSHEET記錄表單9REVISIONRECORD修改記錄10APPENDIX附件2PURPOSE目的Thespecificationdefinestheinterfacelayout,colorratio,functionspecificationandoperationmode,sothattheoperationandmaintenancepersonnelhavethesameoperatinghabitsfordifferentequipment,reducetherequirementofthepersonnel'sskills,trainingtime,repairtime,andmaketheequipmentrunmorestably.規(guī)范定義上位機軟件的界面布局、顏色配比、功能規(guī)范及操作模式,使操作和維修人員針對不同上位機軟件具備相同操作習(xí)慣,降低人員的技能要求,減少人員培訓(xùn)時間,維修時間,使設(shè)備更加穩(wěn)定運行。3SCOPE適用范圍ItissuitableforproductionlineequipmentofDomesticandOverseascompaniesofCATL.適用于CATL國內(nèi)外公司的生產(chǎn)線配套。4DEFINITIONSANDABBREVIATIONS定義與縮寫4.1Definitions定義4.1.1FunctionDefinitionStandard功能定義標(biāo)準(zhǔn)Forthedefinitionofeachinterfacefunctionofthenewequipmentandtheexistingcabledrawingspecification,unifythedefinitionstandardofeachinterfacefunction.用于新進設(shè)備和現(xiàn)有拉線規(guī)范各界面功能的定義,統(tǒng)一各個上位機軟件的功能的定義標(biāo)準(zhǔn)。4.1.2PermissionSettingStandard權(quán)限設(shè)置標(biāo)準(zhǔn)Usedforthedefinitionofpermissionsforeachinterfaceofthenewequipmentandtheexistingcabledrawingspecification,thepersonneloftherelevantdepartmentsaredividedintopermissions,andthefunctionalauthoritystandardsofeachhumanmachineinterfaceareunified.用于新進設(shè)備和現(xiàn)有拉線規(guī)范各界面的權(quán)限定義,相關(guān)部門人員分權(quán)限處理,統(tǒng)一各個上位機軟件功能權(quán)限標(biāo)準(zhǔn)。4.1.3HostComputer上位機Itreferstothecomputerthatcandirectlyissuecontrolcommands;byoperatingthepre-setcommands,thecommandsaretransmittedtothelowercomputer(thecomputerthatdirectlycontrolstheequipmenttoobtaintheconditionoftheequipment,usuallythePLC/singlechipcomputer),andthelowercomputercontrolstheequipmenttocompletevariousoperations.Thehostcomputerinthisspecificationdoesnotincludehuman-computerinterfacetouchscreen(HMI)指可以直接發(fā)出操控命令的計算機;通過操作預(yù)先設(shè)定好的命令,將命令傳遞給下位機(直接控制設(shè)備獲取設(shè)備狀況的計算機,一般是PLC/單片機),通過下位機來控制設(shè)備完成各項操作。本規(guī)范中的上位機不包含人機交互界面觸摸屏(HMI)。4.1.4ProgrammableLogicController可編程邏輯控制器Itisadigitaloperationelectronicsystemspeciallydesignedforapplicationinindustrialenvironment.Itusesaprogrammablememorytostoreinstructionsforlogicoperation,sequencecontrol,timing,countingandarithmeticoperation.Itcontrolsvarioustypesofmechanicalequipmentorproductionprocessthroughdigitaloranaloginputandoutput.是一種專門為在工業(yè)環(huán)境下應(yīng)用而設(shè)計的數(shù)字運算操作電子系統(tǒng)。它采用一種可編程的存儲器,在其內(nèi)部存儲執(zhí)行邏輯運算、順序控制、定時、計數(shù)和算術(shù)運算等操作的指令,通過數(shù)字式或模擬式的輸入輸出來控制各種類型的機械設(shè)備或生產(chǎn)過程。4.1.5ManufacturingExecutionSystem制造企業(yè)生產(chǎn)過程執(zhí)行系統(tǒng)Itisaproductioninformationmanagementsystemforworkshopexecutionlevelofmanufacturingenterprises.MEScanprovideenterpriseswithmanufacturingdatamanagement,productionschedulingmanagement,inventorymanagement,qualitymanagement,humanresourcesmanagement,workcenter/equipmentmanagement,toolandtoolingmanagement,procurementmanagement,costmanagement,projectKanbanmanagement,productionprocesscontrol,underlyingdataintegrationanalysis,upper-leveldataintegrationdecompositionandothermanagementmodules,Inthisway,buildasolid,reliable,comprehensiveandfeasiblemanufacturingcollaborativemanagementplatformforenterprises.是一套面向制造企業(yè)車間執(zhí)行層的生產(chǎn)信息化管理系統(tǒng)。MES可以為企業(yè)提供包括制造數(shù)據(jù)管理、計劃排產(chǎn)管理、生產(chǎn)調(diào)度管理、庫存管理、質(zhì)量管理、人力資源管理、工作中心/設(shè)備管理、工具工裝管理、采購管理、成本管理、項目看板管理、生產(chǎn)過程控制、底層數(shù)據(jù)集成分析、上層數(shù)據(jù)集成分解等管理模塊,為企業(yè)打造一個扎實、可靠、全面、可行的制造協(xié)同管理平臺。4.1.6WebServiceWeb服務(wù)Itisaplatform-independent,low-coupling,self-contained,programmableweb-basedapplicationthatcanbedescribed,published,discovered,coordinatedandconfiguredusingopenXMLstandardstodevelopdistributedinteroperableapplications.Therearetwomainimplementations:XML-basedSOAPprotocolforcommunicationorRESTFUL.AlltheinterfacesmentionedinthisspecificationareimplementedbyXML-basedSOAPprotocol.是一個平臺獨立的,低耦合的,自包含的、基于可編程的web的應(yīng)用程序,可使用開放的XML標(biāo)準(zhǔn)來描述、發(fā)布、發(fā)現(xiàn)、協(xié)調(diào)和配置這些應(yīng)用程序,用于開發(fā)分布式的互操作的應(yīng)用程序。主要有兩種實現(xiàn)方式:基于XML的SOAP協(xié)議進行通訊或者是RESTFUL。本規(guī)范中提到的都是基于XML的SOAP協(xié)議實現(xiàn)的接口。4.2Abbreviations縮寫OLE=ObjectLinkingandEmbedding對象連接與嵌入OPC=OLEforProcessControl用于生產(chǎn)過程控制的OLE,是一個工業(yè)標(biāo)準(zhǔn)OPCUA=OPCUnifiedArchitectureOPC統(tǒng)一架構(gòu)PLC=ProgrammableLogicController可編程邏輯控制器MES=ManufacturingExecutionSystem制造執(zhí)行系統(tǒng)5REFERENCEDOCUMENTS參考文件Anyreferencedocumentbelowwhichdoesnothaveaversionnumber,itslatesteditionshouldbeappliedtothisprocedure.凡是未注版本的參考文件,其最新版本適用于本程序。Note:Thereferencedocumentsshouldbesortedaccordingtothedocumenttype,followedbypropersequenceasinternationalstandards,regionalstandards,nationalstandards,industrystandards,communitystandards,localstandards,corporatestandards,corporatedocuments,whichthesamecategoryofdocumentsshouldbefirstalphabetical,andthennumericalrankingfromsmalltolarge.參考文件應(yīng)按文件類別進行排序,依次為國際標(biāo)準(zhǔn)、區(qū)域標(biāo)準(zhǔn)、國家標(biāo)準(zhǔn)、行業(yè)標(biāo)準(zhǔn)、團體標(biāo)準(zhǔn)、地方標(biāo)準(zhǔn)、企業(yè)標(biāo)準(zhǔn)、公司文件,其中同一類別文件應(yīng)先按字母,再按數(shù)字從小到大依次排序。ReferenceDoc.Number參考文件號Doc.Source文件來源Title標(biāo)題GB/T8566-2007國家標(biāo)準(zhǔn)軟件生存周期過程GB/T33863國家標(biāo)準(zhǔn)OPC統(tǒng)一架構(gòu)WM-S8-006公司文件智能制造系統(tǒng)設(shè)備導(dǎo)入規(guī)范6RESPONSIBILITY職責(zé)6.1MDEDepartment設(shè)備開發(fā)部Intheissuingstageofequipmentdevelopmenttechnicalspecifications,importthisspecificationasequipmentacceptancestandard.負(fù)責(zé)在設(shè)備開發(fā)技術(shù)規(guī)格書發(fā)行階段,導(dǎo)入本規(guī)范作為設(shè)備驗收標(biāo)準(zhǔn)。6.2MEDepartment制造工程部Determinethefinalacceptanceoftheequipment,checktheaccuracyandstandardizationofthesubmittedsoftwarecodeanddocumentsduringtheacceptanceprocess.主導(dǎo)設(shè)備最終驗收,驗收過程中核查所提交軟件代碼和文檔的正確性,規(guī)范性。6.3ITDepartment信息技術(shù)部Beforetherevisionofthedocument,confirmthattheprovisionsofthedocumentmeettheITrequirements.在該文件修訂前,確認(rèn)該文件的規(guī)定符合IT要求。7DESCRIPTION細則/描述7.1Requirements總體要求a)Theoperatingenvironmentshouldbeanindustrialcomputer,andtheoperatingsystemshouldbeWin1064-bitEnterpriseEdition;運行環(huán)境應(yīng)為工控機,操作系統(tǒng)應(yīng)為Win1064位企業(yè)版;b)Theprogramminglanguageshoulduseoneofthefollowing:C#,LabVIEW;編程語言應(yīng)使用下列之一:C#、LabVIEW;c)Softwareshouldbedeliveredwithinstallerandfullsourcecode(withcomments)andfullpassword,suchaspasswordsofsub-Vi,sub-modulefornestedcalls;軟件交付時應(yīng)提供安裝程序,完整源代碼(含注釋),以及完整密碼,如嵌套調(diào)用的子Vi、子模塊密碼需一并提供;d)Thehostcomputershouldhavecompletefaultdiagnosisfunction。Thehostcomputerisonlyresponsibleforlogicanddatacalculation,andtheactionexecutionisrealizedbyPLC;上位機應(yīng)具備完整的故障診斷功能。上位機只負(fù)責(zé)邏輯和數(shù)據(jù)計算,動作執(zhí)行通過PLC實現(xiàn);e)CommunicationprotocolwithPLCshouldbeused:OPCUA.Itshouldcommunicatewithscanner,visionsystem,weighinginstrumentandHI-POTmeasuringinstrumentthroughTCP/IPprotocol.TCP/IPprotocolorserialcommunicationcanbeselectedaccordingtothesituationwithotherdetectiondevicessuchasheliumdetector;與PLC通訊協(xié)議應(yīng)使用:OPCUA(參考GB/T33863)。與讀碼器、視覺系統(tǒng)、稱重儀、HI-POT測量儀應(yīng)通過TCP/IP協(xié)議通訊。與其他檢測設(shè)備如氦檢儀可根據(jù)情況選擇TCP/IP協(xié)議或串口通訊;f)ThecommunicationstandardbetweenhostcomputerandMEScanrefertotherelevantchapterssuchas"7.3.1WebServiceintegrationmethod"in"WM-S8-006";上位機與MES的通信標(biāo)準(zhǔn)可參照WM-S8-006中的“7.3.1WebService集成方式”等相關(guān)章節(jié);g)Thehostcomputershouldmonitortheconnectionstatuswitheachdevice,andthealarmshouldbepromptedwhenthecommunicationisabnormal;上位機應(yīng)監(jiān)控與各個設(shè)備的連接狀態(tài),通訊異常時應(yīng)報警提示;h)Thehostcomputersoftwareshouldhaveanti-errorfunctiontopreventtheequipmentfromproducingunderabnormalconditions;上位機軟件應(yīng)有防錯功能,防止設(shè)備在異常狀況下進行生產(chǎn);i)Thehostcomputersoftwareshoulddisplaytheexecutedstepsandresultsinrealtime,andsavethesoftwarerunninglogbyday;上位機軟件應(yīng)實時顯示所執(zhí)行步驟及結(jié)果,并按天保存軟件運行日志;j)MESlogs,etc.shouldbegeneratedandarchivedbyday(24h);MES日志等應(yīng)按天(24h)生成并存檔;k)ShouldcooperatewithPLCtorealizethefunctionofrestartwithoutcleaningafteralarmshutdown;應(yīng)配合PLC實現(xiàn)報警停機后的無清料重啟功能;l)Confirmbeforethesoftwareisshutdowntopreventmisoperation;軟件關(guān)閉前要進行確認(rèn),以防誤操作;m)Switchtooperatormodewhenthereisnooperationwithin60secondsafternon-operatorlogintoreduceoperatingauthoritywithoutaffectingproduction;非操作員登錄后60秒內(nèi)無操作時應(yīng)切換到操作員模式以降低操作權(quán)限,且不影響生產(chǎn)的進行;n)DatabasequalifiedMySQLstableversionusingInnodbengine;數(shù)據(jù)庫限定為使用Innodb引擎的MySQL穩(wěn)定版;o)ThehostcomputermustbeequippedwithUPSpowersupply,andithasmorethan30minutesofpowersupplycapacityafterpowerfailure;上位機必須配備UPS電源,斷電后有30分鐘以上電力供應(yīng)能力;p)Thehostcomputersystemofimportantequipmentmustberedundantlydesignedtoswitchwhenthereisafault.Thepartsthatmusthaveredundantdesigninclude:warehousestoragesystemofstereowarehouse(PMCstereowarehouse,polarslicestereowarehouseofEPsegment,moduleproductstereowarehouse,etc.),AGVschedulingsystemofEP,BakingschedulingsystemofCELLsegment,High-temperaturestaticdispatchingsystemandchemicalconversionsystemofCTEsegment,centralizedlogisticstransportationsystemofMPsegment,etc;重要設(shè)備的上位機系統(tǒng)必須有冗余設(shè)計,出現(xiàn)故障時可實現(xiàn)切換。必須具備冗余設(shè)計的部位包括:立體倉庫的倉儲系統(tǒng)(PMC立體庫、EP段極片立體庫、模組成品立體庫等)、EP的AGV調(diào)度系統(tǒng)、CELL段的Baking調(diào)度系統(tǒng)、CTE段的高溫靜置調(diào)度系統(tǒng)和化成系統(tǒng)、MP段的集中物流輸送系統(tǒng)等;q)Thehostcomputersoftwareanditsconfigurationfilesofalldevicesshallbeabletobescannedbytheanti-virussoftwareoftheITDepartmentofCATL(theviruslibraryshallbebasedonthelatestviruslibraryofCATL).所有設(shè)備的上位機軟件及其配置文件,應(yīng)能通過CATLIT部門殺毒軟件的掃描(病毒庫以CATL最新病毒庫為準(zhǔn))。7.2ProgrammingLanguage開發(fā)語言Thesoftwaredevelopmentprogramminglanguageofthehostcomputercanbechosenasoneofthefollowingtwo.上位機軟件開發(fā)編程語言可選如下兩種之一:a)ThedevelopmentlanguageisC#,usingVisualStudiodevelopmentenvironmentabove2010,andthetargetframeworkis.NET4.6;開發(fā)語言為C#,采用VisualStudio2010以上開發(fā)環(huán)境,目標(biāo)框架采用.NET4.6;b)ThedevelopmentlanguageisLabVIEW,andthedevelopmentenvironmentofLabVIEW2011oraboveisadopted;開發(fā)語言為LabVIEW,采用LabVIEW2011以上開發(fā)環(huán)境;c)CodingspecificationsfortheabovetwoprogramminglanguagesseeAppendixB.以上兩種編程語言的編碼規(guī)范參見附錄B。7.3HostComputerHardwareConfigurationRequirements上位機電腦硬件配置要求Accordingtotheactualusescenario,theconfigurationrequirementsofthehostcomputeraredividedintostandardconfigurationandhigh-endconfiguration.Usually,standardconfigurationisrequired;high-endconfigurationrequirementsareapplicabletohostcomputers(tentativelyaswindingprocess)thatneedtoimplementedgecomputing.根據(jù)實際使用場景,將上位機電腦的配置要求分為標(biāo)準(zhǔn)配置和高端配置。正常應(yīng)用場景下只需要使用標(biāo)準(zhǔn)配置;高端配置要求適用于需要實現(xiàn)邊緣計算的上位機(暫定卷繞工序)。TablelHostComputerHardwareConfigurationRequirements(StandardConfiguration)上位機硬件配置要求(標(biāo)準(zhǔn)配置)AccessoryType配件類型ConfigurationRequirements配置需求CPU■CPUmodel:IntelCorei5series,4coresandabove,clockedat3GBandaboveCPU型號:IntelCorei5系列,4核心及以上,主頻為3GB及以上RAM內(nèi)存■Capacity:8GBormore;容量:8G或以上;■Type:DDR4orabove;類型:DDR4或以上;Harddisk硬盤■1TBormoremechanicalharddisk;1TB或以上的機械硬盤■Rotationalspeedofmechanicalharddisk:7200PRM;機械硬盤的轉(zhuǎn)速7200PRM■Setatleast2partitions;至少設(shè)置2個分區(qū)■Atleast80Gisleftonthesystemdisk.系統(tǒng)盤至少剩余80GNetworkcard網(wǎng)卡■Quantity:2ormore;數(shù)量:2個或以上■Rate:1000Mbpsorabove.速率:1000MbpsMonitor顯示器■Size:19inchesormore尺寸:19寸或以上■Resolution:1920X1080andabove分辨率:1920x1080或以上Other其他■Networkcable:Superfivenetworkcableorabove(ifthereistwo-waydatainteractiveaccessbetweenthedeviceandtheMESorthetotalpoweroftheinverterusedinthedeviceisgreaterthan7.5KW,thesuperfiveshieldednetworkcableortheabovestandardmustbeused);網(wǎng)線:超五類屏蔽網(wǎng)線以上標(biāo)準(zhǔn)(如果設(shè)備與MES之間存在雙向數(shù)據(jù)交互訪問或設(shè)備中使用變頻器總功率大于7.5KW必須使用超五類屏蔽網(wǎng)線或以上標(biāo)準(zhǔn))■Otheraccessoriessuchaschassis,powersupply,motherboard,allkindsofboards,etc.,areconfiguredaccordingtothestandardofindustrialcomputer(IPC).如機箱,電源,主板,各類板卡等,按工業(yè)電腦的標(biāo)準(zhǔn)配置■Slot:2full-lengthPCIe(X16)slotsreserved;thenumberofchannelssupportedbyaPCIslotportshouldbe≤4channels插槽:預(yù)留2個全長PCle(X16)插槽;l個PCI插槽口支持的串口擴展卡的通道數(shù)應(yīng)≤4個通道UPSpowersupplyUPS電源■Duration:30minutesormore續(xù)航時間:30分鐘以上AcceptanceCriteria驗收標(biāo)準(zhǔn)■Theaboveconfigurationisforreferenceonly.Theactualconfigurationneedstoconsidertheoperatingscenarioofthecomputerandthespecialtyoftheprocessequipment.Undernormaloperationofthecomputer,itisnecessarytoensurethattheCPUandmemoryusageoftherelevantcomputerneedstobelessthan50%以上配置僅供參考,實際配置需考慮電腦的運行場景、工序設(shè)備特殊性;在電腦正常運行下,需保證相關(guān)電腦CPU、內(nèi)存的使用率需要低于50%Table2HostComputerHardwareConfigurationRequirements(HighConfiguration)上位機硬件配置要求(高端配置)AccessoryType配件類型ConfigurationRequirements配置需求CPU■CPUmodel:IntelCorei7series,4coresandabove,clockedat3GBandaboveCPU型號:IntelCorei7系列,4核心及以上,主頻為3GB及以上RAM內(nèi)存■Capacity:16GBormore;容量:16G或以上■Type:DDR4orabove;類型:DDR4或以上■Mainfrequency:2400MHzandabove主頻:2400MHz或以上Harddisk硬盤■1TBormoreSolidStateDisk(IndustrialSSD);1TB或以上的固態(tài)硬盤(工業(yè)級別SSD)■Setatleast2partitions;至少設(shè)置2個分區(qū)■Atleast80Gisleftonthesystemdisk.系統(tǒng)盤至少剩余80GNetworkcard網(wǎng)卡■Quantity:2ormore;數(shù)量:2個或以上■Rate:1000Mbpsorabove.速率:1000MbpsGraphicscard顯卡■2Galoneorabove2G獨顯或以上Monitor顯示器■Size:19inchesormore尺寸:19寸或以上■Resolution:1920X1080andabove分辨率:1920x1080或以上Other其他■Networkcable:Superfivenetworkcableorabove(ifthereistwo-waydatainteractiveaccessbetweenthedeviceandtheMESorthetotalpoweroftheinverterusedinthedeviceisgreaterthan7.5KW,thesuperfiveshieldednetworkcableortheabovestandardmustbeused);網(wǎng)線:超五類屏蔽網(wǎng)線以上標(biāo)準(zhǔn)(如果設(shè)備與MES之間存在雙向數(shù)據(jù)交互訪問或設(shè)備中使用變頻器總功率大于7.5KW必須使用超五類屏蔽網(wǎng)線或以上標(biāo)準(zhǔn))■Otheraccessoriessuchaschassis,powersupply,motherboard,allkindsofboards,etc.,areconfiguredaccordingtothestandardofindustrialcomputer(IPC).如機箱,電源,主板,各類板卡等,按工業(yè)電腦的標(biāo)準(zhǔn)配置■Slot:2full-lengthPCle(X16)slotsreserved;thenumberofchannelssupportedbyaPCIslotportshouldbe≤4channels插槽:預(yù)留2個全長PCle(X16)插槽;1個PCI插槽口支持的串口擴展卡的通道數(shù)應(yīng)≤4個通道UPSpowersupplyUPS電源■Duration:30minutesormore續(xù)航時間:30分鐘以上AcceptanceCriteria驗收標(biāo)準(zhǔn)■Theaboveconfigurationisforreferenceonly.Theactualconfigurationneedstoconsidertheoperatingscenarioofthecomputerandthespecialtyoftheprocessequipment.Undernormaloperationofthecomputer,itisnecessarytoensurethattheCPUandmemoryusageoftherelevantcomputerneedstobelessthan50%以上配置僅供參考,實際配置需考慮電腦的運行場景、工序設(shè)備特殊性;在電腦正常運行下,需保證相關(guān)電腦CPU、內(nèi)存的使用率需要低于50%7.4ComputerSystemandSoftwareConfigurationRequirementsofHostComputer上位機電腦系統(tǒng)與軟件配置要求a)Thenecessaryoperatingenvironmentshouldbeconfiguredbeforethehostcomputerischecked.Pleasereferto“7.5.3PCconfigurationrequirementsofthehostcomputer-PCsystemandsoftwareconfigurationrequirements”in“WM-S8-006”;上位機電腦驗收前應(yīng)配置好必要的運行環(huán)境,請參照WM-S8-006的“7.5.3上位機電腦配置要求---上位機電腦系統(tǒng)與軟件配置要求”;b)Thedriverandsetupprogramoftherelevantperipheralssuchasthereadershouldbeinstalledandtheinstallationfilesshouldbebackedup;應(yīng)安裝相關(guān)外設(shè)如讀碼器的驅(qū)動程序和設(shè)置程序并備份安裝文件;c)Thedebuggingprogramofhostcomputersoftwarecanbeinstalledforon-sitedebugging.可安裝上位機軟件的調(diào)試程序以便于進行現(xiàn)場調(diào)試。7.5DocumentRequirements文檔要求Ateachstageofthesoftwarelifecycle,correspondingdocumentationisgeneratedtorecordthetechnicalinformationduringthedevelopmentprocess,facilitatingthecoordinationoffuturesoftwareusage,troubleshooting,andmodificationandmaintenance.Thefollowingdocumentsshouldbesubmittedtogetherwiththehostcomputersoftware.在軟件生存周期(參考GB/T8566-2007)的各個階段,會產(chǎn)生相應(yīng)的文檔用于記錄開發(fā)過程中的技術(shù)信息,便于協(xié)調(diào)以后的軟件使用、問題排查和修改維護。以下文檔應(yīng)和上位機軟件一同提交:a)SoftwareRequirementsSpecification軟件需求說明書Thecontentusuallyincludesthefollowingparts內(nèi)容通常包括如下部分:1)Itshouldincludenetworktopologydiagramandsystemstructuredescription;應(yīng)包含網(wǎng)絡(luò)拓?fù)鋱D、系統(tǒng)結(jié)構(gòu)描述;2)Determinethefunctions,performancerequirementsanddesignconstraintsofthesoftware.確定該軟件的各項功能、性能需求和設(shè)計約束。b)Detaileddesignspecification詳細設(shè)計說明書Thecontentusuallyincludesthefollowingparts內(nèi)容通常包括如下部分:1)Businessprocessdescriptionanddatabasetabledescriptionshouldbeincluded;應(yīng)包含業(yè)務(wù)流程說明、涉及的數(shù)據(jù)庫表說明;2)Thefunctionofeachpartshouldbedescribedinunitsofmodules(interfaceandnon-interface).應(yīng)以模塊(界面和非界面)為單位說明各部分的功能。?Forthemodulewithinterface,thefunctionandlimitationofinputitems,thefunctionandactionflowofbuttons,thecontentandcharacteristicsofdatatablesandlistsshouldbeexplainedseparately,andtheimportantinternalprocessingflowshouldbeexplainedseparately;對有界面模塊,應(yīng)說明輸入項的作用及限制、按鈕的功能及動作流程、數(shù)據(jù)表格和列表的內(nèi)容及特性,重要的內(nèi)部處理流程應(yīng)進行單獨的說明;Fornon-interfacemodules,thefunctionsandcallingmethodsofeachinterfacemethodshouldbedescribedindetail,andtheinputparameters,interneters,internalprocessingflow,algorithmandoutputresultsshouldbedescribed.對非界面模塊,應(yīng)詳細說明各個接口方法的功能和調(diào)用方式,描述輸入?yún)?shù)、內(nèi)部處理流程及算法和輸出結(jié)果。c)UserManual用戶操作手冊Theoperationmethodandprecautionsofeachinterfaceandthehandlingmethodwhenthealarmoccursshouldbeillustratedbylegend.應(yīng)以圖例說明各界面的操作方法、注意事項以及報警發(fā)生時的處理方式。d)Installation&configurationmanual安裝配置手冊Themanualshouldprovidedetailedprograminstallationstepsandconfigurationsteps.該手冊應(yīng)提供詳細的程序安裝步驟以及配置步驟。e)Quickrecoverymanual快速恢復(fù)手冊Providequickrecoveryoperationinstructionsrelatedtorestartaftersoftwarecrash,inordertoresumeproductionassoonaspossibleandreducethelosscausedbyshutdown.提供軟件崩潰后的重啟相關(guān)的快速恢復(fù)操作說明,以便于盡快恢復(fù)生產(chǎn),減少停工造成的損失。7.6Interfaceandoperatingmode界面和操作模式7.6.1Operatingmode操作模式Theoperatingmodeofthehostcomputerinterfaceisasfollows上位機界面操作模式如下:a)Operator操作員1)Enterthemaininterfacedirectlywhenthesoftwarestarts,andloginastheoperatoruserbydefault;軟件啟動時直接進入主界面,默認(rèn)以操作員用戶登錄;2)Whenthemainscreenisdisplayed,itwillnotentertheproductionstateautomatically.Thereshouldbeastart/stopbuttonforcontrol.Afterclickingthestartbutton,itwillentertheproductionstate;主畫面顯示出來后不會自動進入生產(chǎn)狀態(tài),應(yīng)有啟動/停止的按鈕用于控制,點擊啟動按鈕后進入生產(chǎn)狀態(tài);3)Operatorsdonotneedtologinagainwhenchangingshifts.操作員換班時無需再登錄。b)Engineersandmanagers工程師和管理員1)Engineersandmanagersneedtologinbeforetheyuseit.Theycanlogininbothproductionandnon-productionconditions;工程師和管理員使用前,需進行登錄操作,在生產(chǎn)及非生產(chǎn)狀態(tài)下都可以登錄;2)Itisnotallowedtomodifytheparametersintheproductionstate,andallparametersettingsshouldbeoperatedinthenon-productionstate;生產(chǎn)狀態(tài)下不允許修改參數(shù),各項參數(shù)設(shè)置都應(yīng)在非生產(chǎn)狀態(tài)下進行操作;3)Returntooperatorprivilegeswhenloggingout;注銷時返回到操作員權(quán)限;4)Noactionfor60seconds,automaticlogouttooperatorpermissions.60秒無動作,自動注銷到操作員權(quán)限。7.6.2Titlebar,statusbar,andmenubar標(biāo)題欄、狀態(tài)欄及菜單欄Asshowninthefollowingfigure:如下圖所示:氣密性測試(V1.0.0)CATL 氣密性測試設(shè)備ID: 操作者: PLC通訊: 掃碼槍1#: 2#: MES: 氯檢儀:用戶管理參數(shù)設(shè)置生產(chǎn)管理調(diào)試工具FigurelTitlebar,statusbarandmenubarexample標(biāo)題欄及狀態(tài)欄示例describedasfollows:說明如下:a)ThebackgroundcolorofthemaininterfaceisRGB(30,56,83);主界面背景色為RGB(30,56,83);b)Thewindowtitleshouldcontainsoftwareversioninformation;窗口標(biāo)題應(yīng)包含軟件版本信息;c)Thelogoofthecompanyshouldbedisplayedontheleftpartofthetitlebar.Seetheappendix10.1forthelogo;標(biāo)題欄左部應(yīng)顯示本公司Logo,logo圖見附錄10.1;d)Titlecentered,font:MicrosoftYahei24ptBold,white;標(biāo)題居中,字體:微軟雅黑24ptBold,白色;.e)Thedevicenameandloginnamearedisplayedontheleftsideofthestatusbar.Font:Song9pt;狀態(tài)欄左端顯示設(shè)備名、登錄名,字體:宋體9pt;f)Therightendofthestatusbarshowstheconnectionstatusofeachcommunicationdevice.Font:Song9ptBold;狀態(tài)欄右端顯示各通訊設(shè)備連接狀態(tài),字體:宋體9ptBold;g)Themenushouldbeontheleftsideofthemaininterfaceoftheprogram.菜單應(yīng)位于程序主界面的左側(cè)。7.7FunctionModule功能模塊7.7.1UserManagementMainMenu用戶管理主菜單Theusernameshouldbetherolename,fixedby3levels,andthepermissionsarefromsmalltolargeforoperators,engineers,andadministrators.Usermanagementshouldincludelogin,logout,usermaintenance,andauthoritymanagementfunctions.用戶名應(yīng)采用角色名,固定3個等級,權(quán)限從小到大分別為操作員、工程師、管理員。用戶管理應(yīng)包含登錄、注銷、用戶維護、權(quán)限管理功能。a)Login登錄Operatorsloginautomatically,engineersandadministratorsneedtologinmanually.操作員自動登陸,工程師和管理員才需要手動登陸。b)Logout注銷Afterengineerandadministratorcancel,returntooperatorprivilege.工程師和管理員注銷后,返回到操作員權(quán)限。c)Usermaintenance用戶維護1)Theusermanagementinterfacemainlyincludesfunctionssuchaschangingpassword;包含變更密碼功能;2)Thepasswordcannotbedisplayedorsavedinplaintext;密碼的顯示和保存都不能采用明文;3)Logged-inuserscanmanageuserswithrelativelylowprivilegelevels.登錄的用戶可對相對權(quán)限等級較低的用戶進行管理。d)Authoritymanagement權(quán)限管理Theauthorityofoperatorsandengineersismanagedbyadministrators.由管理員對操作員和工程師的權(quán)限進行管理;Table3Authoritymanagementsexample權(quán)限管理示例Authority權(quán)限Operator操作員Engineer工程師Administrator管理員Automaticmonitoring(maininterface,monitoringinterface)自動監(jiān)控(主界面,監(jiān)控界面)??Usermaintenance用戶維護??Authoritymanagements權(quán)限管理?Parametersetting參數(shù)設(shè)置7.7.2ParameterSettingsMainMenu參數(shù)設(shè)置主菜單Itcanincludeproductioninformation,testparameters,verificationparameters,networksettings,serialportsettings,MESparameters,filepathsettings,recipemanagementandotherparametermodules,whichcanbecombinedintomultipleparametersettinginterfacesaccordingtothesituation.可包括生產(chǎn)信息、測試參數(shù)、校驗參數(shù)、網(wǎng)絡(luò)設(shè)置、串口設(shè)置、MES參數(shù)、文件路徑設(shè)置、配方管理等參數(shù)模塊,可根據(jù)情況組合到多個參數(shù)設(shè)置界面上。a)Productioninformation生產(chǎn)信息ItshouldcontaininformationabouttheproductionenvironmentsuchastheprocessnameanddeviceId.應(yīng)包含工序名稱、設(shè)備Id等生產(chǎn)環(huán)境相關(guān)的信息。b)Networksettings網(wǎng)絡(luò)設(shè)置ShouldcontaintheIPaddressandportnumberofeachdevice,andcanalsocontaincommunication-relatedparameterssuchascommunicationintervaltime.應(yīng)包含各個設(shè)備的IP地址和端口號,也可包含如通信間隔時間等與通信相關(guān)的參數(shù)。c)Serialportsettings串口設(shè)置Whenusingserialcommunication,settheparametersoftheserialportusedbythemachine:serialportnumber,baudrate,databit,stopbit,checkdigit.Thissettingshouldbeconsistentwiththeserialportparametersofthedeviceconnectedtotheport.使用串口通訊的情況下,應(yīng)設(shè)置本機所使用串口的參數(shù):串口號、波特率、數(shù)據(jù)位、停止位、校驗位,該設(shè)置應(yīng)與該端口所連接設(shè)備的串口參數(shù)一致。d)MESparametersMES參數(shù)MESparametersettingsincludewhethertocallMES,intervalofinboundtimeoutreconnection,numberofinboundtimeoutreconnections,parametersofMEScallinterface,andmessagesettingsforreturningCode.MES參數(shù)設(shè)置包括是否調(diào)用MES、進站超時重連間隔時間、進站超時重連次數(shù)、MES調(diào)用接口的參數(shù)和返回Code的消息設(shè)置:1)Setthewsdladdress,account,password,andtimeoutofWebServiceinterface;設(shè)置各功能接口WebService的wsdl地址、賬戶、密碼、超時時間;2)SettingthebasicparametersofWebServiceinterface(suchassite,operation,resource,keyparametersofproductprocessing,etc.);設(shè)置各功能接口WebService方法的基本參數(shù)(如site、operation、resource、產(chǎn)品加工關(guān)鍵參數(shù)等);3)TheconfigurationfilenameoftheWebServicecallingisMESCFG.in;WebService調(diào)用接口參數(shù)的配置文件名為MESCFG.in;4)SetupMESCodeandalarmmessagecontroltableforalarmdisplay.設(shè)置MESCode與報警消息對照表,用于報警顯示。e)Verificationparameters校驗參數(shù)Theverificationparametersareusedforerrorpreventionandshouldincludethefollowing:校驗參數(shù)用于防錯,應(yīng)包含以下:1)Readingcoderelatedparameters:codereadermodel,cellbarcodenumber,barcodespecification(firstfewdigits),numberofrepetitionswhilereadingfailure;讀碼相關(guān)參數(shù):讀碼器型號、電芯條碼位數(shù)、條碼規(guī)格(前幾位)、讀碼失敗重復(fù)次數(shù);2)Controlparameters:continuoustestNGtimes.控制參數(shù):連續(xù)測試NG次數(shù)。f)Testparameters測試參數(shù)Whenthereisatestinginstrument,themodelandtestparametersoftheinstrumentcanbesetinthismodule.有檢測儀器時,可在此模塊中設(shè)置儀器的型號及測試參數(shù)。7.7.3ProductionManagementMainMenu生產(chǎn)管理主菜單Includesmainscreenandfunctioninterfacesuchasrunningmonitoring:包括主畫面以及運行監(jiān)控等功能界面:a)MainScreen主畫面Thereadingresult,MEScallresult,testresult,operationinformation,andalarminformationshouldbedisplayed.應(yīng)顯示讀碼結(jié)果、MES調(diào)用結(jié)果、測試結(jié)果、運行信息、報警信息。b)MonitoringScreen監(jiān)控畫面Itcandisplaythestatusinformationofrelatedstationsduringtheoperationofthedevice.可顯示設(shè)備運行過程中相關(guān)工位的狀態(tài)信息。7.7.4DebugToolMainMenu調(diào)試工具主菜單ItcanincludefunctionmenussuchasIOmonitoringandmanualdebugging.可包括IO監(jiān)控、手動調(diào)試等功能菜單。Manualdebuggingcanbeusedforconnectionandfunctiondetectionofasingledevicesuchasareader.手動調(diào)試可用于讀碼器等單個設(shè)備的連接及功能檢測。7.8OtherFunctionalRequirements其他功能要求7.8.1MESCallMES調(diào)用ThecommunicationbetweenthehostcomputerandtheMESsystemshallcomplywiththerelevantprovisionsoftheWebServiceintegrationmethodin“WM-S8-006”.上位機與MES系統(tǒng)通訊應(yīng)遵循WM-S8-006中的WebService集成方式相關(guān)條款。a)HostConnectionRequirements上位機連接要求Thegatewayisnotallowedtobesetinthehostcomputernetworkconnectionsettings.上位機網(wǎng)絡(luò)連接設(shè)置中不允許設(shè)置網(wǎng)關(guān)。b)DisplayRequest顯示要求TheMEScommunicationprocessandresultsaredisplayedontheinterfaceandlogged.MES通信過程和結(jié)果要在界面進行顯示并記入日志。c)MESCodereturnedIsNot0MES返回Code不為0的情況1)Wheninboundchecking,itisprocessedaccordingtothereadingcodeNG;進站時,按讀碼NG處理;2)Whenoutboundreceiptchecking,notifythePLCtoalarmandstopthemachine.出站時,通知PLC報警停機。d)TimeoutAlarmLogicRequirement超時報警邏輯要求1)Whentheinboundstation10S(timeshouldbeconfigurable)doesnotreceivetheinformationreturnedbytheMES,theinboundinterfaceisrepeatedlycalledatintervalsof5seconds(theintervalshouldbeconfigurable),andthenumberoftimes(thenumberoftimesshouldbeconfigurable)isnotifiedtothePLCtostopthealarm:進站10S(時間應(yīng)可配置)未收到MES返回的信息時,以5秒間隔(間隔應(yīng)可配置)重復(fù)調(diào)用進站接口,達到3次數(shù)(次數(shù)應(yīng)可配置)則通知PLC報警停機;2)Whentheoutbound30S(timeshouldbeconfigurable)doesnotreceivetheinformationreturnedbytheMES,notifythePLCtoalarmandstopthemachine.出站30S(時間應(yīng)可配置)未收到MES返回的信息時,通知PLC報警停機。e)DataRetransmission數(shù)據(jù)重傳Inthecaseofoutboundtimeout,adatareturnsmissionmechanismshouldbeprovidedtoensurethatdataisnotlost.出站超時情況下,應(yīng)提供數(shù)據(jù)重傳機制,確保數(shù)據(jù)不丟失。7.8.2ErrorProofingFunction防錯功能a)Thehostcomputersoftwareshouldrealizetheself-testfunctionbeforethestartofproduction,suchasdetectingwhetherthenetworkisunobstructed,whethertherelatedequipmentisconnected,andtheproductioncannotbestartedifthetestfails;上位機軟件應(yīng)實現(xiàn)生產(chǎn)開始前的自檢功能,如檢測網(wǎng)絡(luò)是否通暢,相關(guān)設(shè)備是否已連接,檢測不通過不能開始生產(chǎn);b)Thehostcomputersoftwareshouldcheckthefirstthreedigitsofthebattery(thenumberofbitsshouldbeconfigurable)andcheckthelengthofthebatterybarcode(thelengthshouldbeconfigurable).Ifthecheckfails,thebatteryshouldbejudgedasNGandshouldnotenterthesubsequentoperationprocess;上位機軟件應(yīng)對電芯的前三位碼(位數(shù)應(yīng)可配置)進行校驗及對電芯條碼的長度(長度應(yīng)可配置)進行校驗,校驗不通過時判電芯NG,不進入后續(xù)作業(yè)流程;c)ThehostcomputersoftwareshallnotifythePLCtoalarmandstopthemachinewhenthereisadefectiveproductorthedetectionresultisNGforthreeconsecutivetimes(thenumberoftimesshouldbeconfigurable);上位機軟件應(yīng)在連續(xù)3次(次數(shù)應(yīng)可配置)出現(xiàn)加工壞品或檢測結(jié)果為NG時通知PLC報警停機;d)ThehostcomputersoftwareshouldnotifythePLCtostopthealarmwhenthereturncodeoftheoutgoingMESisnot0.上位機軟件應(yīng)在調(diào)用MES出站的返回code不等于0時,通知PLC報警
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 餐飲連鎖店開業(yè)運營方案
- 財務(wù)人員職業(yè)道德考核方案
- 員工績效考核與激勵制度設(shè)計模板
- 幼兒大班表演游戲教案范例大全
- 乒乓球正手攻球教學(xué)說課稿范文
- 三年級數(shù)學(xué)課堂德育活動設(shè)計方案
- 海南省初中學(xué)業(yè)水平測試語文試題與評分細則
- 長期股權(quán)投資-通俗易懂式講解
- 小學(xué)數(shù)學(xué)教研活動策劃方案及記錄
- 五年級科學(xué)課程教案案例分析
- DB4201-T 575-2019 武漢市環(huán)境衛(wèi)生作業(yè)規(guī)范
- 食品殺菌原理培訓(xùn)課件
- 2024年度醫(yī)院糖尿病門診護理工作計劃課件
- 《營銷法律知識培訓(xùn)》課件
- 智慧發(fā)改建設(shè)方案
- 通用技術(shù)實驗報告
- 胸腹聯(lián)合傷課件
- 人教版一年級數(shù)學(xué)下冊早讀內(nèi)容教學(xué)課件
- 游梁式抽油機概述
- 林木育種學(xué)(華南農(nóng)業(yè)大學(xué))智慧樹知到答案章節(jié)測試2023年
- 第17冊中藥成方制劑 衛(wèi)生部頒藥品標(biāo)準(zhǔn)
評論
0/150
提交評論