Exporting and importing data records from and into

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

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版权所有-法人信息-保密政策-应用条款

1 / 2
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功