Developer Portal Community

    We are moving! We are currently migrating our community to the new Bosch Connected Industry Online Portal. The community will be available latest in the new year again, until then it will be in read-only mode. Click here for more information.

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 
    SOLVED

    IntegratedRobotics V1.3 Staeubli library version problem

    IntegratedRobotics V1.3 Staeubli library version problem

    maj9bj
    Long-established Member

    Symptoms

    • A project that worked before reports an error during compile.
    • It reports an BOOL conversion error and error 'o22 is no component of T_OUTBITREGISTER2'.
    • Version of Integrated robotics is V1.3, but maybe it can affect other versions too.

    maj9bj_0-1647421214743.png

    Cause

    • The root cause is in the library Staeubli (uniVALplc_client_s4.4.compiled-library) which is set to always use effective version (*) instead of fixed version number. That means if you open newer projects, with newer version of this library, the new library is copied to your C:\TwinCAT library folder and after opening older project again, the newest and incompatible version is used.

      maj9bj_1-1647421800506.png
    • If you switch Resolution of placeholder to use fixed version number it is switched back after next export from OES.

    Solution

    • Object should be bugfixed to use fixed version number of library in the same way like other Nexeed libraries.
    • Set fixed version number in TwinCAT. It will work only until next OES export.
      maj9bj_4-1647422561659.png
    • Open TwinCAT library manager and remove all newer versions of the library. It will work only until some project with newer version is opened and newer library is copied again to C:\TwinCAT.
      maj9bj_3-1647422445355.png

       


       


     

     

     

     

    3 REPLIES 3

    nexidator
    Community Moderator
    Community Moderator

    What exact version of the TwinCAT XAE are you using? There was a bug in earlier versions of TC 3.1.4022 that has been fixed in 3.1.4022.32: When resolving placeholders using the Automation Interface to a version number consisting only of 3 parts, TwinCAT always added the asterisk as 4th part. But even if only the 4th part is an asterisk, the first three parts of the version number are ignored and the latest version of the library is used. (This behavior has not changed with the bugfix, but now, the resolution to 4.4.0 should work.)

    maj9bj
    Long-established Member

    It is older project in 4022.30.

    nexidator
    Community Moderator
    Community Moderator

    OK... So, I would recommend to update to the latest 4022 TwinCAT XAE. All 4022 development environments are compatible with each other and with all 4022 runtimes, so this should not be a problem.

    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist