您好,欢迎访问三七文档
Siemens-AutomationandDrives-Service&Support-Aut...第1页共2页2005-05-312:47自动化系统SIMATICHMI人机界面HMI软件SCADA系统SIMATICWinCCSIMATICWinCC选件用户归档常问问题ExportingandimportingdatarecordsfromandintouserarchivesQUESTION:HowcanIexportandimportthedatarecordsofaWinCCuserarchive?ANSWER:ExportingdatarecordsToexportthedatarecords(runtimedata)oftheuserarchiveselected,chooseRuntimeDataExportontheuserarchiveEditormenutoopenthefollowingdialogbox:IntheFileSelectionboxenterthepathandfilenameoftheuserarchivetobeexported.The...buttonhelpsyoutofindthefileyouwant.Thedefaultfilepathistheuafolderintheprojectpathoftheactiveuserarchive.TheFileFormatboxletsyouchoosethefileformatfortheuserarchiveyouareexporting.WiththeOptionsbuttonyoucandefinetherequiredseparator.Thedefaultseparatoristhesemicolon;.IntheArchiveSelectionboxyoucanchooseoneoftheuserarchivesofthecurrentprojectastargetarchive.TheFilteroptionsletyoudefineafilterforexportingtheuserarchive.IntheforFieldboxenterthefieldtowhichthefilteristoapply.Inthefrom...toboxesgivethevaluerangetobefiltered.AfterclickingtheSQLExpressioncheckbox,youcanenterafilterexpressioninSQLlanguageintheinputfield.ThenclickExport.Thisisonlyactivatedwhenyouhavecompletedalltheboxes.Siemens-AutomationandDrives-Service&Support-Aut...第2页共2页2005-05-312:47Note:InWinCCV5.1andhigher,thecolumntitlesareexportedaswellandmustnotbechanged(e.g.inExcel).ImportingdatarecordsToimportthedatarecordsintoauserarchive,chooseRuntimeDataImportontheuserarchiveEditormenutoopenthefollowingdialogbox:IntheFileSelectionboxenterthepathandfilenameoftheuserarchivetobeimported.The...buttonhelpsyoutofindthefileyouwant.Thedefaultfilepathistheuafolderintheprojectpathoftheactiveuserarchive.IntheFileFormatboxyoucanselecttheformatoftheuserarchivetobeimported.WiththeOptionsbuttonyoucandefinetherequiredseparator.Thedefaultseparatoristhesemicolon;.IntheArchiveSelectionboxyoucanchooseoneoftheuserarchivesofthecurrentprojectastargetarchive.NowclickImportandtheimportstarts.Note:Theimportcanonlytakeplaceifthestructureofthesourceandtargetarchivesisthesame.Datarecordsalreadypresent(i.e.withthesameID)produceanerrormessageintheua_...,logfileandarenotoverwritten.Theotherdatarecordsareaddedtotheuserarchive.Foranexampleoftheformatofauserarchiveimport/exportfile,pleaserefertoEntryID8970879.InstructionsforexportingthearchivestructureofaWinCCuserarchivearegiveninEntryID8960838.Keywords:Runtimedata,Backup,Databackup条目号:8972156日期:02/15/2002©SiemensAG2005版权所有-法人信息-保密政策-应用条款
三七文档所有资源均是用户自行上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作他用。
本文标题:Exporting and importing data records from and into
链接地址:https://www.777doc.com/doc-5332845 .html