有个项目,原本是V13 SP1的,315-2DP的PLC,profibus通讯,挂了16个施耐德的伺服,
现在用V14打开, 提示升级,GSD文件安装通过,然后执行导出项目和库,然后进行到6% 就提示失败,
然后创建了1个 *.xml 文件
如下:
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type='text/xsl' href='ConversionLogFile.xsl'?>
<LogFile projectName="PLC_T1" typeText="Type" messageText="Message" timeText="Time">
<MessageCell ServiceId="80" MessageId="30" MessageClass="Information" Timestamp="2/17/2017 9:59:44 AM">
<Number ServiceNumber="80" MessageNumber="30" />
<Text FeedbackText="Upgrade started" />
<Help HelpId="-1" />
</MessageCell>
<MessageCell ServiceId="80" MessageId="30" MessageClass="Information" Timestamp="2/17/2017 9:59:45 AM">
<Number ServiceNumber="80" MessageNumber="30" />
<Text FeedbackText="Reading information from previous project/library." />
<Help HelpId="-1" />
</MessageCell>
<MessageCell ServiceId="80" MessageId="30" MessageClass="Information" Timestamp="2/17/2017 9:59:46 AM">
<Number ServiceNumber="80" MessageNumber="30" />
<Text FeedbackText="Creating new project/library." />
<Help HelpId="-1" />
</MessageCell>
<MessageCell ServiceId="80" MessageId="30" MessageClass="Information" Timestamp="2/17/2017 9:59:49 AM">
<Number ServiceNumber="80" MessageNumber="30" />
<Text FeedbackText="Exporting project/library data." />
<Help HelpId="-1" />
</MessageCell>
<Details ServiceId="80" MessageId="30" Timestamp="2/17/2017 10:00:11 AM" Debug="false">
<Text />
</Details>
<MessageCell ServiceId="80" MessageId="30" MessageClass="Information" Timestamp="2/17/2017 10:00:11 AM">
<Number ServiceNumber="80" MessageNumber="30" />
<Text FeedbackText="Importing data into the new project/library." />
<Help HelpId="-1" />
</MessageCell>
<Details ServiceId="80" MessageId="30" Timestamp="2/17/2017 10:00:42 AM" Debug="false">
<Text />
</Details>
<MessageCell ServiceId="80" MessageId="30" MessageClass="Error" Timestamp="2/17/2017 10:00:42 AM">
<Number ServiceNumber="80" MessageNumber="30" />
<Text FeedbackText="Upgrade failed." />
<Help HelpId="-1" />
</MessageCell>
<Details ServiceId="80" MessageId="30" Timestamp="2/17/2017 10:00:42 AM" Debug="false">
<Text>Project import failed! Object reference not set to an instance of an object.
at Siemens.Automation.ObjectFrame.FileStorage.Conversion.CoreTextAttributeMetaDataHelper.RemoveLinkFromObjectAtributeData(IStorageObject linkedObject, StoreObjectId id)
at Siemens.Automation.ObjectFrame.FileStorage.Conversion.CoreTextAttributeMetaDataHelper.ClearAllLinksOfObjectOfCoreText(IStorageObject coreText, ILookupCache lookupCache)
at Siemens.Automation.ObjectFrame.FileStorage.Conversion.CoreTextAttributeConversionOperator.UpdateICoreAttributesCommentWithCoreTextAttribute()
at Siemens.Automation.ObjectFrame.FileStorage.Conversion.CoreTextAttributeConversionOperator.PostImport(Action`1 updateObjectRef)
at Siemens.Automation.ObjectFrame.FileStorage.V11Import.V11_Import.PostImport(WriteBuffer writeBuffer)
at Siemens.Automation.ObjectFrame.FileStorage.V11Import.V11_Import.ImportObjects(XmlReader reader, LocalizationTable localizationTable, Int32& highestClusterId)
at Siemens.Automation.ObjectFrame.FileStorage.V11Import.Import.StartImport(BackgroundWorker bgWorker, NativeMethodsHelper nativeMethods)
at Siemens.Automation.ObjectFrame.Conversion.ConversionServiceDlc.ImportIntoNewProject(ProjectName newProjectName, NativeMethodsHelper nativeMethods, Boolean partialImport, Feedback feedback)
at Siemens.Automation.ObjectFrame.Conversion.ConversionHandler.Siemens.Automation.ObjectFrame.Conversion.IConversionHandler.ImportIntoNewProject(NativeMethodsHelper nativeMethods)
at Siemens.Automation.ObjectFrame.Conversion.ConversionProcess.Run()</Text>
</Details>
<MessageCell ServiceId="Automation-ObjectFrame-Feedbacks" MessageId="ConversionInfoTabProjectFailed" MessageClass="Error" Timestamp="2/17/2017 10:00:42 AM">
<Number ServiceNumber="80" MessageNumber="33" />
<Text FeedbackText="Project 'Z:\F\New folder (2)\PLC_T1\System\PEData.plf' could not be upgraded." />
<Help HelpId="-1" HelpFile="" />
</MessageCell>
</LogFile>