Error updating from 3.5.10.0 to 3.5.11.0

januar
2017-10-05
2017-10-26
  • januar - 2017-10-05

    Hi All,

    We are trying to update the project from 3.5.10.0 to 3.5.11.0. We get a lot of error.

                ------ Build started: Application: Device.Application -------
                typify code ...
    

    [ERROR] visu utils, 3.5.11.0 (system): FbOpenDialog: C0086: No definition found for interface 'VisuElemBase.IDialogOpenedListener'
    [ERROR] visu utils, 3.5.11.0 (system): FbOpenDialogExtended: C0077: Unknown type: 'VisuElemBase.IDialogOpenedListener'
    [ERROR] visu utils, 3.5.11.0 (system): FbActionHandler: C0086: No definition found for interface 'VisuElemBase.IActionHandler'
    [ERROR] profinet, 3.5.10.0 (3s - smart software solutions gmbh): InitIdentResponse [DCP_Reader]: C0418: String variable 'str' too short for the VAR_IN_OUT parameter 'config.deviceType' of 'STR_LEN'
    [ERROR] profinet, 3.5.10.0 (3s - smart software solutions gmbh): WriteIM0 [ContextPDU]: C0418: String variable 'str' too short for the VAR_IN_OUT parameter 'pnConfig.OrderID' of 'STR_LEN'
    [ERROR] profinet, 3.5.10.0 (3s - smart software solutions gmbh): WriteIM0 [ContextPDU]: C0418: String variable 'str' too short for the VAR_IN_OUT parameter 'pnConfig.IM_Serial_Number' of 'STR_LEN'
    [ERROR] profinet, 3.5.10.0 (3s - smart software solutions gmbh): BuildRPCAnnotation: C0418: String variable 'str' too short for the VAR_IN_OUT parameter 'pnConfig.deviceType' of 'STR_LEN'
    [ERROR] profinet, 3.5.10.0 (3s - smart software solutions gmbh): BuildRPCAnnotation: C0418: String variable 'str' too short for the VAR_IN_OUT parameter 'pnConfig.OrderID' of 'STR_LEN'
    [ERROR] profinet, 3.5.10.0 (3s - smart software solutions gmbh): BuildRPCAnnotation: C0418: String variable 'str' too short for the VAR_IN_OUT parameter 'HWRevision' of 'STR_LEN'
    [ERROR] profinet, 3.5.10.0 (3s - smart software solutions gmbh): BuildRPCAnnotation: C0418: String variable 'str' too short for the VAR_IN_OUT parameter 'version' of 'STR_LEN'
    [ERROR] profinet, 3.5.10.0 (3s - smart software solutions gmbh): BuildRPCAnnotation: C0418: String variable 'str' too short for the VAR_IN_OUT parameter 'version' of 'STR_LEN'
    [ERROR] profinet, 3.5.10.0 (3s - smart software solutions gmbh): BuildRPCAnnotation: C0418: String variable 'str' too short for the VAR_IN_OUT parameter 'version' of 'STR_LEN'
    [ERROR] recipe management, 3.5.11.0 (system): OpenBusyDialog [Visu_FbReadAndSaveAsRecipe]: C0032: Cannot convert type 'BIT' to type 'VisuElemBase.IDialogOpenedListener'
    [ERROR] recipe management, 3.5.11.0 (system): OpenBusyDialog [Visu_FbReadAndSaveAsRecipe]: C0032: Cannot convert type 'BIT' to type 'VisuElemBase.IDialogOpenedListener'
    [ERROR] recipe management, 3.5.11.0 (system): OpenCheckOverwriteDialog [Visu_FbReadAndSaveAsRecipe]: C0032: Cannot convert type 'BIT' to type 'VisuElemBase.IDialogOpenedListener'
    [ERROR] recipe management, 3.5.11.0 (system): OpenCheckOverwriteDialog [Visu_FbReadAndSaveAsRecipe]: C0032: Cannot convert type 'BIT' to type 'VisuElemBase.IDialogOpenedListener'
    [ERROR] visu utils, 3.5.11.0 (system): CallOpenDialog [FbOpenDialogExtended]: C0077: Unknown type: 'VisuElemBase.IDialogManagerSupportsOpenedListener'
    [ERROR] visu utils, 3.5.11.0 (system): CallOpenDialog [FbOpenDialogExtended]: C0077: Unknown type: 'VisuElemBase.IDialogOpenedListener'
    [ERROR] visu utils, 3.5.11.0 (system): CallOpenDialog [FbOpenDialogExtended]: C0032: Cannot convert type 'FBOPENDIALOGEXTENDED(visu utils, 3.5.11.0 (system))' to type 'VisuElemBase.IDialogOpenedListener'
    [ERROR] visu utils, 3.5.11.0 (system): CallOpenDialog [FbOpenDialogExtended]: C0066: Cannot compare type 'VisuElemBase.IDialogOpenedListener' with type 'POINTER TO BYTE'
    [ERROR] visu utils, 3.5.11.0 (system): CallOpenDialog [FbOpenDialogExtended]: C0235: Second Operand of __QueryInterface must be an interface reference
    [ERROR] visu utils, 3.5.11.0 (system): CallOpenDialog [FbOpenDialogExtended]: C0066: Cannot compare type 'VisuElemBase.IDialogManagerSupportsOpenedListener' with type 'BIT'
    [ERROR] visu utils, 3.5.11.0 (system): CallOpenDialog [FbOpenDialogExtended]: C0035: Program name, function or function block instance expected instead of 'DlgManagerSupportsOpenedListener.OpenDialog6'
    [ERROR] visu utils, 3.5.11.0 (system): CallOpenDialog [FbOpenDialogExtended]: C0077: Unknown type: 'VisuElemBase.IDialogManagerSupportsOpenedListener'
    [ERROR] visu utils, 3.5.11.0 (system): CallOpenDialog [FbOpenDialogExtended]: C0235: Second Operand of __QueryInterface must be an interface reference
    [ERROR] visu utils, 3.5.11.0 (system): CallOpenDialog [FbOpenDialogExtended]: C0066: Cannot compare type 'VisuElemBase.IDialogManagerSupportsOpenedListener' with type 'BIT'
    [ERROR] visu utils, 3.5.11.0 (system): CallOpenDialog [FbOpenDialogExtended]: C0035: Program name, function or function block instance expected instead of 'DlgManagerSupportsOpenedListener.OpenDialog6'
    [ERROR] visu utils, 3.5.11.0 (system): CallOpenDialog [FbOpenDialogExtended]: C0077: Unknown type: 'VisuElemBase.IDialogManagerSupportsOpenedListener'
    [ERROR] visu utils, 3.5.11.0 (system): ActionDone [FbOpenDialog]: C0077: Unknown type: 'VisuElemBase.VisuEnumActionType'
    [ERROR] visu utils, 3.5.11.0 (system): CallOpenDialog [FbOpenDialog]: C0077: Unknown type: 'VisuElemBase.IDialogManagerSupportsOpenedListener'
    [ERROR] visu utils, 3.5.11.0 (system): CallOpenDialog [FbOpenDialog]: C0077: Unknown type: 'VisuElemBase.IDialogOpenedListener'
    [ERROR] visu utils, 3.5.11.0 (system): CallOpenDialog [FbOpenDialog]: C0032: Cannot convert type 'FBOPENDIALOG(visu utils, 3.5.11.0 (system))' to type 'VisuElemBase.IDialogOpenedListener'
    [ERROR] visu utils, 3.5.11.0 (system): StartAction [FbExecuteSingleVisuActionBase]: C0032: Cannot convert type 'Unknown type: 'VisuElemBase.Private_Visu_Globals.CurrentVisuClient'' to type 'POINTER TO VisuStructClientData'
    [ERROR] visu utils, 3.5.11.0 (system): StartAction [FbExecuteSingleVisuActionBase]: C0004: 'CurrentVisuClient' is no component of 'PRIVATE_VISU_GLOBALS'
    [ERROR] visu utils, 3.5.11.0 (system): FB_Init [FbActionHandler]: C0018: 'VisuElemBase.Visu_Globals.g_ActionHandler' is no valid assignment target
    [ERROR] visu utils, 3.5.11.0 (system): FB_Init [FbActionHandler]: C0004: 'g_ActionHandler' is no component of 'VISU_GLOBALS'
    [ERROR] visu utils, 3.5.11.0 (system): FB_Init [FbActionHandler]: The library VisuUtils needs visualizationprofile version >= V3.5.11.0.
    [ERROR] visu utils, 3.5.11.0 (system): GetClientTagRemoteTargetVisuId: C0032: Cannot convert type 'Unknown type: 'tagDataHelper.xRTVTargetIdValid'' to type 'BOOL'
    [ERROR] visu utils, 3.5.11.0 (system): GetClientTagRemoteTargetVisuId: C0004: 'xRTVTargetIdValid' is no component of 'VISUFBCLIENTTAGDATAHELPER'
    [ERROR] visu utils, 3.5.11.0 (system): GetClientTagRemoteTargetVisuId: C0032: Cannot convert type 'Unknown type: 'tagDataHelper.dwRTVTagetId'' to type 'DWORD'
    [ERROR] visu utils, 3.5.11.0 (system): GetClientTagRemoteTargetVisuId: C0004: 'dwRTVTagetId' is no component of 'VISUFBCLIENTTAGDATAHELPER'
    [ERROR] visu utils, 3.5.11.0 (system): GetClientTagRemoteTargetVisuVersion: C0032: Cannot convert type 'Unknown type: 'tagDataHelper.xRTVTargetVersionValid'' to type 'BOOL'
    [ERROR] visu utils, 3.5.11.0 (system): GetClientTagRemoteTargetVisuVersion: C0004: 'xRTVTargetVersionValid' is no component of 'VISUFBCLIENTTAGDATAHELPER'
    [ERROR] visu utils, 3.5.11.0 (system): GetClientTagRemoteTargetVisuVersion: C0032: Cannot convert type 'Unknown type: 'tagDataHelper.RTVTargetVersion'' to type 'REFERENCE TO VERSION'
    [ERROR] visu utils, 3.5.11.0 (system): GetClientTagRemoteTargetVisuVersion: C0004: 'RTVTargetVersion' is no component of 'VISUFBCLIENTTAGDATAHELPER'
    Compile complete -- 45 errors, 88 warnings

    How can we resolve this? Thank you.

     
  • eschwellinger

    eschwellinger - 2017-10-09

    Hi,
    as usually the steps are.
    1. Update your plc device by rightclick in the device tree -> Udate device to current Version (If fieldbus stacks are in the Project -> update them too by rightclock update device)
    2. set current Compiler and visuprofile to 3.5SP11
    This is should lead to an error free compile and download.

    BR
    Edwin

     
  • januar - 2017-10-26

    Hi Edwin,

    We try to follow the steps. but we still have a lot of errors. What can we do to update it? Thank you.

    Kind regards.

    n.b. It is now solved.

     

Log in to post a comment.